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