Description
Energy To Burn is a Torn userscript that calculates the optimal amount of energy to burn before your Xanax cooldown is ready, ensuring you maximize natural energy regeneration without wasting any time.
In Torn, you can take Xanax every 6-8 hours to refill your energy. Since energy takes 5 hours to completely regenerate from 0 to 150, there's often overlap where your energy would reach full well before the Xanax cooldown is ready. This script tells you exactly how much energy to burn (via gym training) so that your energy bar becomes full at the same time your Xanax is ready.
Features
- Smart Energy Calculation - Automatically calculates optimal energy to burn based on current energy and Xanax cooldown
- Real-Time Readiness - Shows "READY!" when you have enough energy to burn, or displays time remaining if you need to wait
- Sidebar Integration - Conveniently placed in the Areas section, right after the Gym link
- User-Initiated - Manual calculation on demand, no automatic polling or battery drain
- Torn API v2 - Uses official Torn API endpoints for accurate data
- Configurable Settings - Set your own gym energy cost (10, 20, 50, etc.) for different gym levels
- Clean UI - Matches Torn's native styling for seamless integration
- Minimal API Key - Only requires "Minimal" access level API key
How It Works
The script fetches your current energy bar status and drug cooldown from the Torn API, then calculates:
- How much energy you'll naturally regenerate before Xanax is ready
- How much excess energy would be "wasted" (capped at 150 max)
- The optimal amount to burn via gym training to avoid waste
- When you'll have enough energy to perform the burn (if not ready yet)
- Your new energy-full time after burning
Installation & Setup
- Install Tampermonkey (or similar userscript manager) if you haven't already
- Click the install button on this page to add the script
- Navigate to
Tampermonkey → Energy To Burn → Settings - Enter your Torn API key (requires "Minimal" access level or higher)
- Set your gym energy cost per train (default: 10)
- Click Save
Usage
- Look for the "Energy Burn" link in your sidebar (Areas section, after Gym)
- Click the link to open the Energy Burn calculator
- The script will fetch your current stats and display:
- Current energy level
- Time until energy is full
- Time until Xanax is ready
- Can Burn In - Shows "READY!" or time remaining
- Recommended energy to burn
- Energy full time after burning
- Use the gym to burn the recommended amount of energy
- Your energy will now reach full exactly when (or just before) Xanax is ready!
Display Information
The modal displays four key metrics in a grid:
- ENERGY FULL IN - Time until your energy bar is completely full (natural regeneration)
- XANAX READY IN - Time remaining on your drug cooldown
- CAN BURN IN - Shows "READY!" in green when you have enough energy to burn, or displays the wait time in orange
- AFTER BURNING X ENERGY - Shows your new energy-full time and how it aligns with Xanax cooldown
Configuration
Access settings via: Tampermonkey Menu → Energy To Burn → Settings
- Torn API Key - Your Torn API key (Minimal access or higher)
- Gym Energy Cost - Energy consumed per gym train
- 10 - Basic gyms (default)
- 20 - Mid-tier gyms
- 50 - Advanced/specialty gyms
- Custom values supported
Requirements
- Torn account
- Torn API key (Minimal access level or higher)
- Tampermonkey or compatible userscript manager
Privacy & Security
- Your API key is stored locally in Tampermonkey's storage (never transmitted to third parties)
- Only connects to official Torn API endpoints
- No external tracking or analytics
- Open source - you can review the code yourself
Troubleshooting
Q: The script says "API Key not configured"
A: Go to Tampermonkey settings and enter your API key from Torn Preferences.
Q: I get an API error
A: Make sure your API key is correct and has at least "Minimal" access level.
Q: The energy calculation seems off
A: Verify your gym energy cost setting matches your actual gym. Gyms can use differing amounts of energy per train.
Q: Where is the sidebar link?
A: Look in the left sidebar under "Areas" section, directly after the "Gym" link. If "Gym" isn't available it will default to the bottom.
Support & Feedback
If you encounter issues or have suggestions, please leave feedback on this Greasyfork page or contact ButtChew [3840391].
Changelog
v1.0.1 (Initial Release)
- Energy burn calculation based on Xanax cooldown
- Sidebar integration
- Configurable settings (API key, gym cost)
- "Can Burn In" readiness indicator
- Real-time energy and cooldown tracking
- Torn UI-matched styling
- Added icon and homepage