diff --git a/readme.md b/readme.md index d68cbf5..0c2817e 100644 --- a/readme.md +++ b/readme.md @@ -18,7 +18,8 @@ - [Daily achievements](#6-daily-achievements) - [Extended map popup](#7-extended-map-popup) - [Map coords picker](#8-map-coords-picker) -- ['In A Day' Tribe Ranking Generator](#9-in-a-day-tribe-ranking-generator) +- ['In A Day' tribe ranking generator](#9-in-a-day-tribe-ranking-generator) +- [War stats generator](#10-war-stats-generator) ### 1. Latest ennoblements @@ -108,7 +109,7 @@ Adds to map screen new functionality to search bonus barbarian villages easily. ![Screenshot](/screenshots/dailyAchievements.png?raw=true) -### 7. Extended Map Popup +### 7. Extended map popup [Code](https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/extendedMapPopup.js) @@ -121,15 +122,21 @@ Adds to popup: ![Screenshot](/screenshots/extendedMapPopup.png?raw=true) -### 8. Map Coords Picker +### 8. Map coords picker [Code](https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/mapCoordsPicker.js) ![Screenshot](/screenshots/mapCoordsPicker.png?raw=true) -### 9. 'In A Day' Tribe Ranking Generator +### 9. 'In A Day' tribe ranking generator [Code](https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/inADayTribeRankingGenerator.js) ![Screenshot](/screenshots/inADayTribeRankingGenerator.png?raw=true) ![Screenshot](/screenshots/inADayTribeRankingGenerator2.png?raw=true) + +### 10. War stats generator + +[Code](https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/warStatsGenerator.js) + +![Screenshot](/screenshots/warStatsGenerator.png?raw=true) diff --git a/screenshots/warStatsGenerator.png b/screenshots/warStatsGenerator.png new file mode 100644 index 0000000..cb0f151 Binary files /dev/null and b/screenshots/warStatsGenerator.png differ diff --git a/src/extendedMapPopup.js b/src/extendedMapPopup.js index 238435c..4549f45 100644 --- a/src/extendedMapPopup.js +++ b/src/extendedMapPopup.js @@ -10,12 +10,12 @@ import { calcAttackDuration } from './utils/tribalwars'; import countLoyalty from './utils/countLoyalty'; // ==UserScript== -// @name Extended Map Popup +// @name Extended map popup // @namespace https://github.com/tribalwarshelp/scripts // @updateURL https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/extendedMapPopup.js // @downloadURL https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/extendedMapPopup.js // @version 0.6.1 -// @description Extended Map Popup +// @description Extended map popup // @author Kichiyaki http://dawid-wysokinski.pl/ // @match *://*/game.php*screen=map* // @grant none diff --git a/src/extendedPlayerProfile.js b/src/extendedPlayerProfile.js index 925ad3c..c988bbd 100644 --- a/src/extendedPlayerProfile.js +++ b/src/extendedPlayerProfile.js @@ -19,12 +19,12 @@ import { formatTribeURL } from './utils/tribalwars'; import { setItem, getItem } from './utils/localStorage'; // ==UserScript== -// @name Extended Player Profile +// @name Extended player profile // @namespace https://github.com/tribalwarshelp/scripts // @updateURL https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/extendedPlayerProfile.js // @downloadURL https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/extendedPlayerProfile.js // @version 1.1.3 -// @description Extended Player Profile +// @description Extended player profile // @author Kichiyaki http://dawid-wysokinski.pl/ // @match *://*/game.php*screen=info_player* // @grant none diff --git a/src/extendedTribeProfile.js b/src/extendedTribeProfile.js index d80aa14..272d443 100644 --- a/src/extendedTribeProfile.js +++ b/src/extendedTribeProfile.js @@ -20,12 +20,12 @@ import { formatPlayerURL } from './utils/twstats'; import { formatPlayerURL as formatPlayerURLTribalWars } from './utils/tribalwars'; // ==UserScript== -// @name Extended Tribe Profile +// @name Extended tribe profile // @namespace https://github.com/tribalwarshelp/scripts // @updateURL https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/extendedTribeProfile.js // @downloadURL https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/extendedTribeProfile.js // @version 1.0.8 -// @description Extended Tribe Profile +// @description Extended tribe profile // @author Kichiyaki http://dawid-wysokinski.pl/ // @match *://*/game.php*screen=info_ally* // @grant none diff --git a/src/extendedVillageProfile.js b/src/extendedVillageProfile.js index da24d48..8318558 100644 --- a/src/extendedVillageProfile.js +++ b/src/extendedVillageProfile.js @@ -11,12 +11,12 @@ import countLoyalty from './utils/countLoyalty'; import showEnnoblementsPopup from './common/showEnnoblementsPopup'; // ==UserScript== -// @name Extended Village Profile +// @name Extended village profile // @namespace https://github.com/tribalwarshelp/scripts // @updateURL https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/extendedVillageProfile.js // @downloadURL https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/extendedVillageProfile.js // @version 0.6.9 -// @description Extended Village Profile +// @description Extended village profile // @author Kichiyaki http://dawid-wysokinski.pl/ // @match *://*/game.php*screen=info_village* // @grant none diff --git a/src/i18n/warStatsGenerator.js b/src/i18n/warStatsGenerator.js index f9ff1ef..8d2ea3e 100644 --- a/src/i18n/warStatsGenerator.js +++ b/src/i18n/warStatsGenerator.js @@ -10,7 +10,7 @@ const translations = { notEnoughTribesSideTwo: 'Musisz dodać jakiekolwiek plemię do strony 2.', from: 'Od', to: 'Do', - warStatsGenerator: 'Generator Statystyk Wojennych', + warStatsGenerator: 'Generator statystyk wojennych', generateWarStats: 'Wygeneruj statystyki wojenne', }, en_DK: { @@ -24,7 +24,7 @@ const translations = { notEnoughTribesSideTwo: 'Not enough tribes added to the side two.', from: 'From', to: 'To', - warStatsGenerator: 'War Stats Generator', + warStatsGenerator: 'War stats generator', generateWarStats: 'Generate war stats', }, }; diff --git a/src/inADayTribeRankingGenerator.js b/src/inADayTribeRankingGenerator.js index 23a858d..550cb6b 100644 --- a/src/inADayTribeRankingGenerator.js +++ b/src/inADayTribeRankingGenerator.js @@ -3,12 +3,12 @@ import getTranslations from './i18n/inADayTribeRankingGenerator'; import wait from './utils/wait'; // ==UserScript== -// @name 'In A Day' Tribe Ranking Generator +// @name 'In A Day' tribe ranking generator // @namespace https://github.com/tribalwarshelp/scripts // @updateURL https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/inADayTribeRankingGenerator.js // @downloadURL https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/inADayTribeRankingGenerator.js // @version 0.2.0 -// @description 'In A Day' Tribe Ranking Generator +// @description 'In A Day' tribe ranking generator // @author Kichiyaki http://dawid-wysokinski.pl/ // @match *://*/game.php*screen=ranking*mode=in_a_day* // @grant none diff --git a/src/mapCoordsPicker.js b/src/mapCoordsPicker.js index 7f2c7d8..c2984e3 100644 --- a/src/mapCoordsPicker.js +++ b/src/mapCoordsPicker.js @@ -3,12 +3,12 @@ import hexToRGB from './utils/hexToRGB'; import { getItem, setItem } from './utils/localStorage'; // ==UserScript== -// @name Map Coords Picker +// @name Map coords picker // @namespace https://github.com/tribalwarshelp/scripts // @updateURL https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/mapCoordsPicker.js // @downloadURL https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/mapCoordsPicker.js // @version 0.7.1 -// @description Map Coords Picker +// @description Map coords picker // @author Kichiyaki http://dawid-wysokinski.pl/ // @match *://*/game.php*screen=map* // @grant none diff --git a/src/warStatsGenerator.js b/src/warStatsGenerator.js index 74becdb..1290931 100644 --- a/src/warStatsGenerator.js +++ b/src/warStatsGenerator.js @@ -4,12 +4,12 @@ import getServer from './utils/getCurrentServer'; import showPopup, { POPUP_SELECTOR } from './utils/showPopup'; // ==UserScript== -// @name War Stats Generator +// @name War stats generator // @namespace https://github.com/tribalwarshelp/scripts // @updateURL https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/warStatsGenerator.js // @downloadURL https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/warStatsGenerator.js // @version 0.2.6 -// @description War Stats Generator +// @description War stats generator // @author Kichiyaki http://dawid-wysokinski.pl/ // @match *://*/game.php*screen=ranking*mode=wars* // @grant none