Files
Aurora.3/code/game/objects/effects/decals/cleanable.dm
Lohikar 8db472ae15 More stats (#3562)
* MORE STATS FOR THE STATS GODS

* save them to the db
2017-10-06 19:39:15 +02:00

16 lines
389 B
Plaintext

/obj/effect/decal/cleanable
var/list/random_icon_states
/obj/effect/decal/cleanable/clean_blood(var/ignore = 0)
if(!ignore)
qdel(src)
return
..()
/obj/effect/decal/cleanable/Initialize(mapload)
if (LAZYLEN(random_icon_states))
icon_state = pick(src.random_icon_states)
. = ..()
if (!mapload && ROUND_IS_STARTED)
SSfeedback.IncrementSimpleStat("messes_made")