citylimits/scripts/city_status.gd
Tony Bark addbf91a36 Json-based dialog
- Json-based dialog using code from the JRPG demo
- Moved advisor scenes to their own directory
- Year now has a "Y" prefix
- Docs directory
2021-05-20 15:05:58 -04:00

12 lines
270 B
GDScript

extends BoxContainer
onready var city_name = $CityNameLbl
onready var money = $Money/MoneyLbl
onready var year = $YearLbl
func _ready():
city_name.text = SimData.city_name
func _process(delta):
money.text = str(SimData.budget)
year.text = "Y" + str(SimData.year)