1. Rewrite amnesiac: Instead of removing an existing role from the game for the first 2 days, they now become a brand new random role. Seers, oracles, sorcerers, detectives, and revealing totems will see through their amnesia so they can learn their actual role. Amnesiacs are neutral until they clear up, and thus if the game ends while they are still amnesiac, they will win alongside the default role (e.g. village if default is villagers, or wolves if default is cultists). 2. Make vengeful ghost take vengeance based on the role that killed them instead of making it based on time of day. If they suicide due to being someone's lover, they will take vengeance on the team that killed their lover. If they are gunner and their gun explodes, they take vengeance on the village due to their shoddy gun construction processes. 3. Make clone always trigger even if their target idles out or !quits. 4. Make a harlot visiting victim, harlot visiting wolf, and bodyguard guarding victim able to shoot wolves if they are also gunner, and for wolves to pick up their gun. In the event of a wolf kill plus another non-wolf kill, the wolf kill takes precedence in the event of harlot visiting victim and bodyguard guarding victim, and the non-wolf kill takes precedence in the event of harlot visiting wolf (the non-wolf kill happens en-route to the wolves, and the gun disappears or something, idk). Additionally, if the harlot visits victim or the bodyguard guards victim and the harlot/bodyguard are also targeted by wolves, their special "died visiting/guarding victim" event plays instead of the normal death message. 5. Change alive vengeful ghost win conditions to work like amnesiac: they win with the default role if alive at the end of the game. 6. Minor wording fixes, such as the gunner shot wolf message with more commas than words. Remember, every time you abuse a comma, God kills a kitten.
Dependencies
- Python 3.2 or higher
Configuration
Copy botconfig.py.example
to botconfig.py
and modify the settings as needed.
If desired, edit settings/wolfgame.py
to modify game settings.
Starting the bot
To start the bot, you can simply execute wolfbot.py
:
$ ./wolfbot.py
Debug mode can be enabled with the --debug
argument:
$ ./wolfbot.py --debug
Verbose logging can be enabled with the --verbose
argument:
$ ./wolfbot.py --verbose
Playing the game
You can find us in ##werewolf
on freenode (webchat). The
bot is running there and we have an active community. We'd love for you to join
us!
Description