Quest events

This commit is contained in:
2025-06-08 21:38:38 -05:00
parent 6cfbdbc892
commit 8f52da0f5d
7 changed files with 106 additions and 16 deletions

View File

@@ -48,11 +48,6 @@ func start() -> void:
textboxEvent.count = quantity
conversationEvent.addChildEvent(textboxEvent)
conversationEvent.eventEnded.connect(func():
# Reward the item
rewardItem()
)
# Begin processing
super.start()
startChild(conversationEvent)
@@ -69,6 +64,7 @@ func isDone() -> bool:
return conversationEvent.isDone()
func end() -> void:
rewardItem()
if removeNode:
var parent = removeNode.get_parent()
if parent: