Difference between revisions of "Room"

From IFWiki
Jump to: navigation, search
m
(added distinction between "story rooms" and "logical rooms")
Line 1: Line 1:
 
A distinct region of the simulated gaming space that can be occupied by the [[player-character]] (PC). A kitchen, a stretch of beach, or the roof of a building are all properly implemented as rooms.  
 
A distinct region of the simulated gaming space that can be occupied by the [[player-character]] (PC). A kitchen, a stretch of beach, or the roof of a building are all properly implemented as rooms.  
 +
 +
The term is often used in gaming to refer only to a part of what would conventionally be called a room, for example, the northern part of a jail cell (entered via the command "go north") or the moonlit region of a laboratory. These portions are sometimes called "logical rooms," while the jail cell or laboratory itself are called "story rooms." Story rooms are convenient for the understanding of the player and are not programmed into the game itself; the logical rooms are what the computer program's logic uses.
  
 
By convention, a player who leaves one room and enters another should not expect to be able to interact with items left behind in the first room, even if the game does not specify the presence of a physical barrier between the rooms.  
 
By convention, a player who leaves one room and enters another should not expect to be able to interact with items left behind in the first room, even if the game does not specify the presence of a physical barrier between the rooms.  

Revision as of 15:46, 18 March 2005

A distinct region of the simulated gaming space that can be occupied by the player-character (PC). A kitchen, a stretch of beach, or the roof of a building are all properly implemented as rooms.

The term is often used in gaming to refer only to a part of what would conventionally be called a room, for example, the northern part of a jail cell (entered via the command "go north") or the moonlit region of a laboratory. These portions are sometimes called "logical rooms," while the jail cell or laboratory itself are called "story rooms." Story rooms are convenient for the understanding of the player and are not programmed into the game itself; the logical rooms are what the computer program's logic uses.

By convention, a player who leaves one room and enters another should not expect to be able to interact with items left behind in the first room, even if the game does not specify the presence of a physical barrier between the rooms.

Also by convention, all items listed in a room description are presumed to be accessible to the player. For instance, if a room description mentions a dresser, the player should not have to first ">go to dresser" in order to ">open" it.

Each room may contain any number of items that the PC may enter, such as a chair, a sleeping bag, or a trapdoor; but these items are properly implemeted as child objects, not separate rooms (but see containment.)