From 0aede053cb82a2f6f89e01a76ebeeb8f95f552fe Mon Sep 17 00:00:00 2001 From: Rijad Zuzo Date: Mon, 6 Jul 2026 00:01:41 +0200 Subject: [PATCH] feat: expand village population from 3 to 6 NPCs Adds Elma, Mirza, and Lejla to the village alongside Amina, Tarik, and Jasmin. Profession assignment is deterministic per-NPC-id RNG so the original three retain their seeded professions. jajce_runtime_integration_test updated to expect six villagers. All 10 scenarios pass. --- simulation/SimulationManager.gd | 2 +- tests/jajce_runtime_integration_test.gd | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/simulation/SimulationManager.gd b/simulation/SimulationManager.gd index 2a5babe..31bf80a 100644 --- a/simulation/SimulationManager.gd +++ b/simulation/SimulationManager.gd @@ -30,7 +30,7 @@ var action_selector := ActionSelectionSystem.new() var action_executor := ActionExecutionSystem.new() var target_resolver := ActionTargetResolver.new() -var names := ["Amina", "Tarik", "Jasmin"] +var names := ["Amina", "Tarik", "Jasmin", "Elma", "Mirza", "Lejla"] func _ready() -> void: diff --git a/tests/jajce_runtime_integration_test.gd b/tests/jajce_runtime_integration_test.gd index 43f6925..f299a28 100644 --- a/tests/jajce_runtime_integration_test.gd +++ b/tests/jajce_runtime_integration_test.gd @@ -16,7 +16,7 @@ func _run() -> void: var simulation_manager: Node = main_scene.get_node("SimulationManager") simulation_manager.set_process(false) - _check(simulation_manager.npcs.size() == 3, "Baseline should create three NPCs") + _check(simulation_manager.npcs.size() == 6, "Baseline should create six NPCs") _check( main_scene.has_node("JajceWorld/TerrainRoot/Terrain3D"), "Playable runtime should instance the Jajce Terrain3D world" @@ -82,7 +82,7 @@ func _run() -> void: _check(starving.is_dead, "Starvation threshold should still kill an NPC") if failures.is_empty(): - print("[TEST] Jajce runtime passed: 3 NPCs, 4 resources, 24 navigation routes") + print("[TEST] Jajce runtime passed: 6 NPCs, 4 resources, 24 navigation routes") quit(0) return