Suppress 'all' with a single verb (Wear) - Solved


I’m putting this out as a new topic rather than update the previous one because it isn’t clear to me how best to do this in this forum. Please advise if a different approach is preferable.

I was able to get the behavior I was looking for (limiting Wear All to just articles of clothing) by modifying the Thing and Fixture classes:

[code]modify Thing
return (action.ofKind(WearAction) && !ofKind(Wearable)) || inherited(action);

modify Fixture
return action.ofKind(WearAction) || inherited(action);

Thanks to responses in the previous thread which helped achieve this objective.


Why did you start a new thread? Just reply to the existing one.


Well better to not to split thread imho.