Mantis Bug Tracker

View Revisions: Issue #956 All Revisions ] Back to Issue ]
Summary 0000956: Names with 'player' in confuse the parser
Revision 2012-08-01 18:14 by EmacsUser
Minimal Source Text To Reproduce There is a room.
Player Alice is a person.
Instead of examining the player:
say "Examining rule fires."
Test me with "x me".
Revision 2012-08-01 18:13 by EmacsUser
Minimal Source Text To Reproduce "Examine thyself" by "David Given"

Place is a room.

Player Alice is a person. She is in Place. The description is "Alice's description."

Bob is a person. He is in Place. The description is "Bob's description."

When play begins:
let P be Player Alice;
now the player is P;
remove yourself from play.

Instead of examining the player:
say "Examining rule fires."

Understand "become [any person]" as shapechanging.
Shapechanging is an action applying to one thing.

Instead of shapechanging an person:
if the noun is the player:
say "You're already [the noun].";
else:
let old-player be the player;
now the player is the noun;
say "You become [the printed name of noun]."

test me with "x me / become bob / x me".


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker