Update src/addons/example_npc_addon.py
Browse files
src/addons/example_npc_addon.py
CHANGED
@@ -96,7 +96,7 @@ class ExampleNPCAddon(NPCAddon):
|
|
96 |
if not current_players:
|
97 |
if item_key == "health_potion":
|
98 |
return "❌ My potions are to strong for you traveller. ... You can t handle my potions, they are to strong for you. MY potions would kill you traveller. You can not handle them. You are too weak for my potions! They will kill you! It is only for the strongest! Come to the game world and get stronger!"
|
99 |
-
if item_key == "strongest_haste_potions
|
100 |
return "❌ You are too weak for this potion! It will kill you! It is only for the strongest! You are not amoung the Come to the game world and get stronger!"
|
101 |
return "❌ You must be in the game to make purchases!"
|
102 |
|
|
|
96 |
if not current_players:
|
97 |
if item_key == "health_potion":
|
98 |
return "❌ My potions are to strong for you traveller. ... You can t handle my potions, they are to strong for you. MY potions would kill you traveller. You can not handle them. You are too weak for my potions! They will kill you! It is only for the strongest! Come to the game world and get stronger!"
|
99 |
+
if item_key == "strongest_haste_potions"
|
100 |
return "❌ You are too weak for this potion! It will kill you! It is only for the strongest! You are not amoung the Come to the game world and get stronger!"
|
101 |
return "❌ You must be in the game to make purchases!"
|
102 |
|