mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
code'sie has risen
This commit is contained in:
@@ -24,7 +24,7 @@ var/global/list/image/splatter_cache=list()
|
||||
/obj/effect/decal/cleanable/blood/New()
|
||||
..()
|
||||
update_icon()
|
||||
if(ticker && ticker.mode && ticker.mode.name == "cult")
|
||||
if(ticker && ticker.mode && istype(ticker.mode.name, "cult"))
|
||||
var/datum/game_mode/cult/mode_ticker = ticker.mode
|
||||
var/turf/T = get_turf(src)
|
||||
if(T && (T.z == ZLEVEL_STATION))//F I V E T I L E S
|
||||
@@ -45,15 +45,13 @@ var/global/list/image/splatter_cache=list()
|
||||
dry()
|
||||
|
||||
/obj/effect/decal/cleanable/blood/Destroy()
|
||||
|
||||
if(ticker.mode && ticker.mode.name == "cult")
|
||||
if(ticker.mode && istype(ticker.mode.name, "cult"))
|
||||
var/datum/game_mode/cult/mode_ticker = ticker.mode
|
||||
var/turf/T = get_turf(src)
|
||||
if(T && (T.z == ZLEVEL_STATION))
|
||||
mode_ticker.bloody_floors -= T
|
||||
mode_ticker.blood_check()
|
||||
..()
|
||||
|
||||
.=..()
|
||||
|
||||
/obj/effect/decal/cleanable/blood/update_icon()
|
||||
if(basecolor == "rainbow") basecolor = "#[pick(list("FF0000","FF7F00","FFFF00","00FF00","0000FF","4B0082","8F00FF"))]"
|
||||
|
||||
Reference in New Issue
Block a user