Project Zomboid Lua Docs 29123
Unofficial documentation for Project Zomboid's Lua
Loading...
Searching...
No Matches
ISShearAnimal Class Reference
Inheritance diagram for ISShearAnimal:
ISBaseTimedAction ISBaseObject

Public Member Functions

boolean isValid ()
boolean waitToStart ()
void stress ()
void update ()
void start ()
void forceStop ()
void stop ()
void perform ()
boolean complete ()
void animEvent (string event, string parameter)
void serverStart ()
number getDuration ()
void stopSound ()
 ISShearAnimal (IsoPlayer character, IsoAnimal animal, InventoryItem shear)
Public Member Functions inherited from ISBaseTimedAction
boolean isValidStart ()
void isValid ()
boolean isUsingTimeout ()
void update ()
void forceComplete ()
void forceStop ()
void forceCancel ()
number getJobDelta ()
unknown resetJobDelta ()
boolean waitToStart ()
void start ()
boolean isStarted ()
void stop ()
void perform ()
number getDuration ()
void create ()
void begin ()
void setCurrentTime (number time)
void setTime (number time)
number adjustMaxTime (number maxTime)
void setActionAnim (CharacterActionAnims|string _action, nil _displayItemModels)
void setOverrideHandModels (InventoryItem _primaryHand, InventoryItem _secondaryHand, boolean _resetModel)
void setOverrideHandModelsString (string _primaryHand, string _secondaryHand, boolean _resetModel)
void overrideWeaponType ()
void restoreWeaponType ()
void setAnimVariable (string _key, string _val)
ISBaseTimedAction addAfter (ISBaseTimedAction action)
void beginAddingActions ()
boolean endAddingActions ()
void getDeltaModifiers (MoveDeltaModifiers deltas)
 ISBaseTimedAction (IsoPlayer character)
Public Member Functions inherited from ISBaseObject
void initialise ()
ISBaseObject derive (string type)
void addEventListener (string _event, function _callback, unknown _target)
void removeEventListener (string _event, function _callback)
void triggerEvent (string _event, unknown ...)
void clearEventListeners ()
 ISBaseObject ()

Public Attributes

number timer
number lastTimer
integer sound
IsoAnimal animal
InventoryItem shear
number timePerLiter
Public Attributes inherited from ISBaseTimedAction
number maxTime
LuaTimedActionNew action
boolean _isAddingActions
number _numAddedActions
IsoPlayer character
boolean stopOnWalk
boolean stopOnRun
boolean stopOnAim
number caloriesModifier
boolean useProgressBar
boolean forceProgressBar
boolean loopedAction
Path path
string name
NetTimedAction netAction
Public Attributes inherited from ISBaseObject
string Type
table< string, table< function, unknown > > __eventListeners

Constructor & Destructor Documentation

◆ ISShearAnimal()

ISShearAnimal::ISShearAnimal ( IsoPlayer character,
IsoAnimal animal,
InventoryItem shear )

Member Function Documentation

◆ animEvent()

void ISShearAnimal::animEvent ( string event,
string parameter )

◆ complete()

boolean ISShearAnimal::complete ( )

◆ forceStop()

void ISShearAnimal::forceStop ( )

◆ getDuration()

number ISShearAnimal::getDuration ( )

◆ isValid()

boolean ISShearAnimal::isValid ( )

◆ perform()

void ISShearAnimal::perform ( )

◆ serverStart()

void ISShearAnimal::serverStart ( )

◆ start()

void ISShearAnimal::start ( )

◆ stop()

void ISShearAnimal::stop ( )

◆ stopSound()

void ISShearAnimal::stopSound ( )

◆ stress()

void ISShearAnimal::stress ( )

◆ update()

void ISShearAnimal::update ( )

◆ waitToStart()

boolean ISShearAnimal::waitToStart ( )

Member Data Documentation

◆ animal

IsoAnimal ISShearAnimal::animal

◆ lastTimer

number ISShearAnimal::lastTimer

◆ shear

InventoryItem ISShearAnimal::shear

◆ sound

integer ISShearAnimal::sound

◆ timePerLiter

number ISShearAnimal::timePerLiter

◆ timer

number ISShearAnimal::timer

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