Allows painting of padded stools, chairs and beds. (#12855)

This commit is contained in:
Wowzewow (Wezzy)
2021-12-26 21:12:36 +01:00
committed by GitHub
parent e2abc62193
commit 96f1c79d0e
8 changed files with 269 additions and 164 deletions
@@ -76,14 +76,23 @@
var/obj/structure/heavy_vehicle_frame/EF = A
if(istype(EF))
playsound(get_turf(src), 'sound/effects/spray3.ogg', 30, 1, -6)
EF.set_colour(paint_colour)
return
var/obj/item/mech_component/MC = A
if(istype(MC))
playsound(get_turf(src), 'sound/effects/spray3.ogg', 30, 1, -6)
MC.set_colour(paint_colour)
return
var/obj/structure/bed/B = A
if(istype(B))
playsound(get_turf(src), 'sound/effects/spray3.ogg', 30, 1, -6)
B.set_colour(paint_colour)
B.update_icon()
return
var/turf/simulated/floor/F = A
if(!istype(F))
to_chat(user, "<span class='warning'>\The [src] can only be used on station flooring.</span>")