2022-08-09 07:17:54 +00:00
|
|
|
extends Node
|
|
|
|
|
|
|
|
|
2022-08-16 07:37:53 +00:00
|
|
|
onready var node_variables = get_node("/root/NodeVariables")
|
2022-08-16 09:30:28 +00:00
|
|
|
onready var user_values = get_node("/root/UserValues")
|
2022-08-09 07:17:54 +00:00
|
|
|
|
2022-08-16 09:42:32 +00:00
|
|
|
|
2022-08-09 07:17:54 +00:00
|
|
|
func _ready():
|
2022-08-16 09:42:32 +00:00
|
|
|
pass
|
|
|
|
|
2022-08-09 07:17:54 +00:00
|
|
|
|
|
|
|
func show_start_menu():
|
2022-08-16 07:37:53 +00:00
|
|
|
node_variables.main_screen.visible = true
|
|
|
|
node_variables.start_menu.visible = true
|
|
|
|
node_variables.user_menu.visible = false
|
2022-08-16 09:30:28 +00:00
|
|
|
node_variables.daily_prompts.visible = false
|
2022-08-09 07:17:54 +00:00
|
|
|
|
2022-08-16 09:42:32 +00:00
|
|
|
|
2022-08-09 07:17:54 +00:00
|
|
|
func show_user_menu():
|
2022-08-16 07:37:53 +00:00
|
|
|
node_variables.main_screen.visible = true
|
|
|
|
node_variables.start_menu.visible = false
|
|
|
|
node_variables.user_menu.visible = true
|
2022-08-16 09:30:28 +00:00
|
|
|
node_variables.daily_prompts.visible = false
|
|
|
|
|
2022-08-16 09:42:32 +00:00
|
|
|
|
2022-08-16 09:30:28 +00:00
|
|
|
func show_daily_prompts():
|
|
|
|
node_variables.main_screen.visible = true
|
|
|
|
node_variables.start_menu.visible = false
|
|
|
|
node_variables.user_menu.visible = false
|
|
|
|
node_variables.daily_prompts.visible = true
|