Wiring

From Necesse Wiki
Jump to navigation Jump to search

Wiring items can be connected together with Wire to form automated or interactive creations.

(This page under construction.)

Wiring Overview

  • Normally, purely wiring-specific items such as Wires and Gates are invisible. However, holding certain wiring items, such as Wrench, Cutter, Gates, Switches, and Traps, will cause these invisible items to become visible, allowing the player to interact with them.
    • It can be useful to bring a wiring item into caves to allow the player to spot Wires generated by the game that may be connected to Traps and TNT.
  • There are four wire colors: red, green, blue, and yellow.
  • To place Wire, hold the Wrench and left-click. To remove Wire, hold the Cutter and left-click. While holding either tool, an interface box will appear allowing the player to select which colors to place or remove. The player may place/remove more than one color at a time.
    • Holding the Wrench, right-click a Gate to edit its properties.
      • Among other things, select how different colored Wires connected to the Gate are interpreted. For example, for the AND Gate, select which colors are inputs and which colors are outputs.
    • Holding the Cutter, right-click a Gate to remove it.
  • A Wire is connected to any Wiring item it is placed on top of.
  • A Wire is also connected to all adjacent Wires of the same color. The game automatically draws these connections as a visual aid, but the player only directly interacts with the Wires themselves.
  • Wires are not connected with Wires of different colors.
  • A set of connected Wires is either ON (lit up) or OFF (unlit). Normally it will be OFF, unless it is connected to a Wiring item (like a Gate output) that causes it to be ON.
  • Some Wiring items like Traps cannot be crafted and must be found in Caves.

Wiring Items








Examples of Use

Arrow Trap

This is a simple example of a Rock Lever connected to a Wood Arrow Trap.

Arrow trap example, no timer

  • Toggling the lever from OFF to ON will activate the arrow trap, firing a single arrow.
  • Traps will not activate faster than a certain cooldown period. Therefore, quickly toggling the lever on and off will not activate the trap faster than this cooldown.
  • The trap will fire in the direction the player was facing when placing the trap.

Arrow Trap With Timer

In this example, a Timer Gate causes the trap to repeatedly fire arrows.

Arrow trap example, with timer

  • The lever activates the timer. As long as the timer is active, it repeatedly causes the trap to fire arrows.
  • Here are the settings for the timer in this example. Edit/view timer settings by holding the Wrench and right-clicking the Timer Gate.

Timer setting for arrow trap example

  • Red wire activates the timer; green wire activates the arrow trap.
  • Every 22 ticks, the timer pulses the output, causing the arrow trap to fire an arrow.
  • Currently, trap cooldown is 20 ticks, so reducing the timer ticks below 20 will not cause the arrow trap to fire any faster.
  • Setting timer ticks to 20 will result in some of the timer pulses not causing the trap to fire. This is because the timer ticks is too close to the trap cooldown.
  • Therefore, setting timer ticks to slightly higher (22 in this example) will ensure that every timer pulse results in an arrow fire, which may be more visually pleasing.

Kill Maze for Raiders

A more complex Wiring example is a Kill Maze For Raiders.

Full List of Wiring Items

Name Type Effects
 AND Gate Logic Gates Output is ON if all inputs are ON
 Ancient Ruin Door Doors
 Bamboo Door Doors
 Basalt Door Doors
File:Basalt Pressure Plate.png Basalt Pressure Plate Switches
 Brick Door Doors
 Buffer Gate Logic Gates Repeatedly outputs a signal after a specified amount of time
 Counter Gate Logic Gates Counts input signals and outputs a signal at max count
 Crypt Door Doors
 Cutter Wiring Tools Remove Wires and Logic Gates
 Dawn Door Doors
 Deep Sandstone Door Doors
 Deep Snow Stone Door Doors
 Deep Snow Stone Pressure Plate Switches
 Deep Stone Door Doors
 Deep Stone Pressure Plate Switches
 Deep Swamp Stone Door Doors
 Deep Swamp Stone Pressure Plate Switches
 Delay Gate Logic Gates Turns ON/OFF a specified amount of time after the input
 Doors Objects
 Dryad Door Doors
 Dungeon Door Doors
 Dungeon Pressure Plate Switches
 Dusk Door Doors
 Granite Door Doors
File:Granite Pressure Plate.png Granite Pressure Plate Switches
 Ice Door Doors
 LED Panel Wiring Displays White if ON, black if OFF
File:Logic Gates.png Logic Gates
 NAND Gate Logic Gates Output is OFF if all inputs are ON
 NOR Gate Logic Gates Output is OFF if any inputs are ON
 OR Gate Logic Gates Output is ON if any inputs are ON
 Obsidian Door Doors
File:Other Wiring.png Other Wiring
 Palm Door Doors
 Pine Door Doors
 Rock Lever Switches
 SR Latch Gate Logic Gates Output becomes ON if activated, OFF if reset, and OFF if activated and reset.
 Sandstone Door Doors
 Sandstone Pressure Plate Switches
 Sensor Gate Logic Gates Output is ON if it detects a designated entity within a designated range
 Snow Stone Door Doors
 Snow Stone Pressure Plate Switches
 Sound Gate Logic Gates Plays a music note when powered
 Spider Castle Door Doors
 Stone Door Doors
 Stone Pressure Plate Switches
 Swamp Stone Door Doors
 Swamp Stone Pressure Plate Switches
File:Switches.png Switches
 T flip-flop Gate Logic Gates Swaps output every time it receives input.
 Timer Gate Logic Gates Outputs a delayed short signal after receiving an input
 Wire Wiring Tools
File:Wiring Tools.png Wiring Tools Wiring
 Wood Door Doors
 Wood Pressure Plate Switches
 Wrench Wiring Tools Place Wires, edit Logic Gates
 XOR Gate Logic Gates Output is ON if exactly one input is ON