Portcullis

The Portcullis is a 3x5 door that can be opened or closed by players. Just like a Portcullis would in real life, this door opens and closes vertically. Keep this in mind when building a level, because when opened, the Portcullis will lift up 4 units, so make sure you have a place for it to go. If linked to a Switch, then the switch must be toggled to open or close, and can no longer be opened by a player using the "Use" key.

When placing Portcullis in build mode, you will need to assign the Portcullis to a switch. In order to do so, follow these instructions:

1: Find the coord of the switch to assign it to the portcullis. Move your brush cursor over the switch and it's 3-digit coord will be shown in the upper-left corner where it says Brush. 2: Move your cursor over the bottom center block of the portcullis (where you placed the tile feature). Then use the console command /SETDATA    to link the portcullis to the switch.

For example:

/SETDATA 45 14 7

Will set the portcullis to respond to a switch located at coord (45, 14, 7).

Using these commands (or by copying a Portcullis that is already linked to a Switch) it is possible for a single switch to raise and lower multiple Portcullis. You can also link multiple switches to a single Portcullis, in which case all linked Portcullis will respond to the switch in the same state, either up or down, as no logic controls on switches are implemented as of v1.0.6