Adds buildings to deconstruct matter into emc. This emc can be reconstructed into matter later.
And LOC Support.
Building and Icon sprites made with love by CrimboJimbo
Buildings:
Shape Shop:
Allows you to construct a shape using EMC. The price of the shape is dependent on the types of quadrants, their color, and how many layers there are.
You can edit the Shape Buyer's shape by clicking on it and inputting a new shape, or by passing it a wire input.
The wire input will be prioritized but disabling the input or inputing a non shape will revert the shape to the GUI's input.
Shape Seller:
Allows you to deconstruct a shape into pure EMC. This process isn't perfect, and you lose around 90% of matter.
Weights
This mod has pre-defined weights that are used to calculate the "value" of a shape.
Below are the default values:
Shape Weights:
Circle: 1
Rectangle: 1.2
Star: 1.5
Windmill: 2
_: 2.5 // This is the Shapez Industries sign for a merged shape.
1: 3 // SI Merge Of Circle + Star
2: 2.5 // SI Merge Of Rectangle + Circle
3: 3 // SI Merge Of Star + Rectangle
4: 3.5 // SI Merge Of Circle + Windmil
5: 3.5 // SI Merge Of Rectangle + Windmill
6: 4 // SI Merge Of Star + Windmill
Color Weights:
Uncolored: 1
Red: 1.2
Green: 1.2
Blue: 1.2
Yellow: 1.4
Cyan: 1.4
Purple: 1.4
White: 1.8
k: 2 // LOC Black
z: 2 // LOC Dark Purple
s: 2 // LOC Ghost
h: 2 // LOC Light Blue
l: 2 // LOC Light Green
m: 2 // LOC Mint
o: 2 // LOC Orange
i: 2 // LOC Pink
_: 2 // This is the Shapez Industries sign for a merged shape.
Layer Weights:
1: 1
2: 1.5
3: 2
4: 3
Oh also if you can summon 10k of a shape, it's free.
Mods
EMC has several methods that allows anyone to add EMC value to their shapes and colors. This isn't a main focus so it isn't that refined.
Shapes and Colors
To add new shapes and colors to the EMC tables, use the following code where I add a shape code of "L" and a color code of "m":
shapez.globalConfig["emcWeights"].shapes["L"] = 2; // This number is the 'value' of the quadrant.
shapez.globalConfig["emcWeights"].colors["m"] = 2; // This number is the 'multiplier' of the quadrant.
This obviously adds some risk of overwriting other mods, but thats fine by me.
You can also use this to edit the values to your liking if you are too lazy to edit the settings file.
Also if you use compact machines mod, your inputs will only ever be worth 1. NEVER USE COMPACT MACHINES MWAHHAHAHAHA. Im just kidding but your inputs are still worth one if you use it. It's a cool mod but is far too cheaty for EMC.