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 11:16:38 -05:00
committed by GitHub
parent 09510db5a0
commit d0532a16e8
3 changed files with 67 additions and 9 deletions

View File

@@ -280,10 +280,11 @@
if(!bibledelay)
var/obj/item/storage/bible/B = new /obj/item/storage/bible(src.loc)
if((SSticker.Bible_icon_state && SSticker.Bible_item_state) )
B.icon_state = SSticker.Bible_icon_state
B.item_state = SSticker.Bible_item_state
B.name = SSticker.Bible_name
B.verbs += /obj/item/storage/bible/proc/Set_Religion
var/randbook = "book" + pick("1", "2", "3", "4", "5", "6" , "7", "8", "9", "10", "11", "12", "13" , "14", "15" , "16")
B.icon_state = randbook
B.item_state = randbook
B.name = "religious book"
bibledelay = 1
spawn(60)
@@ -414,7 +415,7 @@
if(istype(O, /obj/item/book))
if(!anchored)
to_chat(user, SPAN_WARNING("\The [src] must be secured to the floor first!"))
return
return
user.drop_from_inventory(O,src)
if(O.iswrench())
playsound(get_turf(src), O.usesound, 75, TRUE)
@@ -514,4 +515,4 @@
user.visible_message(SPAN_NOTICE("\The [user] secures \the [src] to the floor."), \
SPAN_NOTICE("You secure \the [src] to the floor."), \
SPAN_WARNING("You hear a ratcheting noise."))
anchored = !anchored
anchored = !anchored