/obj/item/weapon/storage/bible name = "bible" desc = "Apply to head repeatedly." icon_state ="bible" throw_speed = 1 throw_range = 5 w_class = ITEMSIZE_NORMAL var/mob/affecting = null var/deity_name = "Christ" use_sound = 'sound/bureaucracy/bookopen.ogg' drop_sound = 'sound/bureaucracy/bookclose.ogg' /obj/item/weapon/storage/bible/booze name = "bible" desc = "To be applied to the head repeatedly." icon_state ="bible" /obj/item/weapon/storage/bible/booze/New() starts_with = list( /obj/item/weapon/reagent_containers/food/drinks/bottle/small/beer, /obj/item/weapon/reagent_containers/food/drinks/bottle/small/beer, /obj/item/weapon/spacecash/c100, /obj/item/weapon/spacecash/c100, /obj/item/weapon/spacecash/c100 ) /obj/item/weapon/storage/bible/afterattack(atom/A, mob/user as mob, proximity) if(!proximity) return if(user.mind && (user.mind.assigned_role == "Chaplain")) if(A.reagents && A.reagents.has_reagent("water")) //blesses all the water in the holder to_chat(user, "You bless [A].") var/water2holy = A.reagents.get_reagent_amount("water") A.reagents.del_reagent("water") A.reagents.add_reagent("holywater",water2holy) /obj/item/weapon/storage/bible/attackby(obj/item/weapon/W as obj, mob/user as mob) if (src.use_sound) playsound(src.loc, src.use_sound, 50, 1, -5) ..()