a prayer-wheel (#1426)

(an instance of Generic Boomerang Thing made by Marcus)

     A finely wrought cylinder mounted in a frame, so you can turn it.

Go to location of this object, a peregrination.



VERB SOURCE CODE:

repeat:
speed = args[1] in {"turn", "twirl", "spin"};
if (speed)
    number = (random(speed) + random(speed * 2)) + random(speed * 3);
    this.delay = 3 - speed;
    return number;
else
    player:tell("Spin the wheel slow, steady or fast...?");
    return 0;
endif
.


turn twirl spin:
player:tell("You ", verb, " the prayer wheel...!");
this.location:announce(player:titlec(), " ", verb, "s the prayer wheel...");
repetitions = this:repeat(verb);
for times in [1..repetitions]
    suspend(this.delay);
    this.location:announce_all(this.mantra);
endfor
suspend(this.delay);
this.location:announce_all("The wheel comes to a stop.");
.



PROPERTY DATA:
      mantra