From a7824363f99d60dadf86fcc43249b21d534010b1 Mon Sep 17 00:00:00 2001 From: Sharkmare <34294231+Sharkmare@users.noreply.github.com> Date: Wed, 6 Mar 2019 07:49:24 +0100 Subject: [PATCH] Liquid spidereggs Liquid spidereggs to inject. Unlike the nurse this first incubates the eggs in your bloodstream before they hatch, Process should work similiar to affect_blood --- .../Chemistry-Reagents_chomp.dm | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents_chomp.dm b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents_chomp.dm index 5270d8101f..89ab2b45f3 100644 --- a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents_chomp.dm +++ b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents_chomp.dm @@ -63,6 +63,44 @@ for(var/i = 1, i <= created_volume, i++) new /obj/item/weapon/reagent_containers/food/snacks/monkeycube/sarucube(location) return + +//this kinda counts +//LIQUID EGG +/datum/chemical_reaction/liquidspideregg + name = "spider eggs" + id = "spideregg" + description = "These are eggs, spiders crawl out of these.. probably not healthy inside of a person." + taste_description = "SO MANY LEGS" + reagent_state = LIQUID + color = "#FFFFFF" + overdose = REAGENTS_OVERDOSE * 100 + metabolism = REM * 0.1 + scannable = 1 + var/amount_grown = 0 + var/min_growth = 0 + var/max_growth = 2 + var/spiders_min = 6 + var/spiders_max = 24 + var/spider_type = /obj/effect/spider/spiderling + +/datum/reagent/liquidspideregg/affect_blood(var/mob/living/carbon/M, var/alien, var/removed) + if(prob(1)) + M.custom_pain("You can feel movement within your body!",45) + amount_grown += rand(min_growth,max_growth) + if(amount_grown >= 100) + min_growth++ + max_growth++ + amount_grown = 0 + var/num = rand(spiders_min, spiders_max) + var/obj/item/organ/external/O = null + if(istype(loc, /obj/item/organ/external)) + O = loc + + for(var/i=0, i