Skip to content
TORNLIFE More

[Userscript] Faction Territories

Started by Heasleys4hemp [1468764] Committee on in Tools & Userscripts.

5 replies · 417 views · thread synced · 7 days ago · View on torn.com
About this thread

Posts archived: 6 / 6 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

Counted by TornLife from the archived posts.

Archived posts
6
Discussion span
→
People posting
5
Likes on archived posts
28
Posts by staff, officers and moderators
2
Authority score
61 / 100
Historical score
39 / 100
Story score
34 / 100
Engagement score
58 / 100

Most-liked replies

Heasleys4hemp [1468764] Committee Committee
Hello. I had a previous version of this floating around somewhere, but I've overhauled it and added new features.

https://greasyfork.org/en/scripts/402268-faction-territories

Loads list of factions with territories on city map via API and allows click to snap to territory on map (requires API key)

Can add factions to favorites via button on leaflet to easily find location (requires API key)

Adds clickable and copyable link to territory on leaflet

Features a territory search



Requires API Key for faction search and favorites. Territory search works regardless of apikey.

You enter your apikey here. Saves API key locally.

[image: i.imgur.com]



Script in action:

[image: i.imgur.com]

This should popup if things go smoothly. Sometimes it takes a second to show up.
[image: i.imgur.com]


Please report any bugs. Thank you!

________________________________

v1.0.3 - Fixed worse bug associated with last change... everything should be good now
v1.0.2 - Fixed bugs when viewing territories in war and empty territories
Kivou [2000607]
R++++++++++

Edit: maybe you could get the same name for the key in the local storage than some other script like API quick fill...
Heasleys4hemp [1468764] Committee Committee
v1.0.2 - Fixed bugs when viewing territories in war and empty territories

v1.0.3 - Fixed worse bug associated with last change... everything should be good now