AutoCrafter
classCrafter that picks its recipe from the input inventory
Standard members (4)
Generated for every class of this kind by the game's codegen, not written for AutoCrafter.
| AutoCrafter.cast(object) | Trying to cast Object into AutoCrafter |
| AutoCrafter.get_class() | Return AutoCrafter class object |
| AutoCrafter.new(parent, name) | Creates a new AutoCrafter instance |
| AutoCrafter.new_simple() | Creates a new AutoCrafter instance |
Inherited from AbstractCrafter (16)
- recipes
- load_independent
- stable_supply
- input_gathered
- switch_on
- ticks_passed
- real_ticks_passed
- total_production
- speed
- boost percent pushed by boosters this tick (50 = +50%)
- productivity percent (e.g. 15 = +15%)
- energy_input_inventory
- energy_output_inventory
- crafter_input_container
- crafter_output_container
- AbstractCrafter:select_recipe_by_output(item) Select the recipe producing an item, the way a player picks it in the machine window
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