feat: score resource discovery by comfort and safety

This commit is contained in:
2026-07-07 15:10:06 +02:00
parent 4c090f1635
commit 036c9d5141
12 changed files with 132 additions and 23 deletions
+4 -1
View File
@@ -27,7 +27,10 @@ func _run() -> void:
"reserved_by": -1,
"enabled": true,
"can_npcs_use": true,
"can_player_use": true
"can_player_use": true,
"safety_risk": 0.0,
"comfort_distance": 18.0,
"discovery_priority": 0.0
}
)
manager.resource_states[resource.get_node_id()] = resource