Project Zomboid Lua Docs 29123
Unofficial documentation for Project Zomboid's Lua
Loading...
Searching...
No Matches
ISFeedingTroughMenu Class Reference

Static Public Member Functions

static boolean OnFillWorldObjectContextMenu (integer player, ISContextMenu context, IsoObject[] worldobjects, boolean test)
static void onAddWaterDebug (IsoPlayer playerObj, IsoObject isoObject)
static void onRemoveFoodDebug (IsoPlayer playerObj, IsoObject isoObject)
static void onAddFoodDebug (IsoPlayer playerObj, IsoObject isoObject)
static void onEmptyWater (IsoPlayer playerObj, IsoObject isoObject)
static void onAddWater (IsoPlayer playerObj, CFeedingTroughGlobalObject luaObject, InventoryItem waterItem, boolean all)
static void onInfo (IsoFeedingTrough trough, IsoPlayer chr)
static boolean isValidAnimalFeed (InventoryItem item)

Member Function Documentation

◆ isValidAnimalFeed()

boolean ISFeedingTroughMenu::isValidAnimalFeed ( InventoryItem item)
static

◆ onAddFoodDebug()

void ISFeedingTroughMenu::onAddFoodDebug ( IsoPlayer playerObj,
IsoObject isoObject )
static

◆ onAddWater()

void ISFeedingTroughMenu::onAddWater ( IsoPlayer playerObj,
CFeedingTroughGlobalObject luaObject,
InventoryItem waterItem,
boolean all )
static

◆ onAddWaterDebug()

void ISFeedingTroughMenu::onAddWaterDebug ( IsoPlayer playerObj,
IsoObject isoObject )
static

◆ onEmptyWater()

void ISFeedingTroughMenu::onEmptyWater ( IsoPlayer playerObj,
IsoObject isoObject )
static

◆ OnFillWorldObjectContextMenu()

boolean ISFeedingTroughMenu::OnFillWorldObjectContextMenu ( integer player,
ISContextMenu context,
IsoObject[] worldobjects,
boolean test )
static

◆ onInfo()

void ISFeedingTroughMenu::onInfo ( IsoFeedingTrough trough,
IsoPlayer chr )
static

◆ onRemoveFoodDebug()

void ISFeedingTroughMenu::onRemoveFoodDebug ( IsoPlayer playerObj,
IsoObject isoObject )
static

The documentation for this class was generated from the following file: