StaticObject
classBase prototype for anything placeable in the world
Fields
| Name | Type | Description |
|---|---|---|
| item | StaticItem | Item this object is built from and mined into |
Standard members (4)
Generated for every class of this kind by the game's codegen, not written for StaticObject.
| StaticObject.cast(object) | Trying to cast Object into StaticObject |
| StaticObject.get_class() | Return StaticObject class object |
| StaticObject.find(name) | Looks StaticObject up in db, nil when there is none |
| StaticObject.get(name) | Takes StaticObject from db, reports a miss to the log |
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