From cf94d6458b594ae83750c88fdc3800146a60a42e Mon Sep 17 00:00:00 2001 From: "petethegoat@gmail.com" Date: Thu, 20 Oct 2011 00:17:38 +0000 Subject: [PATCH] Books can't be abused by dickbags any more! Books are now named "Book: Woody's got wood", instead of "Cryptographic Sequencer". git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2398 316c924e-a436-60f5-8080-3fe189b3f50e --- code/game/magic/library.dm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/game/magic/library.dm b/code/game/magic/library.dm index 5ca71b8dcd..e855d74fa8 100644 --- a/code/game/magic/library.dm +++ b/code/game/magic/library.dm @@ -169,11 +169,12 @@ due_date = 0 // Game time in 1/10th seconds author // Who wrote the thing, can be changed by pen or PC. It is not automatically assigned unique = 0 // 0 - Normal book, 1 - Should not be treated as normal book, unable to be copied, unable to be modified + title // The real name of the book. attack_self(var/mob/user as mob) if(src.dat) user << browse("Penned by [author].
" + "[dat]", "window=book") - user.visible_message("[user] opens a book titled \"[src.name]\" and begins reading intently.") + user.visible_message("[user] opens a book titled \"[src.title]\" and begins reading intently.") onclose(user, "book") else user << "This book is completely blank!" @@ -654,7 +655,8 @@ datum/borrowbook // Datum used to keep track of who has borrowed what when and f var/title = query.item[3] var/content = query.item[4] var/obj/item/weapon/book/B = new(src.loc) - B.name = title + B.name = "Book: [title]" + B.title = title B.author = author B.dat = content B.icon_state = "book[rand(1,7)]"