



Contrary to the DM4, multiheld sometimes matches objects that are not
held. This would be OK if the objects were then implicitly taken, like
they are for held, but they are not.
Here is a short example that shows the problem: Here's a sample transcript: None submitted.
About Patches
Issue L61115 [previous patch]
'multiheld' can match unholdable objects
Submitted by: Nathan Summers
Appeared in: Library 6/11 or before
Fixed in: -
Problem
!% -SD
Include "Parser";
Include "Verblib";
Include "Grammar";
[ Initialise; location = theroom; ];
Object theroom "Frobnization Room"
with description "You feel like frobnizing everything! Even the mountain!",
has light;
Object -> "enormous mountain"
with name 'enormous' 'mountain'
has scenery;
Object -> "gigantic skyscraper"
with name 'gigantic' 'skyscraper'
has static;
[ FrobnizeSub; "You frobnize ", (the) noun, " you are currently holding."; ];
Verb 'frobnize' 'frob'
* multiheld -> Frobnize;
Frobnization Room
You feel like frobnizing everything! Even the mountain!
You can see a gigantic skyscraper here.
>GET MOUNTAIN
That's hardly portable.
>FROBNIZE MOUNTAIN
You frobnize the enormous mountain you are currently holding.
>GET SKYSCRAPER
That's fixed in place.
>FROBNIZE SKYSCRAPER
You frobnize the gigantic skyscraper you are currently holding.
Solution
Last updated 2 May 2008. The librarian in charge of this page is Roger Firth. Please email any comments, suggestions or corrections to roger@firthworks.com.