So Long and Thanks For All The Fish (#10061)

Cleanable messes that appear on space tiles now fade away in five seconds.

Ported from NebulaSS13/Nebula#899
This commit is contained in:
Geeves
2020-09-27 14:12:07 +02:00
committed by GitHub
parent 1e322fcfb4
commit 4b5dec030f
2 changed files with 12 additions and 1 deletions

View File

@@ -25,4 +25,9 @@
icon_state = pick(src.random_icon_states)
. = ..()
if (!mapload && ROUND_IS_STARTED)
SSfeedback.IncrementSimpleStat("messes_made")
SSfeedback.IncrementSimpleStat("messes_made")
var/turf/T = get_turf(src)
if(T.is_space())
animate(src, alpha = 0, time = 5 SECONDS)
QDEL_IN(src, 5 SECONDS)