You can no longer build tables from rods or floor tiles (#48585)

🆑 floyd
fix: You can no longer dupe mats by making tables from rods
/🆑

apparently you could use rods and floor tiles to finish tables, now you can only use sheets.

fixes #48547
This commit is contained in:
Qustinnus
2020-01-29 11:40:59 +13:00
committed by GitHub
parent f03669e920
commit 83d8030bea
+2 -2
View File
@@ -31,7 +31,7 @@
return
var/obj/item/stack/material = I
if (istype(I, /obj/item/stack))
if (istype(material))
if(material?.tableVariant)
if(material.get_amount() < 1)
to_chat(user, "<span class='warning'>You need one [material.name] sheet to do this!</span>")
@@ -39,7 +39,7 @@
to_chat(user, "<span class='notice'>You start adding [material] to [src]...</span>")
if(do_after(user, 20, target = src) && material.use(1))
make_new_table(material.tableVariant)
else
else if(istype(material, /obj/item/stack/sheet))
if(material.get_amount() < 1)
to_chat(user, "<span class='warning'>You need one sheet to do this!</span>")
return