Remind the village drunk of their role every night.

(See: http://code.google.com/p/wolf/issues/detail?id=86)
This commit is contained in:
Robert Wall 2013-06-02 14:53:22 -07:00
parent 475ffe715b
commit a813cc611f

View File

@ -2204,9 +2204,11 @@ def transition_night(cli):
else: else:
cli.notice(dttv, "You are a \02detective\02.") # !simple cli.notice(dttv, "You are a \02detective\02.") # !simple
pm(cli, dttv, "Players: " + ", ".join(pl)) pm(cli, dttv, "Players: " + ", ".join(pl))
for d in var.ROLES["village drunk"]: for drunk in var.ROLES["village drunk"]:
if var.FIRST_NIGHT: if drunk in var.PLAYERS and var.PLAYERS[drunk]["cloak"] not in var.SIMPLE_NOTIFY:
pm(cli, d, 'You have been drinking too much! You are the \u0002village drunk\u0002.') cli.msg(drunk, "You have been drinking too much! You are the \u0002village drunk\u0002.")
else:
cli.notice(drunk, "You are the \u0002village drunk\u0002.")
for g in tuple(var.GUNNERS.keys()): for g in tuple(var.GUNNERS.keys()):
if g not in ps: if g not in ps: