mirror of
https://github.com/tonytins/citylimits
synced 2025-12-16 21:24:43 -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
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue