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

Static Public Member Functions

static boolean canBePlace (ISBuildingObject ISItem, IsoGridSquare square)
static number getWoodHealth (ISBuildingObject ISItem)
static void checkCorner (number x, number y, number z, boolean north, IsoThumpable thumpable, ISBuildIsoEntity item)
static void addCorner (number x, number y, number z, IsoThumpable thumpable, ISBuildIsoEntity item)
static void addWoodXp (ISBuildingObject ISItem)
static boolean predicateMaterial (InventoryItem item)
static integer useDrainable (DrainableComboItem item, integer uses)
static InventoryItem[] consumeMaterial (ISBuildingObject ISItem)
static table openNailsBox (ISBuildingObject ISItem)
static void removeFromGround (IsoGridSquare square)
static table< string, InventoryItem[]> getMaterialOnGround (IsoGridSquare squareToCheck)
static table< string, integer > getMaterialOnGroundCounts (table< string, InventoryItem[]> itemMap)
static table< string, integer > getMaterialOnGroundUses (table< string, InventoryItem[]> itemMap)
static table< string, integer > checkMaterialOnGround (IsoGridSquare squareToCheck)
static void setInfo (IsoThumpable javaObject, ISBuildingObject ISItem)
static boolean stairIsBlockingPlacement (IsoGridSquare _square, boolean _doAdjacent, boolean _north)
static IsoObject[] getStairObjects (IsoObject object, boolean skipFloor)
static IsoObject[] getDoubleDoorObjects (IsoObject object)
static IsoObject[] getGarageDoorObjects (IsoObject object)
static IsoObject[] getGraveObjects (IsoObject object)
static void setHaveConstruction (IsoGridSquare _square, boolean _hasConstruction)

Member Function Documentation

◆ addCorner()

void buildUtil::addCorner ( number x,
number y,
number z,
IsoThumpable thumpable,
ISBuildIsoEntity item )
static

◆ addWoodXp()

void buildUtil::addWoodXp ( ISBuildingObject ISItem)
static

◆ canBePlace()

boolean buildUtil::canBePlace ( ISBuildingObject ISItem,
IsoGridSquare square )
static

◆ checkCorner()

void buildUtil::checkCorner ( number x,
number y,
number z,
boolean north,
IsoThumpable thumpable,
ISBuildIsoEntity item )
static

◆ checkMaterialOnGround()

table< string, integer > buildUtil::checkMaterialOnGround ( IsoGridSquare squareToCheck)
static

◆ consumeMaterial()

InventoryItem[] buildUtil::consumeMaterial ( ISBuildingObject ISItem)
static

◆ getDoubleDoorObjects()

IsoObject[] buildUtil::getDoubleDoorObjects ( IsoObject object)
static

◆ getGarageDoorObjects()

IsoObject[] buildUtil::getGarageDoorObjects ( IsoObject object)
static

◆ getGraveObjects()

IsoObject[] buildUtil::getGraveObjects ( IsoObject object)
static

◆ getMaterialOnGround()

table< string, InventoryItem[]> buildUtil::getMaterialOnGround ( IsoGridSquare squareToCheck)
static

◆ getMaterialOnGroundCounts()

table< string, integer > buildUtil::getMaterialOnGroundCounts ( table< string, InventoryItem[]> itemMap)
static

◆ getMaterialOnGroundUses()

table< string, integer > buildUtil::getMaterialOnGroundUses ( table< string, InventoryItem[]> itemMap)
static

◆ getStairObjects()

IsoObject[] buildUtil::getStairObjects ( IsoObject object,
boolean skipFloor )
static

◆ getWoodHealth()

number buildUtil::getWoodHealth ( ISBuildingObject ISItem)
static

◆ openNailsBox()

table buildUtil::openNailsBox ( ISBuildingObject ISItem)
static

◆ predicateMaterial()

boolean buildUtil::predicateMaterial ( InventoryItem item)
static

◆ removeFromGround()

void buildUtil::removeFromGround ( IsoGridSquare square)
static

◆ setHaveConstruction()

void buildUtil::setHaveConstruction ( IsoGridSquare _square,
boolean _hasConstruction )
static

◆ setInfo()

void buildUtil::setInfo ( IsoThumpable javaObject,
ISBuildingObject ISItem )
static

◆ stairIsBlockingPlacement()

boolean buildUtil::stairIsBlockingPlacement ( IsoGridSquare _square,
boolean _doAdjacent,
boolean _north )
static

◆ useDrainable()

integer buildUtil::useDrainable ( DrainableComboItem item,
integer uses )
static

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