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

Public Member Functions

void create (number x, number y, number z, boolean north, string sprite)
boolean walkTo (number x, number y, number z)
void setInfo (IsoGridSquare square, boolean north, string sprite, IsoCell cell, string spriteType)
number getHealth ()
void render (number x, number y, number z, IsoGridSquare square)
boolean isValid (IsoGridSquare square)
number getSquare2Pos (IsoGridSquare square, boolean north)
IsoGridSquare getSquare2 (IsoGridSquare square, boolean north)
 ISEmptyGraves (string sprite, string sprite2, string northSprite, string northSprite2, InventoryItem equipBothHandItem)
Public Member Functions inherited from ISBuildingObject
void initialise ()
void setCanPassThrough (string passThrough)
void setNorthSprite (string sprite)
void setEastSprite (string sprite)
void setSouthSprite (string sprite)
void setSprite (string sprite)
void setDragNilAfterPlace (boolean nilAfter)
void tryBuild (number x, number y, number z)
void onActionComplete ()
boolean walkTo (number x, number y, number z)
void onTimedActionStart (ISBaseTimedAction action)
void onTimedActionStop (ISBaseTimedAction action)
void updateModData ()
boolean haveMaterial (IsoGridSquare square)
void reinit ()
void reset ()
void init ()
string getSprite ()
boolean isValid (IsoGridSquare square)
void render (number x, number y, number z, IsoGridSquare square)
void rotateKey (integer key)
void rotateMouse (number x, number y)
void deactivate ()
void onJoypadPressButton (integer joypadIndex, JoypadData joypadData, integer button)
void onJoypadDirDown (JoypadData joypadData)
void onJoypadDirUp (JoypadData joypadData)
void onJoypadDirRight (JoypadData joypadData)
void onJoypadDirLeft (JoypadData joypadData)
string getAPrompt ()
string getBPrompt ()
string getYPrompt ()
string getLBPrompt ()
string getRBPrompt ()
IsoSprite getFloorCursorSprite ()
void update ()
void renderOpaqueObjectsInWorld (number x, number y, number z, IsoGridSquare square)
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 boolean shovelledFloorCanDig (IsoGridSquare square)
static boolean canDigHere (IsoObject[] worldObjects)
static number getMaxCorpses (nil grave)
static boolean isGraveFullOfCorpses (IsoObject grave)
static boolean isGraveFilledIn (IsoObject grave)
Static Public Member Functions inherited from ISBuildingObject
static void onDestroy (IsoThumpable thump, IsoPlayer player)
static void removeFromGround (IsoGridSquare square)

Public Attributes

IsoGridSquare sq
IsoThumpable javaObject
string sprite2
string northSprite2
boolean noNeedHammer
boolean ignoreNorth
InventoryItem equipBothHandItem
number maxTime
CharacterActionAnims actionAnim
string craftingBank
Public Attributes inherited from ISBuildingObject
boolean canPassThrough
string northSprite
string eastSprite
string southSprite
string sprite
string chosenSprite
boolean dragNilAfterPlace
boolean blockBuild
boolean isLeftDown
boolean clickedUI
boolean canBeBuild
boolean build
IsoGridSquare square
integer nSprite
boolean north
boolean south
boolean east
boolean west
number xJoypad
number yJoypad
number zJoypad
boolean isWallLike
boolean isCorner
string completionSound
boolean canBeAlwaysPlaced
boolean isContainer
boolean canBarricade
number thumpDmg
boolean isDoor
boolean isDoorFrame
number crossSpeed
boolean blockAllTheSquare
boolean dismantable
boolean canBePlastered
boolean hoppable
boolean isThumpable
boolean isFloor
table modData
IsoSprite RENDER_SPRITE_FLOOR
IsoSprite RENDER_SPRITE
string RENDER_SPRITE_NAME
Public Attributes inherited from ISBaseObject
string Type
table< string, table< function, unknown > > __eventListeners

Additional Inherited Members

Static Public Attributes inherited from ISBuildingObject
static IsoSprite floorCursorSprite

Constructor & Destructor Documentation

◆ ISEmptyGraves()

ISEmptyGraves::ISEmptyGraves ( string sprite,
string sprite2,
string northSprite,
string northSprite2,
InventoryItem equipBothHandItem )

Member Function Documentation

◆ canDigHere()

boolean ISEmptyGraves::canDigHere ( IsoObject[] worldObjects)
static

◆ create()

void ISEmptyGraves::create ( number x,
number y,
number z,
boolean north,
string sprite )

◆ getHealth()

number ISEmptyGraves::getHealth ( )

◆ getMaxCorpses()

number ISEmptyGraves::getMaxCorpses ( nil grave)
static

◆ getSquare2()

IsoGridSquare ISEmptyGraves::getSquare2 ( IsoGridSquare square,
boolean north )

◆ getSquare2Pos()

number ISEmptyGraves::getSquare2Pos ( IsoGridSquare square,
boolean north )

◆ isGraveFilledIn()

boolean ISEmptyGraves::isGraveFilledIn ( IsoObject grave)
static

◆ isGraveFullOfCorpses()

boolean ISEmptyGraves::isGraveFullOfCorpses ( IsoObject grave)
static

◆ isValid()

boolean ISEmptyGraves::isValid ( IsoGridSquare square)

◆ render()

void ISEmptyGraves::render ( number x,
number y,
number z,
IsoGridSquare square )

◆ setInfo()

void ISEmptyGraves::setInfo ( IsoGridSquare square,
boolean north,
string sprite,
IsoCell cell,
string spriteType )

◆ shovelledFloorCanDig()

boolean ISEmptyGraves::shovelledFloorCanDig ( IsoGridSquare square)
static

◆ walkTo()

boolean ISEmptyGraves::walkTo ( number x,
number y,
number z )

Member Data Documentation

◆ actionAnim

CharacterActionAnims ISEmptyGraves::actionAnim

◆ craftingBank

string ISEmptyGraves::craftingBank

◆ equipBothHandItem

InventoryItem ISEmptyGraves::equipBothHandItem

◆ ignoreNorth

boolean ISEmptyGraves::ignoreNorth

◆ javaObject

IsoThumpable ISEmptyGraves::javaObject

◆ maxTime

number ISEmptyGraves::maxTime

◆ noNeedHammer

boolean ISEmptyGraves::noNeedHammer

◆ northSprite2

string ISEmptyGraves::northSprite2

◆ sprite2

string ISEmptyGraves::sprite2

◆ sq

IsoGridSquare ISEmptyGraves::sq

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