]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Expand soap making, but better (#39303)
authorEnrichedCaramel <enriched.caramel@gmail.com>
Sat, 16 Aug 2025 06:59:58 +0000 (03:59 -0300)
committerGitHub <noreply@github.com>
Sat, 16 Aug 2025 06:59:58 +0000 (23:59 -0700)
* Add lye reagent and its recipes

* Move and add soap recipes

* Add temperature to soap recipes

* Silly comments

* Remove NaHO based lye recipe due to sigynate recipe conflict.

* Typo

* Typo, again

* Change lye color and description

Resources/Locale/en-US/reagents/meta/chemicals.ftl
Resources/Prototypes/Flavors/flavors.yml
Resources/Prototypes/Reagents/chemicals.yml
Resources/Prototypes/Recipes/Reactions/chemicals.yml
Resources/Prototypes/Recipes/Reactions/fun.yml
Resources/Prototypes/Recipes/Reactions/soap.yml [new file with mode: 0644]

index f5dfec7d6ae893c2019dfd1a072d6206ac7cf813..eca057c9accf9160363ede02b2004dd261d5d259 100644 (file)
@@ -33,3 +33,6 @@ reagent-desc-cellulose = A crystaline polydextrose polymer, plants swear by this
 
 reagent-name-rororium = rororium
 reagent-desc-rororium = A strange substance which fills the cores of the hivelords that roam the mining asteroid. Thought to be the source of their regenerative powers.
+
+reagent-name-lye = lye
+reagent-desc-lye = A translucent, orange, alkaline solution used in traditional soap production.
index 8eef7e1cb5ee927f400efe74e1650233d9357a12..513803e1025eeb2f36d04383b76f42da99d7bf23 100644 (file)
   flavorType: Complex
   description: flavor-complex-artifact-glue
 
+- type: flavor
+  id: alkaline
+  flavorType: Base
+  description: flavor-base-alkaline
+
 - type: flavor
   id: motivating
   flavorType: Base
index 45c55ce4dd3b16a157048c7685719899feb5a035..11945d1dc9198994ac453cb150fce3858b62e0d1 100644 (file)
   physicalDesc: reagent-physical-desc-powdery
   color: white
 
+- type: reagent
+  id: Lye
+  name: reagent-name-lye
+  desc: reagent-desc-lye
+  flavor: alkaline
+  physicalDesc: reagent-physical-desc-alkaline
+  color: "#e5420b"
+  metabolisms:
+    Poison:
+      effects:
+      - !type:HealthChange
+        damage:
+          types:
+            Caustic: 1
+
 - type: reagent
   id: SodiumCarbonate
   name: reagent-name-sodium-carbonate
index 959488376c6c8f526f86a959e18f71dc9116c501..fef96df5cfcd7972fd79b35b2ec391ba753cadbf 100644 (file)
       amount: 1
   products:
     ArtifactGlue: 2
+
+- type: reaction
+  id: Lye
+  reactants:
+    Water:
+      amount: 1
+    Ash:
+      amount: 1
+  products:
+    Lye: 2
index 87a9682102a5111d4652be847d1b67f556de13ec..35987b6be5c30752b48d7e6a87f19a881ee75e87 100644 (file)
   products:
     BuzzochloricBees: 3
 
-- type: reaction
-  id: CreateSoap
-  impact: Low
-  quantized: true
-  reactants:
-    Fat:
-      amount: 15
-    Saline:
-      amount: 25
-  effects:
-    - !type:CreateEntityReactionEffect
-      entity: Soap
-
-- type: reaction
-  id: CreateSoapHomemade
-  impact: Low
-  quantized: true
-  reactants:
-    Fat:
-      amount: 15
-    TableSalt:
-      amount: 10
-    Blood:
-      amount: 10
-  effects:
-    - !type:CreateEntityReactionEffect
-      entity: SoapHomemade
-
 - type: reaction
   id: Meatification
   impact: Low
diff --git a/Resources/Prototypes/Recipes/Reactions/soap.yml b/Resources/Prototypes/Recipes/Reactions/soap.yml
new file mode 100644 (file)
index 0000000..d07c582
--- /dev/null
@@ -0,0 +1,119 @@
+- type: reaction
+  id: CreateSoapRegular
+  impact: Low
+  quantized: true
+  minTemp: 383 # Water boiling point + 10 Kelvin. We are boiling it
+  reactants:
+    Oil:
+      amount: 10
+    Lye:
+      amount: 15
+    TableSalt:
+      amount: 5
+  effects:
+    - !type:CreateEntityReactionEffect
+      entity: Soap
+
+- type: reaction
+  id: CreateSoapNT
+  impact: Low
+  quantized: true
+  minTemp: 373 # Water boiling point. We are boiling it too, but with higher priority!
+  reactants:
+    Oil:
+      amount: 15
+    Lye:
+      amount: 20
+    TableSalt:
+      amount: 5
+    Plasma:
+      amount: 5
+  effects:
+    - !type:CreateEntityReactionEffect
+      entity: SoapNT
+
+- type: reaction
+  id: CreateSoapDeluxe
+  impact: Low
+  quantized: true
+  minTemp: 373
+  reactants:
+    Oil:
+      amount: 15
+    Lye:
+      amount: 20
+    TableSalt:
+      amount: 5
+    JuiceBerry:
+      amount: 5
+  effects:
+    - !type:CreateEntityReactionEffect
+      entity: SoapDeluxe
+
+- type: reaction
+  id: CreateSoapBlood
+  impact: Low
+  quantized: true
+  minTemp: 373
+  reactants:
+    Fat:
+      amount: 10
+    Lye:
+      amount: 20
+    TableSalt:
+      amount: 5
+    Blood:
+      amount: 10
+  effects:
+    - !type:CreateEntityReactionEffect
+      entity: SoapHomemade
+
+- type: reaction
+  id: CreateSoapSyndie
+  impact: Medium
+  quantized: true
+  minTemp: 373
+  reactants:
+    Oil:
+      amount: 15
+    Lye:
+      amount: 20
+    TableSalt:
+      amount: 5
+    Stimulants:
+      amount: 5
+  effects:
+    - !type:CreateEntityReactionEffect
+      entity: SoapSyndie
+
+- type: reaction
+  id: CreateSoapOmega
+  impact: Medium
+  quantized: true
+  minTemp: 373
+  reactants:
+    Oil:
+      amount: 5
+    Fat:
+      amount: 5
+    Lye:
+      amount: 10
+    TableSalt:
+      amount: 5
+    Honk:
+      amount: 10
+    SpaceLube:
+      amount: 5
+    SpaceDrugs:
+      amount: 3
+    THC:
+      amount: 2
+    Bananadine:
+      amount: 2
+    Omnizine:
+      amount: 2
+    Amatoxin:
+      amount: 1
+  effects:
+    - !type:CreateEntityReactionEffect
+      entity: SoapOmega