Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TADS3 - Adding and removing adjectives

4 views
Skip to first unread message

SOdhner

unread,
Nov 22, 2010, 1:14:53 PM11/22/10
to
Hello!

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!

khelwood

unread,
Nov 22, 2010, 1:27:18 PM11/22/10
to

cmdDict.addWord(obj, 'foo', &adjective);
cmdDict.removeWord(obj, 'bar', &adjective);

0 new messages