For my "missed" meta verb. Right now I check for a room if parent(o) ==
zero and o.&name = 0. But recently, I've found that I might want to use
the name property on rooms.. so now what?
[ MissedSub o sc;
print "Items are ", OBJECT_SCORE, " points, rooms are ", ROOM_SCORE, ".^";
for (o = selfobj+1: o <= top_object: o++)
{
if (o has scored && o hasnt visited && o hasnt moved)
{
print "You missed "; PrintShortName(o);
if (parent(o) == 0 && o.&name == 0) { print " (room)"; sc = sc + ROOM_SCORE; }
else { print " (item)"; sc = sc + OBJECT_SCORE; }
print ".^";
}
}
print "This accounts for a total of ", sc, " points.^";
];
-- --- Sam Hulick ------------- shulick@indiana.edu --------------------- Systems Consultant | Homepage: Indiana College Placement | http://copper.ucs.indiana.edu/~shulick/ and Assessment Center | PGP public key available on request