Part of Cheats & Temporary Solutions - not for release
[When play begins:
say "*** This is a test version. It includes many tricks and cheats and tests.";
say "To change between the worlds quickly, just '[bold type]say xyzzy[roman type]'. (It's an ancient magic word.)[line break]";
say "To unlock all doors, '[bold type]say sesame[roman type]'. That may help your explore the world when playtesting. ***[line break]".
Understand "xyzzy" or "say xyzzy" as casting xyzzy.
Casting xyzzy is an action applying to nothing.
Carry out casting xyzzy:
change worlds.
Report casting xyzzy:
silently try looking.
Instead of answering:
if the topic understood includes "xyzzy":
try casting xyzzy;
else if the topic understood includes "sesame":
say "Magic! All doors are unlocked now!";
now all doors are unlocked;
else if the topic understood includes "zzz":
say undescribed items;
otherwise:
continue the action.
]
To say undescribed items:
let x be 0;
repeat with item running through things:
if the item is an otherworld item:
if the other description of the item is "":
say "[item] - needs other description.";
increase x by 1;
otherwise:
if description of the item is "":
say "[item] - needs description(s).";
increase x by 1;
[ if other description of the item is "":
say "[item] - could do with other description."]
say "[x] items need descriptions."