Rewritten quest base
This commit is contained in:
parent
1ea6c2d296
commit
37cd28d611
4 changed files with 84 additions and 26 deletions
12
scripts/Base/Menu/quest.gd
Normal file
12
scripts/Base/Menu/quest.gd
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
extends Node
|
||||
|
||||
var base: Base
|
||||
|
||||
var quest: Quest
|
||||
|
||||
func _ready():
|
||||
get_tree().create_timer(0.05).timeout.connect(fetch_quest)
|
||||
|
||||
func fetch_quest():
|
||||
base = get_parent().base
|
||||
quest = base.quest
|
||||
Loading…
Add table
Add a link
Reference in a new issue