Bug fixes

- Fixes not being able to put multiple items into a processor.
- Fixes monkey recycler design having the same ID as the smartfridge.
This commit is contained in:
DZD
2015-08-22 14:02:41 -04:00
parent 32c849a1d5
commit 9f6cc85d7a
2 changed files with 2 additions and 9 deletions
+1 -8
View File
@@ -137,10 +137,6 @@
return 0
/obj/machinery/processor/attackby(var/obj/item/O as obj, var/mob/user as mob, params)
if(!istype(O))
return
var/obj/item/what = O
if(src.processing)
user << "<span class='warning'>\the [src] is already processing something!</span>"
@@ -157,10 +153,7 @@
default_deconstruction_crowbar(O)
if(src.contents.len > 0) //TODO: several items at once? several different items?
user << "<span class='warning'>Something is already in the processing chamber.</span>"
return 1
var/obj/item/what = O
if (istype(O, /obj/item/weapon/grab))
var/obj/item/weapon/grab/G = O
@@ -265,7 +265,7 @@
/datum/design/monkey_recycler
name = "Machine Design (Monkey Recycler Board)"
desc = "The circuit board for a monkey recycler."
id = "smartfridge"
id = "monkey_recycler"
req_tech = list("programming" = 1)
build_type = IMPRINTER
materials = list("$glass" = 1000, "sacid" = 20)