A Town of Salem 2 helper, including a Vim notepad and custom commands (macros) accessed from your keyboard only, meaning you almost don't have to touch your mouse!
Vim and gnome-terminal, Can be installed with your distro's package manger, for example:
For debian users:
sudo apt install vim gnome-terminalOr for fedora/red hat users:
sudo dnf install vim gnome-terminalPip Can be installed with:
python3 -m ensurepipClone the project
git clone https://github.com/gridieS/TOS2-HelperGo to the project directory
cd TOS2-HelperInstall requirements
pip install -r requirements.txtThen, to run the program:
./quick_start.shTo perform all of the following commands, you have to set an action key ("`" by default) in the customizations.env file, then type your desired command and press the action key. (For example: guilty` will perform the guilty macro)
All of the following commands and their keywords are customizable in the customizations.env file.
Stops the program, closing the notepad and stopping the keyboard listener.
Closes and opens your notepad with the template in the assets/tos_template.txt file.
Votes/Targets the player_num you entered.
Targets the player_num you entered. (For example, usable when you're a witch and want to send your target to player_num)
Presses the guilty when theres a trial.
Presses the innocent when theres a trial.
Unminimizes/Minimizes the notepad depending on it's status.
Hides the notepad.
Shows the notepad.
Presses the ability icon (For example, the veteran's "Alert" button is an ability button).
Performs a macro that shows you the chat logs of only the player_num you entered.
Clears the chat filter.