Rspecs Block

From The Final Challenge Wiki
Jump to navigation Jump to search

RSPECS = ROOM-SPECIAL FUNCTIONS

The block starts with the string "#RSPECS" without quotes, followed by one or more rspec records, and ending with the string "S" without quotes.


This is an example of a rspecs block:

#RSPECS 
rspec 1: see syntax for a rspec record for layout 
rspec 2: see syntax for a rspec record for layout 
rspec 3: see syntax for a rspec record for layout 
. 
. 
. 
S

Area Example:

#RSPECS
D 10000 spec_gas_chamber  * Room Name
S

In this example, room # 10000 is a Gas Chamber, which will cause damage to the player each round they are in it. A list of RSPECS can be found on the Area Special Functions page.