Library computers now print generic bibles + More sprite choices for setting bibles (#16033)

* Library computers now print generic bibles

* Changelog

* Fixes + adds more bible sprite choices

---------

Co-authored-by: Gabby <martinezgabby576@gmail.com>
This commit is contained in:
feartheblackout
2023-03-27 16:16:38 +00:00
committed by GitHub
co-authored by Gabby
parent 09510db5a0
commit d0532a16e8
3 changed files with 67 additions and 9 deletions
@@ -49,7 +49,7 @@
return
var/religion_name = "Christianity"
var/new_religion = sanitize(input(user, "You are the crew services officer. Would you like to change your religion? Default is Christianity, in SPACE.", "Name change", religion_name), MAX_NAME_LEN)
var/new_religion = sanitize(input(user, "Would you like to change your religion? Default is Christianity, in SPACE.", "Name change", religion_name), MAX_NAME_LEN)
if(!new_religion)
new_religion = religion_name
@@ -58,6 +58,7 @@
if(book_name)
name = book_name
if(user.mind && (user.mind.assigned_role == "Chaplain"))
SSticker.Bible_name = book_name
var/new_book_style = input(user,"Which bible style would you like?") in list("Generic", "Bible", "White Bible", "Melted Bible", "Quran", "Torah", "Holy Light", "Tome", "Scroll", "The King in Yellow", "Ithaqua", "Trinary", "Stars", "Scrapbook", "Atheist", "Necronomicon")
@@ -107,12 +108,25 @@
if("Necronomicon")
icon_state = "necronomicon"
item_state = "necronomicon"
if("Luceism")
icon_state = "luce2"
item_state = "luce2"
if("Trinary")
icon_state = "trinary"
item_state = "trinary"
if("Skrell")
icon_state = "skrellbible"
item_state = "skrellbible"
if("Diona Eternal")
icon_state = "eternal"
item_state = "eternal"
else
var/randbook = "book" + pick("1", "2", "3", "4", "5", "6" , "7", "8", "9", "10", "11", "12", "13" , "14", "15" , "16")
icon_state = randbook
item_state = randbook
SSticker.Bible_icon_state = icon_state
SSticker.Bible_item_state = item_state
if(user.mind && (user.mind.assigned_role == "Chaplain"))
SSticker.Bible_icon_state = icon_state
SSticker.Bible_item_state = item_state
verbs -= /obj/item/storage/bible/proc/Set_Religion