From 05aad3bfd29b8915c8af7df0e69fd00cb7c3273d Mon Sep 17 00:00:00 2001 From: EnrichedCaramel Date: Sat, 16 Aug 2025 03:59:58 -0300 Subject: [PATCH] Expand soap making, but better (#39303) * 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 --- .../Locale/en-US/reagents/meta/chemicals.ftl | 3 + Resources/Prototypes/Flavors/flavors.yml | 5 + Resources/Prototypes/Reagents/chemicals.yml | 15 +++ .../Recipes/Reactions/chemicals.yml | 10 ++ .../Prototypes/Recipes/Reactions/fun.yml | 28 ----- .../Prototypes/Recipes/Reactions/soap.yml | 119 ++++++++++++++++++ 6 files changed, 152 insertions(+), 28 deletions(-) create mode 100644 Resources/Prototypes/Recipes/Reactions/soap.yml diff --git a/Resources/Locale/en-US/reagents/meta/chemicals.ftl b/Resources/Locale/en-US/reagents/meta/chemicals.ftl index f5dfec7d6a..eca057c9ac 100644 --- a/Resources/Locale/en-US/reagents/meta/chemicals.ftl +++ b/Resources/Locale/en-US/reagents/meta/chemicals.ftl @@ -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. diff --git a/Resources/Prototypes/Flavors/flavors.yml b/Resources/Prototypes/Flavors/flavors.yml index 8eef7e1cb5..513803e102 100644 --- a/Resources/Prototypes/Flavors/flavors.yml +++ b/Resources/Prototypes/Flavors/flavors.yml @@ -1484,6 +1484,11 @@ flavorType: Complex description: flavor-complex-artifact-glue +- type: flavor + id: alkaline + flavorType: Base + description: flavor-base-alkaline + - type: flavor id: motivating flavorType: Base diff --git a/Resources/Prototypes/Reagents/chemicals.yml b/Resources/Prototypes/Reagents/chemicals.yml index 45c55ce4dd..11945d1dc9 100644 --- a/Resources/Prototypes/Reagents/chemicals.yml +++ b/Resources/Prototypes/Reagents/chemicals.yml @@ -51,6 +51,21 @@ 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 diff --git a/Resources/Prototypes/Recipes/Reactions/chemicals.yml b/Resources/Prototypes/Recipes/Reactions/chemicals.yml index 959488376c..fef96df5cf 100644 --- a/Resources/Prototypes/Recipes/Reactions/chemicals.yml +++ b/Resources/Prototypes/Recipes/Reactions/chemicals.yml @@ -532,3 +532,13 @@ amount: 1 products: ArtifactGlue: 2 + +- type: reaction + id: Lye + reactants: + Water: + amount: 1 + Ash: + amount: 1 + products: + Lye: 2 diff --git a/Resources/Prototypes/Recipes/Reactions/fun.yml b/Resources/Prototypes/Recipes/Reactions/fun.yml index 87a9682102..35987b6be5 100644 --- a/Resources/Prototypes/Recipes/Reactions/fun.yml +++ b/Resources/Prototypes/Recipes/Reactions/fun.yml @@ -24,34 +24,6 @@ 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 index 0000000000..d07c582f8b --- /dev/null +++ b/Resources/Prototypes/Recipes/Reactions/soap.yml @@ -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 -- 2.51.2