Merge pull request #311 from Sandstorm-Station/duct-piping

Several duct pipe fixes/qol
This commit is contained in:
SandPoot
2023-02-21 16:42:57 -03:00
committed by SandPoot
parent b86c508b5a
commit 2bdec078d7
6 changed files with 73 additions and 44 deletions
@@ -120,7 +120,7 @@
return round(A / max(1, all_materials[mat] * ef))
/obj/machinery/rnd/production/proc/efficient_with(path)
return !ispath(path, /obj/item/stack/sheet) && !ispath(path, /obj/item/stack/ore/bluespace_crystal)
return !ispath(path, /obj/item/stack/sheet) && !ispath(path, /obj/item/stack/ore/bluespace_crystal) && !ispath(path, /obj/item/stack/ducts)
/obj/machinery/rnd/production/proc/user_try_print_id(id, amount)
if((!istype(linked_console) && requires_console) || !id)