diff --git a/modules/wolfgame.py b/modules/wolfgame.py index 97366a7..7dc267f 100644 --- a/modules/wolfgame.py +++ b/modules/wolfgame.py @@ -1297,7 +1297,7 @@ def chk_decision(cli, force = ""): cli.msg(botconfig.CHANNEL, lmsg) message = "Game over! The fool has been lynched, causing them to win." debuglog("WIN: fool") - debuglog("PLAYERS: {0}".format(votee)) + debuglog("PLAYERS:", votee) cli.msg(botconfig.CHANNEL, message) stop_game(cli, "@" + votee) return @@ -1401,7 +1401,7 @@ def chk_traitor(cli): var.ROLES["wolf"].append(wc) var.ROLES["wolf cub"].remove(wc) pm(cli, wc, ('You have grown up into a wolf and vowed to take revenge for your dead parents!')) - debuglog(wc, "WOLF CUB GROW UP") + debuglog(wc, "(wolf cub) GROW UP") if len(var.ROLES["wolf"]) == 0: for tt in ttl: @@ -1411,7 +1411,7 @@ def chk_traitor(cli): var.ROLES["cursed villager"].remove(tt) pm(cli, tt, ('HOOOOOOOOOWL. You have become... a wolf!\n'+ 'It is up to you to avenge your fallen leaders!')) - debuglog(tt, "TRAITOR TURNING") + debuglog(tt, "(traitor) TURNING") # no message if wolf cub becomes wolf for now, may want to change that in future if len(var.ROLES["wolf"]) > 0: @@ -1912,7 +1912,7 @@ def del_player(cli, nick, forced_death = False, devoice = True, end_game = True, cli.msg(botconfig.CHANNEL, ("Tick tock! Since the time lord has died, " + "day will now only last {0} seconds and night will now only " + "last {1} seconds!").format(var.TIME_LORD_DAY_LIMIT, var.TIME_LORD_NIGHT_LIMIT)) - debuglog("TIME LORD TRIGGER:", nick) + debuglog(nick, "(time lord) TRIGGER") if nickrole == "vengeful ghost": if killer_role in var.WOLFTEAM_ROLES: var.VENGEFUL_GHOSTS[nick] = "wolves" @@ -1920,7 +1920,7 @@ def del_player(cli, nick, forced_death = False, devoice = True, end_game = True, var.VENGEFUL_GHOSTS[nick] = "villagers" pm(cli, nick, ("OOOooooOOOOooo! You are the \u0002vengeful ghost\u0002. It is now your job " + "to exact your revenge on the \u0002{0}\u0002 that killed you.").format(var.VENGEFUL_GHOSTS[nick])) - debuglog(nick, "VENGEFUL GHOST", var.VENGEFUL_GHOSTS[nick]) + debuglog(nick, "(vengeful ghost) TRIGGER", var.VENGEFUL_GHOSTS[nick]) if nickrole == "wolf cub": var.ANGRY_WOLVES = True if nickrole in var.WOLF_ROLES: @@ -1977,7 +1977,7 @@ def del_player(cli, nick, forced_death = False, devoice = True, end_game = True, "a potent chemical concoction into the crowd. \u0002{1}\u0002 " + "and \u0002{2}\u0002 get hit by the chemicals and die.").format(nick, target1, target2) cli.msg(botconfig.CHANNEL, tmsg) - debuglog(nick, "MAD SCIENTIST KILL: {0} ({1}) - {2} ({3})".format(target1, var.get_role(target1), target2, var.get_role(target2))) + debuglog(nick, "(mad scientist) KILL: {0} ({1}) - {2} ({3})".format(target1, var.get_role(target1), target2, var.get_role(target2))) deadlist1 = copy.copy(deadlist) deadlist1.append(target2) deadlist2 = copy.copy(deadlist) @@ -1996,7 +1996,7 @@ def del_player(cli, nick, forced_death = False, devoice = True, end_game = True, "a potent chemical concoction into the crowd. \u0002{1}\u0002 " + "gets hit by the chemicals and dies.").format(nick, target1) cli.msg(botconfig.CHANNEL, tmsg) - debuglog(nick, "MAD SCIENTIST KILL: {0} ({1})".format(target1, var.get_role(target1))) + debuglog(nick, "(mad scientist) KILL: {0} ({1})".format(target1, var.get_role(target1))) del_player(cli, target1, True, end_game = False, killer_role = "mad scientist", deadlist = deadlist, original = original) else: if target2 in pl: @@ -2011,14 +2011,14 @@ def del_player(cli, nick, forced_death = False, devoice = True, end_game = True, "a potent chemical concoction into the crowd. \u0002{1}\u0002 " + "gets hit by the chemicals and dies.").format(nick, target2) cli.msg(botconfig.CHANNEL, tmsg) - debuglog(nick, "MAD SCIENTIST KILL: {0} ({1})".format(target2, var.get_role(target2))) + debuglog(nick, "(mad scientist) KILL: {0} ({1})".format(target2, var.get_role(target2))) del_player(cli, target2, True, end_game = False, killer_role = "mad scientist", deadlist = deadlist, original = original) else: tmsg = ("\u0002{0}\u0002 throws " + "a potent chemical concoction into the crowd. Thankfully, " + "nobody seems to have gotten hit.").format(nick) cli.msg(botconfig.CHANNEL, tmsg) - debuglog(nick, "MAD SCIENTIST KILL FAIL") + debuglog(nick, "(mad scientist) KILL FAIL") if devoice: cmode.append(("-v", nick))