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

Public Member Functions

boolean isValid ()
boolean isUsingTimeout ()
void update ()
void start ()
void stop ()
void perform ()
boolean complete ()
void animEvent (string event, string parameter)
boolean isBook (InventoryItem item)
void serverStart ()
number getDuration ()
void checkMultiplier ()
 ISReadABook (IsoPlayer character, Literature item)
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 ()

Static Public Member Functions

static void checkLevel (IsoPlayer character, Literature item)

Public Attributes

number pageTimer
Literature item
umbrella::ISReadABook::Stats stats
boolean isLiteratureRead
integer startPage
integer playerNum
number minutesPerPage
number maxMultiplier
boolean ignoreHandsWounds
boolean forceProgressBar
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

◆ ISReadABook()

ISReadABook::ISReadABook ( IsoPlayer character,
Literature item )

Member Function Documentation

◆ animEvent()

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

◆ checkLevel()

void ISReadABook::checkLevel ( IsoPlayer character,
Literature item )
static

◆ checkMultiplier()

void ISReadABook::checkMultiplier ( )

◆ complete()

boolean ISReadABook::complete ( )

◆ getDuration()

number ISReadABook::getDuration ( )

◆ isBook()

boolean ISReadABook::isBook ( InventoryItem item)

◆ isUsingTimeout()

boolean ISReadABook::isUsingTimeout ( )

◆ isValid()

boolean ISReadABook::isValid ( )

◆ perform()

void ISReadABook::perform ( )

◆ serverStart()

void ISReadABook::serverStart ( )

◆ start()

void ISReadABook::start ( )

◆ stop()

void ISReadABook::stop ( )

◆ update()

void ISReadABook::update ( )

Member Data Documentation

◆ forceProgressBar

boolean ISReadABook::forceProgressBar

◆ ignoreHandsWounds

boolean ISReadABook::ignoreHandsWounds

◆ isLiteratureRead

boolean ISReadABook::isLiteratureRead

◆ item

Literature ISReadABook::item

◆ maxMultiplier

number ISReadABook::maxMultiplier

◆ minutesPerPage

number ISReadABook::minutesPerPage

◆ pageTimer

number ISReadABook::pageTimer

◆ playerNum

integer ISReadABook::playerNum

◆ startPage

integer ISReadABook::startPage

◆ stats

umbrella::ISReadABook::Stats ISReadABook::stats

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