View/Edit #1961:handle_normal_put

Switch to edit mode.

Name(s): handle_normal_put
1:  if (player != this.owner)
2:    player:tell("You don't own ", this.name, "!")
3:  elseif (iobjstr == "")
4:    this:place()
5:  elseif (iobjstr == "me")
6:    player:tell("You put ", this.name, " on yourself.")
7:    this.on_where = iobjstr
8:    this.on = 1
9:  elseif (this.on && iobjstr in this.wearable_place)
10:   player:tell("You replace ", this.name, " to your ", iobjstr, ".")
11:   this.on = 1
12:   this.on_where = iobjstr
13: elseif (iobjstr in this.wearable_place)
14:   player:tell("You put ", this.name, " on your ", iobjstr, ".")
15:   this.on = 1
16:   this.on_where = iobjstr
17: else
18:   player:Tell("You can't put ", this.name, " there.")
19: endif
20: "Last modified by cheese-whiz (#8596) on Tue May  2 17:09:36 2000 MDT."

Verb arguments: this none this
Verb perms: Readable eXecutable NOT-Debug
Verb owned by: cheese-whiz (#8596)

You are not logged in.

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