#define WORLD_FILE_EXTN ".wld" /* New information about rooms */ void append_to_room(IDEAS *new) { Copper's room_flags: SAFE - 2048 /* Usually where people can enter the game */ NO_PRECIP - 4096 /* If it's outdoors, but there's some sort */ /* of covering (a gazebo, tent, etc.) */ SINGLE_FILE - 8192 /* Where people can't go around each other */ /* in a room - don't use when > 2 exits */ JAIL - 16384 /* These need to be managed by mobs within */ /* the area - if interested, see dbra */ NO_TELEPORT - 32768 /* Teleport will ignore these rooms */ Additional sector type: NO_GROUND - 8 (must be flying/levitating) Extra stuff (goes at end like Directional info and Extra descriptions) THERE ARE ALL OPTIONAL AND DO NOT NEED TO APPEAR IN ALL ROOMS F <percentage> /* Chance of falling in the room - be careful */ /* If there is a room below, damage will be */ /* calculated and the player may continue */ /* falling into lower rooms. If the original */ /* room has no down exit, it is a random-dt. */ /* (not yet implemented, but we could likely */ /* be prodded into it pretty easily) - this */ /* chance will be evaluated for each command */ /* entered - so low numbers (5-20%) would be */ /* a good average here, except for dangerous/ */ /* tough rooms. */ M <flags> <value> /* plus/minus factor for mana in a room. Flags */ /* indicates who to apply it to: */ /* APPLY_MANA_ALL: 0 */ /* MANA_GOOD: 1 */ /* MANA_NEUTRAL: 2 */ /* MANA_EVIL: 3 */ R <min level> <max level> /* Puts minimum and maximum level of players */ /* in the room. -1 will give no restriction */ /* for that end of the range */ }