A simple, web-based calculator to help TerraFirmaCraft players achieve "Perfectly Forged" items by guiding them through the precise anvil hit sequences.
- Calculates the exact sequence of anvil presses needed.
- Accounts for current green arrow position, red arrow target, and specific final required hits.
- Considers all available anvil buttons for optimal pathfinding.
- Easy to use web interface.
- Open the Calculator: Visit the live calculator here
- Input Current Green Arrow Position: Enter the numerical value where your green arrow is currently located on the smithing bar.
- Input Red Arrow (Final Target) Position: Enter the numerical value where the red arrow is pointing. This is your ultimate goal.
- Input Required Final Hits: Look at the red-bordered slots at the top of your anvil interface. Enter the numerical value for each of these hits, starting from the rightmost red slot, then the middle, then the leftmost. Separate each number with a comma (e.g.,
-15, 2, 7for three hits, or16, 2for two hits). - Input All Available Anvil Buttons: List all the numerical values of the buttons you can press on your anvil, separated by commas (e.g.,
2, 7, 13, 16, -3, -6, -9, -15). (These are the defaults) - Click "Calculate Steps": The calculator will display the precise sequence of button presses you need to make in two phases:
- Phase 1: Intermediate presses to get your green arrow to the correct "pre-final" position.
- Phase 2: The final required presses as dictated by the red-bordered slots, in the correct order.
This calculator is built with HTML, CSS (TailwindCSS), and JavaScript.
If you'd like to contribute or improve this calculator:
- Fork this repository.
- Clone your forked repository:
git clone https://github.com/YOUR_USERNAME/tfc-smithing-calculator.git - Make your changes.
- Commit your changes and push to your fork.
- Open a Pull Request.
This project is licensed under the MIT License - see the LICENSE.md file for details.