anchor.diff:  	var/mobname
   	var/getdate
   	var/duedate
  -
  -/*
  - * Cachedbook datum
  - */
  -/datum/cachedbook // Datum used to cache the SQL DB books locally in order to achieve a performance gain.
  -	var/id
  -	var/title
  -	var/author
  -	var/category
  -
  -GLOBAL_LIST(cachedbooks) // List of our cached book datums
  -
  -
  -/proc/load_library_db_to_cache()
  -	if(GLOB.cachedbooks)
  -		return
  -	if(!SSdbcore.Connect())
  -		return
  -	GLOB.cachedbooks = list()
  -	var/datum/db_query/query_library_cache = SSdbcore.NewQuery("SELECT id, author, title, category FROM [format_table_name("library")] WHERE isnull(deleted)")
  -	if(!query_library_cache.Execute())
  -		qdel(query_library_cache)
  -		return
  -	while(query_library_cache.NextRow())
  -		var/datum/cachedbook/newbook = new()
  -		newbook.id = query_library_cache.item[1]
  -		newbook.author = query_library_cache.item[2]
  -		newbook.title = query_library_cache.item[3]
  -		newbook.category = query_library_cache.item[4]
  -		GLOB.cachedbooks += newbook
  -	qdel(query_library_cache)
  -
  -
   
   #define PRINTER_COOLDOWN 60
   
  
positive.code: 	popup.open()
  
  /obj/machinery/computer/libraryconsole/Topic(href, href_list)
  	. = ..()
  	if(.)
  		usr << browse(null, "window=publiclibrary")
  
negative.code: 	var/category = "Any"
  	var/author
  	var/search_page = 0
  	COOLDOWN_DECLARE(library_visitor_topic_cooldown)
  
  /obj/machinery/computer/libraryconsole/ui_interact(mob/user)
  	. = ..()
  