TAB - thinBasic Adventure Builder

T.A.B. is an interactive fiction/text adventure program for Windows in Alpha Development and made with thinBasic.
HomeFAQSearchRegisterLog in
Latest topics
» TAB Alpha Version 47 Available
Wed Dec 24, 2008 7:35 pm by catventure

» TAB Alpha Version 46 Available
Fri Nov 28, 2008 5:02 pm by catventure

» Long Nouns and Synonyms
Tue Oct 21, 2008 5:36 pm by catventure

» Container Scripts
Fri Oct 17, 2008 4:28 pm by catventure

» TAB Alpha Version 45 Available
Mon Oct 13, 2008 3:24 pm by catventure

» Greater functionality with a time script
Sat Oct 11, 2008 7:50 am by catventure

» TAB Alpha Version 44 Available
Fri Oct 10, 2008 4:09 pm by catventure

» Container Object error
Wed Oct 08, 2008 4:27 pm by catventure

» IF Comp 2008 Entries
Wed Oct 01, 2008 7:19 pm by catventure

 

bedside table with drawer

View previous topic View next topic Go down 
AuthorMessage
sandyrepope
Apprentice Adventurer


Gender:MalePiscesRat
Age : 60
Joined : 10 Jun 2008
Posts : 35

PostSubject: bedside table with drawer   Thu Aug 21, 2008 12:40 am

I have a bedside table but I want the player to discover that it has a drawer when they examine the table. What is the usual way of handling this in adventure games?

Thanks
Sandy
Back to top Go down
catventure
Admin Adventurer


Gender:MaleLeoDragon
Age : 56
Joined : 08 Jun 2008
Posts : 132
Location : UK
Humor : Enjoys a laugh!

PostSubject: Re: bedside table with drawer   Thu Aug 21, 2008 10:40 am

sandyrepope wrote:
I have a bedside table but I want the player to discover that it has a drawer when they examine the table. What is the usual way of handling this in adventure games?


Hi Sandy,

Well there are different ways of handling it...
You don't say whether the 'table' is an actual object or just an item which is described in the location text.

If the table is made in the Object Editor then you can simply put something in the "examine" text field such as:
"Looking closer you notice that the bedside table contains a single drawer."

However, if 'table' is a scenery object in the room description you can simply put 'table' into Vocabulary as an ORDINARY noun then create a Response Entry for examining the table:

[start]examine table#room=X[acts]cmessThe bedside table is made of shiny mahogany. It has a single drawer...[end]

where "X" = room number of table.

You could then go on to create further Response entry(s) for if the player wished to examine the drawer or open the drawer (which might reveal a new dynamic object) In which case you might need to also set "drawer" as an ordinary noun as well.

catventure.
_________________
http://tab.thinbasic.com ; Home of the TAB I.F. project.
Back to top Go down

bedside table with drawer

View previous topic View next topic Back to top 
Page 1 of 1

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