mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
Dirt Fixes. Pass ALL the attack_by's to the floor.
Conflicts: code/game/objects/effects/decals/Cleanable/misc.dm
This commit is contained in:
@@ -33,6 +33,15 @@
|
||||
icon = 'icons/effects/effects.dmi'
|
||||
icon_state = "dirt"
|
||||
|
||||
|
||||
/obj/effect/decal/cleanable/attackby(obj/item/weapon/W as obj, mob/user as mob)
|
||||
if(!istype(W,/obj/item/weapon/mop) && !istype(W,/obj/item/weapon/soap))
|
||||
var/turf/T = get_turf(src)
|
||||
if(T)
|
||||
T.attackby(W,user)
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/effect/decal/cleanable/flour
|
||||
name = "flour"
|
||||
desc = "It's still good. Four second rule!"
|
||||
|
||||
Reference in New Issue
Block a user