summaryrefslogtreecommitdiff
path: root/mesecons_torch
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2014-05-03 19:53:23 +0100
committerJeija <jeija@mesecons.net>2014-05-04 16:47:47 +0200
commit77b8f6514a8d7d07598a422d3083ce2f66456345 (patch)
tree0206f2d5c9e1c76eaa3c9e346c2324ef9163ff40 /mesecons_torch
parentb64fea4f707547c4b84ae54e204ac51255ae476f (diff)
Better mesecon-enabled doorsorigin/zefram_doors
The mesecons_compatibility doors erred in making steel doors, which are meant to be locked, openable by anyone using a mesecon signal. They also didn't handle mirror-paired doors, and nastily duplicated lots of the standard door code rather than using it and adding to it. Replace mesecons_compatibility with a new system, in which standard doors are left alone and new types of door are added that have mesecon behaviour. The new door types are each available in both wood and steel, using the standard door textures. The mesecon-operated doors open and close according to the mesecon signal they receive: open when the signal is on and closed when off. Unlike the old mesecons_compatibility doors, which only accepted the signal to the bottom half, these accept the signal to either half of the door. A convenient kind of control therefore is a wall-mounted button just above the doorway: the signal flows diagonally down to the top half of the door. The door cannot be operated manually. The mesecon-signalling doors are opened and closed manually, and generate a mesecon signal indicating whether they're open, on when open and off when closed. Thus opening the door can trigger automatic activity. Pairing a mesecon-signalling door with a mesecon-operated door results in a door pair where right-clicking on one door operates both. By making use of the pairing behaviour built into the standard doors mod, which is inherited by the mesecon doors, and placing doors from sideways angles, it is possible to effectively get mesecon doors with the opposite signal sense. For example, a mesecon-signalling door that sends an on signal when closed, turning the signal off when opened.
Diffstat (limited to 'mesecons_torch')
0 files changed, 0 insertions, 0 deletions