Quote:
>Examine drawer
You can't reach anything in the room while trapped in the jar [not desired]
The drawer is probably a container for which you have not written a description, correct? Inform silently forwards the examining action to the searching action when you are looking at a container that is undescribed; in other words, when you EXAMINE a container that doesn't have its own description, you're actually SEARCHing. (This will change in the next build, according a post Emily Short left in a recent thread here.) For now, use this rule:
Code:
A reaching outside rule when the player is in the decanter and the current action is searching and the noun is a container:
allow access.
By the way, I just tested this stuff in Inform, and the rule about examining actually isn't needed at all, so you were right to get rid of it. In fact, it looks like examining is allowed from within a transparent container by default, which leaves me puzzled about what occasioned your initial post--perhaps smelling or some other action?. Anyway, this means that you can also remove the reference to examining from your third rule.
By the way, the third rule also isn't working as you intend. I'm actually a bit surprised that Inform allows it to compile. Anyway, it would be good practice to get in the habit of writing the full condition for each element when you have multiple conditions. So, this:
Code:
A reaching outside rule when the player is in the decanter and the current action is not smelling and the current action is not examining:
instead of this:
Code:
A reaching outside rule when the player is in the decanter and the current action is not smelling or examining:
Again, though, in this case you don't need to mention examining in this rule. It already is allowed by default.
--Erik