scavenge book working, fixed issue with blocked slots
This commit is contained in:
parent
c952938134
commit
ab71f15b82
3 changed files with 27 additions and 4 deletions
|
|
@ -12,6 +12,8 @@ func _ready() -> void:
|
|||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
if Input.is_action_pressed("quick_move") and hovered_slot:
|
||||
if hovered_slot.block_taking:
|
||||
return
|
||||
# figure out what the "other" inventory is and move it
|
||||
var current_inv : String = hovered_slot.type
|
||||
var target_inv : Inventory
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue