War End

Adds a toggle-able side bar to estimate War End for a given faction.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Upphovsman
Gravity0000
Dagliga installationer
0
Totala installationer
39
Betyg
0 0 0
Version
Beta1.6
Skapad
2025-07-21
Uppdaterad
2025-08-26
Size
8,43 KB
Licens
MIT
Gäller för

Beta1.6Fixed Math

MAJOR UPDATE Beta1.2- Removed need for an API key and added info about TCT end time!

Update-A1.4 Tailored the script to toggle color with torns light or dark mode. Moved the word "Blank to the end of the box". Widened the container by 5 pixels.

Update-A1.3 Fixed Color Issue with Dark Mode for the Info boxs low visibility.

Update-A1.2 Fixed new lead math

Update-A1.1 Added new input box for estimated lead.

This script is for the game Torn City. It can tell you the approximate time when a war will end based on current lead and hours left to go. I have found this script is more useful when the war is either staying at a constant lead or when war is near its end.

Pretty simple to use:

First, click the "War End" button to open the container. Next, input your API key in the top and a faction ID in the bottom.(These are both saved in your cache locally so you don't have to keep putting them in.) Finally, click the Update button to calculate when war will end.


Please note: This script is my own. It is meant to calculate information that could be done on ones own. I have noticed there are at least two similar scripts, that I will link below, "Torn Ranked War Calculator" and "Torn War Auto-Win Timer (Pure Hour Final Version)". The first one I have tried my self, but was not only confused & overwhelmed by the amount of information but was detoured by the screen size (even though it could be put away it takes up a lot of screen space). The second one I have yet to try(since it does not seem to allow for input E.g.:checking the state of another faction), but will give my input when I do get to try it.

First alt: Torn Ranked War Calculator

Second alt: Torn War Auto-Win Timer (Pure Hour Final Version)


This is my first Greasy Fork script and my first script I have written in a long while. Please notify me of any issues, bugs, or suggestions.

This Script is currently in ALPHA! To be seen sooner please report your bugs to me in Torn: Gravity