DrillingRig
classDrilling machine that extracts ore from the ground
Fields
| Name | Type | Description |
|---|---|---|
| source | SourceData | Ore deposit under the machine |
Standard members (4)
Generated for every class of this kind by the game's codegen, not written for DrillingRig.
| DrillingRig.cast(object) | Trying to cast Object into DrillingRig |
| DrillingRig.get_class() | Return DrillingRig class object |
| DrillingRig.new(parent, name) | Creates a new DrillingRig instance |
| DrillingRig.new_simple() | Creates a new DrillingRig instance |
Inherited from DrillingMachineBase (13)
- ticks_per_item Exact time to extract one item, in ticks
- remaining_energy Energy left of the current cycle
- productivity Bonus output percent, 15 means +15%
- total_production Completed cycles, bonus cycles included
- inventory Output inventory
- energy Energy inventory
- production Items produced per cycle
- storage_size Output inventory capacity
- last_speed Last measured speed percent
- current_recipe_time Ticks of the recipe in progress
- DrillingMachineBase:has_storage_space() Whether the output inventory can take one more item
- DrillingMachineBase:is_energy_available() Whether the current cycle still has energy
- DrillingMachineBase:get_source() Deposit being mined, nil for machines without one
Inherited from BlockLogic (7)
- map_register Whether this block shows up on the map
- static_block Prototype this block was spawned from
- pos Cell this block stands in
- quat Rotation turning the block's local sides into world sides
- BlockLogic:reg(accessor) Register Accessor
- BlockLogic:find_accessor(name) Find a registered accessor by name
- BlockLogic:accessors() Every accessor registered on this block
Inherited from Instance (1)
- Instance:is_valid() Returns false once the underlying engine object has been destroyed
Inherited from Object (3)
- name Object name
- Object.find(name) Find an already loaded object by name
- Object:get_class() Class of this object