Alternative PR to brass apples: Adds bronze sheets (#35874)

* Adds bronze sheets

* nope!
This commit is contained in:
Ashe Higgs
2018-03-02 13:35:58 +13:00
committed by oranges
parent 47a4aee4bf
commit d1edd8f505
11 changed files with 179 additions and 1 deletions
@@ -76,6 +76,14 @@
to_chat(user, "<span class='notice'>You start adding [C] to [src]...</span>")
if(do_after(user, 20, target = src) && C.use(1))
make_new_table(/obj/structure/table/wood/fancy)
else if(istype(I, /obj/item/stack/tile/bronze))
var/obj/item/stack/tile/bronze/B = I
if(B.get_amount() < 1)
to_chat(user, "<span class='warning'>You need one bronze sheet to do this!</span>")
return
to_chat(user, "<span class='notice'>You start adding [B] to [src]...</span>")
if(do_after(user, 20, target = src) && B.use(1))
make_new_table(/obj/structure/table/bronze)
else
return ..()