a brush (#713)

(an instance of Generic Boomerang Thing made by Marcus)


Go to location of this object, a bathtub.



VERB SOURCE CODE:

brush:
times = this.times + random(this.times);
for i in [1..times]
    (i % 2) ? indent1 = "" | (indent1 = "    ");
    for n in [1..3]
        (n % 2) ? indent = indent1 + "" | (indent = indent1 + "  ");
        brushtime = tostr(indent, this:brush_msg());
        if ($object_utils:isa(where = this.location, $room))
            where:announce_all(brushtime);
        elseif ($object_utils:isa(where.location, $room))
            where.location:announce_all(brushtime);
        endif
    endfor
    suspend(1);
endfor
.


brush_msg:
return $string_utils:pronoun_sub(this.(verb));
.



PROPERTY DATA:
      times
      brush_msg