mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 21:19:00 +01:00
Prevents final summon rune by being cleaned by normal methods (#16224)
* Prevents final summon rune by being cleaned by normal methods * Makes it a proc * Moves cleanable, makes it work with space cleaner
This commit is contained in:
@@ -57,10 +57,12 @@
|
||||
taste_description = "floor cleaner"
|
||||
|
||||
/datum/reagent/space_cleaner/reaction_obj(obj/O, volume)
|
||||
if(is_cleanable(O))
|
||||
var/obj/effect/decal/cleanable/blood/B = O
|
||||
if(!(istype(B) && B.off_floor))
|
||||
qdel(O)
|
||||
if(istype(O, /obj/effect))
|
||||
var/obj/effect/E = O
|
||||
if(E.is_cleanable())
|
||||
var/obj/effect/decal/cleanable/blood/B = E
|
||||
if(!(istype(B) && B.off_floor))
|
||||
qdel(E)
|
||||
else
|
||||
if(O.simulated)
|
||||
O.color = initial(O.color)
|
||||
|
||||
Reference in New Issue
Block a user