Talus 2:Script Systems:Doors
From Talus Wiki
You are reading Talus 2 - Script Systems - Doors
Forceable Doors This erf includes one forceable door of all the universal types.
Simply modify the DC offset as you wish in the script in the OnPhysicalAttacked event.
This takes the pick lock DC and offsets it for an appropriate strength check, which is rolled and displayed to all present. Naturally, a weak player won't be running around forcing doors, but a strong barbarian can force them, and thus needs no rogue to pick them. This also saves you from losing your doors to bashing.
Riddle Doors Just place the passworded door in your module, in a doorway... When a player tries to open it, the riddle will appear and the player has 2 minutes to speak an answer. The player must be visible and speak aloud, i.e. talk or shout.
Switch Controlled Doors This system allows you to place a lever that unlocks and opens a door or set of doors.
The switch tag should always have the format: SCD_SWITCH_XX_UNIQUE where XX is the number of minutes to wait before closing the door, and UNIQUE matches the UNIQUE tag on the door or doors the switch controls.
The door tag should have the format: SCD_DOOR_UNIQUE
You may have multiple switches controlling one or more doors. For instance, I have an entire cell block of gates which are opened by one switch. In another case I have one switch that opens a door and closes it after 5 minutes. Then inside the doorway is another switch which opens the same door and closes it after 1 minute. This way, if they make it to the door, and get through, they can use the inside switch to get back out.