mirror of
https://github.com/tonytins/citylimits.git
synced 2025-03-20 14:51:22 +00:00
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.
22 lines
515 B
GDScript
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()
|