View/Edit #6565:N*orth E*ast S*outh W*est

Switch to edit mode.

Name(s): N*orth E*ast S*outh W*est
1:  if (!(player in this.connected))
2:    return player:tell("You can't go that way.  Type \"connect\" to play.")
3:  elseif (player in this.casts)
4:    return player:tell("You'll have to \"reel\" in your line first.")
5:  endif
6:  verb[1] == "N" && (stuff = {"north", 0, 1})
7:  verb[1] == "E" && (stuff = {"east", 1, 0})
8:  verb[1] == "S" && (stuff = {"south", 0, -1})
9:  verb[1] == "W" && (stuff = {"west", -1, 0})
10: loc = this:loc(player)
11: if (verb[1] == "N" && loc[2] == 10 || (verb[1] == "E" && loc[1] == 10) || (verb[1] == "S" && loc[2] == 1) || (verb[1] == "W" && loc[1] == 1))
12:   return player:tell("You can't go that way.")
13: endif
14: player:tell("You row ", stuff[1], ".")
15: this:announce(player.name, " rows ", stuff[1], ".")
16: this.FisherStats[player in this.Fishers][1] = {loc[1] + stuff[2], loc[2] + stuff[3]}
17: this:announce(player.name, " rows into view.")
18: this:look_self()
19: "Last modified by James (#6397) on Mon May 25 18:25:18 1998 EDT."

Verb arguments: none none none
Verb perms: Readable NOT-Debug
Verb owned by: James (#6397)

You are not logged in.

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