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:
Tony Bark 2021-05-27 13:54:08 -04:00
parent 7a4619f874
commit d3350dd8a6
18 changed files with 529 additions and 186 deletions

View file

@ -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)