GhostStaticBlock

GhostStaticBlock

class

Static block placed as a build ghost

  • load-only Usable only while mods load. The game seals these members once loading finishes, so a call or a write from a running world raises an error.
Standard members (5)

Every class of this kind carries these.

GhostStaticBlock.cast(object) Trying to cast Object into GhostStaticBlock
GhostStaticBlock.get_class() Return GhostStaticBlock class object
GhostStaticBlock.find(name) Looks GhostStaticBlock up in db, nil when there is none
GhostStaticBlock.get(name) Takes GhostStaticBlock from db, reports a miss to the log
GhostStaticBlock.reg(name) load-only Register a new GhostStaticBlock static object
Inherited from StaticBlock (20)
Inherited from StaticObject (3)
  • item Item this object is built from and mined into
  • mined_item read-only Item mining returns and a decor build pays; nil when the object is not minable
  • mined_count read-only How many of mined_item mining returns and a decor build pays; zero when the object is not minable
Inherited from Prototype (2)
Inherited from Object (1)