NPCs can take quests!

This commit is contained in:
2025-08-07 01:02:48 -04:00
parent 6bfbd4b70c
commit fb312401cd
14 changed files with 133 additions and 76 deletions

View File

@@ -28,11 +28,18 @@ var taken : bool = false
var questor : AdventurerData = null
signal status_changed(status : Status)
func _init() -> void:
print("TEST!")
func initiate(member : AdventurerData) -> void:
questor = member
taken = true
status_changed.emit(Status.TAKEN)
#TODO: Put in quest requirements
func is_eligible(member : AdventurerData) -> bool:
return !taken
func difficulty_name() -> String:
match(difficulty):
0: return "None"