I have a little poser.
I’m using I7 6G.
I’ve got a room which has a door between it and an adjacent room.
The first factor is that I don’t want the door mentioned on this side, so I say
Before listing nondescript items when player is in foyer:
now school door is not marked for listing.
That works fine on its own.
The second factor is that there are several objects in here which I always want nondescriptively listed before anything the player may drop here. I’ve been doing this by shuffling them in the room every turn:
Before listing nondescript items when player is in foyer:
if C is in location, now C is in location; [lists C third]
if B is in location, now B is in location; [lists B second]
now A is in location; [always lists A first]
This approach works fine in other rooms where I’m doing similar stuff, but the catch in this room is that the door (now invisible to the player) always grabs the pronoun ‘IT’ if the player types ‘LOOK’. And I can’t shuffle the door.
I tried to fix this by adding a routine which manually goes through items marked for listing at the same time, and pulls pronouns from the first thing in the list (which I hoped would be last to appear in the room). This stops the door ever grabbing pronouns, but it’s not getting the choice right of what should grab the pronouns all the time, because it turns out the order of things in the ‘marked for listing’ list is not always the same as the order in which they appear in the room when the game runs!
Anyone have the solution for this one?
-Wade