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

Improvements of "/ac switch" #43

Closed CoderCow closed 11 years ago

CoderCow commented 11 years ago

Improve the "/ac hit|toggle|switch" command with the following features: "-p" will enable persistent mode for this command, it will stay persistent until "a /ac hit|toggle|switch" command is entered again. "-s 0|1" will not toggle the respective Component to its opposite state, but clearly set its 0 or 1 state instead. The command should be able to be used with Logical Gates and their Input Ports. If the command is used directly on a Logical Gate, it will switch ALL of its Input Ports to the respective state (and thus initialize it). If used on an Input Port, it will only switch that Input Port to the respective state.