citylimits/scripts/windows.gd
Tony Bark 72e2c96542 SC3k-style Ordinances
This wound up being a bigger commit than I had initially planned.

- New SC3k-style policies based on the advisor code.
- Added license file to Font Awesome folder.
- Refactored the advisor code so it can handle multiple files.
- Updated icons. Should be more consistent now.
- Replaced Sims with Animals in ticker text.
- Moved dialogs to windows directory.
2021-05-27 10:33:08 -04:00

22 lines
515 B
GDScript

extends Control
onready var debug_console = $Console
onready var tax_window = $TaxWindow
onready var advsior_meet_window = $AdvisorMeet
onready var tools_window = $ToolsWindow
func _ready():
SimEvents.emit_signal("advisor_message", SimData.Advisors.CITY_PLANNER, 0)
func _process(delta):
if Input.is_action_pressed("ui_cheats"):
debug_console.show()
func _on_TaxBtn_pressed():
tax_window.show()
func _on_AdvsiorBtn_pressed():
advsior_meet_window.show()
func _on_ToolsBtn_pressed():
tools_window.show()