mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 15:45:25 +01:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user