Conditional Text Complication

You’re encountering a lot of little tricks at once here.

The first is that if clearing is a location and you check if BLAH is in the clearing, that specifically means to Inform that BLAH must be sitting in the clearing. BLAH can’t be in a cupboard in the clearing. It can’t be held by someone in the clearing. The directly enclosing parent of BLAH must be the specified location, if you use the test ‘if BLAH is in LOCATION’.

However, enclosure is a test you can apply to anything. Locations, people, objects, etc.

This means if you want to test if a knife is in the clearing anywhere at all (carried, in a bag, locked in a box that’s invisible… anywhere) you can use a test like

if knife is enclosed by the clearing:

Separately, here’s a cheat sheet I made showing which concepts test what regarding things the player’s holding, carrying, wearing etc.:

So once you’re on top of that, you may need to look at the boolean logic of what you want. If your sentence with ‘or’ and commas doesn’t work, try expanding it in a really strict way. e.g.

‘if the plate is not enclosed by the clearing and the knife is not enclosed by the clearing and…’ etc.

There’s ultimately probably an easier way to specify the condition you want, but I couldn’t say what it will be yet as I’m not sure what condition you want.

-Wade