feat: add typed pantry storage site

This commit is contained in:
2026-07-07 12:57:47 +02:00
parent 33b9c1bdfb
commit e5bd93d705
16 changed files with 304 additions and 69 deletions
+4 -4
View File
@@ -23,12 +23,12 @@ height = 1.7
[node name="JajceWorld" parent="." instance=ExtResource("11_jajce")]
[node name="Player" type="CharacterBody3D" parent="." unique_id=2022843760 node_paths=PackedStringArray("camera_rig", "simulation_manager", "pantry_marker", "guard_zone", "study_zone")]
[node name="Player" type="CharacterBody3D" parent="." unique_id=2022843760 node_paths=PackedStringArray("camera_rig", "simulation_manager", "pantry_storage", "guard_zone", "study_zone")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.05, 0)
script = ExtResource("1_h2yge")
camera_rig = NodePath("../CameraRig")
simulation_manager = NodePath("../SimulationManager")
pantry_marker = NodePath("../JajceWorld/LegacyActivityMarkers/PantryMarker")
pantry_storage = NodePath("../JajceWorld/WorldObjects/StorageSites/VillagePantry")
guard_zone = NodePath("../JajceWorld/LegacyActivityMarkers/GuardZone")
study_zone = NodePath("../JajceWorld/LegacyActivityMarkers/StudyZone")
stomach_capacity_for_food = 10
@@ -57,12 +57,12 @@ deadzone_forward = 2.0
current = true
fov = 65.0
[node name="ActiveWorldAdapter" type="Node" parent="." node_paths=PackedStringArray("guard_marker", "study_marker", "rest_marker", "pantry_marker")]
[node name="ActiveWorldAdapter" type="Node" parent="." node_paths=PackedStringArray("guard_marker", "study_marker", "rest_marker", "pantry_storage")]
script = ExtResource("9_adapter")
guard_marker = NodePath("../JajceWorld/LegacyActivityMarkers/GuardZone")
study_marker = NodePath("../JajceWorld/LegacyActivityMarkers/StudyZone")
rest_marker = NodePath("../JajceWorld/LegacyActivityMarkers/RestZone")
pantry_marker = NodePath("../JajceWorld/LegacyActivityMarkers/PantryMarker")
pantry_storage = NodePath("../JajceWorld/WorldObjects/StorageSites/VillagePantry")
[node name="SimulationManager" type="Node" parent="." unique_id=1099676814 node_paths=PackedStringArray("active_world_adapter")]
script = ExtResource("3_lquwl")