mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user