[F&S] Toggle Lights & Doors

If you liked this item, please rate it up on Steam Workshop page.

Author: Sayaka

Last revision: 13 Sep, 2024 at 02:21 UTC (1)

File size: 21.14 KB

On Steam Workshop

Description:
Description

Switches the lighting state when entering and exiting the room.​
Additionally can open doors with pxoximity sensor.

Requirements
  1. 1 Occupancy Sensor (Kit Sensors)
  2. 1 IC Housing.
  3. 1 Integrated Circuit (IC10).
  4. Any type of (Kit Lights) instead of Wall Light (Battery), Diode Slide, LED.

Optional
  1. 1 Proximity Sensor (Kit Sensors)
  2. 1 Door (Kit Door) (Kit Blast Door), small hangar door

Changeable values in IC code

For the auto door opening to work, you need to change the name of the sensor and the door, use Labeler.
Replace "NAME" to the desired name of the door and sensor, the sensor and the door must have the same name.

##### AUTODOOR CONFIG ##### #push HASH("NAME") ###########################
Example:
##### AUTODOOR CONFIG ##### push HASH("My House Door") ###########################

If you need more doors just add 1 lines of code

Example:
##### AUTODOOR CONFIG ##### push HASH("My House Door") push HASH("My Hydroponics Door") push HASH("My Furnace Door") ###########################

You can add as many doors as you want, but it is not recommended to add more than 10 doors per 1 IC10, because a door may not work in 1 game tick (0.5 sec), due to game limitations. And there may be a 1-second delay.

Note

Will be triggered if there is a player in the same room as the sensor. This sensor only works when placed in a room. Works in multiplayer too. If you have other light sources and do not want to switch them, then separate the electrical lines with a transformer or APC.

If you are using a Proximity Sensor, place it close to the door and also remember to set the detection distance, usually 3 is enough.

Optionally you can install door access control with access cards, configure the doors and sensor with Cartridge (Access Controller) via a handled tablet

Game version support

0.2.5195.23625 10/09/2024

Download
Revisions:

Old revisions of this mod are available below. Click the link to download.