A Python binary package that will help you calculate gag combinations on the fly!
Project description
TT-Damage-Calculator
Gag damage calculator for Toontown Rewritten.
Building
Prerequisites
- The Python 3 Programming Language. Install from https://www.python.org/downloads/.
- The Rust Programming Language. Install by following the instructions at https://www.rust-lang.org/learn/get-started.
- Maturin. Install by following the instructions at https://www.maturin.rs/installation.html.
Creating the wheel
Once the prerequisites are installed, clone the repository with git:
git clone https://github.com/Vhou-Atroph/TT-Damage-Calculator
With the repository cloned, navigate to the directory and build the project with maturin:
maturin build -i python
This should have created the "target" file in the project's main directory. Navigate to target/wheels
and install the created file with pip:
pip install [file]
Running
After installing the wheel, you can run it from your favorite command terminal with:
python -m tt_damage_calculator
What if I don't want to build the program?
GitHub
For some versions of the calculator, I will compile it completely and release a standalone executable for users who either do not want to or are unable to compile the dependencies themselves. You can find the latest release at https://github.com/Vhou-Atroph/TT-Damage-Calculator/releases/latest.
GitHub executable releases target Windows users. Linux users must use Pypi to install this program.
Pypi
Alternatively, you can install the package using Pypi:
pip install [ill put a package name here when im sure to have it reserved]
After installing the package, you can run it via the terminal:
python -m tt_damage_calculator
Usage
Gag Selection
Click any gag on the grid to add it to the calculation.
Statuses/Modifiers
There are three buttons available above the gag selection that allow for certain functionalities: if a cog being lured that round, whether a gag is organic or not, and the ability to reset the current calculation. Other cog modifiers such as defense and v2 level can be found in the menu bar under "Calculations."
Other Features
There are two buttons in the bottom right corner of the program.
'Clear History' will clear all text in the History panel, which logs previous calculations.
'Show Health and SOS Cards' brings up a grid of all cog health values from Level 7 to Level 20, as well as the major SOS cards for Trap, Sound, and Drop. This can be toggled by clicking on it a second time.
The program has various keybinds to expedite calculation:
Keybind | Description |
---|---|
shift | Toggle Organic |
ctrl+l | Toggle Lure |
ctrl+r | Finish Calculation |
ctrl+d | Cycle Defense |
ctrl+v | Cycle v2 levels |
ctrl+x | Lock/Unlock statuses |
alt+up | Toggle Pinned Window |
License
Code in TT-Damage-Calculator is licensed under the GNU General Public License v3.0.
Final Notes
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for tt_damage_calculator-4.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 281f6494eef2b37bb36f05e5543e9bc9513c3b21088d657f7bc443f7a4a9bc2e |
|
MD5 | 1adf1de2345a1d5d5f7bfc5a1207a472 |
|
BLAKE2b-256 | e1e00716900b7ea98ed753405e2793697110b10bcff745193c861d2d1846bd82 |
Hashes for tt_damage_calculator-4.2.0-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b091174b0e87dd6f2c9f89f0c086c5f0ae93335adc0a12f465f511e59f8d7bc1 |
|
MD5 | d2f38279f95084746ff6062fa07fba47 |
|
BLAKE2b-256 | d825ba6dc0e29680c0b3f928c613e679c733bb93b8c07f6e457cc12a7ad16be5 |
Hashes for tt_damage_calculator-4.2.0-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1499a291c7cd9e58d736e051f04ba494bfddc8f6683f78c54c2e8a8f7b1e3af |
|
MD5 | 3110a6ed56b48fea308bacccd4cdc163 |
|
BLAKE2b-256 | 29bc5d78f543bd91ffa4d47447d3178d109b9409cd5daafb73eccbc6ad929b40 |