* Split + buff succubus When all succubi die, all entranced people now die along with them. This should prevent an entranced person from ratting out the succubus early on so that they go back to their team, as they lose now even if succubus dies. One exception is if EVERY succubus idles out, then everyone that is entranced is freed of entrancement, as it isn't their fault that they didn't protect their friends in that case. Dullahans now have succubi entirely removed from their list as the likelihood they get unentranced is low, and it's easier to implement this way. Ensure that entranced people can vote along with ANY succubus, even if that vote isn't the one that succeeded. Before there were cases where they could vote along with succubus but still end up dying (particularly in respect to a vote passing when a succubus abstained). Clear up some message wording with regards to succubi. Cleaned up chk_win_conditions and eliminated chk_traitor, so they make much more sense now. Also fixed minor issues, such as end-game saying "same number" of wolves even if there are more wolves than villagers, hunter/vigilante dying during night sometimes not clearing variables correctly (thus causing premature night end) and some various stupidity going on with some old code I wrote that doesn't have any visible effects. * Combine all players into the same succubus death message * Fix stylistic issues and succubus idling not working
This is the Werewolf game bot for ##werewolf on freenode. It's a fork of lycanthrope, which was the last bot used in #wolfgame before it died.
We have an active community, and we'd love for you to join us!
Running your own copy
You need Python 3.3 or newer to run the bot. Python 3.4 and higher is recommended.
Copy botconfig.py.example
to botconfig.py
and modify the settings as needed. You can also copy-paste individual settings from src/settings.py
into botconfig.py
if you want to modify them. You may also add or customize your own game modes by renaming gamemodes.py.example
to gamemodes.py
and using the same layout used in src/gamemodes.py
.
Note: you should never alter files under the src
folder directly (unless you are submitting a change to the code), use botconfig.py
and gamemodes.py
for related changes.
To start the bot, run ./wolfbot.py
. You can use --verbose
to log all raw IRC messages and --debug
to enable some debugging features. These options should not be used in production.