Added delivery quest (very crappy realisation)
This commit is contained in:
parent
33bcd65c53
commit
c6bf51f1b0
9 changed files with 71 additions and 13 deletions
|
|
@ -46,6 +46,8 @@ func destroy():
|
|||
func add_quest(quest : Quest):
|
||||
if quest.restrictions.has(Quest.RESTRICTIONS.TIMER):
|
||||
get_tree().create_timer(quest.data['timer']).timeout.connect(timer_failed)
|
||||
if quest.type == Quest.TYPE.DELIVERY:
|
||||
minimap.add_marker(quest.data['destination'], "quest")
|
||||
|
||||
func kill_quest(success : bool):
|
||||
if success:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue