citylimits/scripts/windows.gd
Tony Bark d1da70a099 Streamlined advisor window
- Streamlined advisor window messages through signals.
- Added TODO file
- Ignore /except directory
- News ticker based on the advisor code with text from SC3k with news from the game, with some exceptions.
- New SC3k-like interface.
- Added icons from Font Awesome.
2021-05-26 03:35:52 -04:00

23 lines
545 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
# onready var news_ticker = $
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()