Balance resources
This commit is contained in:
parent
8406db2a6a
commit
2a409b5465
5 changed files with 5 additions and 5 deletions
|
@ -124,7 +124,7 @@ func _process(delta: float) -> void:
|
||||||
Persister.change_value(Data.data.buildings[building.key].resource, Data.data.buildings[building.key].amount)
|
Persister.change_value(Data.data.buildings[building.key].resource, Data.data.buildings[building.key].amount)
|
||||||
var gain = RESOURCE_GAIN.instantiate()
|
var gain = RESOURCE_GAIN.instantiate()
|
||||||
gain.text = "[center]+1 %s" % [Data.data.buildings[building.key].resourcename]
|
gain.text = "[center]+1 %s" % [Data.data.buildings[building.key].resourcename]
|
||||||
gain.position = map_to_local(coords) + Vector2(-50, -5)
|
gain.position = map_to_local(coords) + Vector2(-60, -5)
|
||||||
add_sibling(gain)
|
add_sibling(gain)
|
||||||
building.progress -= Data.data.buildings[building.key].time
|
building.progress -= Data.data.buildings[building.key].time
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ name: Quarry
|
||||||
type: production
|
type: production
|
||||||
resource: stone
|
resource: stone
|
||||||
amount: 1
|
amount: 1
|
||||||
time: 10
|
time: 2
|
||||||
max_workers: 6
|
max_workers: 6
|
||||||
short: Gathers Stone
|
short: Gathers Stone
|
||||||
resourcename: Stone
|
resourcename: Stone
|
||||||
|
|
|
@ -6,7 +6,7 @@ amount: 1
|
||||||
needs: drops
|
needs: drops
|
||||||
max_workers: 6
|
max_workers: 6
|
||||||
resource: water
|
resource: water
|
||||||
resourcename: Clean Water
|
resourcename: Water
|
||||||
cost[]
|
cost[]
|
||||||
wood: 6
|
wood: 6
|
||||||
stone: 10
|
stone: 10
|
||||||
|
|
|
@ -5,6 +5,6 @@ resource: drops
|
||||||
time: 5
|
time: 5
|
||||||
amount: 1
|
amount: 1
|
||||||
max_workers: 6
|
max_workers: 6
|
||||||
resourcename: Water
|
resourcename: Dirty Water
|
||||||
cost[]
|
cost[]
|
||||||
stone: 3
|
stone: 3
|
||||||
|
|
|
@ -2,7 +2,7 @@ name: Lumber Mill
|
||||||
type: production
|
type: production
|
||||||
resource: wood
|
resource: wood
|
||||||
amount: 1
|
amount: 1
|
||||||
time: 10
|
time: 2
|
||||||
max_workers: 6
|
max_workers: 6
|
||||||
short: Gathers Wood
|
short: Gathers Wood
|
||||||
resourcename: Wood
|
resourcename: Wood
|
||||||
|
|
Loading…
Reference in a new issue