Quest events
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user