Add blessed villager template, begin devout
This commit is contained in:
parent
524773bcdf
commit
1a78a2abfb
@ -5530,6 +5530,11 @@ def investigate(cli, nick, chan, rest):
|
|||||||
"that \u0002{0}\u0002 is the detective!").format(nick))
|
"that \u0002{0}\u0002 is the detective!").format(nick))
|
||||||
debuglog("{0} ({1}) PAPER DROP".format(nick, var.get_role(nick)))
|
debuglog("{0} ({1}) PAPER DROP".format(nick, var.get_role(nick)))
|
||||||
|
|
||||||
|
@cmd("pray", chan=False, pm=True, playing=True, silenced=True, phases=("night",), roles=("devout",))
|
||||||
|
def pray(cli, nick, chan, rest):
|
||||||
|
"""Receive divine visions of something or someone."""
|
||||||
|
pass
|
||||||
|
|
||||||
@cmd("visit", chan=False, pm=True, playing=True, silenced=True, phases=("night",), roles=("harlot",))
|
@cmd("visit", chan=False, pm=True, playing=True, silenced=True, phases=("night",), roles=("harlot",))
|
||||||
def hvisit(cli, nick, chan, rest):
|
def hvisit(cli, nick, chan, rest):
|
||||||
"""Visit a player. You will die if you visit a wolf or a target of the wolves."""
|
"""Visit a player. You will die if you visit a wolf or a target of the wolves."""
|
||||||
@ -6973,6 +6978,12 @@ def transition_night(cli):
|
|||||||
else:
|
else:
|
||||||
pm(cli, cultist, "You are a \u0002cultist\u0002.")
|
pm(cli, cultist, "You are a \u0002cultist\u0002.")
|
||||||
|
|
||||||
|
for blessed in var.ROLES["blessed villager"]:
|
||||||
|
if blessed in var.PLAYERS and not is_user_simple(blessed):
|
||||||
|
pm(cli, blessed, "You feel incredibly safe. You are a \u0002blessed villager\u0002.")
|
||||||
|
else:
|
||||||
|
pm(cli, blessed, "You are a \u0002blessed villager\u0002.")
|
||||||
|
|
||||||
for g in var.GUNNERS.keys():
|
for g in var.GUNNERS.keys():
|
||||||
if g not in ps:
|
if g not in ps:
|
||||||
continue
|
continue
|
||||||
@ -7285,6 +7296,10 @@ def start(cli, nick, chan, forced = False, restart = ""):
|
|||||||
|
|
||||||
var.ROLES["sharpshooter"].discard(None)
|
var.ROLES["sharpshooter"].discard(None)
|
||||||
|
|
||||||
|
# Handle blessed villager
|
||||||
|
for blessed in var.ROLES["blessed villager"]:
|
||||||
|
var.BLESSED.add(blessed)
|
||||||
|
|
||||||
if not restart:
|
if not restart:
|
||||||
var.SPECIAL_ROLES["goat herder"] = []
|
var.SPECIAL_ROLES["goat herder"] = []
|
||||||
if var.GOAT_HERDER:
|
if var.GOAT_HERDER:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user