diff --git a/grepolis.user.js b/grepolis.user.js index 5de0f1a..aa03ed9 100644 --- a/grepolis.user.js +++ b/grepolis.user.js @@ -10,7 +10,7 @@ // // @match http://*.grepolis.com/game/* // -// @version 1.1.34 +// @version 1.1.35 // @updateURL http://git.javil.eu/jan/userscripts/raw/master/grepolis.user.js // ==/UserScript== @@ -32,21 +32,12 @@ // Insel 2 74298: [19577, 19579, 19583, 19584, 19582, 19581, 19580], } - towns = { - 83792: "0x00", - 84064: "0x01", - 85523: "0x10", - 74298: "0x20" - } break; case "de67": farm_ids = { // Insel 0 4809: [1510, 1509, 1508, 1505, 1507, 1511], } - towns = { - 4809: "0x00", - } break; } @@ -88,7 +79,7 @@ for(var town_id in farm_ids) { var town_countdown = document.createElement("span"); - town_countdown.textContent = "" + towns[town_id] + ":"; + town_countdown.textContent = "" + ITowns.getTown(town_id).name + ":"; timerWindow.append(town_countdown); farm_ids[town_id].forEach(function(xFarmId) { var tmout = 20000 + rand(10);