TAB - thinBasic Adventure Builder

T.A.B. is an interactive fiction/text adventure program for Windows and made with thinBasic.
HomeFAQSearchUsergroupsRegisterLog in
Latest topics
» TAB Version 66 Available
Mon Sep 26, 2016 12:02 pm by catventure

» TAB Version 65 Available
Mon Feb 23, 2015 12:04 pm by catventure

» Incubation pt 1
Wed Apr 24, 2013 9:24 am by Kabrinski

» Charecter movements - doors
Wed Mar 20, 2013 2:55 pm by garethfx

» Member feedback on game planning
Sun Mar 03, 2013 1:47 pm by garethfx

» Still alive - just!
Thu Feb 28, 2013 11:34 am by catventure

» TAB 64 crashes ...
Mon Aug 20, 2012 11:31 am by acko

» Idea on addition to object being container
Sat Aug 18, 2012 3:49 pm by catventure

» sizex=y action ...
Thu Aug 09, 2012 11:29 am by catventure

Share | 

 Long Nouns and Synonyms

View previous topic View next topic Go down 
Admin Adventurer

Number of posts : 376
Age : 64
Location : UK
Humor : Enjoys a laugh!
Adventure Points : 52
Registration date : 2008-06-08

PostSubject: Long Nouns and Synonyms   Tue Oct 21, 2008 6:36 pm


Vocabulary Changes in Alpha 46:

TAB allows you to create more than one Long Noun and Long Verb per Vocabulary word entry.

What is a long noun?

It is a type of noun (ordinary, object or character noun) that can have extra word(s) that are joined to it using a separator symbol making the TAB parser think that it is a single word...
For this separator symbol I`ve chosen: "¯"
which can be obtained by holding down the left ALT key and typing 0,1,7,5 on the numeric keypad then releasing the ALT key to get the ¯ symbol.





As you can see long nouns are not limited to 2 words but can have more!
In practice though they will mostly consist of 2 or possibly 3 words
depending on the textual description for the normal, object or character noun.

Normally any adjectives or words describing objects had to be
placed into the Deletions list to enable these words to be understood from
the input command(s) by the parser... Now this is no longer mandatory. Very,very handy because the author may want to use some of these words for other objects in the game.

Long noun object keywords will be printed by TAB in the default system messages or for the n1 and n2 variables in "cmess" actions

"You now have the tiny ornate earring."
"You drop the gold key."
"You put the tiny ornate earring into the cracked decorated china pot."
etc.. etc..

and the long noun keywords will also be printed in the inventory listing or container contents listing too.

A long noun keyword (probably consisting of 2 or 3 words) is still a KEYWORD and must be entered properly in the RESPONSE words conditions as usual in the correct place eg:

[start]press small¯red¯button#room=1#flag3=0[acts]....etc.etc....[end]

SYNONYMS can be Long Nouns as well. I will call these LONG SYNONYMS. eg:

/tiny¯ornate¯earring/ ornate¯tiny¯earring/tiny¯earring/ornate¯ earring/earring/

/book/tattered¯black¯book/ tattered¯book/ black¯book/

/slender¯spruce¯ tree/slender¯ spruce/slender¯ tree/spruce¯ tree/spruce/ tree/

The second example (book) shows you can have long synonyms even for one word KEYWORDS.

There are a couple of important rules regarding long nouns and long synonyms:

1) Long synonyms for Long Nouns must not contain MORE words than that
contained in the long noun keyword.

Example Noun and synonyms:

/small¯pocket¯radio/small¯radio/pocket¯radio/radio/ = CORRECT FORMAT

/small¯radio/ small¯pocket¯radio/pocket¯radio/radio/ = INCORRECT FORMAT

/blue¯teacup/ blue¯cup/cup/ = CORRECT FORMAT

/decorated¯pot/ cracked¯decorated¯pot/pot/ = INCORRECT FORMAT

2) In addition to Rule 1 - Long synonyms must be entered in order by
placing the synonyms that contain the MOST words first down to the synonyms that contain the LEAST last. (descending order)

OBJECT NOUN KEYWORD: /small¯pocket¯radio/
SYNONYMS: /pocket¯radio/ small¯radio/radio/

would be entered as:

/small¯pocket¯radio/pocket¯radio/ small¯radio/radio/

If you are using a single word KEYWORD and require long synonym
alternatives then Rule 2 only applies eg:

NOUN: /book/
SYNS: /tattered¯black¯ book/tattered¯ book/black¯ book/

entered as:


Because of all of this inputs by the player can be substantially longer but
can still be made to be understood by TAB...


>examine the small pocket radio then put the tiny ornate earring into the
cracked decorated china pot

>put the ornate earring into the large wooden crate then turn on the small radio

ALL the default TAB Response entries will work automatically with these
long noun combinations too - so no extra complicated coding required....

CHARACTER Nouns can be long nouns and have long syns:

/rasputin¯clever¯mad¯monk/rasputin¯ monk/mad¯monk/monk/rasputin/

Since "the" is a deletion word the following input might work:

>give the small tricorn hat to rasputin [the] clever mad monk

Incidentally, you can also have LONG VERBS and have LONG SYNS with them also!

/carefully¯examine/ carefully¯exam/carefully¯x/


_________________ ; Home of the TAB I.F. project.
Back to top Go down
View user profile

Long Nouns and Synonyms

View previous topic View next topic Back to top 

 Similar topics

Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
TAB - thinBasic Adventure Builder :: TAB FORUMS :: General Forum-
Jump to: