Particle accelerator

# Particle Accelerator (wip)

The particle accelerator is a highly modular multiblock machine that uses very high strength superconducting magnets to force particles along a path into each other. Unlike the Cyclotron which bombards elements into other elements to transmute them into heavier ones, the particle accelerator smashes (or collides) them together to create exotic particles with various purposes.

### Terminology

Hadron: Nickname for the particle accelerator.

Circular style: A hadron in the design of a "circle" (though in Minecraft it looks like a square or rectangle), the particle must recirculate to the core after the analysis chamber.

Linear style: A hadron in the design of a straight line, though it doesn't have to be, the particle just isn't capable of returning to the core.

Coil segment: The bundle of 8 coil blocks, somewhat self-explanatory. Their strength is determined by the individual coil block strength x8.

## Construction

### Main Coils

The hadron comes in two major components for its coils, the plating and the coil itself. The coil is a 3x3 hollow circle, meaning there is 8 total coil blocks per segment, keep this fact in mind for later parts. All 12 exposed sides must be covered with plating in order to be valid. *(See image)* There are plating blocks provided with varying colors, but it may be expensive to manufacture (in terms of Steel) all of them especially if your hadron is very large as the recipe may require. At no point can the hollow path be obstructed or lack a coil or plating block.

### Core

The core (in a circular style hadron) is ideally in the center of one of the sides of the circle. The sides must be facing into the coil paths, otherwise it will fail to operate. An access terminal is usually required to open the GUI, it may be placed on any side as long as it is in the center of the segment.

### Corners

Corners follow more or less the same principle as the main coils. They must turn the traveling particle at 90 degrees. The outer edge of the corner may be omitted however. *(See image)*

### Analysis Chamber

Unlike most other components of the hadron, the analysis chamber is more strict in its construction. It must be exactly 3 blocks in length and sometimes requires the use of lower tier coils directly adjacent to it if problems occur. Any of the blocks may be of a window variant however. It is usually directly opposite to the core and access terminal.

### Power Plugs

Power plugs provide the core and coils with electricity to work. Coils consume ***a lot*** of power, so there are several different tiers to power plugs with different charge rates. They can be upgraded easily by taking one and adding a fuse in your 2x2 crafting grid. The charge rates however may exceed the default NTM machine power transfer rate, so a Transformer (usually a DNT-20Hz one) is used to increase the rate and simultaneously act as a large buffer.

## Usage

The hadron core itself has a buffer of 10 MHE, 2 input slots, 2 output slots, and 3 buttons. The first button is the power button, it will not operate if it is off, however, if the hadron is already running and is turned off in the middle, it will still operate fine. The second button is to toggle "hopper mode", which is to improve hopper automation compatibility by only operating if there are more than 1 item in both slots, leaving 1 behind in each slot to not be used. Normal mode uses all inputs if possible. The second button toggles between circular and linear modes. The two modes determine which recipes can be used and may be dependent on your design. A linear style hadron can only use linear recipes, but a circular style one can use both linear and circular recipes.

### Coil Strengths

Ranking from weakest to strongest coils (all are prefixed with "dense" in game). Multiply by 8 to determine segment strength:

1. Superconducting: 10
2. Gold: 25
3. Neodymium: 50
4. 4000K Superconductor: 100
5. Schrabidic: 250
6. Schrabidate: 500
7. Starmetal: 1,000
8. Chlorophyte: 2,500
9. Mese: 10,000

### Power Consumption and Management

The total power drain of the Particle Accelerator can be calculated by a simple formula: (coil strength)x(number of coils)x(10kHE). This must be calculated separately for different types of coils.

The Particle Accelerator is a *very* power hungry machine, often requiring GHEs of power. If you do not have enough power, the operation will fail and your ingredients will be wasted.

For max efficiency, it is always best to have the exact amount of coil strength needed for the most powerful operation you will be using. For example, if the most powerful recipe you will be using is the Sparkticle, then it is always best to have coil strength exactly equal to 500,000.

The same applies to power usage. The Particle Accelerator will ALWAYS consume the full amount of power you give it. If you use 100GHE plugs, it will consume 100GHEs per operation! Clearly, this is not ideal (considering that the power cost for the Digamma Particle is 10GHE). Don't be afraid to use a combination of different plugs to exactly match the power consumption of your coils.

Below is a comprehensive list of recipe costs (assuming you have the exact coil strength needed for operation):

