# Enigma Engine - Design Document
### Premise
The enigma engine is essentially a recipe chamber, taking gas input and producing a radiaion, eletric or heat output. The output and its intensity is determined by the gasses being input into the enigma's immediate atmosphere. This also combines with the enigma's current mood, which adds effects to its process and outputs. The engima has a chance to change mood every so often, so engineers will need to re-engineer the engine every so often. All enigmas have a random nature, which adds random interest into dealing with it.
### Technical process
The gas mixture of the enigma's atmosphere determine what effects it produces. The effects are produced based on three aspects, influenced by gas-
``Heating`` ``Zapping`` ``Radding``
As the names might suggest, different gasses can make the engima heat its atmosphere, zap its atmosphere or irradiate its atmosphere. The following table show how and which gasses produce these effects.
:::info
``Oxygen > +15_Radding and -15_Zapping and +10 Heating``
``Carbon > +15_Zapping and -15_Radding and +10 Heating``
``Nitrogen > -10_Heating and -5_Radding and +5_Zapping``
``Plasma > -10_Heating and -5_Zapping and +5_Radding``
:::
However, these aspects are also effected by the enigma's mood. The enigma has 4 natures-
``Impassioned`` ``Zealous`` ``Spiteful``
The mood effect how the enigma handles certain effects. The following tables describes how.
:::info
``Impassioned - The enigma will convert Heating into instability``
``Zealous - The enigma will convert Zapping into instability``
``Spiteful - The enigma will convert Radding into instability``
:::
When the enigma reaches enough instability, it will lose instability by preforming certain actions related to its nature. Every enigma has a randomly set nature, the specific per round nature is a secret that has to be solved. Nature determines some aspects of how an enigma acts. The following table details these nature.
:::info
``Shy - The enigma will teleport to a random location when it becomes too unstable. The enigma will occasionally go invisible to trick engineers into thinking it has teleported.``
``Lonely - The enigma will summon 'horrors' when it becomes too unstable. The enigma will occasionally teleport mobs to itself, unless it has company (plushes work too).``
``Enchanting - The enigma will cause mass transformations when it becomes too unstable. The enigma will occasionally make people who look at it hallucinate.``
:::