anchor.diff:  	anchored = 1
   	density = 1
   	var/obj/item/weapon/book/cache		// Last scanned book
  +	var/stage = 0
   	
   /obj/machinery/libraryscanner/New()
   	..()
   	var/obj/item/weapon/circuitboard/machine/B = new /obj/item/weapon/circuitboard/machine/libraryscanner(null)
   	B.apply_default_parts(src)
  -
  +	
  +/obj/machinery/libraryscanner/Destroy()
  +	..()
  +	
   /obj/item/weapon/circuitboard/machine/libraryscanner
   	name = "circuit board (Library Scanner)"
   	build_path = /obj/machinery/libraryscanner
  
positive.code: 	req_components = list(
  		/obj/item/weapon/stock_parts/micro_laser = 1,
  		/obj/item/weapon/stock_parts/scanning_module = 1)
  
  /obj/machinery/libraryscanner/attackby(obj/O, mob/user, params)
  	if(istype(O, /obj/item/weapon/book))
  		if(!user.drop_item())
  			return
  		O.loc = src
  	else
  		return ..()
  
  
negative.code: 	anchored = 1
  	density = 1
  	var/busy = 0
  	var/stage = 0
  	
  /obj/machinery/bookbinder/New()
  	..()
  	var/obj/item/weapon/circuitboard/machine/B = new /obj/item/weapon/circuitboard/machine/bookbinder(null)
  	B.apply_default_parts(src)
  	
  /obj/machinery/bookbinder/Destroy()
  	..()
  	
  /obj/item/weapon/circuitboard/machine/bookbinder
  	name = "circuit board (Book Binder)"
  	build_path = /obj/machinery/bookbinder
  