I haven’t downloaded 6E59 yet, and was trying to help with some code to allow “Bob’s hat” to refer the hat Bob wears, and also to allow “Bob’s nose” to refer to the nose that is part of Bob, and “Bob’s stick” to refer to the stick Bob carries. This is the code I came up with (mostly due to some suggestions from Jim Aikin and Jesse McGrew in response to an earlier question of mine, and incorporating a little of Al’s original code):
[spoiler][code]“possessions” by Matt Weiner
Section 1 - Of Hats
clothing is kind of thing.
a hat is kind of clothing.
clothing is always wearable.
understand “hat” as a hat.
The fuschia hat is a hat. The bright red hat is a hat. The bright blue
hat is a hat. The purple hat is a hat.
The indefinite article of a hat is usually “a”. The description of a
hat is usually “It’s [indefinite article of the noun] [printed name
of the noun].”.
Section 2 - Of Sticks
The swagger stick is a thing. The description is “It seems confident,
if not arrogant.” The walking stick is a thing. The description is
“Sturdy and mostly straight, it looks like it might help you walk.”
Section 3 - Of Noses
A nose is a kind of thing. Every person incorporates a nose.
The description of a nose is usually “[Random person enclosing the
noun][’]s nose is noselike.”
Section 4 - Of Enclosures
After reading a command:
let X be indexed text;
let X be the player’s command;
replace the text “'s” in X with " [’]s";
change the text of the player’s command to X.
Understand “[something related by reversed enclosure] 's” as a thing.
Understand “my” as a thing when the player encloses the item
Section 5 - Scenario
Starter is a room.
Bob and Mike are men in Starter.
Barbie and Sandie are women in Starter.
When play begins: Now Bob wears the red hat. Mike wears the blue hat.
Barbie wears the fuschia hat. Sandie wears the purple hat. Sandie
carries the swagger stick. Mike carries the walking stick.
Persuasion rule: persuasion succeeds.
Test me with “x bob’s hat/x bob’s nose/x sandie’s stick/bob, drop hat/
mike, doff hat/x mike’s hat/mike, take hat/x mike’s hat/bright blue
hat/x mike’s blue hat/mike, wear red hat/mike, drop blue hat/take hat/
x my hat”. [/code][/spoiler]
Except for some weirdness at lines 8 and 9, this behaves well
in 5E71, but apparently it doesn’t in 6Z59; for instance, line 3
yields “I only understood you as far as wanting to examine Sandie’s
nose.” Has the definition of “enclose” changed between 5E71 and
6Z59? I don’t see anything relevant about enclosure in the changelog,
but I noticed that the relevant documentation about enclosing in
3.25 (which is the same in both) doesn’t actually mention
a person’s possessions as something they enclose.