Newbie TADS 3 author here with two key problems, most likely stemming from my complete lack of programming experience.
First off: Some words I use as nouns for objects, or part of nouns, do not seem to be working. Specifically, let’s say I put something like this in:
[code]crprofiles: Thing, Container
name = ‘Court Record: Profiles’
desc = “Part of my Court Record. It has info on everyone involved in the case, photos and all.”
noun = ‘court record: profiles’ ‘court record’ ‘profiles’ ‘record’
location = LloydIrving
descContentsLister: thingContentsLister
{
showListPrefixWide(itemCount, pov, parent)
{
" It contains <<itemCount == 1 ? ‘a profile’ : ‘profiles’>> of <>";
}
}
;[/code]
The nouns are the problem here – or, specifically, the word ‘court’, though I have no clue why that in particular. A couple examples:
If I try one of the other nouns, then…
…it works fine. I am probably missing something big, but I cannot for the life of me figure out what is going on.
The same thing happens with some other nouns or parts of them – if I try to examine regal’s profile or regal bryant’s profile, I’m told that ‘regal’ is an unnecessary word; however, byrant’s profile and defendant’s profile work just fine. And so on, and so forth.
Second: I’ve looked all over, and I can’t figure out exactly what to do to get rid of or change the ‘a’/‘an’ before an item (e.g., change “I am carrying an attorney’s badge” to “I am carrying my attorney’s badge”, or “I am carrying an autopsy report” to “I am carrying the autopsy report”). I’m fairly certain that, whatever I need to add, it starts with ‘grammar’, but I have no idea where to put that or what exactly it should say. Again, I’m sorry if this is an obvious question, but I really don’t have any experience with TADS or programming at all.
Any help on either of these would be appreciated – I’m really trying to make this game work. Thanks.