feat: give the player a real carried inventory and deposit transactions
This commit is contained in:
@@ -772,6 +772,8 @@ static func _is_valid_supply_resolution(
|
||||
):
|
||||
return false
|
||||
if event_type == SimulationIds.EVENT_STORAGE_DEPOSITED:
|
||||
if actor_id < 0:
|
||||
return StringName(event.data["source_id"]) == &"player_carry"
|
||||
return (
|
||||
npc_ids.has(actor_id)
|
||||
and StringName(event.data["source_id"]) == SimulationIds.npc_inventory_id(actor_id)
|
||||
|
||||
Reference in New Issue
Block a user