mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 21:40:55 +01:00
Allows painting of padded stools, chairs and beds. (#12855)
This commit is contained in:
@@ -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>")
|
||||
|
||||
Reference in New Issue
Block a user