Enshrouded Sparkworks: every part & recipe
“Players can now create their own gameplay in their worlds using the new logic system called “Sparkworks”.”, Keen Games, 1.0 changelog.
How Sparkworks works
Input
pulling a lever, stepping on a pressure plate
Output
a door opens, a trap opens underfoot
“What's a logic system? It's a way to connect inputs, like pulling a lever, stepping on a pressure plate, etc, with an output, such as a door opens, a trap opens underfoot...”
“To help players set up complex logic connections, a new 2D graph editor has been added where all the inputs and outputs can be configured and where the connections and rules are visualized in a convenient way.”
“Sparkworks allows the connection of interactive elements in the player base and adds behavior rules to the interactions.”
“The possibilities range from simple interactions like light switches over dungeons with traps, puzzles, and even enemy encounters, to… well, we think the sky’s the limit.”
The Sparkworks Workbench
Built by the Carpenter from:
Every part below is crafted at it.
All 18 Sparkworks parts
Tool & switchbox2
Sparkworks Tool
4× Metal ScrapsArchaic Essence (any tier)What it does
“An Ancient tool that allows the user to wire up buttons, doors, traps, and more to make them interactable and logically interconnected.”
Not a graph node: the game files list no input or output for it.
Objects placed with the Sparkworks Tool are only visible while holding the Sparkworks Tool.
Sparkworks Switchbox
1× Copper BarsArchaic Essence (any tier)What it does
“Used to add and edit Sparkworks graphs.”
Not a graph node: the game files list no input or output for it.
Assign a Sparkworks Graph to a Switchbox to automatically open the Graph at the Switchbox. Switchbox Graphs can be reassigned. When reassigning, the old Graph remains accessible with the Sparkworks Tool from anywhere within your base. Removing the Switchbox will not delete the assigned Graph.
Plates, lights & goalposts3
Pressure Plate
What it does
“Activates when stepped on and stays active while pressure is applied.”
Output only: it sends an ON/OFF signal into a graph and has no input.
Light
Archaic Essence (any tier)
1× Metal ScrapsWhat it does
“A light that can be used in a Sparkworks system. Any other light source, such as a torch or brazier, can be used in one as well.”
Has an input and an output: it receives a signal and passes one on.
Goalpost
1× Bronze BarsArchaic Essence (any tier)What it does
“A goalpost that can be activated via the Sparkworks system.”
Input only: it reacts to a signal and has no output.
Traps2
Spike Trap
What it does
“Beware of the Spike Traps. When they are activated, they will hurt more than stepping on a small children's block toy.”
Input only: it reacts to a signal and has no output.
Lightning Trap
1× Copper BarsArchaic Essence (any tier)What it does
“When activated, this trap shoots a lightning projectile, keeping unwanted guests out.”
Input only: it reacts to a signal and has no output.
Trapdoors6
Trapdoor Metal 4m
What it does
“This trap door might open unexpectedly beneath your feet. Watch your step!”
Input only: it reacts to a signal and has no output.
All six trapdoors share one “Trapdoor” node type in the files.
Trapdoor Metal 2m
What it does
“This trap door might open unexpectedly beneath your feet. Watch your step!”
Input only: it reacts to a signal and has no output.
All six trapdoors share one “Trapdoor” node type in the files.
Trapdoor Stone 4m
What it does
“This trap door might open unexpectedly beneath your feet. Watch your step!”
Input only: it reacts to a signal and has no output.
All six trapdoors share one “Trapdoor” node type in the files.
Trapdoor Stone 2m
What it does
“This trap door might open unexpectedly beneath your feet. Watch your step!”
Input only: it reacts to a signal and has no output.
All six trapdoors share one “Trapdoor” node type in the files.
Trapdoor Wood 4m
What it does
“This trap door might open unexpectedly beneath your feet. Watch your step!”
Input only: it reacts to a signal and has no output.
All six trapdoors share one “Trapdoor” node type in the files.
Trapdoor Wood 2m
What it does
“This trap door might open unexpectedly beneath your feet. Watch your step!”
Input only: it reacts to a signal and has no output.
All six trapdoors share one “Trapdoor” node type in the files.
The server files hold the recipes but no English names; each name is a string of the game client's own English text. Archaic Essence amounts differ by tier, so none is shown.
Inside the graph editor
Nodes can have Input and Output Ports. Not all node types have both. These Ports have connection points (squares for input, circles for output) that can receive or send signals, respectively. An empty connection is shown as gray, while a filled connection is gold. On the left side is the Input Port. It receives ON/OFF signals to its connection when the Output Port of another node supplies them. On the right side is the Output Port. It sends ON/OFF signals to the Input Ports of other nodes.
You can create links between nodes by dragging from an Output Port to the Input Port of another node or vice versa. In this example, if the Button is not pressed, it sends an OFF signal to the Light Node, therefore leaving the Light off. Once the Button is pressed, the signal changes to ON, turning the Light on.
Other objects a graph can use
Water Dispenser
Has an input and an output: it receives a signal and passes one on.
Door
Has an input and an output: it receives a signal and passes one on.
Trigger Area
Output only: it sends an ON/OFF signal into a graph and has no input.
Spawner
Has an input and an output: it receives a signal and passes one on.
Sound
Input only: it reacts to a signal and has no output.
Water Drain
Has an input and an output: it receives a signal and passes one on.
The Trigger Area filters by who steps in: All, Player, Enemies, Animals. Enemies cover 8 creature families; Animals are wildlife and farm animals.
Logic and time nodes
The game's own text for each editor node. The node names in bold are our labels, inferred from the text: the files do not tie a text to a name.
- OR (inferred name)
“Is ON if AT LEAST ONE of its incoming signals is ON.” - AND (inferred name)
“Is only ON if all incoming signals are ON.” - NOT (inferred name)
“FLIPS the incoming signal. This means it turns ON signals into OFF, and OFF into ON.” - NAND (inferred name)
“Transmits OFF if all of its incoming signals are ON. Otherwise, it is ON.” - XOR (inferred name)
“This node can transmit an ON signal if EXACTLY ONE of its incoming signals is ON. If more than one incoming signal is ON, it turns OFF.” - Always ON (inferred name)
“This node is always ON.” - Always OFF (inferred name)
“This node is always OFF.” - Pulse (inferred name)
“This node turns ON briefly when receiving an ON signal. Afterwards, it turns OFF.” - Hold ON (inferred name)
“Turns ON when an ON signal is supplied. Stays ON for a set duration, even after the incoming signal turns OFF.” - Delay (inferred name)
“When the UPPER incoming signal changes from OFF to ON, this node stays OFF during a configurable delay. After the delay, the node turns ON for a set duration. Temporarily supplying the LOWER connection with an ON signal will reset the node.” - Toggle (inferred name)
“Signals in the UPPER connection will toggle this node between ON and OFF. Signals received by the LOWER connection will reset the node to OFF.” - Flip-flop (inferred name)
“Stands for Data or Delay Flip-Flop. This node can receive a signal in its UPPER connection and will either keep or disregard said signal based on the input it receives through its LOWER connection. When the LOWER connection receives an ON signal, the node samples and stores the signal supplied in the UPPER connection. When the LOWER connection receives an OFF signal instead, the node will hold its current state and ignore the input from the UPPER connection.” - Save Signal (inferred name)
“Saves an incoming signal. Saved signals can be used again elsewhere via the "Use Signal" node of the same Channel.” - Use Signal (inferred name)
“Uses a stored signal from a "Save Signal" node of the same Channel.” - Output (inferred name)
“Allows the graph to generate an output signal. The signal can be used in other graphs.”
What the editor refuses
- “A node is receiving too many incoming signals.”
- “A node does not have all its required inputs connected.”
- “This object is already receiving incoming signals elsewhere.”
- “A logical loop was detected in the Sparkworks graph. This is not allowed.”
- “A node with a connected output signal is missing an incoming signal.”
- “Maximum amount of Nodes reached.”
- “"Save Signal" node is missing for this "Read Signal" node's channel.”
- “Another "Save Signal" node is already connected to this channel.”
What the game files do not say
- Delay and hold durations (the texts say 'configurable' / 'a set duration'; the resource holds no number)
- The maximum node count of a graph (a message exists, no number)
- Spike and lightning trap damage (not in the logic resource)
- Any gate or timer values beyond the editor texts