Merge pull request #7899 from MistakeNot4892/fixes3

Couple of small fixes.
This commit is contained in:
Atermonera
2021-02-19 23:11:50 -08:00
committed by VirgoBot
parent 8d3fea472d
commit e0557c1926
2 changed files with 4 additions and 5 deletions
-3
View File
@@ -4709,9 +4709,6 @@
/mob/living/simple_mob/adultslime
composition_reagent = "slimejelly"
/mob/living/carbon/slime
composition_reagent = "slimejelly"
/mob/living/carbon/alien/diona
composition_reagent = "nutriment"//Dionae are plants, so eating them doesn't give animal protein
+4 -2
View File
@@ -170,9 +170,11 @@
if(!body_coverage)
return
if (fruit)
var/obj/item/organ/external/E = target.get_organ(target.hand ? BP_L_HAND : BP_R_HAND)
if(istype(E) && E.robotic < ORGAN_ROBOT && fruit)
var/injecting = min(5,max(1,get_trait(TRAIT_POTENCY)/5))
to_chat(target, "<span class='danger'>You are stung by \the [fruit]!</span>")
to_chat(target, SPAN_DANGER("You are stung by \the [fruit]!"))
for(var/chem in chems)
target.reagents.add_reagent(chem,injecting)
if (fruit.reagents)