Skip to content

Commit

Permalink
Changed the default simulation settings to 75%
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasdotcom committed Feb 22, 2022
1 parent 5c38eb5 commit 781c470
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Data.gd
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func start() -> void: # Loads starting loader
_data["upgrades"] = {"ball" : _data["ball_upgrades"], "golden" : false}
_data["version"] = "v0.6.0"
if _data["version"] == "v0.6.0":
_data["performance"] = {"Simulate" : 100, "Show" : 100, "Ball" : 9.5}
_data["performance"] = {"Simulate" : 75, "Show" : 100, "Ball" : 9.5}
_data["version"] = "v0.6.1"
if _data["version"] == "v0.6.1": # Loads the save
goldenLength = _data["goldenLength"]
Expand Down
2 changes: 1 addition & 1 deletion src/Main.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ margin_top = 52.0
margin_right = 460.0
margin_bottom = 72.0
min_value = 1.0
value = 100.0
value = 75.0
__meta__ = {
"_edit_use_anchors_": false
}
Expand Down
3 changes: 2 additions & 1 deletion src/box.gd
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ func _on_hit(body: Node) -> void:
var _earnings = Data.earnings[level] + (game.disabledTotal / game.enabled) # Calculates the base earnings
_earnings *= Data.multiplier # Multiplies the global multiplier
_earnings *= body.multiplier # Multiplies the balls multiplier
Data.money += _earnings
_earnings = ceil(_earnings)
Data.money += _earnings
get_node("../../MPS Calculator").earnings(_earnings)

func delete() -> void: # Used to delete the box
Expand Down

0 comments on commit 781c470

Please sign in to comment.