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.
This commit is contained in:
2026-07-06 00:01:41 +02:00
parent 097cfaeaca
commit 0aede053cb
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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:
+2 -2
View File
@@ -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