From 3234bceaf975c24f05f6aa8ffcce8d8326d03f63 Mon Sep 17 00:00:00 2001 From: "baloh.matevz" Date: Fri, 10 Feb 2012 16:52:36 +0000 Subject: [PATCH] Added some logging for religions on SS13. Lots the chosen religion, deity name and book style. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3078 316c924e-a436-60f5-8080-3fe189b3f50e --- code/game/jobs/job/civilian_chaplain.dm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/code/game/jobs/job/civilian_chaplain.dm b/code/game/jobs/job/civilian_chaplain.dm index 538b229501b..d363d9d72ae 100644 --- a/code/game/jobs/job/civilian_chaplain.dm +++ b/code/game/jobs/job/civilian_chaplain.dm @@ -55,6 +55,7 @@ B.name = pick("Principle of Relativity", "Quantum Enigma: Physics Encounters Consciousness", "Programming the Universe", "Quantum Physics and Theology", "String Theory for Dummies", "How To: Build Your Own Warp Drive", "The Mysteries of Bluespace", "Playing God: Collector's Edition") else B.name = "The Holy Book of [new_religion]" + feedback_set_details("religion_name","[new_religion]") spawn(1) var/deity_name = "Space Jesus" @@ -73,10 +74,12 @@ var/outoftime = 0 spawn(200) // 20 seconds to choose outoftime = 1 + var/new_book_style = "Bible" + while(!accepted) if(!B) break // prevents possible runtime errors - - switch(input(H,"Which bible style would you like?") in list("Bible", "Koran", "Scrapbook", "Creeper", "White Bible", "Holy Light", "Athiest", "Tome", "The King in Yellow", "Ithaqua", "Scientology", "the bible melts", "Necronomicon")) + new_book_style = input(H,"Which bible style would you like?") in list("Bible", "Koran", "Scrapbook", "Creeper", "White Bible", "Holy Light", "Athiest", "Tome", "The King in Yellow", "Ithaqua", "Scientology", "the bible melts", "Necronomicon") + switch(new_book_style) if("Koran") B.icon_state = "koran" B.item_state = "koran" @@ -148,4 +151,6 @@ ticker.Bible_icon_state = B.icon_state ticker.Bible_item_state = B.item_state ticker.Bible_name = B.name + feedback_set_details("religion_deity","[new_deity]") + feedback_set_details("religion_book","[new_book_style]") return 1 \ No newline at end of file