Commit Graph

75 Commits

Author SHA1 Message Date
admin 0dfaa06f9c fix: remove invalid StringName cast from dictionary get 2026-07-03 18:28:06 +02:00
admin 8049c52e0f fix: use Variant assignment for _try_get_resource_target return type 2026-07-03 18:26:50 +02:00
admin 9cd38a1adb feat: add ResourceNode system with target selection and reservation
Phase 1-2 of the ResourceNode migration plan:

- Create ResourceNode class (world/resource_nodes/) with extraction,
  reservation, nearest-available selection, and debug label
- Place 4 resource instances in main.tscn (2 berry bushes, 2 trees)
- Add target_id to SimNPC for tracking which node an NPC is using
- Add set_npc_target_id and release_npc_reservation to SimulationManager
  with cleanup on task change, completion, and death
- Update WorldViewManager to query available ResourceNodes first,
  falling back to zone markers with a logged warning
2026-07-03 18:18:51 +02:00
admin e30d208c3f chore: standardize cross-platform development setup 2026-07-03 13:10:12 +02:00
Rijad Zuzo 595233e5df feat(plugin): add terrain3d plugin installation 2026-07-03 13:05:56 +02:00
Rijad Zuzo 5e171ae63a chore: change the dead npcs to have no collision 2026-06-22 00:00:32 +02:00
Rijad Zuzo b5e2493c2a feat: add proper death from starvation and survival tasks urgency 2026-06-21 23:37:58 +02:00
Rijad Zuzo eef2068747 feat: add better priorities setting 2026-06-21 14:41:19 +02:00
Rijad Zuzo 052b36a4e7 feat: add completition of work only after work is done 2026-06-21 00:11:34 +02:00
Rijad Zuzo 8a85c6fbba feat: add task duration and task commitment 2026-06-20 20:43:21 +02:00
Rijad Zuzo bdc1f88b6f feat: add user interaction with the task zones 2026-06-20 18:55:09 +02:00
Rijad Zuzo 852d10f7ae feat: add initial starvation consequence 2026-06-20 18:18:00 +02:00
Rijad Zuzo d185dcacf3 feat: add consequence with modifiers for properties 2026-06-20 17:12:10 +02:00
Rijad Zuzo 4fb1cfabc1 fix: Camera smoothing and start some interaction/consequences to the village part 2026-06-20 15:50:31 +02:00
Rijad Zuzo 60c72c558d feat: add visual meshes for the task zones 2026-06-19 20:55:14 +02:00
Rijad Zuzo fbe3487b56 feat: add actions based on village resources and profession 2026-06-19 16:16:47 +02:00
Rijad Zuzo f251423f62 feat: add ui labels to display village state 2026-06-19 12:08:48 +02:00
Rijad Zuzo d7022b3f27 feat: add simple village simulation of resources 2026-06-19 10:53:30 +02:00
Rijad Zuzo d85fc5a7f9 fix: collision shape of the object not the collision node itself 2026-06-19 10:50:03 +02:00
Rijad Zuzo c37eb9bd3d feat: add behaviour events from the simulation results 2026-06-19 10:42:11 +02:00
Rijad Zuzo af3495f4e3 feat: add npc path finding to the zones based on needs 2026-06-19 10:02:42 +02:00
Rijad Zuzo e2549ac50c feat: add movment based on needs with themed zones 2026-06-19 08:08:17 +02:00
Rijad Zuzo a3ad8d8a07 feat: add npc simulation, instancing and visual scene 2026-06-18 11:12:08 +02:00
Rijad Zuzo a504ed8112 fix: camera movement makes character blurry 2026-06-17 19:47:49 +02:00
Rijad Zuzo 20027bed4b feat: setup initial repo and smallest working scene 2026-06-17 19:39:38 +02:00