modify libMessages
announceAmbigActionObject(obj, whichObj, action) {
if(obj.suppressAnnounceAmbig) return '';
else return inherited(obj,whichObj,action); }
announceDefaultObject(obj, whichObj, action, resolvedAllObjects) {
if(obj.suppressAnnounceAmbig) return '';
else return inherited(obj,whichObj,action,resolvedAllObjects); }
;
modify Thing
suppressAnnounceAmbig = nil
;
You could get more detailed by defining suppressAnnounceAmbig(action)
and changing the if-checks in the announce… methods to pass the current action. I didn’t find that necessary…
Hope this helps!