Skip to content

Commit

Permalink
Fixed Jestosterone removing clown waddles (ParadiseSS13#21035)
Browse files Browse the repository at this point in the history
* Update misc_reagents.dm

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

Co-authored-by: SteelSlayer <[email protected]>

---------

Co-authored-by: SteelSlayer <[email protected]>
  • Loading branch information
EmeraldCandy and SteelSlayer authored May 5, 2023
1 parent 8720119 commit 060bc0d
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions code/modules/reagents/chemistry/reagents/misc_reagents.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 060bc0d

Please sign in to comment.