mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-22 04:39:05 +01:00
repaths /decal/cleanable to /debris/cleanable to prep for persistence serialization (#4359)
* wild * regex maps * regex code * that Co-authored-by: VM_USER <VM_USER>
This commit is contained in:
co-authored by
VM_USER <VM_USER>
parent
fc7cc96bc8
commit
867868f32b
@@ -105,11 +105,11 @@
|
||||
var/fear_amount = 0
|
||||
for(var/atom/thing in view(5, holder)) // It's 5 and not 7 so players have a chance to go away before getting the prompts, and for performance.
|
||||
// Blood stains are bad.
|
||||
if(istype(thing, /obj/effect/decal/cleanable/blood))
|
||||
var/obj/effect/decal/cleanable/blood/B = thing
|
||||
if(istype(thing, /obj/effect/debris/cleanable/blood))
|
||||
var/obj/effect/debris/cleanable/blood/B = thing
|
||||
// Tracks are special, apparently.
|
||||
if(istype(thing, /obj/effect/decal/cleanable/blood/tracks))
|
||||
var/obj/effect/decal/cleanable/blood/tracks/T = B
|
||||
if(istype(thing, /obj/effect/debris/cleanable/blood/tracks))
|
||||
var/obj/effect/debris/cleanable/blood/tracks/T = B
|
||||
for(var/datum/fluidtrack/F in T.stack)
|
||||
if(F.basecolor != SYNTH_BLOOD_COLOUR)
|
||||
fear_amount++
|
||||
@@ -195,7 +195,7 @@
|
||||
|
||||
var/fear_amount = 0
|
||||
for(var/atom/thing in view(5, holder)) // See haemophobia for why this is 5.
|
||||
if(istype(thing, /obj/effect/decal/cleanable/spiderling_remains)) // Dead spiderlings are a bit spooky.
|
||||
if(istype(thing, /obj/effect/debris/cleanable/spiderling_remains)) // Dead spiderlings are a bit spooky.
|
||||
fear_amount += 1
|
||||
|
||||
if(istype(thing, /obj/effect/spider/spiderling)) // Live spiderlings are also spooky.
|
||||
@@ -410,7 +410,7 @@
|
||||
if(istype(thing, /obj/item/weed_extract))
|
||||
fear_amount += 1
|
||||
|
||||
if(istype(thing, /obj/effect/decal/cleanable/mucus)) // Blennophobia apparently includes mucus, so!
|
||||
if(istype(thing, /obj/effect/debris/cleanable/mucus)) // Blennophobia apparently includes mucus, so!
|
||||
fear_amount += 2
|
||||
|
||||
if(istype(thing, /obj/item/slime_extract)) // Gooey.
|
||||
|
||||
Reference in New Issue
Block a user