mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
suggested change
using the METAL check
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
new stacktype(get_turf(src), drop_amount)
|
||||
|
||||
/obj/structure/barricade/welder_act(mob/user, obj/item/I)
|
||||
if(bar_material != METAL)
|
||||
return
|
||||
if(obj_integrity >= max_integrity)
|
||||
to_chat(user, "<span class='notice'>[src] does not need repairs.</span>")
|
||||
return
|
||||
@@ -71,8 +73,6 @@
|
||||
bar_material = WOOD
|
||||
stacktype = /obj/item/stack/sheet/wood
|
||||
|
||||
/obj/structure/barricade/wooden/welder_act(mob/user, obj/item/I)
|
||||
return
|
||||
|
||||
/obj/structure/barricade/wooden/attackby(obj/item/I, mob/user)
|
||||
if(istype(I,/obj/item/stack/sheet/wood))
|
||||
|
||||
Reference in New Issue
Block a user