Fixed Jestosterone removing clown waddles (#21035)

* Update misc_reagents.dm

* Update code/modules/reagents/chemistry/reagents/misc_reagents.dm

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>

---------

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
This commit is contained in:
Kyani
2023-05-05 16:48:52 -04:00
committed by GitHub
parent 87201198ef
commit 060bc0d741
@@ -489,9 +489,10 @@
else
to_chat(C, "<span class='warning'>Something doesn't feel right...</span>")
C.AdjustDizzy(volume STATUS_EFFECT_CONSTANT)
ADD_TRAIT(C, TRAIT_COMIC_SANS, id)
if(C.mind.assigned_role != "Clown")
ADD_TRAIT(C, TRAIT_COMIC_SANS, id)
C.AddElement(/datum/element/waddling)
C.AddComponent(/datum/component/squeak, null, null, null, null, null, TRUE, falloff_exponent = 20)
C.AddElement(/datum/element/waddling)
/datum/reagent/jestosterone/on_mob_life(mob/living/carbon/M)
var/update_flags = STATUS_UPDATE_NONE
@@ -525,9 +526,11 @@
/datum/reagent/jestosterone/on_mob_delete(mob/living/M)
..()
REMOVE_TRAIT(M, TRAIT_COMIC_SANS, id)
if(M.mind.assigned_role != "Clown")
REMOVE_TRAIT(M, TRAIT_COMIC_SANS, id)
M.RemoveElement(/datum/element/waddling)
qdel(M.GetComponent(/datum/component/squeak))
M.RemoveElement(/datum/element/waddling)
/datum/reagent/royal_bee_jelly
name = "Royal bee jelly"