def do_action(self, player): print("You arrive in the chapel and prepare to say the liturgy.") rand = randint(0,1) if player.sleepiness > 2 and rand == 1: print("You are so tired that you fall asleep during the liturgy! Uh-oh!") player.changeSleepiness(-1) player.increaseSins("sleeping") else: psalms.responsary(player) psalms.say_psalms(self.__psalmNumber, player, psalmsList, VERSES_SAID)
def do(self, player, time): print("You prepare to say the liturgy with the other monks.") psalms.responsary(player) psalms.say_psalms(23, player, psalms.getPsalms(), 3)