Adventure-Terraria-Server-Project / AdvancedCircuits-Plugin

Advanced Circuits Plugin for Terraria Server API and TShock.
GNU General Public License v3.0
8 stars 8 forks source link

Liquid Sensor Component #27

Open CoderCow opened 11 years ago

CoderCow commented 11 years ago

If the sensor is in its "off" state, sends 1 and switches to its "on" state if an adjacent tile contains any liquid over more than one seconds. If the sensor is in its "on" state, sends 0 if all adjacent tiles around it contain no more liquid.

Suggested Modifiers: 1 - Works for water only. 2 - Works for lava only.

No idea what block type / spirte to take for this component though.