GhostStaticBlock
classStatic block placed as a build ghost
Standard members (5)
Generated for every class of this kind by the game's codegen, not written for GhostStaticBlock.
| 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) | Register a new GhostStaticBlock static object |
Inherited from StaticBlock (17)
- logic BlockLogic class driving the simulation
- actor Presentation actor class spawned for the block
- selector Selector widget class
- tesselator Mesh tesselator used to render the block
- sub_blocks Occupied cells relative to the block origin
- replace_tag Blocks sharing a tag replace each other on build
- tier Block tier used for recipe speed scaling
- level Block level within its tier
- energy_consumption_per_tick Electricity drawn per simulation tick
- energy_production_per_tick Electricity produced per simulation tick
- break_effect Effect actor class spawned when the block is destroyed
- lua Lua prototype table with logic_init and actor_init hooks
- half_cover Cover mesh for the half-height variant
- center_cover Cover mesh for the center part
- body_cover Cover mesh for the block body
- export_options Logic export signals published by this block type
- import_options Logic import signals accepted by this block type
Inherited from StaticObject (1)
- item Item this object is built from and mined into
Inherited from Prototype (2)
- name Object name
- Prototype:is_valid() Returns false once the underlying engine object has been destroyed
Inherited from Object (1)
- Object:get_class() Class of this object