The Room Affect Specfun

From The Final Challenge Wiki
Jump to navigation Jump to search

This specfun is assigned to a room. When a mob or player remains in a room, the MUD conducts checks to see if some nasty or beneficial event happens to the character. Of the specfun class called Rspecs, only ONE rspec can be assigned in a room. These specfuns are placed together in the RSPECS block.

The layout of a Room Affect Specfun is as follows:

A: This must be a D. B: This is the room's vnum. C: This is the name of the rspec specfun off the approved rspec specfun list. E: This usually would contain the room's name.

Sample special, trigger, and rspec records follow:

S 4710 spec_thief This makes Herman a thief A 4710 0 spec_crack_head This gives a chance of hitting heads on a doorway D 4710 spec_gas_chamber This makes Herman's Hut quite "smelly"