Soap stops swearing (#20162)

* technically functional

* technically functional

* more logically coded, credit to Contra and Mira

* yes this is more logical

* Sean and Fox reviews

* webeditor heresy
This commit is contained in:
Coolrune206
2023-01-18 11:32:28 -05:00
committed by GitHub
parent 802408a923
commit bf4212d24a
5 changed files with 55 additions and 1 deletions
@@ -908,6 +908,20 @@
if(volume >= 5 && !isspaceturf(T))
new /obj/item/reagent_containers/food/snacks/breadslice(T)
/datum/reagent/soap
name = "Soap"
id = "soapreagent"
description = "Soap, fit to clean the mouth of a sailor."
reagent_state = SOLID
color = "#FFFFFF"
taste_description = "soap"
/datum/reagent/soap/on_mob_add(mob/living/L)
ADD_TRAIT(L, TRAIT_SOAPY_MOUTH, id)
/datum/reagent/soap/on_mob_delete(mob/living/L)
REMOVE_TRAIT(L, TRAIT_SOAPY_MOUTH, id)
///Vomit///
/datum/reagent/vomit