problem with report rule when Postures extension is added

Hello,

I have the following code that works okay when the Postures extension is turned off but does NOT when the extension is switched on:

"Wingback Chair Issue" by Richard Smyth

[Include Postures by Emily Short.]

CHAPTER - Living Room

The Living Room is a room. “Room description.”

The blue wingback chair is an enterable supporter in the Living Room. The description of the blue wingback chair is “The chair that has been home to your thoughts for forty years: a little threadbare, to be sure, but certainly not so much so that it belongs in the trash, as your daughter suggests.”

Report entering the blue wingback chair: instead say “You sit down on the [noun].[first time][line break]Something about this chair–perhaps its familiar comfort, or the way your head fits perfectly in the niche of its wings–makes you want to doze.[only]”

test me with “sit in chair / stand / sit in chair”

The Postures extension isn’t even listed on the Extensions page of the inform7.com site anymore, so it must be ancient… but you can still find it on the site here:
http://inform7.com/extensions/Emily%20Short/Postures/source.html

I’m dusting this project off after its lying dormant for a number of years, and I can’t remember why I included Postures. It must have been to solve some other problem, so I’d rather just create a work-around for this instance rather than just shutting it off.

I’ve attached the extension in case you want to give this challenge a try.

Thanks in advance for any help.

Richard
Postures.i7x (12.5 KB)

The Postures extension seems to cancel any report entering rules, replacing them with something called report taking position. This is in order to print something like “You are now seated on the bed” or “You are now reclining on the bed” instead of “You get onto the bed”.

So the rule you want instead of “Report entering the blue wingback chair” is either “Report sitting on the blue wingback chair”, (which will print “You are now seated on the blue wingback chair” before your “You sit down on the blue wingback chair”, so you might want to remove the latter) or “Report taking position when the holder of the player is the blue wingback chair”.

By the way, the inform7.com extensions site is generally for outdated versions of extensions. It looks like Postures is available in the Public Library (go to the Extensions tab of your Inform app); if you download that version it should be the newest one.

Also, a couple of tips about posting: if you put your code in “code” tags instead of and it will show up nicely formatted. Like this:

[code][code]
“Wingback Chair Issue” by Richard Smyth

[Include Postures by Emily Short.]

CHAPTER - Living Room

The Living Room is a room. “Room description.”

The blue wingback chair is an enterable supporter in the Living Room. The description of the blue wingback chair is “The chair that has been home to your thoughts for forty years: a little threadbare, to be sure, but certainly not so much so that it belongs in the trash, as your daughter suggests.”

Report entering the blue wingback chair: instead say “You sit down on the [noun].[first time][line break]Something about this chair–perhaps its familiar comfort, or the way your head fits perfectly in the niche of its wings–makes you want to doze.[only]”

test me with “sit in chair / stand / sit in chair”
[/code][/code]

(The tags at the beginning and end are there to show you what it looks like… and I put another set of code tags around them to get the code formatting.)

Also, though Angstsmurf seems to have explained the issue, in the future if you explain specifically what the issue is that’d be helpful; it’s hard to tell from your post whether your code isn’t compiling or it isn’t having the desired effect or what.