Make F5 incremental and reduce iron maiden geometry, physics and idle updates
This commit is contained in:
@@ -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("Казна одобрила внеплановое финансирование.")
|
||||
|
||||
Reference in New Issue
Block a user