26 virtual bool IsFood(
void)
const override
bool IsGameModeCreative(void) const
Returns true if the player is in Creative mode, either explicitly, or by inheriting from current worl...
cInventory & GetInventory(void)
bool RemoveOneEquippedItem(void)
Removes one item out of the currently equipped item stack, returns true if successful,...
virtual bool IsFood(void) const override
Indicates if this item is food.
virtual FoodInfo GetFoodInfo(const cItem *a_Item) const override
Returns the FoodInfo for this item.
constexpr cItemFoodSeedsHandler(int a_ItemType, FoodInfo a_FoodInfo)
virtual bool EatItem(cPlayer *a_Player, cItem *a_Item) const override
Lets the player eat a selected item.
virtual bool EatItem(cPlayer *a_Player, cItem *a_Item) const
Lets the player eat a selected item.
constexpr cItemSeedsHandler(int a_ItemType)