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

Doors Should Send Signals #10

Closed CoderCow closed 11 years ago

CoderCow commented 11 years ago

Requires: #11

A Door that is opened should send a signal - thus a Door should become a Port Defining Component.

Modifiers: 1 - Only send a signal if the Door is used by a player. 2 - Only send a signal if the Door is used by a npc. 3 - Only send a signal if a mob broke through the Door.

CoderCow commented 11 years ago

As for the variable Port position problem, I think I will have a fixed position for Door Ports: they will always be positioned like if the Door was closed (one up, one down, three left, three right) - so even if the Door was opened they would still remain like that.