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

@ -61,7 +61,15 @@ func _init_advisor(file, advisor):
func _launch_advisor_window(key):
_index_dialogue()
description_label.text = dialogue_keys[key].text
var message: String = dialogue_keys[key].text
if "[name]" in message:
message = message.replace("[name]", SimData.mayor_name)
if "[city]" in message:
message = message.replace("[city]", SimData.city_name)
description_label.text = message
window_title = dialogue_keys[key].name
show()