mirror of
https://github.com/tonytins/citylimits
synced 2025-12-19 22:24:42 -05:00
Redid interface
- Redid the interface with everything now at the bottom. - Advisors can now address the mayor and city - Updated tax window with red and green arrow icons - Tweaked income algorithm
This commit is contained in:
parent
7a4619f874
commit
d3350dd8a6
18 changed files with 529 additions and 186 deletions
|
|
@ -26,9 +26,8 @@ func _ready():
|
|||
func _process(delta):
|
||||
var total_income = int(SimData.res_income + SimData.comm_income + SimData.ind_income)
|
||||
|
||||
|
||||
if total_income >= 1:
|
||||
annual_income.text = "Income: " + SimData.currency + str(total_income) + "/yr"
|
||||
if SimData.prev_month < SimData.month and total_income > 1:
|
||||
annual_income.text = str(total_income) + "/mo"
|
||||
|
||||
func _on_ResSlider_value_changed(value):
|
||||
SimData.res_tax = int(value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue