From f28b525e62d572339239bf9080affd605711f90c Mon Sep 17 00:00:00 2001 From: Social-Moth <117739059+Social-Moth@users.noreply.github.com> Date: Fri, 10 May 2024 08:36:24 -0500 Subject: [PATCH] Adds a bone tumor specific to slime people (#25320) * Adds flavor to slime people bone tumors * Adds slime tumor, a type of bone tumor * Update code/modules/reagents/chemistry/reagents/medicine.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: Social-Moth <117739059+Social-Moth@users.noreply.github.com> * Update code/modules/reagents/chemistry/reagents/medicine.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: Social-Moth <117739059+Social-Moth@users.noreply.github.com> * Update code/modules/surgery/organs/bone_tumor.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: Social-Moth <117739059+Social-Moth@users.noreply.github.com> * Update code/modules/surgery/organs/bone_tumor.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: Social-Moth <117739059+Social-Moth@users.noreply.github.com> * Update code/modules/surgery/organs/bone_tumor.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: Social-Moth <117739059+Social-Moth@users.noreply.github.com> * Update code/modules/reagents/chemistry/reagents/medicine.dm Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> Signed-off-by: Social-Moth <117739059+Social-Moth@users.noreply.github.com> --------- Signed-off-by: Social-Moth <117739059+Social-Moth@users.noreply.github.com> Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> --- code/modules/reagents/chemistry/reagents/medicine.dm | 5 ++++- code/modules/surgery/organs/bone_tumor.dm | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/code/modules/reagents/chemistry/reagents/medicine.dm b/code/modules/reagents/chemistry/reagents/medicine.dm index 9ed4d2a450c..0c1b82d9d0c 100644 --- a/code/modules/reagents/chemistry/reagents/medicine.dm +++ b/code/modules/reagents/chemistry/reagents/medicine.dm @@ -1020,7 +1020,10 @@ if(ishuman(M) && prob(5)) var/mob/living/carbon/human/H = M if(!H.get_int_organ(/obj/item/organ/internal/bone_tumor)) - new/obj/item/organ/internal/bone_tumor(H) + if(isslimeperson(H)) + new /obj/item/organ/internal/bone_tumor/slime_tumor(H) + else + new /obj/item/organ/internal/bone_tumor(H) return ..() diff --git a/code/modules/surgery/organs/bone_tumor.dm b/code/modules/surgery/organs/bone_tumor.dm index 98d070f39bd..6a90f4035e1 100644 --- a/code/modules/surgery/organs/bone_tumor.dm +++ b/code/modules/surgery/organs/bone_tumor.dm @@ -27,3 +27,7 @@ for(var/obj/item/organ/internal/I in other_groin_organs) I.receive_damage(rand(5, 15) + tumor_damage_modifier) + +/obj/item/organ/internal/bone_tumor/slime_tumor + name = "crystalized slime jelly" +