Merge pull request #2898 from Anewbe/spidereggs

Lowers spider egg implantation rate, warns victim
This commit is contained in:
MagmaRam
2017-01-12 17:37:18 -06:00
committed by GitHub
2 changed files with 39 additions and 1 deletions
@@ -82,11 +82,12 @@
. = ..()
if(ishuman(.))
var/mob/living/carbon/human/H = .
if(prob(poison_chance))
if(prob(5))
var/obj/item/organ/external/O = pick(H.organs)
if(!(O.robotic >= ORGAN_ROBOT))
var/eggs = PoolOrNew(/obj/effect/spider/eggcluster/, list(O, src))
O.implants += eggs
H << "<span class='warning'>The [src] injects something into your [O.name]!</span>"
/mob/living/simple_animal/hostile/giant_spider/Life()
..()