Moved everything into a file system. Links broken.

This commit is contained in:
2025-08-10 03:58:03 -04:00
parent 4e0b42eb23
commit 434216ca29
182 changed files with 1141 additions and 252 deletions

15
scripts/quest_log.gd Normal file
View File

@@ -0,0 +1,15 @@
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()
entries.append(qle)
entry_list.add_child(qle)
qle.setup(quest)