[MIRROR] Unglogs Soap and makes it work similar to how it used to (#11135)

Co-authored-by: Reo Lozzot <84661000+ReoDaProtovali@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-07-02 22:16:41 +02:00
committed by GitHub
co-authored by Reo Lozzot Kashargul
parent 7ca2e242b1
commit 043545d05d
6 changed files with 138 additions and 95 deletions
@@ -76,7 +76,7 @@
id = REAGENT_ID_WATER
result = REAGENT_ID_WATER
required_reagents = list(REAGENT_ID_OXYGEN = 1, REAGENT_ID_HYDROGEN = 2)
inhibitors = list(REAGENT_ID_CARBON = 1) // CHOMPAdd
inhibitors = list(REAGENT_ID_SODIUM = 1, REAGENT_ID_CARBON = 1) // So it doesnt turn into water when you try to make lye. // CHOMPEdit
result_amount = 1
/decl/chemical_reaction/instant/thermite
@@ -440,6 +440,13 @@
required_reagents = list (REAGENT_ID_AMMONIA = 1, REAGENT_ID_ETHANOL = 1)
result_amount = 2
/decl/chemical_reaction/instant/lye
name = REAGENT_LYE
id = REAGENT_ID_LYE
result = REAGENT_ID_LYE
required_reagents = list(REAGENT_ID_SODIUM = 1, REAGENT_ID_HYDROGEN = 1, REAGENT_ID_OXYGEN = 1)
result_amount = 3
/decl/chemical_reaction/instant/left4zed
name = "Left4Zed"
id = REAGENT_ID_LEFT4ZED
@@ -638,6 +645,31 @@
new /obj/item/stack/material/plastic(get_turf(holder.my_atom), created_volume)
return
/decl/chemical_reaction/instant/soapification
name = "Soapification"
id = "soapification"
result = null
required_reagents = list(REAGENT_ID_COOKINGOIL = 10, REAGENT_ID_LYE = 2)
result_amount = 1
/decl/chemical_reaction/instant/soapification/on_reaction(var/datum/reagents/holder, var/created_volume)
for(var/i = 1, i <= created_volume, i++)
new /obj/item/soap(get_turf(holder.my_atom))
/decl/chemical_reaction/instant/soapification/alt
name = "Soapification2"
id = "soapification2"
required_reagents = list(REAGENT_ID_CORNOIL = 10, REAGENT_ID_LYE = 2)
/decl/chemical_reaction/instant/soapification/gibs // a bit less convinient and grosser, but it makes more potent soap.
name = "Soapification Gibs"
id = "soapificationgibs"
required_reagents = list(REAGENT_ID_PROTEIN = 10, REAGENT_ID_LYE = 10) //Change the protein to liquid gibs if/when those get ported. Thanks.
/decl/chemical_reaction/instant/soapification/gibs/on_reaction(datum/reagents/holder, created_volume)
for(var/i = 1, i <= created_volume, i++)
new /obj/item/soap/homemade(get_turf(holder.my_atom))
/*Carpet Creation*/
/decl/chemical_reaction/instant/carpetify