feat: route resources through typed content

This commit is contained in:
Rijad Zuzo
2026-08-12 20:51:01 +02:00
parent 4e4ae1a969
commit dc0f59fcf0
31 changed files with 1071 additions and 10 deletions
@@ -0,0 +1,18 @@
[gd_resource type="Resource" script_class="ResourceDefinition" load_steps=2 format=3]
[ext_resource type="Script" path="res://simulation/definitions/ResourceDefinition.gd" id="1"]
[resource]
script = ExtResource("1")
resource_id = &"resource_berry_patch"
display_name = "Berry Patch"
item_id = &"food"
extraction_action_id = &"gather_food"
capability_tag_ids = Array[StringName]([&"resource.harvestable"])
presentation_cue_id = &"resource.berry_patch"
initial_amount = 10.0
yield_per_action = 2.0
max_amount = 10.0
safety_risk = 0.05
comfort_distance = 16.0
discovery_priority = 1.0