Hi Gareth,
My first thought is that you could have ONLY the objects that could be allowed to be placed on the cooker all have the SAME WEIGHT....
For instance if allowable objects on the cooker all had a weight value of 2
No other objects in the game therefore could have the that value - only the set of objects that could be placed on the cooker....
And then you could do:
[start]drop %objn1% on cooker#room=22#objlocn1=here#objn1size=2[acts]cmessYou place the %objn1% on the cooker..#objlocn1=204#else#room=22#objlocn1=here#or_objn1size<2#or_objn1size>2[acts]cmessThe %objn1% is not something you would put on a cooker![end]
'========
My other suggestion is to place another entry ABOVE your original that deals with the objects that lie within the acceptable weight range but are not meant to be put on the cooker for various reasons:
[start]drop %objn1% on cooker#room=22#objlocn1=here#objn1size<=2#objn1<>x#objn1<>x#objn1<>x#objn1<>x#....etc...[acts]cmessThe %objn1% is not an appropriate object to place on the cooker, I'm afraid![end]
rem: you have several #objn1<>x# conditions..
x being the numbers of ALL the several objects which ARE allowed on the cooker
[start]drop %objn1% on cooker#room=22#objlocn1=here#objn1size<=2[acts]cmessYou place the %objn1% on cooker..#objlocn1=204#else#room=22#objlocn1=here#objn1size>2[acts]cmessThe %objn1% is too large or bulky to fit on the cooker I'm afraid![end]
However I think my first idea was probably better...?!
Phil.