View/Edit #2053:crayonamavate

Switch to edit mode.

Name(s): crayonamavate
1:  "My goal in life is always to be in 'this.crayon1' and draw stuff on the walls."
2:  caller_perms() == this.owner || raise(E_PERM)
3:  if (!#1000.daytime)
4:    if (!this.location:isa(#2066))
5:      this.location:sub_announce_all_but({this}, "%T yawns deeply and tottles off to bed.")
6:      this:moveto(#8371.hat)
7:      #8371:sub_tell("%T appears curled up inside your hat with a blanket.  %T~s whispers at you, \"G'night Hatsy,\" and goes to sleep.")
8:      this.sleepy = 1
9:    endif
10:   return
11: endif
12: if (this.location == this.crayon1)
13:   this:sub_announce_all_but({this}, "%T draws a picture of %1 on the wall with a crayon.", this.stuff[random($)])
14: elseif (!this:has_people(this.crayon1))
15:   "We can move back to crayon1."
16:   if (this.location:isa(#2066))
17:     if (this.sleepy)
18:       #8371:sub_tell("%T opens %t~p eyes, looks around a bit, and then jumps awake suddenly.  %T giggles happily, \"It's crayon time!\"")
19:       this.sleepy = 0
20:     else
21:       #8371:sub_tell("%T whispers too you, \"I'm going to go drawing,\" and disappears from your hat.")
22:     endif
23:   else
24:     this.location:sub_announce_all_but({this}, "%T sneaks out of the room quietly.")
25:   endif
26:   this:moveto(this.crayon1)
27:   this.location:sub_announce_all_but({this}, "%T sneaks into the room and sits in front of the wall.")
28: else
29:   if (random(10) == 2)
30:     this.crayon1:sub_announce_all_but({this}, "%T peeks around a corner, scowls at people standing near %t~p drawing surfaces, and disappears.")
31:   endif
32: endif
33: "Last modified by Lao-Tzu (#8084) on Tue Aug 20 13:08:41 2002 MDT."

Verb arguments: this none this
Verb perms: Readable eXecutable NOT-Debug
Verb owned by: Floyd (#7788)

You are not logged in.

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