Commit 269d5adc authored by Leandro Motta Barros's avatar Leandro Motta Barros

Balancing: more effective tools, less machine decay

parent f79d443b
......@@ -10,7 +10,7 @@ func _init():
costTime = 15.0
toolName = "Hammer"
descr = "All your problems look like nails anyway. A bit better than a wrench, doesn't break easily."
fixPower = Globals.MACHINE_DECAY_RATE * coolDownInSecs * 2.5
fixPower = Globals.MACHINE_DECAY_RATE * coolDownInSecs * 3.5
func useImplementation() -> void:
......
......@@ -20,7 +20,7 @@ tracks/0/keys = {
"values": [ 0.0, -65.0, 0.0, -65.0, 0.0 ]
}
[node name="Hammer" instance=ExtResource( 1 )]
[node name="Hammer" index="0" instance=ExtResource( 1 )]
script = ExtResource( 2 )
[node name="AnimationPlayer" parent="." index="0"]
......
......@@ -10,7 +10,7 @@ func _init():
costTime = 18.0
toolName = "Power Tool"
descr = "Fixes machinery as no other tool, but breaks easily."
fixPower = Globals.MACHINE_DECAY_RATE * coolDownInSecs * 8.0
fixPower = Globals.MACHINE_DECAY_RATE * coolDownInSecs * 8.5
func useImplementation() -> void:
......
......@@ -10,7 +10,7 @@ func _init():
costTime = 0.0
toolName = "Wrench"
descr = "The standard maintenance tool. Not very good, but it is unbreakable."
fixPower = Globals.MACHINE_DECAY_RATE * coolDownInSecs * 1.5
fixPower = Globals.MACHINE_DECAY_RATE * coolDownInSecs * 2.0
func useImplementation() -> void:
......
......@@ -20,7 +20,7 @@ tracks/0/keys = {
"values": [ 0.0, 33.0, -33.0, 33.0, 0.0 ]
}
[node name="Wrench" instance=ExtResource( 1 )]
[node name="Wrench" index="0" instance=ExtResource( 1 )]
script = ExtResource( 2 )
[node name="Sprite" type="Sprite" parent="." index="0"]
......
......@@ -5,10 +5,10 @@ onready var MintageScene := preload("res://scenes/Mintage.tscn")
enum MintageState { RAW_METAL, MOLTEN_METAL, WET_PLANCHET, PLANCHET, COIN }
# Amount of work required to make a mintage change to its next state.
const WORK_FOR_NEXT_STATE := 1.0
const WORK_FOR_NEXT_STATE := 0.5
# Machine condition will decay this amount per second
const MACHINE_DECAY_RATE := 1.0 / 100
const MACHINE_DECAY_RATE := 1.0 / 120
# Stats will be kept for tis many seconds. Should be a number
# that divides 60 without a remainder.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment