Revert "Ore Stacking (#33062)"

This reverts commit 8e1ac5720d.
This commit is contained in:
Kyle Spier-Swenson
2017-11-28 22:56:54 -08:00
committed by GitHub
parent 8e1ac5720d
commit 8c4885cf6e
54 changed files with 265 additions and 264 deletions
+2 -2
View File
@@ -83,10 +83,10 @@
return ..()
/obj/machinery/mineral/processing_unit/HasProximity(atom/movable/AM)
if(istype(AM, /obj/item/stack/ore) && AM.loc == get_step(src, input_dir))
if(istype(AM, /obj/item/ore) && AM.loc == get_step(src, input_dir))
process_ore(AM)
/obj/machinery/mineral/processing_unit/proc/process_ore(obj/item/stack/ore/O)
/obj/machinery/mineral/processing_unit/proc/process_ore(obj/item/ore/O)
GET_COMPONENT(materials, /datum/component/material_container)
var/material_amount = materials.get_item_material_amount(O)
if(!materials.has_space(material_amount))