Beginner stuff, but I didn’t find anything neither here nor in the docs, probably due to incompetent searching:
How do I prevent a container from showing its contents again? I’m dealing with the contents in the description, so I want to avoid “In the container is an item.”.
Thanks for that (notes taken), but I made a mistake when describing my problem: I want the contents to be hidden when examining an object, not when listing it. Like,
examine object
The object looks objective.
Inside the object is a content. <<< Go away stupid sentence!
Well, aaronius already answered this, but if you want to keep the rule intact (for use in certain cases, perhaps) I’d say the simplest thing to do is to override the examine containers rule.
Carry out examining when the noun is a container:
abide by the standard examining rule for the noun;
rule succeeds.
Rule succeeds ends the sequence after we’ve used the standard examining for the container in question. This may be too all-inclusive; it’s possible the rule should only be counted successful if the item was in fact successfully examined. If so,
Carry out examining when the noun is a container:
abide by the standard examining rule for the noun;
if examine text printed is true, rule succeeds.
should do it.
Addendum: this looks really stupid, so I’ll explain. The rule I wrote is completely redundant by itself, and you’d be better off disabling the examining containers rule as Aaron showed. However, if you want to keep the examining containers rule for certain containers, you could create a rule similar to the one I showed for the given objects.
Carry out examining when the noun is a large container:
abide by the standard examining rule for the noun;
if examine text printed is true, rule succeeds.