P3D-Legacy/P3D/Pokemon/Items/KeyItems/CoinCase.vb

22 lines
611 B
VB.net
Raw Normal View History

Namespace Items.KeyItems
2016-09-07 18:50:38 +02:00
<Item(54, "Coin Case")>
2016-09-07 18:50:38 +02:00
Public Class CoinCase
2016-09-20 06:03:05 +02:00
Inherits KeyItem
2016-09-07 18:50:38 +02:00
2023-10-27 11:48:21 +02:00
Public Overrides ReadOnly Property Description As String = "A case for holding coins obtained at the Game Corner."
2016-09-20 06:03:05 +02:00
Public Overrides ReadOnly Property CanBeUsed As Boolean = True
2016-09-07 18:50:38 +02:00
2016-09-20 06:03:05 +02:00
Public Sub New()
_textureRectangle = New Rectangle(168, 48, 24, 24)
2016-09-07 18:50:38 +02:00
End Sub
Public Overrides Sub Use()
Screen.TextBox.Show(Localization.GetString("item_use_54", "Your coins:~") & Core.Player.Coins, {}, True, True)
2016-09-07 18:50:38 +02:00
End Sub
End Class
End Namespace