mirror of
https://github.com/tonytins/citylimits
synced 2025-12-16 21:24:43 -05:00
Initial foundation for VR Mode
A lot has happened since May that I couldn't begin to describe what was working at the time. What I can tell you that is new as of this commit is an upcoming VR mode.
This commit is contained in:
parent
ef6b097ef2
commit
1f038ea53c
16 changed files with 374 additions and 318 deletions
|
|
@ -60,18 +60,19 @@ func _init_advisor(file, advisor):
|
|||
rank_label.text = "Transportation Advisor"
|
||||
|
||||
func _launch_advisor_window(key):
|
||||
_index_dialogue()
|
||||
var message: String = dialogue_keys[key].text
|
||||
|
||||
if "[name]" in message:
|
||||
message = message.replace("[name]", SimData.mayor_name)
|
||||
|
||||
if "[city]" in message:
|
||||
message = message.replace("[city]", SimData.city_name)
|
||||
|
||||
description_label.text = message
|
||||
window_title = dialogue_keys[key].name
|
||||
show()
|
||||
# _index_dialogue()
|
||||
# var message: String = dialogue_keys[key].text
|
||||
#
|
||||
# if "[name]" in message:
|
||||
# message = message.replace("[name]", SimData.mayor_name)
|
||||
#
|
||||
# if "[city]" in message:
|
||||
# message = message.replace("[city]", SimData.city_name)
|
||||
#
|
||||
# description_label.text = message
|
||||
# window_title = dialogue_keys[key].name
|
||||
# show()
|
||||
pass
|
||||
|
||||
func _advisor_dialogue(advisor, message):
|
||||
_init_advisor(JsonFile.ANNOUNCEMENTS, advisor)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue