You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no distinction between food and food_liquid. It's all food to the user in that it provides +n amount of hp. If this absolutely needs to be changed (i.e to differentiate in grammar when posting status updates (eat vs drink)) it should be changed to drink or potion.
A better option is to include liquids as potions, items which modify stats positively or negatively. So pmil1 would provide +5 hp while pmil2 would give +20 hp for example while ptox1 (toxic potion lvl 1) would give -30 hp.
That can be done through the use of aliases and would not need the distinction made in the item type. Aliases can simply added to use command for East and drink
Create enumeration ItemType
It should contain, all the types of Items, that are currently found in the game, like:
Update Item
Inside class Item, there is a field type, of type String, change it to:
Update the related code.
The text was updated successfully, but these errors were encountered: