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