feat: route resources through typed content
This commit is contained in:
@@ -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
|
||||
@@ -0,0 +1,19 @@
|
||||
[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_herb_patch"
|
||||
display_name = "Medicinal Herb Patch"
|
||||
item_id = &"herb"
|
||||
extraction_action_id = &"gather_food"
|
||||
capability_tag_ids = Array[StringName]([&"resource.harvestable"])
|
||||
presentation_cue_id = &"resource.herb_patch"
|
||||
initial_amount = 8.0
|
||||
yield_per_action = 1.0
|
||||
max_amount = 8.0
|
||||
regrow_rate = 0.01
|
||||
safety_risk = 0.15
|
||||
comfort_distance = 14.0
|
||||
discovery_priority = 0.5
|
||||
@@ -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_tree"
|
||||
display_name = "Tree"
|
||||
item_id = &"wood"
|
||||
extraction_action_id = &"gather_wood"
|
||||
capability_tag_ids = Array[StringName]([&"resource.harvestable"])
|
||||
presentation_cue_id = &"resource.tree"
|
||||
initial_amount = 12.0
|
||||
yield_per_action = 3.0
|
||||
max_amount = 12.0
|
||||
safety_risk = 0.1
|
||||
comfort_distance = 20.0
|
||||
discovery_priority = 1.0
|
||||
Reference in New Issue
Block a user