mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Delay awaymission terrorspider gibbing. (#17652)
This commit is contained in:
@@ -70,14 +70,6 @@
|
||||
egg_progress += pick(0, 1, 2)
|
||||
egg_progress += calc_variable_progress()
|
||||
|
||||
// Detect & stop people attempting to bring a gateway white spider infection back to the main station.
|
||||
if(awaymission_infection)
|
||||
var/turf/T = get_turf(owner)
|
||||
if(istype(T) && !is_away_level(T.z))
|
||||
owner.gib()
|
||||
qdel(src)
|
||||
return
|
||||
|
||||
// Once at least one egg has hatched from you, you'll need help to reach medbay.
|
||||
if(eggs_hatched >= 1)
|
||||
owner.SetConfused(45)
|
||||
@@ -99,6 +91,16 @@
|
||||
return extra_progress
|
||||
|
||||
/obj/item/organ/internal/body_egg/terror_eggs/proc/hatch_egg()
|
||||
// Detect & stop people attempting to bring a gateway white spider infection back to the main station.
|
||||
if(awaymission_infection)
|
||||
var/turf/T = get_turf(owner)
|
||||
if(istype(T) && !is_away_level(T.z))
|
||||
owner.gib()
|
||||
// give a hint of the cause of death
|
||||
new /obj/effect/decal/cleanable/spiderling_remains(T)
|
||||
qdel(src)
|
||||
return
|
||||
|
||||
var/infection_completed = FALSE
|
||||
var/obj/structure/spider/spiderling/terror_spiderling/S = new(get_turf(owner))
|
||||
switch(eggs_hatched)
|
||||
|
||||
Reference in New Issue
Block a user