Object-specific take messages

Hi, quick question.

What would be the easiest way to have object-specific custom messages (rather than the standard ‘taken’) for certain objects? I don’t want to use ‘instead of taking’, as I have a Zork-style ‘load too heavy routine’ which is checked when taking occurs.

Thanks!

The easiest way is to use an “after” rule – “after” rules by default stop the action (with outcome success, not that that probably matters), which means the “report” rules don’t run; and “report” rules are what prints “taken.”

So

After taking the jello: say "It wobbles in your hands."

This is discussed more in section 7.5 of the documentation, with attention to this case.

So simple! Need to read through the documentation again, many thanks for your help.