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

Public Member Functions

boolean isValid ()
void update ()
void start ()
void stop ()
void perform ()
boolean complete ()
number getDuration ()
 ISRepairClothing (IsoPlayer character, Clothing clothing, BloodBodyPartType part, InventoryItem fabric, InventoryItem thread, InventoryItem needle)
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

Clothing clothing
InventoryItem fabric
InventoryItem needle
InventoryItem thread
boolean started
integer sound
BloodBodyPartType part
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

◆ ISRepairClothing()

ISRepairClothing::ISRepairClothing ( IsoPlayer character,
Clothing clothing,
BloodBodyPartType part,
InventoryItem fabric,
InventoryItem thread,
InventoryItem needle )

Member Function Documentation

◆ complete()

boolean ISRepairClothing::complete ( )

◆ getDuration()

number ISRepairClothing::getDuration ( )

◆ isValid()

boolean ISRepairClothing::isValid ( )

◆ perform()

void ISRepairClothing::perform ( )

◆ start()

void ISRepairClothing::start ( )

◆ stop()

void ISRepairClothing::stop ( )

◆ update()

void ISRepairClothing::update ( )

Member Data Documentation

◆ clothing

Clothing ISRepairClothing::clothing

◆ fabric

InventoryItem ISRepairClothing::fabric

◆ needle

InventoryItem ISRepairClothing::needle

◆ part

BloodBodyPartType ISRepairClothing::part

◆ sound

integer ISRepairClothing::sound

◆ started

boolean ISRepairClothing::started

◆ thread

InventoryItem ISRepairClothing::thread

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