Vast improvements and a working finite state machine, working on new guild member registration.

This commit is contained in:
2025-07-24 08:41:19 -04:00
parent 90151369de
commit dc30d1b15c
100 changed files with 1987 additions and 194 deletions

16
quest_log.gd Normal file
View File

@@ -0,0 +1,16 @@
class_name QuestLog extends Control
const entry_template = preload("res://quest_log_entry.tscn")
@onready var entry_list : VBoxContainer = %Entries
var entries : Array[QuestLogEntry] = []
func _ready() -> void:
Game.quest_log = self
func add_entry(quest : Quest) -> void:
var qle : QuestLogEntry = entry_template.instantiate()
quest.entry = qle
entries.append(qle)
entry_list.add_child(qle)
qle.setup(quest)