/ ‘grepolis.user.js’

This commit is contained in:
2014-07-22 19:13:55 +02:00
parent 915f9a3ee3
commit 70b707fee5

View File

@ -10,7 +10,7 @@
//
// @match http://*.grepolis.com/game/*
//
// @version 1.1.19
// @version 1.1.20
// @updateURL http://git.javil.eu/jan/userscripts/raw/master/grepolis.user.js
// ==/UserScript==
@ -21,6 +21,8 @@
console.log("Initializing...");
windows = {};
durations = {};
switch(location.host.substring(0,4)) {
case "de66":
farm_ids = {
// Insel 0
83792: [20468, 20470, 20471, 20472],
@ -36,6 +38,16 @@
85523: "0x10",
74298: "0x20"
}
break;
case "de67":
farm_ids = {
// Insel 0
4809: [],
}
towns = {
4809: "0x00",
}
}
setTimeout(function() {
var logGPWindow = new GPWindow(99999, null);