mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-12 23:54:24 +01:00
fix bad ssprocesing (#18487)
This commit is contained in:
@@ -12,11 +12,14 @@
|
||||
else
|
||||
spawning_id = new_chem
|
||||
break
|
||||
|
||||
/obj/item/reagent_containers/glass/replenishing/Destroy()
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
. = ..()
|
||||
|
||||
/obj/item/reagent_containers/glass/replenishing/process()
|
||||
reagents.add_reagent(spawning_id, 0.3)
|
||||
|
||||
|
||||
|
||||
//a talking gas mask!
|
||||
/obj/item/clothing/mask/gas/poltergeist
|
||||
var/list/heard_talk = list()
|
||||
@@ -27,6 +30,10 @@
|
||||
. = ..()
|
||||
START_PROCESSING(SSobj, src)
|
||||
|
||||
/obj/item/clothing/mask/gas/poltergeist/Destroy()
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
. = ..()
|
||||
|
||||
/obj/item/clothing/mask/gas/poltergeist/process()
|
||||
if(heard_talk.len && isliving(src.loc) && prob(10))
|
||||
var/mob/living/M = src.loc
|
||||
@@ -40,8 +47,6 @@
|
||||
if(isliving(src.loc) && world.time - last_twitch > 50)
|
||||
last_twitch = world.time
|
||||
|
||||
|
||||
|
||||
//a vampiric statuette
|
||||
//todo: cult integration
|
||||
/obj/item/vampiric
|
||||
@@ -61,6 +66,10 @@
|
||||
. = ..()
|
||||
START_PROCESSING(SSobj, src)
|
||||
|
||||
/obj/item/vampiric/Destroy()
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
. = ..()
|
||||
|
||||
/obj/item/vampiric/process()
|
||||
//see if we've identified anyone nearby
|
||||
if(world.time - last_bloodcall > bloodcall_interval && nearby_mobs.len)
|
||||
@@ -150,6 +159,10 @@
|
||||
START_PROCESSING(SSobj, src)
|
||||
loc_last_process = src.loc
|
||||
|
||||
/obj/effect/decal/cleanable/blood/splatter/animated/Destroy()
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
. = ..()
|
||||
|
||||
/obj/effect/decal/cleanable/blood/splatter/animated/process()
|
||||
if(target_turf && src.loc != target_turf)
|
||||
step_towards(src,target_turf)
|
||||
@@ -180,6 +193,10 @@
|
||||
. = ..()
|
||||
START_PROCESSING(SSobj, src)
|
||||
|
||||
/obj/effect/shadow_wight/Destroy()
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
. = ..()
|
||||
|
||||
/obj/effect/shadow_wight/process()
|
||||
if(src.loc)
|
||||
src.loc = get_turf(pick(orange(1,src)))
|
||||
|
||||
Reference in New Issue
Block a user