From c5913c25bbb9dcf63b3a01b90ae42abb5c0f8fb7 Mon Sep 17 00:00:00 2001 From: PastelPrinceDan Date: Sun, 10 Oct 2021 23:49:04 +0100 Subject: [PATCH] no more crashes PLEASE holy shit i'm DONE --- code/modules/mining/ore_box.dm | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/code/modules/mining/ore_box.dm b/code/modules/mining/ore_box.dm index bda08a903de..d55d3aefb44 100644 --- a/code/modules/mining/ore_box.dm +++ b/code/modules/mining/ore_box.dm @@ -58,35 +58,6 @@ for(var/ore in stored_ore) . += "- [stored_ore[ore]] [ore]" -/obj/structure/ore_box/verb/empty_box() - set name = "Empty Ore Box" - set category = "Object" - set src in view(1) - - if(!ishuman(usr) && !isrobot(usr)) //Only living, intelligent creatures with gripping aparatti can empty ore boxes. - to_chat(usr, "You are physically incapable of emptying the ore box.") - return - - if(usr.stat || usr.restrained()) - return - - if(!Adjacent(usr)) //You can only empty the box if you can physically reach it - to_chat(usr, "You cannot reach the ore box.") - return - - add_fingerprint(usr) - - if(contents.len < 1) - to_chat(usr, "The ore box is empty.") - return - - for (var/obj/item/weapon/ore/O in contents) - contents -= O - O.loc = src.loc - to_chat(usr, "You empty the ore box.") - - return - /obj/structure/ore_box/ex_act(severity) if(severity == 1.0 || (severity < 3.0 && prob(50))) for (var/obj/item/weapon/ore/O in contents)