Added delivery quest (very crappy realisation)
This commit is contained in:
parent
33bcd65c53
commit
c6bf51f1b0
9 changed files with 71 additions and 13 deletions
|
|
@ -17,6 +17,9 @@ func _on_body_entered(body):
|
|||
menu_inst.base = get_parent()
|
||||
body.find_child("GUI").add_child(menu_inst)
|
||||
body.minimap.visible = false
|
||||
if body.quest.type == Quest.TYPE.DELIVERY:
|
||||
if body.quest.data['destination'] == get_parent():
|
||||
body.quest.do_progress()
|
||||
|
||||
func _on_body_exited(body):
|
||||
if body is MainShip:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue