9 #include "../BrewingRecipes.h"
17 Super(wtBrewery,
"Brewingstand")
34 if ((a_Slot >= 0) && (a_Slot <= 4))
std::vector< cSlotArea * > cSlotAreas
bool IsIngredient(const cItem &a_Ingredient) const
Returns true if the item is a ingredient, false if not.
bool IsBottle(const cItem &a_Item) const
Returns true if the item is a bottle / potion, false if not.
bool IsFuel(const cItem &a_Item) const
Returns true if the item is the fuel, false if not.
cBrewingRecipes * GetBrewingRecipes(void)
virtual void DistributeStack(cItem &a_ItemStack, int a_Slot, cPlayer &a_Player, cSlotArea *a_ClickedArea, bool a_ShouldApply) override
Called on shift-clicking to distribute the stack into other areas; Modifies a_ItemStack as it is dist...
cBrewingstandWindow(cBrewingstandEntity *a_Brewingstand)
Handles the main inventory of each player, excluding the armor and hotbar.
Handles the hotbar of each player.
void DistributeStackToAreas(cItem &a_ItemStack, cPlayer &a_Player, cSlotAreas &a_AreasInOrder, bool a_ShouldApply, bool a_BackFill)
Called from DistributeStack() to distribute the stack into a_AreasInOrder; Modifies a_ItemStack as it...