From 7c8a138f60ebe5c0f7d83c92d4d5b4f38ac6c686 Mon Sep 17 00:00:00 2001 From: Nerd Lord Date: Tue, 29 Dec 2015 16:01:14 -0500 Subject: [PATCH] Sneaks in a new book sprite that's totally white colored, no blue dot. --- code/modules/library/lib_machines.dm | 6 +++--- code/modules/library/random_books.dm | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/modules/library/lib_machines.dm b/code/modules/library/lib_machines.dm index a14996e18b9..aa59022f094 100644 --- a/code/modules/library/lib_machines.dm +++ b/code/modules/library/lib_machines.dm @@ -174,7 +174,7 @@ var/global/list/datum/cachedbook/cachedbooks // List of our cached book datums var/checkoutperiod = 5 // In minutes var/obj/machinery/libraryscanner/scanner // Book scanner that will be used when uploading books to the Archive var/list/libcomp_menu - var/page = 1 //current page of the external archives + var/page = 1 //current page of the external archives var/bibledelay = 0 // LOL NO SPAM (1 minute delay) -- Doohl /obj/machinery/computer/libraryconsole/bookmanagement/proc/build_library_menu() @@ -184,7 +184,7 @@ var/global/list/datum/cachedbook/cachedbooks // List of our cached book datums if(!cachedbooks) return libcomp_menu = list("") - + for(var/i in 1 to cachedbooks.len) var/datum/cachedbook/C = cachedbooks[i] var/page = round(i/250)+1 @@ -434,7 +434,7 @@ var/global/list/datum/cachedbook/cachedbooks // List of our cached book datums B.title = title B.author = author B.dat = content - B.icon_state = "book[rand(1,7)]" + B.icon_state = "book[rand(1,8)]" src.visible_message("[src]'s printer hums as it produces a completely bound book. How did it do that?") break src.add_fingerprint(usr) diff --git a/code/modules/library/random_books.dm b/code/modules/library/random_books.dm index 16c3dee6ac9..56514b6113d 100644 --- a/code/modules/library/random_books.dm +++ b/code/modules/library/random_books.dm @@ -39,7 +39,7 @@ B.title = query.item[3] B.dat = query.item[4] B.name = "Book: [B.title]" - B.icon_state= "book[rand(1,7)]" + B.icon_state= "book[rand(1,8)]" else log_game("SQL ERROR populating library bookshelf. Category: \[[category]\], Count: [book_count], Error: \[[query.ErrorMsg()]\]\n") update_icon()