def on_transition_night_end(evt, var): if not ANGRY_WOLVES: return wolves = get_players(Wolf & Killer) if not wolves or not wolf_can_kill(var, wolves[0]): return for wofl in wolves: wofl.queue_message(messages["angry_wolves"]) wofl.send_messages()
def on_new_role(evt, var, player, old_role): if ANGRY_WOLVES and evt.data["in_wolfchat"] and wolf_can_kill(var, player): evt.data["messages"].append(messages["angry_wolves"])