|
|
|
|
@ -1,8 +1,6 @@
|
|
|
|
|
package satisfactory;
|
|
|
|
|
|
|
|
|
|
import satisfactory.buildings.Building;
|
|
|
|
|
import satisfactory.buildings.ProductionBuilding;
|
|
|
|
|
import satisfactory.buildings.PowerGenerationBuilding;
|
|
|
|
|
import satisfactory.buildings.production.*;
|
|
|
|
|
import satisfactory.items.Item;
|
|
|
|
|
import satisfactory.items.Recipe;
|
|
|
|
|
import satisfactory.items.type.*;
|
|
|
|
|
@ -10,218 +8,6 @@ import satisfactory.items.type.*;
|
|
|
|
|
import java.util.*;
|
|
|
|
|
|
|
|
|
|
public class Database {
|
|
|
|
|
// BUILDINGS
|
|
|
|
|
public static final class Buildings {
|
|
|
|
|
public static final Building ASSEMBLER = new ProductionBuilding("Assembler", 15, assembler());
|
|
|
|
|
public static final Building BLENDER = new ProductionBuilding("Blender", -9999, blender()); // FIXME values
|
|
|
|
|
public static final Building CONSTRUCTOR = new ProductionBuilding("Constructor", 4, constructor());
|
|
|
|
|
public static final Building CRAFT_BENCH = new ProductionBuilding("Craft Bench", 0, craftBench());
|
|
|
|
|
public static final Building EQUIPMENT_WORKSHOP = new ProductionBuilding("Equipment Workshop", 0, equipmentWorkshop());
|
|
|
|
|
public static final Building FOUNDRY = new ProductionBuilding("Foundry", 16, foundry());
|
|
|
|
|
public static final Building MANUFACTURER = new ProductionBuilding("Manufacturer", 55, manufacturer());
|
|
|
|
|
public static final Building MINER_MK1 = new ProductionBuilding("Miner Mk1", 5, minerMk1());
|
|
|
|
|
public static final Building MINER_MK2 = new ProductionBuilding("Miner Mk2", 12, minerMk2());
|
|
|
|
|
public static final Building MINER_MK3 = new ProductionBuilding("Miner Mk3", -9999, minerMk3()); // FIXME values
|
|
|
|
|
public static final Building OIL_EXTRACTOR = new ProductionBuilding("Oil Extractor", 40, oilExtractor());
|
|
|
|
|
public static final Building PACKAGER = new ProductionBuilding("Packager", 10, packager());
|
|
|
|
|
public static final Building REFINERY = new ProductionBuilding("Refinery", 30, refinery());
|
|
|
|
|
public static final Building RESOURCE_WELL_EXTRACTOR = new ProductionBuilding("Resource Well Extractor", -9999, resourceWellExtractor()); // FIXME values // TODO: couple with Resource Well Pressurizer
|
|
|
|
|
public static final Building SMELTER = new ProductionBuilding("Smelter", 4, smelter());
|
|
|
|
|
public static final Building WATER_EXTRACTOR = new ProductionBuilding("Water Extractor", 20, waterExtractor());
|
|
|
|
|
|
|
|
|
|
private static Map<Item, Integer> assembler() {
|
|
|
|
|
Map<Item, Integer> cost = new HashMap<>();
|
|
|
|
|
cost.put(Database.ReinforcedIronPlate, 8);
|
|
|
|
|
cost.put(Database.Rotor, 4);
|
|
|
|
|
cost.put(Database.Cable, 10);
|
|
|
|
|
return cost;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static Map<Item, Integer> blender() {
|
|
|
|
|
Map<Item, Integer> cost = new HashMap<>();
|
|
|
|
|
cost.put(null, null); //FIXME values
|
|
|
|
|
return cost;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static Map<Item, Integer> constructor() {
|
|
|
|
|
Map<Item, Integer> cost = new HashMap<>();
|
|
|
|
|
cost.put(Database.ReinforcedIronPlate, 2);
|
|
|
|
|
cost.put(Database.Cable, 8);
|
|
|
|
|
return cost;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static Map<Item, Integer> craftBench() {
|
|
|
|
|
Map<Item, Integer> cost = new HashMap<>();
|
|
|
|
|
cost.put(Database.IronPlate, 3);
|
|
|
|
|
cost.put(Database.IronRod, 3);
|
|
|
|
|
return cost;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static Map<Item, Integer> equipmentWorkshop() {
|
|
|
|
|
Map<Item, Integer> cost = new HashMap<>();
|
|
|
|
|
cost.put(Database.IronPlate, 6);
|
|
|
|
|
cost.put(Database.IronRod, 4);
|
|
|
|
|
return cost;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static Map<Item, Integer> foundry() {
|
|
|
|
|
Map<Item, Integer> cost = new HashMap<>();
|
|
|
|
|
cost.put(Database.ModularFrame, 10);
|
|
|
|
|
cost.put(Database.Rotor, 10);
|
|
|
|
|
cost.put(Database.Concrete, 20);
|
|
|
|
|
return cost;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static Map<Item, Integer> manufacturer() {
|
|
|
|
|
Map<Item, Integer> cost = new HashMap<>();
|
|
|
|
|
cost.put(Database.Motor, 5);
|
|
|
|
|
cost.put(Database.HeavyModularFrame, 10);
|
|
|
|
|
cost.put(Database.Cable, 50);
|
|
|
|
|
cost.put(Database.Plastic, 50);
|
|
|
|
|
return cost;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static Map<Item, Integer> minerMk1() {
|
|
|
|
|
Map<Item, Integer> cost = new HashMap<>();
|
|
|
|
|
cost.put(Database.PortableMiner, 1);
|
|
|
|
|
cost.put(Database.IronPlate, 10);
|
|
|
|
|
cost.put(Database.Concrete, 10);
|
|
|
|
|
return cost;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static Map<Item, Integer> minerMk2() {
|
|
|
|
|
Map<Item, Integer> cost = new HashMap<>();
|
|
|
|
|
cost.put(Database.PortableMiner, 2);
|
|
|
|
|
cost.put(Database.EncasedIndustrialBeam, 10);
|
|
|
|
|
cost.put(Database.SteelPipe, 20);
|
|
|
|
|
cost.put(Database.ModularFrame, 10);
|
|
|
|
|
return cost;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static Map<Item, Integer> minerMk3() {
|
|
|
|
|
Map<Item, Integer> cost = new HashMap<>();
|
|
|
|
|
cost.put(Database.PortableMiner, 2);
|
|
|
|
|
cost.put(null, null); //FIXME values
|
|
|
|
|
return cost;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static Map<Item, Integer> oilExtractor() {
|
|
|
|
|
Map<Item, Integer> cost = new HashMap<>();
|
|
|
|
|
cost.put(Database.Motor, 15);
|
|
|
|
|
cost.put(Database.EncasedIndustrialBeam, 20);
|
|
|
|
|
cost.put(Database.Cable, 60);
|
|
|
|
|
return cost;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static Map<Item, Integer> packager() {
|
|
|
|
|
Map<Item, Integer> cost = new HashMap<>();
|
|
|
|
|
cost.put(Database.SteelBeam, 20);
|
|
|
|
|
cost.put(Database.Rubber, 10);
|
|
|
|
|
cost.put(Database.Plastic, 10);
|
|
|
|
|
return cost;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static Map<Item, Integer> refinery() {
|
|
|
|
|
Map<Item, Integer> cost = new HashMap<>();
|
|
|
|
|
cost.put(Database.Motor, 10);
|
|
|
|
|
cost.put(Database.EncasedIndustrialBeam, 10);
|
|
|
|
|
cost.put(Database.SteelPipe, 30);
|
|
|
|
|
cost.put(Database.CopperSheet, 20);
|
|
|
|
|
return cost;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static Map<Item, Integer> resourceWellExtractor() {
|
|
|
|
|
Map<Item, Integer> cost = new HashMap<>();
|
|
|
|
|
cost.put(null, null); // FIXME values
|
|
|
|
|
return cost;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static Map<Item, Integer> smelter() {
|
|
|
|
|
Map<Item, Integer> cost = new HashMap<>();
|
|
|
|
|
cost.put(Database.IronRod, 5);
|
|
|
|
|
cost.put(Database.Wire, 8);
|
|
|
|
|
return cost;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static Map<Item, Integer> waterExtractor() {
|
|
|
|
|
Map<Item, Integer> cost = new HashMap<>();
|
|
|
|
|
cost.put(Database.CopperSheet, 20);
|
|
|
|
|
cost.put(Database.ReinforcedIronPlate, 10);
|
|
|
|
|
cost.put(Database.Rotor, 10);
|
|
|
|
|
return cost;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static final Building BIOMASS_BURNER = new PowerGenerationBuilding("Biomass Burner", 30, biomassBurner(), biomassBurnerConsumes());
|
|
|
|
|
public static final Building COAL_GENERATOR = new PowerGenerationBuilding("Coal Generator", 75, coalGenerator(),coalGeneratorConsumes());
|
|
|
|
|
public static final Building FUEL_GENERATOR = new PowerGenerationBuilding("Fuel Generator", 150, fuelGenerator(), fuelGeneratorConsumes());
|
|
|
|
|
public static final Building GEOTHERMAL_GENERATOR = new PowerGenerationBuilding("Geothermal Generator", 9999, geothermalGenerator(), new HashMap<>());
|
|
|
|
|
private static Map<Item, Integer> biomassBurner() {
|
|
|
|
|
Map<Item, Integer> cost = new HashMap<>();
|
|
|
|
|
cost.put(Database.IronPlate, 15);
|
|
|
|
|
cost.put(Database.IronRod, 15);
|
|
|
|
|
cost.put(Database.Wire, 25);
|
|
|
|
|
return cost;
|
|
|
|
|
}
|
|
|
|
|
private static Map<Item, Double> biomassBurnerConsumes() {
|
|
|
|
|
Map<Item, Double> cost = new HashMap<>();
|
|
|
|
|
// TODO values usage/min
|
|
|
|
|
return cost;
|
|
|
|
|
}
|
|
|
|
|
private static Map<Item, Integer> coalGenerator() {
|
|
|
|
|
Map<Item, Integer> cost = new HashMap<>();
|
|
|
|
|
cost.put(Database.ReinforcedIronPlate, 20);
|
|
|
|
|
cost.put(Database.Rotor, 10);
|
|
|
|
|
cost.put(Database.Cable, 30);
|
|
|
|
|
return cost;
|
|
|
|
|
}
|
|
|
|
|
private static Map<Item, Double> coalGeneratorConsumes() {
|
|
|
|
|
Map<Item, Double> cost = new HashMap<>();
|
|
|
|
|
// TODO values usage/min
|
|
|
|
|
return cost;
|
|
|
|
|
}
|
|
|
|
|
private static Map<Item, Integer> fuelGenerator() {
|
|
|
|
|
Map<Item, Integer> cost = new HashMap<>();
|
|
|
|
|
cost.put(Database.Computer, 5);
|
|
|
|
|
cost.put(Database.HeavyModularFrame, 10);
|
|
|
|
|
cost.put(Database.Motor, 15);
|
|
|
|
|
cost.put(Database.Rubber, 50);
|
|
|
|
|
cost.put(Database.Quickwire, 50);
|
|
|
|
|
return cost;
|
|
|
|
|
}
|
|
|
|
|
private static Map<Item, Double> fuelGeneratorConsumes() {
|
|
|
|
|
Map<Item, Double> cost = new HashMap<>();
|
|
|
|
|
// TODO values usage/min
|
|
|
|
|
return cost;
|
|
|
|
|
}
|
|
|
|
|
private static Map<Item, Integer> geothermalGenerator() {
|
|
|
|
|
Map<Item, Integer> cost = new HashMap<>();
|
|
|
|
|
cost.put(Database.SuperComputer, 8);
|
|
|
|
|
cost.put(Database.HeavyModularFrame, 16);
|
|
|
|
|
cost.put(Database.HighSpeedConnector, 16);
|
|
|
|
|
cost.put(Database.CopperSheet, 40);
|
|
|
|
|
cost.put(Database.Rubber, 80);
|
|
|
|
|
return cost;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ITEMS
|
|
|
|
|
|
|
|
|
|
public static final Map<Item, Recipe> preferences = new HashMap<>();
|
|
|
|
|
// Items & recipes
|
|
|
|
|
public static final Item IronOre = new Ore("Iron Ore");
|
|
|
|
|
@ -342,11 +128,11 @@ public class Database {
|
|
|
|
|
Set<Item> ores = new HashSet<>(Arrays.asList(IronOre, Coal, Limestone, CopperOre, CateriumOre, Sulfur, Uranium));
|
|
|
|
|
ores.addAll(Arrays.asList(Bauxite, RawQuartz));// TODO: rly?
|
|
|
|
|
for (Item ore : ores) {
|
|
|
|
|
Recipe mk1 = new Recipe(1, "Miner Mk1", false, Buildings.MINER_MK1);
|
|
|
|
|
Recipe mk1 = new Recipe(1, "Miner Mk1", false, MinerMk1.class);
|
|
|
|
|
ore.add(mk1, 1);
|
|
|
|
|
Recipe mk2 = new Recipe(1, "Miner Mk2", false, Buildings.MINER_MK2);
|
|
|
|
|
Recipe mk2 = new Recipe(1, "Miner Mk2", false, MinerMk2.class);
|
|
|
|
|
ore.add(mk2, 2);
|
|
|
|
|
//Recipe mk3 = new Recipe(1, "Miner Mk3", false, MINER_MK2);
|
|
|
|
|
//Recipe mk3 = new Recipe(1, "Miner Mk3", false, MinerMk3.class);
|
|
|
|
|
//ore.add(mk3, 3);
|
|
|
|
|
ore.setPreference(mk2);
|
|
|
|
|
}
|
|
|
|
|
@ -354,19 +140,19 @@ public class Database {
|
|
|
|
|
// fluids
|
|
|
|
|
Set<Item> rawFluids = new HashSet<>(Arrays.asList(CrudeOil, Water));
|
|
|
|
|
// no common well yet
|
|
|
|
|
CrudeOil.add(new Recipe(1, "Oil extracting thingy", false, Buildings.OIL_EXTRACTOR), 2);
|
|
|
|
|
CrudeOil.add(new Recipe(1, "Oil extracting thingy", false, OilExtractor.class), 2);
|
|
|
|
|
//CrudeOil.setPreference();
|
|
|
|
|
Recipe water = new Recipe(1, "water pump thingy", false, Buildings.WATER_EXTRACTOR);
|
|
|
|
|
Recipe water = new Recipe(1, "water pump thingy", false, WaterExtractor.class);
|
|
|
|
|
Water.add(water, 2);
|
|
|
|
|
Water.setPreference(water);
|
|
|
|
|
|
|
|
|
|
// gases
|
|
|
|
|
NitrogenGas.add(new Recipe(1, "pressure thingy", false, Buildings.RESOURCE_WELL_EXTRACTOR));
|
|
|
|
|
NitrogenGas.add(new Recipe(1, "pressure thingy", false, ResourceWellExtractor.class));
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Iron Ingot
|
|
|
|
|
IronIngot.add(new Recipe(2, IronOre, 1, Buildings.SMELTER));
|
|
|
|
|
Recipe alt = new Recipe(12, Buildings.REFINERY);
|
|
|
|
|
IronIngot.add(new Recipe(2, IronOre, 1, Smelter.class));
|
|
|
|
|
Recipe alt = new Recipe(12, Refinery.class);
|
|
|
|
|
alt.addInput(IronOre, 7);
|
|
|
|
|
alt.addInput(Water, 4);
|
|
|
|
|
alt.addOutput(IronIngot, 13);
|
|
|
|
|
@ -374,28 +160,28 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Copper Ingot
|
|
|
|
|
CopperIngot.add(new Recipe(2, CopperOre, 1, Buildings.SMELTER));
|
|
|
|
|
CopperIngot.add(new Recipe(2, CopperOre, 1, Smelter.class));
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Caterium Ingot
|
|
|
|
|
CateriumIngot.add(new Recipe(4, CateriumOre, 3, Buildings.SMELTER));
|
|
|
|
|
CateriumIngot.add(new Recipe(4, CateriumOre, 3, Smelter.class));
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Steel Ingot
|
|
|
|
|
Recipe recipe = new Recipe(4, Buildings.FOUNDRY);
|
|
|
|
|
Recipe recipe = new Recipe(4, Foundry.class);
|
|
|
|
|
recipe.addInput(IronOre, 3);
|
|
|
|
|
recipe.addInput(Coal, 3);
|
|
|
|
|
SteelIngot.add(recipe, 3);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Concrete
|
|
|
|
|
Concrete.add(new Recipe(4, Limestone, 3, Buildings.CONSTRUCTOR));
|
|
|
|
|
Concrete.add(new Recipe(4, Limestone, 3, Constructor.class));
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Iron Plate
|
|
|
|
|
Recipe recipe = new Recipe(6, IronIngot, 3, Buildings.CONSTRUCTOR);
|
|
|
|
|
Recipe recipe = new Recipe(6, IronIngot, 3, Constructor.class);
|
|
|
|
|
IronPlate.add(recipe, 2);
|
|
|
|
|
Recipe steelCoated = new Recipe(24, "Steel Coated Plate", false, Buildings.ASSEMBLER);
|
|
|
|
|
Recipe steelCoated = new Recipe(24, "Steel Coated Plate", false, Assembler.class);
|
|
|
|
|
steelCoated.addInput(SteelIngot, 3);
|
|
|
|
|
steelCoated.addInput(Plastic, 2);
|
|
|
|
|
IronPlate.add(steelCoated, 18);
|
|
|
|
|
@ -403,23 +189,23 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Iron Rod
|
|
|
|
|
IronRod.add(new Recipe(4, IronIngot, 1, Buildings.CONSTRUCTOR));
|
|
|
|
|
IronRod.add(new Recipe(4, IronIngot, 1, Constructor.class));
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Screw
|
|
|
|
|
Screw.add(new Recipe(6, IronRod, 1, Buildings.CONSTRUCTOR), 4);
|
|
|
|
|
Screw.add(new Recipe(6, IronRod, 1, Constructor.class), 4);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Steel Beam
|
|
|
|
|
SteelBeam.add(new Recipe(4, SteelIngot, 4, Buildings.CONSTRUCTOR));
|
|
|
|
|
SteelBeam.add(new Recipe(4, SteelIngot, 4, Constructor.class));
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Reinforced Iron Plate
|
|
|
|
|
Recipe recipe = new Recipe(12, Buildings.ASSEMBLER);
|
|
|
|
|
Recipe recipe = new Recipe(12, Assembler.class);
|
|
|
|
|
recipe.addInput(IronPlate, 6);
|
|
|
|
|
recipe.addInput(Screw, 12);
|
|
|
|
|
ReinforcedIronPlate.add(recipe);
|
|
|
|
|
Recipe bolted = new Recipe(4, "Bolted Iron Plate", false, Buildings.ASSEMBLER);
|
|
|
|
|
Recipe bolted = new Recipe(4, "Bolted Iron Plate", false, Assembler.class);
|
|
|
|
|
bolted.addInput(IronPlate, 18);
|
|
|
|
|
bolted.addInput(Screw, 50);
|
|
|
|
|
ReinforcedIronPlate.add(bolted, 3);
|
|
|
|
|
@ -428,34 +214,34 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Modular Frame
|
|
|
|
|
Recipe recipe = new Recipe(60, Buildings.ASSEMBLER);
|
|
|
|
|
Recipe recipe = new Recipe(60, Assembler.class);
|
|
|
|
|
recipe.addInput(ReinforcedIronPlate, 3);
|
|
|
|
|
recipe.addInput(IronRod, 12);
|
|
|
|
|
ModularFrame.add(recipe, 2);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Steel Pipe
|
|
|
|
|
Recipe recipe = new Recipe(6, Buildings.CONSTRUCTOR);
|
|
|
|
|
Recipe recipe = new Recipe(6, Constructor.class);
|
|
|
|
|
recipe.addInput(SteelIngot, 3);
|
|
|
|
|
SteelPipe.add(recipe, 2);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Encased Industrial Beam
|
|
|
|
|
Recipe recipe = new Recipe(10, Buildings.ASSEMBLER);
|
|
|
|
|
Recipe recipe = new Recipe(10, Assembler.class);
|
|
|
|
|
recipe.addInput(SteelBeam, 4);
|
|
|
|
|
recipe.addInput(Concrete, 5);
|
|
|
|
|
EncasedIndustrialBeam.add(recipe);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Heavy Modular Frame
|
|
|
|
|
Recipe recipe = new Recipe(30, Buildings.MANUFACTURER);
|
|
|
|
|
Recipe recipe = new Recipe(30, Manufacturer.class);
|
|
|
|
|
recipe.addInput(ModularFrame, 5);
|
|
|
|
|
recipe.addInput(SteelPipe, 15);
|
|
|
|
|
recipe.addInput(EncasedIndustrialBeam, 5);
|
|
|
|
|
recipe.addInput(Screw, 100);
|
|
|
|
|
HeavyModularFrame.add(recipe);
|
|
|
|
|
HeavyModularFrame.setPreference(recipe);
|
|
|
|
|
Recipe heavyEncasedFrame = new Recipe(21, Buildings.MANUFACTURER);
|
|
|
|
|
Recipe heavyEncasedFrame = new Recipe(21, Manufacturer.class);
|
|
|
|
|
// TODO: duration = 60/2.812
|
|
|
|
|
heavyEncasedFrame.addInput(ModularFrame, 8);
|
|
|
|
|
heavyEncasedFrame.addInput(EncasedIndustrialBeam, 10);
|
|
|
|
|
@ -466,12 +252,12 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Wire
|
|
|
|
|
Wire.add(new Recipe(4, CopperIngot, 1, Buildings.CONSTRUCTOR), 2);
|
|
|
|
|
Wire.add(new Recipe(4, CopperIngot, 1, Constructor.class), 2);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Cable
|
|
|
|
|
Cable.add(new Recipe(2, Wire, 2, Buildings.CONSTRUCTOR));
|
|
|
|
|
Recipe quickWireCable = new Recipe(2, Buildings.ASSEMBLER);
|
|
|
|
|
Cable.add(new Recipe(2, Wire, 2, Constructor.class));
|
|
|
|
|
Recipe quickWireCable = new Recipe(2, Assembler.class);
|
|
|
|
|
// TODO 60/27,5
|
|
|
|
|
quickWireCable.addInput(Quickwire, 3);
|
|
|
|
|
quickWireCable.addInput(Rubber, 2);
|
|
|
|
|
@ -480,8 +266,8 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Copper Sheet
|
|
|
|
|
CopperSheet.add(new Recipe(6, CopperIngot, 2, Buildings.CONSTRUCTOR));
|
|
|
|
|
Recipe steamedCopperSheet = new Recipe(2, Buildings.REFINERY);
|
|
|
|
|
CopperSheet.add(new Recipe(6, CopperIngot, 2, Constructor.class));
|
|
|
|
|
Recipe steamedCopperSheet = new Recipe(2, Refinery.class);
|
|
|
|
|
// TODO: duration = 60/22.5
|
|
|
|
|
steamedCopperSheet.addInput(CopperIngot, 3);
|
|
|
|
|
steamedCopperSheet.addInput(Water, 3);
|
|
|
|
|
@ -491,16 +277,16 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Quickwire
|
|
|
|
|
Quickwire.add(new Recipe(5, CateriumIngot, 1, Buildings.CONSTRUCTOR), 5);
|
|
|
|
|
Quickwire.add(new Recipe(5, CateriumIngot, 1, Constructor.class), 5);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Circuit Board
|
|
|
|
|
Recipe recipe = new Recipe(8, Buildings.ASSEMBLER);
|
|
|
|
|
Recipe recipe = new Recipe(8, Assembler.class);
|
|
|
|
|
recipe.addInput(CopperSheet, 2);
|
|
|
|
|
recipe.addInput(Plastic, 4);
|
|
|
|
|
CircuitBoard.add(recipe);
|
|
|
|
|
// TODO: alternative
|
|
|
|
|
Recipe electrodeCircuitBoard = new Recipe(12, Buildings.ASSEMBLER);
|
|
|
|
|
Recipe electrodeCircuitBoard = new Recipe(12, Assembler.class);
|
|
|
|
|
electrodeCircuitBoard.addInput(Rubber, 6);
|
|
|
|
|
electrodeCircuitBoard.addInput(PetroleumCoke, 9);
|
|
|
|
|
electrodeCircuitBoard.addOutput(CircuitBoard, 1);
|
|
|
|
|
@ -508,14 +294,14 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// A.I. Limiter
|
|
|
|
|
Recipe recipe = new Recipe(12, Buildings.ASSEMBLER);
|
|
|
|
|
Recipe recipe = new Recipe(12, Assembler.class);
|
|
|
|
|
recipe.addInput(CopperSheet, 5);
|
|
|
|
|
recipe.addInput(Quickwire, 20);
|
|
|
|
|
AILimiter.add(recipe);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// High Speed Connector
|
|
|
|
|
Recipe recipe = new Recipe(16, Buildings.MANUFACTURER);
|
|
|
|
|
Recipe recipe = new Recipe(16, Manufacturer.class);
|
|
|
|
|
recipe.addInput(Quickwire, 56);
|
|
|
|
|
recipe.addInput(Cable, 10);
|
|
|
|
|
recipe.addInput(CircuitBoard, 1);
|
|
|
|
|
@ -523,48 +309,48 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Biomass
|
|
|
|
|
Biomass.add(new Recipe(5, Leaves, 10, Buildings.CONSTRUCTOR), 5); // TODO CraftBench
|
|
|
|
|
Biomass.add(new Recipe(4, Wood, 4, Buildings.CONSTRUCTOR), 20); // TODO CraftBench
|
|
|
|
|
Biomass.add(new Recipe(4, Mycelia, 1, Buildings.CONSTRUCTOR), 10); // TODO CraftBench
|
|
|
|
|
Biomass.add(new Recipe(4, AlienProtein, 1, Buildings.CONSTRUCTOR), 100); // TODO CraftBench
|
|
|
|
|
Biomass.add(new Recipe(5, Leaves, 10, Constructor.class), 5); // TODO CraftBench
|
|
|
|
|
Biomass.add(new Recipe(4, Wood, 4, Constructor.class), 20); // TODO CraftBench
|
|
|
|
|
Biomass.add(new Recipe(4, Mycelia, 1, Constructor.class), 10); // TODO CraftBench
|
|
|
|
|
Biomass.add(new Recipe(4, AlienProtein, 1, Constructor.class), 100); // TODO CraftBench
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Alien Protein
|
|
|
|
|
AlienProtein.add(new Recipe(3, HogRemains, 1, Buildings.CONSTRUCTOR)); // TODO CraftBench
|
|
|
|
|
AlienProtein.add(new Recipe(3, PlasmaSpitterRemains, 1, Buildings.CONSTRUCTOR)); // TODO CraftBench
|
|
|
|
|
AlienProtein.add(new Recipe(3, StingerRemains, 1, Buildings.CONSTRUCTOR)); // TODO CraftBench
|
|
|
|
|
AlienProtein.add(new Recipe(3, HatcherRemains, 1, Buildings.CONSTRUCTOR)); // TODO CraftBench
|
|
|
|
|
AlienProtein.add(new Recipe(3, HogRemains, 1, Constructor.class)); // TODO CraftBench
|
|
|
|
|
AlienProtein.add(new Recipe(3, PlasmaSpitterRemains, 1, Constructor.class)); // TODO CraftBench
|
|
|
|
|
AlienProtein.add(new Recipe(3, StingerRemains, 1, Constructor.class)); // TODO CraftBench
|
|
|
|
|
AlienProtein.add(new Recipe(3, HatcherRemains, 1, Constructor.class)); // TODO CraftBench
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Fabric
|
|
|
|
|
Recipe recipe = new Recipe(4, Buildings.ASSEMBLER);
|
|
|
|
|
Recipe recipe = new Recipe(4, Assembler.class);
|
|
|
|
|
recipe.addInput(Mycelia);
|
|
|
|
|
recipe.addInput(Biomass, 5);
|
|
|
|
|
Fabric.add(recipe);
|
|
|
|
|
Recipe alt = new Recipe(2, Buildings.REFINERY);
|
|
|
|
|
Recipe alt = new Recipe(2, Refinery.class);
|
|
|
|
|
recipe.addInput(PolymerResin, 1);
|
|
|
|
|
recipe.addInput(Water, 1);
|
|
|
|
|
recipe.addOutput(Fabric, 1);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Solid Biofuel
|
|
|
|
|
SolidBiofuel.add(new Recipe(4, Biomass, 8, Buildings.CONSTRUCTOR), 4);
|
|
|
|
|
SolidBiofuel.add(new Recipe(4, Biomass, 8, Constructor.class), 4);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Rotor
|
|
|
|
|
Recipe recipe = new Recipe(15, Buildings.ASSEMBLER);
|
|
|
|
|
Recipe recipe = new Recipe(15, Assembler.class);
|
|
|
|
|
recipe.addInput(IronRod, 5);
|
|
|
|
|
recipe.addInput(Screw, 25);
|
|
|
|
|
Rotor.add(recipe);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Stator
|
|
|
|
|
Recipe recipe = new Recipe(12, Buildings.ASSEMBLER);
|
|
|
|
|
Recipe recipe = new Recipe(12, Assembler.class);
|
|
|
|
|
recipe.addInput(SteelPipe, 3);
|
|
|
|
|
recipe.addInput(Wire, 8);
|
|
|
|
|
Stator.add(recipe);
|
|
|
|
|
Stator.setPreference(recipe);
|
|
|
|
|
Recipe quickwireStator = new Recipe(8, Buildings.ASSEMBLER);
|
|
|
|
|
Recipe quickwireStator = new Recipe(8, Assembler.class);
|
|
|
|
|
//TODO 60/8
|
|
|
|
|
quickwireStator.addInput(SteelPipe, 4);
|
|
|
|
|
quickwireStator.addInput(Quickwire, 15);
|
|
|
|
|
@ -573,31 +359,31 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Motor
|
|
|
|
|
Recipe recipe = new Recipe(12, Buildings.ASSEMBLER);
|
|
|
|
|
Recipe recipe = new Recipe(12, Assembler.class);
|
|
|
|
|
recipe.addInput(Rotor, 2);
|
|
|
|
|
recipe.addInput(Stator, 2);
|
|
|
|
|
Motor.add(recipe);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Power Shard
|
|
|
|
|
PowerShard.add(new Recipe(8, GreenPowerSlug, 1, Buildings.CONSTRUCTOR));
|
|
|
|
|
PowerShard.add(new Recipe(12, YellowPowerSlug, 1, Buildings.CONSTRUCTOR), 2);
|
|
|
|
|
PowerShard.add(new Recipe(24, PurplePowerSlug, 1, Buildings.CONSTRUCTOR), 5);
|
|
|
|
|
PowerShard.add(new Recipe(8, GreenPowerSlug, 1, Constructor.class));
|
|
|
|
|
PowerShard.add(new Recipe(12, YellowPowerSlug, 1, Constructor.class), 2);
|
|
|
|
|
PowerShard.add(new Recipe(24, PurplePowerSlug, 1, Constructor.class), 5);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Black Powder
|
|
|
|
|
Recipe recipe = new Recipe(8, Buildings.ASSEMBLER);
|
|
|
|
|
Recipe recipe = new Recipe(8, Assembler.class);
|
|
|
|
|
recipe.addInput(Coal);
|
|
|
|
|
recipe.addInput(Sulfur, 2);
|
|
|
|
|
BlackPowder.add(recipe);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Color Catridge
|
|
|
|
|
ColorCatridge.add(new Recipe(6, FlowerPetals, 5, Buildings.CONSTRUCTOR), 10);
|
|
|
|
|
ColorCatridge.add(new Recipe(6, FlowerPetals, 5, Constructor.class), 10);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Gas Filter
|
|
|
|
|
Recipe recipe = new Recipe(8, Buildings.MANUFACTURER);
|
|
|
|
|
Recipe recipe = new Recipe(8, Manufacturer.class);
|
|
|
|
|
recipe.addInput(Coal, 5);
|
|
|
|
|
recipe.addInput(Rubber, 2);
|
|
|
|
|
recipe.addInput(Fabric, 2);
|
|
|
|
|
@ -605,13 +391,13 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Computer
|
|
|
|
|
Recipe recipe = new Recipe(24, Buildings.MANUFACTURER);
|
|
|
|
|
Recipe recipe = new Recipe(24, Manufacturer.class);
|
|
|
|
|
recipe.addInput(CircuitBoard, 10);
|
|
|
|
|
recipe.addInput(Cable, 9);
|
|
|
|
|
recipe.addInput(Plastic, 18);
|
|
|
|
|
recipe.addInput(Screw, 52);
|
|
|
|
|
Computer.add(recipe);
|
|
|
|
|
Recipe alternative = new Recipe(16, "Caterium Computer", false, Buildings.MANUFACTURER);
|
|
|
|
|
Recipe alternative = new Recipe(16, "Caterium Computer", false, Manufacturer.class);
|
|
|
|
|
alternative.addInput(CircuitBoard, 7);
|
|
|
|
|
alternative.addInput(Quickwire, 28);
|
|
|
|
|
alternative.addInput(Rubber, 12);
|
|
|
|
|
@ -621,7 +407,7 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Super Computer
|
|
|
|
|
Recipe recipe = new Recipe(32, Buildings.MANUFACTURER);
|
|
|
|
|
Recipe recipe = new Recipe(32, Manufacturer.class);
|
|
|
|
|
recipe.addInput(Computer, 2);
|
|
|
|
|
recipe.addInput(AILimiter, 2);
|
|
|
|
|
recipe.addInput(HighSpeedConnector, 3);
|
|
|
|
|
@ -630,11 +416,11 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Empty Canister
|
|
|
|
|
EmptyCanister.add(new Recipe(4, Plastic, 2, Buildings.CONSTRUCTOR), 4);
|
|
|
|
|
EmptyCanister.add(new Recipe(4, Plastic, 2, Constructor.class), 4);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Beacon
|
|
|
|
|
Recipe recipe = new Recipe(8, Buildings.MANUFACTURER);
|
|
|
|
|
Recipe recipe = new Recipe(8, Manufacturer.class);
|
|
|
|
|
recipe.addInput(IronPlate, 3);
|
|
|
|
|
recipe.addInput(IronRod);
|
|
|
|
|
recipe.addInput(Wire, 15);
|
|
|
|
|
@ -643,7 +429,7 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Modular Engine
|
|
|
|
|
Recipe recipe = new Recipe(60, false, Buildings.MANUFACTURER);
|
|
|
|
|
Recipe recipe = new Recipe(60, false, Manufacturer.class);
|
|
|
|
|
recipe.addInput(Motor, 2);
|
|
|
|
|
recipe.addInput(Rubber, 15);
|
|
|
|
|
recipe.addInput(SmartPlating, 2);
|
|
|
|
|
@ -651,7 +437,7 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Adaptive Control Unit
|
|
|
|
|
Recipe recipe = new Recipe(120, false, Buildings.MANUFACTURER);
|
|
|
|
|
Recipe recipe = new Recipe(120, false, Manufacturer.class);
|
|
|
|
|
recipe.addInput(AutomatedWiring, 15);
|
|
|
|
|
recipe.addInput(CircuitBoard, 10);
|
|
|
|
|
recipe.addInput(HeavyModularFrame, 2);
|
|
|
|
|
@ -660,14 +446,14 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Nobelisk
|
|
|
|
|
Recipe recipe = new Recipe(20, false, Buildings.ASSEMBLER);
|
|
|
|
|
Recipe recipe = new Recipe(20, false, Assembler.class);
|
|
|
|
|
recipe.addInput(BlackPowder, 5);
|
|
|
|
|
recipe.addInput(SteelPipe, 10);
|
|
|
|
|
Nobelisk.add(recipe);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Gas Nobelisk
|
|
|
|
|
Recipe recipe = new Recipe(12, Buildings.ASSEMBLER); //TODO EquipmentWorkshop
|
|
|
|
|
Recipe recipe = new Recipe(12, Assembler.class); //TODO EquipmentWorkshop
|
|
|
|
|
recipe.addInput(Nobelisk, 1);
|
|
|
|
|
recipe.addInput(Biomass, 10);
|
|
|
|
|
recipe.addOutput(GasNobelisk, 1);
|
|
|
|
|
@ -675,7 +461,7 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Cluster Nobelisk
|
|
|
|
|
Recipe recipe = new Recipe(24, Buildings.ASSEMBLER); //TODO EquipmentWorkshop
|
|
|
|
|
Recipe recipe = new Recipe(24, Assembler.class); //TODO EquipmentWorkshop
|
|
|
|
|
recipe.addInput(Nobelisk, 3);
|
|
|
|
|
recipe.addInput(SmokelessPowder, 4);
|
|
|
|
|
recipe.addOutput(ClusterNobelisk, 1);
|
|
|
|
|
@ -684,7 +470,7 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// NobeliskDetonator
|
|
|
|
|
Recipe recipe = new Recipe(80, Buildings.EQUIPMENT_WORKSHOP);
|
|
|
|
|
Recipe recipe = new Recipe(80, EquipmentWorkshop.class);
|
|
|
|
|
recipe.addInput(ObjectScanner, 1);
|
|
|
|
|
recipe.addInput(SteelBeam, 10);
|
|
|
|
|
recipe.addInput(Cable, 50);
|
|
|
|
|
@ -693,31 +479,31 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Smart Plating
|
|
|
|
|
Recipe recipe = new Recipe(30, false, Buildings.ASSEMBLER);
|
|
|
|
|
Recipe recipe = new Recipe(30, false, Assembler.class);
|
|
|
|
|
recipe.addInput(ReinforcedIronPlate);
|
|
|
|
|
recipe.addInput(Rotor);
|
|
|
|
|
SmartPlating.add(recipe);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Automated Wiring
|
|
|
|
|
Recipe recipe = new Recipe(24, false, Buildings.ASSEMBLER);
|
|
|
|
|
Recipe recipe = new Recipe(24, false, Assembler.class);
|
|
|
|
|
recipe.addInput(Stator);
|
|
|
|
|
recipe.addInput(Cable, 20);
|
|
|
|
|
AutomatedWiring.add(recipe);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Versatile Framework
|
|
|
|
|
Recipe recipe = new Recipe(24, false, Buildings.ASSEMBLER);
|
|
|
|
|
Recipe recipe = new Recipe(24, false, Assembler.class);
|
|
|
|
|
recipe.addInput(ModularFrame);
|
|
|
|
|
recipe.addInput(SteelBeam, 12);
|
|
|
|
|
VersatileFrameWork.add(recipe, 2);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Fuel
|
|
|
|
|
Recipe residualFuel = new Recipe(6, "Residual Fuel", false, Buildings.REFINERY);
|
|
|
|
|
Recipe residualFuel = new Recipe(6, "Residual Fuel", false, Refinery.class);
|
|
|
|
|
residualFuel.addInput(HeavyOilResidue, 6);
|
|
|
|
|
Fuel.add(residualFuel, 4);
|
|
|
|
|
Recipe recipe = new Recipe(6, false, Buildings.REFINERY);
|
|
|
|
|
Recipe recipe = new Recipe(6, false, Refinery.class);
|
|
|
|
|
recipe.addInput(CrudeOil, 6);
|
|
|
|
|
recipe.addOutput(PolymerResin, 3);
|
|
|
|
|
Fuel.add(recipe, 4);
|
|
|
|
|
@ -727,7 +513,7 @@ public class Database {
|
|
|
|
|
{
|
|
|
|
|
PolymerResin.setPreference(PolymerResin.getRecipe());
|
|
|
|
|
// Polymer Resin
|
|
|
|
|
Recipe polymerResin = new Recipe(1, Buildings.REFINERY);
|
|
|
|
|
Recipe polymerResin = new Recipe(1, Refinery.class);
|
|
|
|
|
// TODO: duration=60/130
|
|
|
|
|
polymerResin.addInput(CrudeOil, 6);
|
|
|
|
|
polymerResin.addOutput(PolymerResin, 13);
|
|
|
|
|
@ -736,12 +522,12 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Liquid Biofuel
|
|
|
|
|
Recipe recipe = new Recipe(4, false, Buildings.REFINERY);
|
|
|
|
|
Recipe recipe = new Recipe(4, false, Refinery.class);
|
|
|
|
|
recipe.addInput(SolidBiofuel, 6);
|
|
|
|
|
recipe.addInput(Water, 3);
|
|
|
|
|
LiquidBiofuel.add(recipe, 4);
|
|
|
|
|
|
|
|
|
|
Recipe unpack = new Recipe(2, Buildings.PACKAGER);
|
|
|
|
|
Recipe unpack = new Recipe(2, Packager.class);
|
|
|
|
|
recipe.addInput(PackagedLiquidBiofuel, 2);
|
|
|
|
|
recipe.addOutput(LiquidBiofuel, 2);
|
|
|
|
|
recipe.addOutput(EmptyCanister, 2);
|
|
|
|
|
@ -753,11 +539,11 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Plastic
|
|
|
|
|
Recipe recipe = new Recipe(6, false, Buildings.REFINERY);
|
|
|
|
|
Recipe recipe = new Recipe(6, false, Refinery.class);
|
|
|
|
|
recipe.addInput(CrudeOil, 3);
|
|
|
|
|
recipe.addOutput(HeavyOilResidue, 1);
|
|
|
|
|
Plastic.add(recipe, 2);
|
|
|
|
|
Recipe residualPlastic = new Recipe(6, "Residual Plastic", false, Buildings.REFINERY);
|
|
|
|
|
Recipe residualPlastic = new Recipe(6, "Residual Plastic", false, Refinery.class);
|
|
|
|
|
residualPlastic.addInput(PolymerResin, 6);
|
|
|
|
|
residualPlastic.addInput(Water, 2);
|
|
|
|
|
Plastic.add(residualPlastic, 2);
|
|
|
|
|
@ -766,11 +552,11 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Rubber
|
|
|
|
|
Recipe recipe = new Recipe(6, false, Buildings.REFINERY);
|
|
|
|
|
Recipe recipe = new Recipe(6, false, Refinery.class);
|
|
|
|
|
recipe.addInput(CrudeOil, 3);
|
|
|
|
|
recipe.addOutput(HeavyOilResidue, 2);
|
|
|
|
|
Rubber.add(recipe, 2);
|
|
|
|
|
Recipe residualRubber = new Recipe(6, "Residual Rubber", false, Buildings.REFINERY);
|
|
|
|
|
Recipe residualRubber = new Recipe(6, "Residual Rubber", false, Refinery.class);
|
|
|
|
|
residualRubber.addInput(PolymerResin, 6);
|
|
|
|
|
residualRubber.addInput(Water, 4);
|
|
|
|
|
Rubber.add(residualRubber, 2);
|
|
|
|
|
@ -779,76 +565,76 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Petroleum Coke
|
|
|
|
|
Recipe recipe = new Recipe(6, false, Buildings.REFINERY);
|
|
|
|
|
Recipe recipe = new Recipe(6, false, Refinery.class);
|
|
|
|
|
recipe.addInput(HeavyOilResidue, 4);
|
|
|
|
|
PetroleumCoke.add(recipe, 12);
|
|
|
|
|
}
|
|
|
|
|
// TODO: verify below!
|
|
|
|
|
{
|
|
|
|
|
Recipe recipe = new Recipe(6, AluminumIngot, 3, Buildings.ASSEMBLER);
|
|
|
|
|
Recipe recipe = new Recipe(6, AluminumIngot, 3, Assembler.class);
|
|
|
|
|
recipe.addInput(CopperIngot, 1);
|
|
|
|
|
AlcladAluminumSheet.add(recipe, 3);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
Recipe recipe = new Recipe(120, QuartzCristal, 36, Buildings.MANUFACTURER);
|
|
|
|
|
Recipe recipe = new Recipe(120, QuartzCristal, 36, Manufacturer.class);
|
|
|
|
|
recipe.addInput(Cable, 28);
|
|
|
|
|
recipe.addInput(ReinforcedIronPlate, 5);
|
|
|
|
|
|
|
|
|
|
CrystalOscillator.add(recipe, 2);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
Recipe recipe = new Recipe(48, AluminumCasing, 32, Buildings.MANUFACTURER);
|
|
|
|
|
Recipe recipe = new Recipe(48, AluminumCasing, 32, Manufacturer.class);
|
|
|
|
|
recipe.addInput(CrystalOscillator, 1);
|
|
|
|
|
recipe.addInput(Computer, 1);
|
|
|
|
|
|
|
|
|
|
RadioControlUnit.add(recipe, 2);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
Recipe recipe = new Recipe(2, AluminumIngot, 3, Buildings.CONSTRUCTOR);
|
|
|
|
|
Recipe recipe = new Recipe(2, AluminumIngot, 3, Constructor.class);
|
|
|
|
|
AluminumCasing.add(recipe, 2);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
Recipe recipe = new Recipe(8, RawQuartz, 5, Buildings.CONSTRUCTOR);
|
|
|
|
|
Recipe recipe = new Recipe(8, RawQuartz, 5, Constructor.class);
|
|
|
|
|
QuartzCristal.add(recipe, 3);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
Recipe recipe = new Recipe(8, RawQuartz, 3, Buildings.CONSTRUCTOR);
|
|
|
|
|
Recipe recipe = new Recipe(8, RawQuartz, 3, Constructor.class);
|
|
|
|
|
Silica.add(recipe, 5);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
Recipe recipe = new Recipe(4, AluminumScrap, 6, Buildings.FOUNDRY);
|
|
|
|
|
Recipe recipe = new Recipe(4, AluminumScrap, 6, Foundry.class);
|
|
|
|
|
recipe.addInput(Silica, 5);
|
|
|
|
|
recipe.addOutput(AluminumIngot, 4);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
Recipe recipe = new Recipe(6, Buildings.REFINERY);
|
|
|
|
|
Recipe recipe = new Recipe(6, Refinery.class);
|
|
|
|
|
recipe.addInput(Bauxite, 12);
|
|
|
|
|
recipe.addInput(Water, 18);
|
|
|
|
|
recipe.addOutput(Silica, 5);
|
|
|
|
|
recipe.addOutput(AluminaSolution, 12);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
Recipe recipe = new Recipe(1, Buildings.REFINERY);
|
|
|
|
|
Recipe recipe = new Recipe(1, Refinery.class);
|
|
|
|
|
recipe.addInput(AluminaSolution, 4);
|
|
|
|
|
recipe.addInput(Coal, 2);
|
|
|
|
|
recipe.addOutput(AluminumScrap, 6);
|
|
|
|
|
recipe.addOutput(Water, 2);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
Recipe recipe = new Recipe(6, Buildings.REFINERY);
|
|
|
|
|
Recipe recipe = new Recipe(6, Refinery.class);
|
|
|
|
|
recipe.addInput(Sulfur, 5);
|
|
|
|
|
recipe.addInput(Water, 5);
|
|
|
|
|
recipe.addOutput(SulfuricAcid, 5);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
Recipe recipe = new Recipe(150, Buildings.MANUFACTURER);
|
|
|
|
|
Recipe recipe = new Recipe(150, Manufacturer.class);
|
|
|
|
|
recipe.addInput(EncasedUraniumCell, 50);
|
|
|
|
|
recipe.addInput(EncasedIndustrialBeam, 3);
|
|
|
|
|
recipe.addInput(ElectromagneticControlRod, 5);
|
|
|
|
|
recipe.addOutput(UraniumFuelRod, 1);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
Recipe recipe = new Recipe(12, Buildings.BLENDER);
|
|
|
|
|
Recipe recipe = new Recipe(12, Blender.class);
|
|
|
|
|
recipe.addInput(Uranium, 10);
|
|
|
|
|
recipe.addInput(Concrete, 3);
|
|
|
|
|
recipe.addInput(SulfuricAcid, 8);
|
|
|
|
|
@ -856,14 +642,14 @@ public class Database {
|
|
|
|
|
recipe.addOutput(SulfuricAcid, 2);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
Recipe recipe = new Recipe(120, Buildings.MANUFACTURER);
|
|
|
|
|
Recipe recipe = new Recipe(120, Manufacturer.class);
|
|
|
|
|
recipe.addInput(VersatileFrameWork, 5);
|
|
|
|
|
recipe.addInput(ElectromagneticControlRod, 5);
|
|
|
|
|
recipe.addInput(Battery, 10);
|
|
|
|
|
recipe.addOutput(MagneticFieldGenerator, 2);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
Recipe recipe = new Recipe(3, Buildings.BLENDER);
|
|
|
|
|
Recipe recipe = new Recipe(3, Blender.class);
|
|
|
|
|
recipe.addInput(SulfuricAcid, 2.5);
|
|
|
|
|
recipe.addInput(AluminaSolution, 2);
|
|
|
|
|
recipe.addInput(AluminumCasing, 1);
|
|
|
|
|
@ -871,25 +657,25 @@ public class Database {
|
|
|
|
|
recipe.addOutput(Water, 1.5);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
Recipe recipe = new Recipe(8, Buildings.ASSEMBLER);
|
|
|
|
|
Recipe recipe = new Recipe(8, Assembler.class);
|
|
|
|
|
recipe.addInput(AlcladAluminumSheet, 5);
|
|
|
|
|
recipe.addInput(CopperSheet, 3);
|
|
|
|
|
recipe.addOutput(HeatSink, 1);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
Recipe recipe = new Recipe(80, Buildings.ASSEMBLER);
|
|
|
|
|
Recipe recipe = new Recipe(80, Assembler.class);
|
|
|
|
|
recipe.addInput(AdaptiveControlUnit, 2);
|
|
|
|
|
recipe.addInput(SuperComputer, 1);
|
|
|
|
|
recipe.addOutput(AssemblyDirectorSystem, 1);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
Recipe recipe = new Recipe(30, Buildings.ASSEMBLER);
|
|
|
|
|
Recipe recipe = new Recipe(30, Assembler.class);
|
|
|
|
|
recipe.addInput(Stator, 3);
|
|
|
|
|
recipe.addInput(AILimiter, 2);
|
|
|
|
|
recipe.addOutput(ElectromagneticControlRod, 2);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
Recipe recipe = new Recipe(10, Buildings.BLENDER);
|
|
|
|
|
Recipe recipe = new Recipe(10, Blender.class);
|
|
|
|
|
recipe.addInput(HeatSink, 2);
|
|
|
|
|
recipe.addInput(Rubber, 2);
|
|
|
|
|
recipe.addInput(Water, 5);
|
|
|
|
|
@ -897,27 +683,27 @@ public class Database {
|
|
|
|
|
recipe.addOutput(CoolingSystem, 1);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
Recipe recipe = new Recipe(40, Buildings.BLENDER);
|
|
|
|
|
Recipe recipe = new Recipe(40, Blender.class);
|
|
|
|
|
recipe.addInput(HeavyModularFrame, 1);
|
|
|
|
|
recipe.addInput(AluminumCasing, 50);
|
|
|
|
|
recipe.addInput(NitrogenGas, 25);
|
|
|
|
|
recipe.addOutput(FusedModularFrame, 1);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
Recipe recipe = new Recipe(40, true, Buildings.EQUIPMENT_WORKSHOP);
|
|
|
|
|
Recipe recipe = new Recipe(40, true, EquipmentWorkshop.class);
|
|
|
|
|
recipe.addInput(IronPlate, 2);
|
|
|
|
|
recipe.addInput(IronRod, 2);
|
|
|
|
|
recipe.addOutput(PortableMiner, 1);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
//Turbofuel
|
|
|
|
|
Recipe recipe = new Recipe(3, Buildings.REFINERY);
|
|
|
|
|
Recipe recipe = new Recipe(3, Refinery.class);
|
|
|
|
|
//TODO: 60/18,75
|
|
|
|
|
recipe.addInput(Fuel, 6);
|
|
|
|
|
recipe.addInput(CompactedCoal, 4);
|
|
|
|
|
recipe.addOutput(Turbofuel, 5);
|
|
|
|
|
Turbofuel.add(recipe);
|
|
|
|
|
Recipe packaged = new Recipe(3, Buildings.PACKAGER);
|
|
|
|
|
Recipe packaged = new Recipe(3, Packager.class);
|
|
|
|
|
recipe.addInput(PackagedTurboFuel, 2);
|
|
|
|
|
recipe.addOutput(Turbofuel, 2);
|
|
|
|
|
recipe.addOutput(EmptyCanister, 2);
|
|
|
|
|
@ -925,7 +711,7 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Packaged Turbofuel
|
|
|
|
|
Recipe recipe = new Recipe(3, Buildings.PACKAGER);
|
|
|
|
|
Recipe recipe = new Recipe(3, Packager.class);
|
|
|
|
|
recipe.addInput(Turbofuel, 2);
|
|
|
|
|
recipe.addInput(EmptyCanister, 2);
|
|
|
|
|
recipe.addOutput(PackagedTurboFuel, 2);
|
|
|
|
|
@ -933,7 +719,7 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Compacted Coal
|
|
|
|
|
Recipe recipe = new Recipe(2, Buildings.ASSEMBLER);
|
|
|
|
|
Recipe recipe = new Recipe(2, Assembler.class);
|
|
|
|
|
//TODO: 60/25
|
|
|
|
|
recipe.addInput(Coal, 5);
|
|
|
|
|
recipe.addInput(Sulfur, 5);
|
|
|
|
|
@ -942,11 +728,11 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Iron Rebar
|
|
|
|
|
IronRebar.add(new Recipe(4, IronRod, 1, Buildings.CONSTRUCTOR));
|
|
|
|
|
IronRebar.add(new Recipe(4, IronRod, 1, Constructor.class));
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Stun Rebar
|
|
|
|
|
Recipe recipe = new Recipe(6, Buildings.ASSEMBLER);//TODO , EQUIPMENT_WORKSHOP)
|
|
|
|
|
Recipe recipe = new Recipe(6, Assembler.class);//TODO , EquipmentWorkshop.class)
|
|
|
|
|
recipe.addInput(IronRebar, 1);
|
|
|
|
|
recipe.addInput(Quickwire, 5);
|
|
|
|
|
recipe.addOutput(StunRebar, 1);
|
|
|
|
|
@ -954,7 +740,7 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Explosive Rebar
|
|
|
|
|
Recipe recipe = new Recipe(12, Buildings.MANUFACTURER);//TODO , EQUIPMENT_WORKSHOP)
|
|
|
|
|
Recipe recipe = new Recipe(12, Manufacturer.class);//TODO , EquipmentWorkshop.class)
|
|
|
|
|
recipe.addInput(IronRebar, 1);
|
|
|
|
|
recipe.addInput(SmokelessPowder, 2);
|
|
|
|
|
recipe.addInput(SteelPipe, 2);
|
|
|
|
|
@ -963,7 +749,7 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Rebar Gun
|
|
|
|
|
Recipe recipe = new Recipe(60, Buildings.EQUIPMENT_WORKSHOP);
|
|
|
|
|
Recipe recipe = new Recipe(60, EquipmentWorkshop.class);
|
|
|
|
|
recipe.addInput(ReinforcedIronPlate, 6);
|
|
|
|
|
recipe.addInput(IronRod, 16);
|
|
|
|
|
recipe.addInput(Screw, 100);
|
|
|
|
|
@ -972,7 +758,7 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Rifle Ammo
|
|
|
|
|
Recipe recipe = new Recipe(12, Buildings.ASSEMBLER);//TODO , EQUIPMENT_WORKSHOP)
|
|
|
|
|
Recipe recipe = new Recipe(12, Assembler.class);//TODO , EquipmentWorkshop.class)
|
|
|
|
|
recipe.addInput(CopperSheet, 3);
|
|
|
|
|
recipe.addInput(SmokelessPowder, 2);
|
|
|
|
|
recipe.addOutput(RifleAmmo, 15);
|
|
|
|
|
@ -980,7 +766,7 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Homing Rifle Ammo
|
|
|
|
|
Recipe recipe = new Recipe(12, Buildings.ASSEMBLER);//TODO , EQUIPMENT_WORKSHOP)
|
|
|
|
|
Recipe recipe = new Recipe(12, Assembler.class);//TODO , EquipmentWorkshop.class)
|
|
|
|
|
recipe.addInput(RifleAmmo, 20);
|
|
|
|
|
recipe.addInput(HighSpeedConnector, 1);
|
|
|
|
|
recipe.addOutput(HomingRifleAmmo, 10);
|
|
|
|
|
@ -988,7 +774,7 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Rifle
|
|
|
|
|
Recipe recipe = new Recipe(120, Buildings.EQUIPMENT_WORKSHOP);
|
|
|
|
|
Recipe recipe = new Recipe(120, EquipmentWorkshop.class);
|
|
|
|
|
recipe.addInput(Motor, 2);
|
|
|
|
|
recipe.addInput(Rubber, 10);
|
|
|
|
|
recipe.addInput(SteelPipe, 25);
|
|
|
|
|
@ -998,7 +784,7 @@ public class Database {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
// Smokeless Powder
|
|
|
|
|
Recipe recipe = new Recipe(6, Buildings.REFINERY);
|
|
|
|
|
Recipe recipe = new Recipe(6, Refinery.class);
|
|
|
|
|
recipe.addInput(BlackPowder, 2);
|
|
|
|
|
recipe.addInput(HeavyOilResidue, 1);
|
|
|
|
|
recipe.addOutput(SmokelessPowder, 2);
|
|
|
|
|
@ -1014,6 +800,4 @@ public class Database {
|
|
|
|
|
public static Collection<Item> getItems() {
|
|
|
|
|
return new HashSet<>(items);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|