/ ‘grepolis.user.js’

This commit is contained in:
Jan Bader 2014-06-28 23:15:49 +02:00
parent a2f96f0a5a
commit fb04d3f21b

View File

@ -25,6 +25,10 @@
83792: [20466, 20467, 20468, 20470, 20471, 20472],
85523: [20489, 20490, 20492]
}
towns = {
83792: "0x00",
85523: "0x01"
}
setTimeout(function() {
var logGPWindow = new GPWindow(-1, null);
@ -66,7 +70,7 @@
var tmout = 5000 + rand(5);
setTimeout(getWaresTick(town_id, xFarmId), tmout);
var tmoutId = 'farm-' + xFarmId
timerWindow.append('Farm ID ' + xFarmId + ': <span id="' + tmoutId + '"><script>j_countdown(' + Math.floor(tmout/1000) + ', "' + tmoutId + '");</script></span><br />');
timerWindow.append("S: " + towns[town_id] + ', F:' + xFarmId + ': <span id="' + tmoutId + '"><script>j_countdown(' + Math.floor(tmout/1000) + ', "' + tmoutId + '");</script></span><br />');
});
}