TAB - thinBasic Adventure Builder
Would you like to react to this message? Create an account in a few clicks or log in to continue.

TAB - thinBasic Adventure Builder

T.A.B. is an interactive fiction/text adventure program for Windows and made with thinBasic.
 
HomeLatest imagesSearchRegisterLog in
Latest topics
» How was it done? Implementing in-game clocks
Long Nouns and Synonyms I_icon_minitimeToday at 9:54 am by catventure

» How to engage in intelligent conversation with NPCs?
Long Nouns and Synonyms I_icon_minitimeYesterday at 9:01 pm by catventure

» refine player-available gender/name options
Long Nouns and Synonyms I_icon_minitimeMon Nov 18, 2024 6:04 pm by catventure

» Incubation pt 1
Long Nouns and Synonyms I_icon_minitimeSun Nov 17, 2024 4:22 pm by catventure

» Happy New Year 2024!
Long Nouns and Synonyms I_icon_minitimeSun Dec 31, 2023 4:04 pm by catventure

» TAB Version 71
Long Nouns and Synonyms I_icon_minitimeMon Aug 21, 2023 12:17 pm by catventure

» TAB Version 70
Long Nouns and Synonyms I_icon_minitimeSun Oct 02, 2022 1:49 pm by catventure

» TAB Version 70
Long Nouns and Synonyms I_icon_minitimeFri Sep 30, 2022 10:23 pm by catventure

» TAB Version 70
Long Nouns and Synonyms I_icon_minitimeMon May 23, 2022 4:08 pm by catventure


Share | 
 

 Long Nouns and Synonyms

View previous topic View next topic Go down 
AuthorMessage
catventure
Admin Adventurer
catventure

Male
Number of posts : 410
Age : 72
Location : UK
Humor : Enjoys a laugh!
Adventure Points : 77
Registration date : 2008-06-08

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

Hi,

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.

Example LONG NOUN KEYWORDS:

/large¯wooden¯crate/

/tiny¯ornate¯earring/

/cracked¯decorated¯china¯pot/

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
eg:

"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)

Example:
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:

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

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

Examples:

>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!

/get/pick¯up/
/remove/take¯off/
/wear/put¯on/
/i/get¯i/inventory/
/carefully¯examine/ carefully¯exam/carefully¯x/

Regards,
catventure
Back to top Go down
https://adventure.forumotion.com
 

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: