mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-24 04:26:38 +01:00
@@ -12,6 +12,7 @@
|
||||
icon_state = "guard"
|
||||
icon_living = "guard"
|
||||
icon_dead = "guard_dead"
|
||||
isEdible = 0
|
||||
|
||||
faction = "spiders"
|
||||
intelligence_level = SA_ANIMAL
|
||||
@@ -582,6 +583,19 @@ Spider Procs
|
||||
busy = 0
|
||||
stop_automated_movement = 0
|
||||
|
||||
//CHOMPEDIT LIQUID EGG INJECTORS
|
||||
/mob/living/simple_animal/hostile/giant_spider/frost/liquidegg
|
||||
desc = "Icy and blue. This one has brilliant blue eyes, to seduce you into accepting its eggs."
|
||||
tt_desc = "X Brachypelma ovum pruinae"
|
||||
icon_state = "frost"
|
||||
icon_living = "frost"
|
||||
icon_dead = "frost_dead"
|
||||
|
||||
maxHealth = 175
|
||||
health = 175
|
||||
|
||||
poison_per_bite = 7
|
||||
poison_type = "spideregg"
|
||||
|
||||
#undef SPINNING_WEB
|
||||
#undef LAYING_EGGS
|
||||
|
||||
@@ -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/reagent/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(M.loc, /obj/item/organ/external))
|
||||
O = M.loc
|
||||
|
||||
for(var/i=0, i<num, i++)
|
||||
var/spiderling = new spider_type(M.loc, M)
|
||||
if(O)
|
||||
O.implants += spiderling
|
||||
|
||||
////////////////////////////////////
|
||||
//////////// MEDICINE /////////
|
||||
//////////////////////////////////
|
||||
|
||||
@@ -128,10 +128,7 @@
|
||||
//CHOMPEDIT: Snowflake synx hook
|
||||
if(istype(M,/mob/living/simple_animal/retaliate/synx))
|
||||
var/syntox = digest_brute+digest_burn
|
||||
var/old_tox = owner.getToxLoss()
|
||||
owner.adjustToxLoss(syntox)
|
||||
var/actual_tox = M.getToxLoss() - old_tox
|
||||
var/damage_gain = syntox
|
||||
if(M.health <= M.maxHealth)
|
||||
M.health = M.health + syntox*2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user