Add electrolysis/centrifuge breakdown recipes (#22571)
* first pass * chemical breakdowns !!!! * mintemp salt because why not * we don't really need this, no? * if at first we don't succeed... * ...then run debug tests again
This commit is contained in:
@@ -18,7 +18,6 @@ public abstract class SharedSolutionContainerMixerSystem : EntitySystem
|
|||||||
[Dependency] private readonly INetManager _net = default!;
|
[Dependency] private readonly INetManager _net = default!;
|
||||||
[Dependency] private readonly SharedAppearanceSystem _appearance = default!;
|
[Dependency] private readonly SharedAppearanceSystem _appearance = default!;
|
||||||
[Dependency] private readonly SharedAudioSystem _audio = default!;
|
[Dependency] private readonly SharedAudioSystem _audio = default!;
|
||||||
[Dependency] private readonly ChemicalReactionSystem _chemicalReaction = default!;
|
|
||||||
[Dependency] private readonly SharedContainerSystem _container = default!;
|
[Dependency] private readonly SharedContainerSystem _container = default!;
|
||||||
[Dependency] private readonly SharedPopupSystem _popup = default!;
|
[Dependency] private readonly SharedPopupSystem _popup = default!;
|
||||||
[Dependency] private readonly SolutionContainerSystem _solution = default!;
|
[Dependency] private readonly SolutionContainerSystem _solution = default!;
|
||||||
@@ -102,7 +101,7 @@ public abstract class SharedSolutionContainerMixerSystem : EntitySystem
|
|||||||
if (!_solution.TryGetFitsInDispenser(ent, out var solution))
|
if (!_solution.TryGetFitsInDispenser(ent, out var solution))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
_chemicalReaction.FullyReactSolution(solution, ent, solution.MaxVolume, reactionMixer);
|
_solution.UpdateChemicals(ent, solution, true, reactionMixer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,13 +4,13 @@ reagent-desc-acetone = A slick, slightly carcinogenic liquid. Has a multitude of
|
|||||||
reagent-name-phenol = phenol
|
reagent-name-phenol = phenol
|
||||||
reagent-desc-phenol = An aromatic ring of carbon with a hydroxyl group. A useful precursor to some medicines, but has no healing properties on its own.
|
reagent-desc-phenol = An aromatic ring of carbon with a hydroxyl group. A useful precursor to some medicines, but has no healing properties on its own.
|
||||||
|
|
||||||
reagent-name-sodium-carbonate = Sodium Carbonate
|
reagent-name-sodium-carbonate = sodium carbonate
|
||||||
reagent-desc-sodium-carbonate = A white, odorless, water-soluble salt that yields an alkaline solution in water. Also known as soda ash.
|
reagent-desc-sodium-carbonate = A white, odorless, water-soluble salt that yields an alkaline solution in water. Also known as soda ash.
|
||||||
|
|
||||||
reagent-name-artifexium = artifexium
|
reagent-name-artifexium = artifexium
|
||||||
reagent-desc-artifexium = A lavender mixture of microscopic artifact fragments and a strong acid. It has the ability to activate artifacts.
|
reagent-desc-artifexium = A lavender mixture of microscopic artifact fragments and a strong acid. It has the ability to activate artifacts.
|
||||||
|
|
||||||
reagent-name-sodium-polyacrylate = Sodium Polyacrylate
|
reagent-name-sodium-polyacrylate = sodium polyacrylate
|
||||||
reagent-desc-sodium-polyacrylate = A super-absorbent polymer with assorted industrial uses.
|
reagent-desc-sodium-polyacrylate = A super-absorbent polymer with assorted industrial uses.
|
||||||
|
|
||||||
reagent-name-cellulose = cellulose fibers
|
reagent-name-cellulose = cellulose fibers
|
||||||
|
|||||||
@@ -4,17 +4,17 @@ reagent-desc-carpetium = A mystical chemical, usually outsourced from the Clown
|
|||||||
reagent-name-fiber = fiber
|
reagent-name-fiber = fiber
|
||||||
reagent-desc-fiber = A raw material, usually extracted from wool or other fabric products.
|
reagent-desc-fiber = A raw material, usually extracted from wool or other fabric products.
|
||||||
|
|
||||||
reagent-name-buzzochloric-bees = Buzzochloric Bees
|
reagent-name-buzzochloric-bees = buzzochloric bees
|
||||||
reagent-desc-buzzochloric-bees = Liquid bees. Oh god it's LIQUID BEES NO-
|
reagent-desc-buzzochloric-bees = Liquid bees. Oh god it's LIQUID BEES NO-
|
||||||
|
|
||||||
reagent-name-ground-bee = Ground Bee
|
reagent-name-ground-bee = ground Bee
|
||||||
reagent-desc-ground-bee = Bee grounds. Gross.
|
reagent-desc-ground-bee = Bee grounds. Gross.
|
||||||
|
|
||||||
reagent-name-saxoite = Saxoite
|
reagent-name-saxoite = saxoite
|
||||||
reagent-desc-saxoite = Smells like jazz.
|
reagent-desc-saxoite = Smells like jazz.
|
||||||
|
|
||||||
reagent-name-licoxide = Licoxide
|
reagent-name-licoxide = licoxide
|
||||||
reagent-desc-licoxide = A synthetic battery acid. It looks... electrifying.
|
reagent-desc-licoxide = A synthetic battery acid. It looks... electrifying.
|
||||||
|
|
||||||
reagent-name-razorium = Razorium
|
reagent-name-razorium = razorium
|
||||||
reagent-desc-razorium = A strange, non-newtonian chemical. It is produced when two conflicting brute medications are combined. When force is applied to it, it temporarily hardens creating millions of tiny, sharp edges. Very painful.
|
reagent-desc-razorium = A strange, non-newtonian chemical. It is produced when two conflicting brute medications are combined. When force is applied to it, it temporarily hardens creating millions of tiny, sharp edges. Very painful.
|
||||||
|
|||||||
50
Resources/Prototypes/Recipes/Reactions/biological.yml
Normal file
50
Resources/Prototypes/Recipes/Reactions/biological.yml
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
- type: reaction
|
||||||
|
id: BloodBreakdown
|
||||||
|
requiredMixerCategories:
|
||||||
|
- Centrifuge
|
||||||
|
reactants:
|
||||||
|
Blood:
|
||||||
|
amount: 20
|
||||||
|
products:
|
||||||
|
Water: 11
|
||||||
|
Iron: 0.5
|
||||||
|
Sugar: 2
|
||||||
|
CarbonDioxide: 3
|
||||||
|
Protein: 4
|
||||||
|
|
||||||
|
- type: reaction
|
||||||
|
id: SlimeBloodBreakdown
|
||||||
|
requiredMixerCategories:
|
||||||
|
- Centrifuge
|
||||||
|
reactants:
|
||||||
|
Slime:
|
||||||
|
amount: 5
|
||||||
|
products:
|
||||||
|
Water: 4
|
||||||
|
Nitrogen: 1
|
||||||
|
|
||||||
|
- type: reaction
|
||||||
|
id: CopperBloodBreakdown
|
||||||
|
requiredMixerCategories:
|
||||||
|
- Centrifuge
|
||||||
|
reactants:
|
||||||
|
CopperBlood:
|
||||||
|
amount: 20
|
||||||
|
products:
|
||||||
|
Water: 11
|
||||||
|
Copper: 0.5
|
||||||
|
Sugar: 2
|
||||||
|
CarbonDioxide: 3
|
||||||
|
Protein: 4
|
||||||
|
|
||||||
|
- type: reaction
|
||||||
|
id: ZombieBloodBreakdown
|
||||||
|
requiredMixerCategories:
|
||||||
|
- Centrifuge
|
||||||
|
reactants:
|
||||||
|
ZombieBlood:
|
||||||
|
amount: 4
|
||||||
|
products:
|
||||||
|
Mold: 2
|
||||||
|
Protein: 1
|
||||||
|
Toxin: 1
|
||||||
@@ -8,6 +8,17 @@
|
|||||||
products:
|
products:
|
||||||
Ammonia: 4
|
Ammonia: 4
|
||||||
|
|
||||||
|
- type: reaction
|
||||||
|
id: CelluloseBreakdown
|
||||||
|
requiredMixerCategories:
|
||||||
|
- Electrolysis
|
||||||
|
reactants:
|
||||||
|
Cellulose:
|
||||||
|
amount: 3
|
||||||
|
products:
|
||||||
|
Sugar: 2
|
||||||
|
Carbon: 1
|
||||||
|
|
||||||
- type: reaction
|
- type: reaction
|
||||||
id: Diethylamine
|
id: Diethylamine
|
||||||
reactants:
|
reactants:
|
||||||
@@ -20,6 +31,8 @@
|
|||||||
|
|
||||||
- type: reaction
|
- type: reaction
|
||||||
id: Phenol
|
id: Phenol
|
||||||
|
minTemp: 325
|
||||||
|
maxTemp: 480
|
||||||
reactants:
|
reactants:
|
||||||
Oxygen:
|
Oxygen:
|
||||||
amount: 1
|
amount: 1
|
||||||
@@ -197,6 +210,7 @@
|
|||||||
|
|
||||||
- type: reaction
|
- type: reaction
|
||||||
id: TableSalt
|
id: TableSalt
|
||||||
|
minTemp: 370
|
||||||
reactants:
|
reactants:
|
||||||
Chlorine:
|
Chlorine:
|
||||||
amount: 1
|
amount: 1
|
||||||
@@ -205,6 +219,17 @@
|
|||||||
products:
|
products:
|
||||||
TableSalt: 2
|
TableSalt: 2
|
||||||
|
|
||||||
|
- type: reaction
|
||||||
|
id: TableSaltBreakdown
|
||||||
|
requiredMixerCategories:
|
||||||
|
- Electrolysis
|
||||||
|
reactants:
|
||||||
|
TableSalt:
|
||||||
|
amount: 2
|
||||||
|
products:
|
||||||
|
Chlorine: 1
|
||||||
|
Sodium: 1
|
||||||
|
|
||||||
- type: reaction
|
- type: reaction
|
||||||
id: Thermite
|
id: Thermite
|
||||||
impact: Medium
|
impact: Medium
|
||||||
|
|||||||
@@ -260,6 +260,18 @@
|
|||||||
products:
|
products:
|
||||||
ErikaSurprise: 6
|
ErikaSurprise: 6
|
||||||
|
|
||||||
|
- type: reaction
|
||||||
|
id: EthanolBreakdown
|
||||||
|
requiredMixerCategories:
|
||||||
|
- Electrolysis
|
||||||
|
reactants:
|
||||||
|
Ethanol:
|
||||||
|
amount: 9
|
||||||
|
products:
|
||||||
|
Hydrogen: 6
|
||||||
|
Carbon: 2
|
||||||
|
Oxygen: 1
|
||||||
|
|
||||||
- type: reaction
|
- type: reaction
|
||||||
id: FourteenLoko
|
id: FourteenLoko
|
||||||
reactants:
|
reactants:
|
||||||
@@ -881,6 +893,17 @@
|
|||||||
products:
|
products:
|
||||||
TheMartinez: 6
|
TheMartinez: 6
|
||||||
|
|
||||||
|
- type: reaction
|
||||||
|
id: WaterBreakdown
|
||||||
|
requiredMixerCategories:
|
||||||
|
- Electrolysis
|
||||||
|
reactants:
|
||||||
|
Water:
|
||||||
|
amount: 3
|
||||||
|
products:
|
||||||
|
Hydrogen: 2
|
||||||
|
Oxygen: 1
|
||||||
|
|
||||||
- type: reaction
|
- type: reaction
|
||||||
id: WhiteGilgamesh
|
id: WhiteGilgamesh
|
||||||
reactants:
|
reactants:
|
||||||
|
|||||||
@@ -298,3 +298,25 @@
|
|||||||
products:
|
products:
|
||||||
Vinaigrette: 3
|
Vinaigrette: 3
|
||||||
|
|
||||||
|
- type: reaction
|
||||||
|
id: BananaBreakdown
|
||||||
|
requiredMixerCategories:
|
||||||
|
- Centrifuge
|
||||||
|
reactants:
|
||||||
|
JuiceBanana:
|
||||||
|
amount: 10
|
||||||
|
products:
|
||||||
|
Sugar: 9
|
||||||
|
Potassium: 1
|
||||||
|
|
||||||
|
- type: reaction
|
||||||
|
id: SugarBreakdown
|
||||||
|
minTemp: 520
|
||||||
|
reactants:
|
||||||
|
Sugar:
|
||||||
|
amount: 4
|
||||||
|
products:
|
||||||
|
Carbon: 1
|
||||||
|
Oxygen: 1
|
||||||
|
Hydrogen: 2
|
||||||
|
|
||||||
|
|||||||
@@ -107,3 +107,17 @@
|
|||||||
effects:
|
effects:
|
||||||
- !type:CreateEntityReactionEffect
|
- !type:CreateEntityReactionEffect
|
||||||
entity: SheetPlastic1
|
entity: SheetPlastic1
|
||||||
|
|
||||||
|
- type: reaction
|
||||||
|
id: FiberBreakdown
|
||||||
|
requiredMixerCategories:
|
||||||
|
- Centrifuge
|
||||||
|
reactants:
|
||||||
|
Fiber:
|
||||||
|
amount: 5
|
||||||
|
Water:
|
||||||
|
amount: 10
|
||||||
|
catalyst: true
|
||||||
|
products:
|
||||||
|
Carbon: 3
|
||||||
|
Sugar: 2
|
||||||
|
|||||||
21
Resources/Prototypes/Recipes/Reactions/gas.yml
Normal file
21
Resources/Prototypes/Recipes/Reactions/gas.yml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
- type: reaction
|
||||||
|
id: CarbonDioxideBreakdown
|
||||||
|
requiredMixerCategories:
|
||||||
|
- Electrolysis
|
||||||
|
reactants:
|
||||||
|
CarbonDioxide:
|
||||||
|
amount: 3
|
||||||
|
products:
|
||||||
|
Carbon: 1
|
||||||
|
Oxygen: 2
|
||||||
|
|
||||||
|
- type: reaction
|
||||||
|
id: NitrousOxideBreakdown
|
||||||
|
requiredMixerCategories:
|
||||||
|
- Electrolysis
|
||||||
|
reactants:
|
||||||
|
NitrousOxide:
|
||||||
|
amount: 3
|
||||||
|
products:
|
||||||
|
Nitrogen: 2
|
||||||
|
Oxygen: 1
|
||||||
@@ -60,3 +60,15 @@
|
|||||||
amount: 1
|
amount: 1
|
||||||
products:
|
products:
|
||||||
Ash: 1
|
Ash: 1
|
||||||
|
|
||||||
|
- type: reaction
|
||||||
|
id: WeldingFuelBreakdown
|
||||||
|
requiredMixerCategories:
|
||||||
|
- Centrifuge
|
||||||
|
reactants:
|
||||||
|
WeldingFuel:
|
||||||
|
amount: 10
|
||||||
|
products:
|
||||||
|
Ethanol: 5
|
||||||
|
Hydrogen: 3
|
||||||
|
Sulfur: 2
|
||||||
|
|||||||
Reference in New Issue
Block a user