I have something in a game I'm making that tacks adjectives onto
items. (It's the Enchant-O-Tron! Useless but amusing!) Adding those
adjectives on to the item name has been no problem at all, and I even
have it so I can remove them again without any trouble. My problem is
that I don't have a way to let the player refer to the item by that.
Does anyone know a simple way to dynamically add and remove vocabulary
for an object?
Thanks!
cmdDict.addWord(obj, 'foo', &adjective);
cmdDict.removeWord(obj, 'bar', &adjective);