Make F5 incremental and reduce iron maiden geometry, physics and idle updates

This commit is contained in:
JariKo
2026-10-29 12:47:09 +02:00
parent 18f944d9eb
commit c48761ef20
14 changed files with 231 additions and 36 deletions
+3 -3
View File
@@ -119,9 +119,9 @@ func reward(amount=20):
func test_boost():
g.coins+=1000
g.essence=preload("res://progression.gd").MAX_RESOURCE
xp=Economy.XP_THRESHOLDS.back()
points=maxi(0,Economy.XP_THRESHOLDS.size()-1-g.speed_level-action_level-leadership)
g.essence+=1000
var current=Economy.level(xp)
if current<Economy.XP_THRESHOLDS.size():reward(Economy.XP_THRESHOLDS[current]-xp)
g.refresh_ui()
g.save_progress()
g.say("Казна одобрила внеплановое финансирование.")