Conveyor sideloading
This commit is contained in:
parent
222960a824
commit
81451bd356
14 changed files with 243 additions and 17 deletions
|
@ -16,7 +16,10 @@ func _input(event: InputEvent) -> void:
|
|||
else:
|
||||
if held_construction.try_place(zone):
|
||||
held_construction = null
|
||||
|
||||
if event.is_action_pressed("plc_rotate_up"):
|
||||
if held_construction != null:
|
||||
held_construction.cycle_up_facing()
|
||||
|
||||
if event.is_action_pressed("plc_cancel"):
|
||||
held_construction.queue_free()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue