Re: Plural Decorations in TADS


14 Dec 1995 22:36:44 GMT

Neil Demause (neild@echonyc.com) wrote:

: Then you can just do a search-and-replace (okay, a *careful*
: search-and-replace) in adv.t for "it," "that," "is," and "does," and replace
: them with <<self.itPron>>, <<self.thatPron>>, <<self.isVerb>> and
: <<self.doesVerb>>.

Yep. That's why I ended up doing in my game - adding new attributes that
check for plural nouns and modify the error messages accordingly. Changing
all the error messages is what took so long. (there are more than just
four cases - unless you rewrite the messages to avoid alternative sentence
constructions.) It works, but it's a bit of a drag. In a sense adding this
plural feature is a bit like the format strings TADS uses to return
appropriate messages for different actors.

- Neil K.

--
    Neil K. Guy  *  neilg@sfu.ca  *  tela@tela.bc.ca
        49N 16' 123W 7'  *  Vancouver, BC, Canada