Skip to content

Commit

Permalink
Update deployable.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
InsightfulParasite committed Dec 6, 2023
1 parent d4c2d71 commit e4f18f3
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions code/game/machinery/deployable.dm
Original file line number Diff line number Diff line change
Expand Up @@ -63,23 +63,6 @@
bar_material = WOOD
var/drop_amount = 3

/obj/structure/barricade/wooden/attackby(obj/item/I, mob/user)
if(istype(I,/obj/item/stack/sheet/mineral/wood))
var/obj/item/stack/sheet/mineral/wood/W = I
if(W.amount < 5)
to_chat(user, span_warning("You need at least five wooden planks to make a wall!"))
return
else
to_chat(user, span_notice("You start adding [I] to [src]..."))
if(do_after(user, 50, target=src))
W.use(5)
var/turf/T = get_turf(src)
T.PlaceOnTop(/turf/closed/wall/mineral/wood/nonmetal)
qdel(src)
return
return ..()


/obj/structure/barricade/wooden/crude
name = "crude plank barricade"
desc = "This space is blocked off by a crude assortment of planks."
Expand Down

0 comments on commit e4f18f3

Please sign in to comment.