knucklebones (#945)

(an instance of Generic Wearable Thing made by Marcus)

     A string of knuckles, disconcertingly human-looking, tied together on a nylon cord.

Go to location of this object, Marcus.



VERB SOURCE CODE:

toss roll:
if (iobjstr == "")
    player:tell("You've got to declare what you're rolling for! (Intelligence, Charisma, 
whatever...)");
else
    tally = 0;
    tallystr = "...0...0...0......";
    for dice in [1..3]
        die = random(6);
        tallystr[dice * 4] = tostr(die);
        tally = tally + die;
    endfor
    comment = this.comments[tally - 2];
    player:tell("You roll the bones for ", iobjstr, "...");
    suspend(2);
    player:tell(tallystr, tally, "...!  ", comment);
    player.location:announce(player.name, " rolls the bones for ", iobjstr, ": ", 
tallystr, tally, "...!  ", comment);
endif
.



PROPERTY DATA:
      comments