mirror of
https://github.com/tonytins/citylimits.git
synced 2025-03-20 06:41:21 +00:00
- Created a json helper to streamline decoupling of hardcoded data - Removed non-existent VR bridge reference - News ticker files are no longer hardcoded to the game. - Removed hardcoded city and mayor names using Json helper
20 lines
579 B
GDScript
20 lines
579 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():
|
|
SimData.city_name = SimData.city_name.capitalize()
|
|
SimData.mayor_name = SimData.mayor_name.capitalize()
|
|
|
|
SimEvents.emit_signal("advisor_message", SimData.Advisors.CITY_PLANNER, 0)
|
|
|
|
SimEvents.connect("send_alert", self, "_start_alert")
|
|
SimEvents.connect("rotate_news", self, "_rotate_news")
|
|
|
|
func _process(delta):
|
|
if Input.is_action_pressed("ui_cheats"):
|
|
debug_console.show()
|
|
|