View/Edit #2030:g*et t*ake

Switch to edit mode.

Name(s): g*et t*ake
1:  "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

Verb arguments: this none none
Verb perms: Readable NOT-Debug
Verb owned by: Dax (#789)

You are not logged in.

[home | help | who | search | setup | code]