Add click-powered idle arcade abilities and roaming helpers

This commit is contained in:
JariKo
2026-10-29 21:39:15 +02:00
parent 7906dc6cec
commit d7514e2f14
9 changed files with 444 additions and 26 deletions
+6 -2
View File
@@ -89,7 +89,7 @@ func _ready():
if "--test-equipment-models" in args:args.append("--test-mesh")
test_mode="--test-iron-maiden" in args or "--test-intro" in args or "--test-room-decor" in args or "--test-camera-controls" in args or "--test-rubies" in args or "--test-runtime-burn" in args or "--test-single-punishment" in args or "--test-expansion" in args or "--test-imps" in args or "--test-flight-camera" in args or "--test-maintenance" in args or "--test-castle" in args or "--test-building" in args or "--test-workflow" in args or "--test-roster" in args or "--test-priority" in args or "--test-mesh" in args or "--test-economy" in args or "--test-posture" in args or "--test-gait" in args or "--test-visuals" in args or "--test-mode" in args or "--test-exit" in args or "--test-ui" in args or "--test-audio" in args or "--test-sentences" in args or "--test-hud" in args
capture_mode="--capture-workflow" in args or "--capture-roster" in args or "--capture-economy" in args or "--capture-posture" in args or "--capture-gait" in args or "--capture" in args or "--capture-workshop" in args
test_mode=test_mode or "--test-maiden-performance" in args or "--test-performance-soak" in args
test_mode=test_mode or "--test-idle-arcade" in args or "--test-maiden-performance" in args or "--test-performance-soak" in args
if FileAccess.file_exists("res://build_info.json"):
var stamp=JSON.parse_string(FileAccess.get_file_as_string("res://build_info.json"))
if stamp is Dictionary: build_id=str(stamp.get("id",build_id))
@@ -146,7 +146,8 @@ func _ready():
say("Первый день. Последняя надежда на отпуск.")
refresh_ui()
if automatic: build_auto_arm()
if "--test-performance-soak" in args:call_deferred("run_performance_soak_tests")
if "--test-idle-arcade" in args:call_deferred("run_idle_arcade_tests")
elif "--test-performance-soak" in args:call_deferred("run_performance_soak_tests")
elif "--test-maiden-performance" in args:call_deferred("run_maiden_performance_tests")
elif "--test-iron-maiden" in args:call_deferred("run_iron_maiden_tests")
elif "--test-intro" in args:call_deferred("run_intro_tests")
@@ -1033,3 +1034,6 @@ func run_maiden_performance_tests():
func run_performance_soak_tests():
await preload("res://performance_soak_tests.gd").new().run(self)
func run_idle_arcade_tests():
await preload("res://idle_arcade_tests.gd").new().run(self)