* Chicken Nugget: 100kHE
* Antimatter: 800kHE
* Antischrabidium: 800kHE
* Muon: 10MHE
* Higgs-Boson: 40MHE
* Dark Matter: 1GHE
* Strange Quark: 1GHE
* Sparkticle: 5GHE
* The Digamma Particle: 10GHE

these are **per operation.**

Below is a comprehensive list of the power consumption of each coil type:

* Superconducting: 100kHE
* Gold: 250kHE
* Neodymium: 500kHE
* 4000K Superconductor: 1MHE
* Schrabidic: 2.5MHE
* Ferric Schrabidate: 5MHE
* Starmetal: 10MHE
* Chlorophyte: 25MHE
* Mese: 100MHE

## Troubleshooting

Due to the complexity of the hadron, issues are a common occurrence to those unfamiliar with how it works. Here is a brief guide on potential causes and fixes:

* Explosion at the core
	+ Incorrect Core Component orientation
* Explosion at the analysis chamber
	+ Invalid analysis chamber
	+ Coils adjacent too strong
* Explosion elsewhere
	+ Invalid hadron construction
	+ Coils not charged enough
* "No result."
	+ Incorrect recipe mode selected
	+ Coil strength insufficient
	+ No recipe for inputs

## Recipes

There are a few select recipes that can be used in the hadron. Most require the use of capsules as opposed to cells as input, but sometimes regular items may be used. The recipes for the capsules themselves can be found using NEI. Most capsules are not dangerous drops. Input order does not matter. For a chart based list - look into gallery.

* Antimatter
	+ Hydrogen Ion
	+ Copper Ion
	+ 900 coil strength
	+ Linear type
	+ Note: Actually produces a positron and a antiproton capsule instead of antimatter directly, must be crafted into a capsule or cell.
* Antischrabidium
	+ 2x Antimatter
	+ 900 coil strength
	+ Circular type
	+ Note: Less efficient than the Cyclotron recipe technically.
* Dark Matter
	+ 2x Antischrabidium
	+ 100,000 coil strength
	+ Circular type
	+ Note: Used to make Euphemium from Plutonium.
* Muon
	+ Hydrogen Ion
	+ Antimatter
	+ 2,000 coil strength
	+ Linear type
	+ Note: No direct uses
* Higgs Boson
	+ Hydrogen Ion
	+ Lead Ion
	+ 5,000 coil strength
	+ Circular type
	+ Note: Used to make Schrabidium from Uranium.
* Tachyon
	+ Muon
	+ Higgs Boson
	+ 10,000 coil strength
	+ Linear type
	+ Note: Used to make Murky Wings
* Strange Quark
	+ Muon Capsule
	+ Dark Matter Capsule
	+ 200,000 coil strength
	+ Circular type
	+ Note: Used to make the Dark Crystal.
* Sparkticle
	+ Strange Quark
	+ Pulverized Enchantment
	+ 500,000 coil strength
	+ Circular type
	+ Note: Used to make Dineutronium from Ferric Schrabidate, also outputs dust.
* The Digamma Particle
	+ Sparkticle
	+ Higgs Boson
	+ 1,000,000 coil strength
	+ Circular type
	+ Note: No direct uses yet, but will have them in the future. Does have a use to make Digamma Fuel.
* 2x Chicken Nuggets
	+ 2x Raw Chicken
	+ 100 coil strength
	+ Circular type
	+ Note: Completely fills hunger

## Trivia

* There are technically three "most efficient" coil setups:
	+ 4000K Superconducting Coils are the cheapest method for the power. It uses heavy amounts of CMB Steel and Magnetized Tungsten, but is the cheapest option for lower tier Particle Accelerators.
	+ Ferric Schrabidiate Coils are the best option for those without heavy amounts of Neodymium, Starmetal, Chlorophyte, Dineutronium. It is also the best option for those without a Book of Boxcars (Black Book), which is needed for Mese coils. It requires a Fusion Reactor, heavy amounts of CMB Steel and Magnetized Tungsten, and VERY high amounts of Schrabidium.
	+ Mese coils are the best option for conserving space. They are **VERY** expensive. Note that the actual minimum amount of coils needed to make a Particle Accelerator is actually *more* than the amount of Mese coils needed to make the Digamma Particle. In this case, your best bet is using 100 Mese Coils and filling in the remaining space with whatever coil is cheapest for you.