mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 13:37:58 +01:00
Removes Dirty Floors (#12519)
This commit is contained in:
committed by
variableundefined
parent
51f65222ec
commit
a4641cc0cf
@@ -1130,9 +1130,6 @@ var/list/robot_verbs_default = list(
|
||||
var/turf/tile = loc
|
||||
if(isturf(tile))
|
||||
var/floor_only = TRUE
|
||||
if(istype(tile, /turf/simulated))
|
||||
var/turf/simulated/S = tile
|
||||
S.dirt = 0
|
||||
for(var/A in tile)
|
||||
if(istype(A, /obj/effect))
|
||||
if(is_cleanable(A))
|
||||
|
||||
@@ -81,9 +81,6 @@
|
||||
|
||||
for(var/mob/living/simple_animal/slime/M in T)
|
||||
M.adjustToxLoss(rand(5, 10))
|
||||
if(istype(T, /turf/simulated))
|
||||
var/turf/simulated/S = T
|
||||
S.dirt = 0
|
||||
|
||||
/datum/reagent/space_cleaner/reaction_mob(mob/living/M, method=TOUCH, volume)
|
||||
if(iscarbon(M))
|
||||
|
||||
@@ -194,8 +194,7 @@
|
||||
|
||||
for(var/obj/effect/decal/cleanable/M in view(2, E.loc))//germs from messes
|
||||
if(AStar(E.loc, M.loc, /turf/proc/Distance, 2, simulated_only = 0))
|
||||
if(!istype(M,/obj/effect/decal/cleanable/dirt))//dirt is too common
|
||||
germs++
|
||||
germs++
|
||||
|
||||
if(tool.blood_DNA && tool.blood_DNA.len) //germs from blood-stained tools
|
||||
germs += 30
|
||||
|
||||
@@ -49,9 +49,6 @@
|
||||
var/turf/tile = loc
|
||||
if(isturf(tile))
|
||||
tile.clean_blood()
|
||||
if(istype(tile, /turf/simulated/floor))
|
||||
var/turf/simulated/floor/F = tile
|
||||
F.dirt = 0
|
||||
for(var/A in tile)
|
||||
if(is_cleanable(A))
|
||||
qdel(A)
|
||||
|
||||
Reference in New Issue
Block a user