View/Edit #8572:sit

Switch to edit mode.

Name(s): sit
1: if (player.location != this.location)
2:   player:tell("Uh...shouldn't you at least be in the same room?")
3: elseif (player in this.sitting)
4:   player:tell("But you're already sitting on ", this:title(), "!")
5: else
6:   player.location:announce_all_but({player}, player:title(), " sits down on ", this:title(), ".")
7:   player:tell("You sit down on ", this:title(), ".")
8:   this.sitting = {@this.sitting, player}
9: endif

Verb arguments: none on top of/on/onto/upon this
Verb perms: Readable NOT-Debug
Verb owned by: Omnipresence (#8878)

You are not logged in.

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