Switch to edit mode.
Name(s): g*et t*ake1: "Pick up the vehicle, and handle all eventualities."
2: if (this.location == player)
3: $msg:mtell("already_have", this)
4: elseif (this == player.location)
5: $msg:mtell("inside", this)
6: elseif (this.location != player.location)
7: $msg:mtell("not_here", this)
8: else
9: if (this:is_unlocked_for(player))
10: this:moveto(player)
11: endif
12: $msg:mtell(this.location == player ? "take_succeeded" | "take_failed")
13: endif