mirror of
https://github.com/tonytins/citylimits
synced 2025-12-18 13:54:43 -05:00
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.
This commit is contained in:
parent
e5505a3244
commit
d1da70a099
38 changed files with 1738 additions and 413 deletions
|
|
@ -1,9 +1,15 @@
|
|||
extends Panel
|
||||
|
||||
onready var city_name = $Container/CityNameEdit.text
|
||||
onready var city_name = $Container/CityNameEdit
|
||||
onready var mayor_name = $Container/MayorNameEdit
|
||||
onready var budget = $Container/BudgetMenu
|
||||
|
||||
func _ready():
|
||||
city_name.text = SimData.city_name
|
||||
mayor_name.text = SimData.mayor_name
|
||||
|
||||
func _on_CreateBtn_pressed():
|
||||
SimData.city_name = city_name
|
||||
SimData.city_name = city_name.text
|
||||
SimData.mayor_name = mayor_name.text
|
||||
|
||||
get_tree().change_scene("res://scenes/Game.tscn")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue