ticker
This commit is contained in:
parent
c5846aba7b
commit
074bb21ffd
18 changed files with 99 additions and 51 deletions
|
@ -15,9 +15,10 @@ func switch_recipe(recipe: Recipe) -> void:
|
|||
for i in range(len(selected_recipe.ingridients)):
|
||||
inventory.input_array[i].filter = selected_recipe.ingridients[i].item
|
||||
|
||||
func _process(_delta: float) -> void:
|
||||
func _tick(_current_tick : int) -> void:
|
||||
if inventory.output_slot.amount <= 0:
|
||||
return
|
||||
inventory.refresh()
|
||||
var output : Structure = get_output_structure()
|
||||
if output == null:
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue