RedAlert

Senior In-Game Staff
Tribal Wars Team
Senior
Team
Script Moderator
Reaction score
622
Author
RedAlert
Contributors
N/A
Quickbar Entry
javascript:$.getScript('https://twscripts.dev/scripts/farmingEfficiencyCalculator.js');
Public?
Public
Farming Efficiency Calculator

Approved: t13970817

This script should be ran on Reports Overview -> Attacks screen.

Screenshot_3.png

Basically the script runs on the Reports Overview -> Attacks screen and goes through each report and grabs looted resources amounts.
Based on all the data collected it calculates how efficient farming has been.

This is how it will look to the end-user:

Screenshot:
(also on this screenshot im showing debug messages)

Changelog:
- v1.2:
Script is now translation-ready. Added first translation for .BR server. Thanks @natanprog for preparing the translations.
- v1.1: Added new stats (Villages Looted and Looted/Village)

For suggestions, bugs, or if you need help using this script please reply on this thread.
 

Attachments

  • Screenshot_3.png
    Screenshot_3.png
    105.5 KB · Views: 106
Last edited:
Upvote 1

XouZ

New Member
Reaction score
2
JavaScript:
//if (game_data.locale == "sv_SE") || (game_data.market == "se)
'Farming Efficiency Calculator': 'Farm Effektivitet Beräknare',
'Efficiency:': 'Effektivitet:',
'Total Looted:': 'Totalt Byte:',
'Total Estimated:': 'Totalt Förväntat:',
'Villages Looted:': 'Byar Plundrade:',
'Looted/Village:': 'Byte/By:',
'Total Wood:': 'Totalt Trä:',
'Total Clay:': 'Totalt Lera:',
'Total Iron:': 'Totalt Järn:',
'Script must be run from': 'Skriptet måste köras från',
'Reports Overview': 'Rapporter',
Help: 'Hjälp',
 

RedAlert

Senior In-Game Staff
Tribal Wars Team
Senior
Team
Script Moderator
Reaction score
622
Script has been updated to v2.0.0

1674047481959.png


The script comes with a refreshed UI and more information shown and I have planned to show more info here too in the future.
As a downside, all the translations for the other languages are now gone :( so the script will need to be re-translated.
 
Top