make berries useable only when appropriate

This commit is contained in:
darkfire006 2024-01-14 01:14:00 -06:00
parent 6b0a6cbab1
commit c21d040dc1
7 changed files with 7 additions and 0 deletions

View File

@ -4,6 +4,7 @@ Namespace Items.Berries
Public Class GrepaBerry
Inherits Berry
Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False
Public Sub New()
MyBase.New(10800, "A Berry to be consumed by Pokémon. Using it on a Pokémon makes it more friendly but lowers its base Sp. Def.", "14.9cm", "Soft", 2, 6)

View File

@ -4,6 +4,7 @@ Namespace Items.Berries
Public Class HondewBerry
Inherits Berry
Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False
Public Sub New()
MyBase.New(10800, "A Berry to be consumed by Pokémon. Using it on a Pokémon makes it more friendly but lowers its base Sp. Atk.", "16.2cm", "Hard", 2, 6)

View File

@ -4,6 +4,7 @@ Namespace Items.Berries
Public Class KelpsyBerry
Inherits Berry
Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False
Public Sub New()
MyBase.New(10800, "A Berry to be consumed by Pokémon. Using it on a Pokémon makes it more friendly but lowers its base Attack.", "38.1cm", "Hard", 2, 6)

View File

@ -4,6 +4,7 @@ Namespace Items.Berries
Public Class PersimBerry
Inherits Berry
Public Overrides ReadOnly Property CanBeUsed As Boolean = False
Public Sub New()
MyBase.New(14400, "A Berry to be consumed by Pokémon. If a Pokémon holds one, it can recover from confusion on its own in battle.", "4.7cm", "Hard", 2, 3)

View File

@ -4,6 +4,7 @@ Namespace Items.Berries
Public Class PomegBerry
Inherits Berry
Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False
Public Sub New()
MyBase.New(10800, "A Berry to be consumed by Pokémon. Using it on a Pokémon makes it more friendly but lowers its base HP.", "13.0cm", "Hard", 2, 3)

View File

@ -4,6 +4,7 @@ Namespace Items.Berries
Public Class QualotBerry
Inherits Berry
Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False
Public Sub New()
MyBase.New(10800, "A Berry to be consumed by Pokémon. Using it on a Pokémon makes it more friendly but lowers its base Defense.", "11.0cm", "Hard", 2, 6)

View File

@ -4,6 +4,7 @@ Namespace Items.Berries
Public Class TamatoBerry
Inherits Berry
Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False
Public Sub New()
MyBase.New(21600, "A Berry to be consumed by Pokémon. Using it on a Pokémon makes it more friendly but lowers its base Speed.", "20.0m", "Soft", 2, 4)