/ ‘grepolis.user.js’
This commit is contained in:
@ -10,7 +10,7 @@
|
|||||||
//
|
//
|
||||||
// @match http://*.grepolis.com/game/*
|
// @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
|
// @updateURL http://git.javil.eu/jan/userscripts/raw/master/grepolis.user.js
|
||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
|
|
||||||
@ -21,20 +21,32 @@
|
|||||||
console.log("Initializing...");
|
console.log("Initializing...");
|
||||||
windows = {};
|
windows = {};
|
||||||
durations = {};
|
durations = {};
|
||||||
farm_ids = {
|
switch(location.host.substring(0,4)) {
|
||||||
// Insel 0
|
case "de66":
|
||||||
83792: [20468, 20470, 20471, 20472],
|
farm_ids = {
|
||||||
84064: [20466, 20467],
|
// Insel 0
|
||||||
// Insel 1
|
83792: [20468, 20470, 20471, 20472],
|
||||||
85523: [20489, 20490, 20492, 20496, 20491, 20495],
|
84064: [20466, 20467],
|
||||||
// Insel 2
|
// Insel 1
|
||||||
74298: [19577, 19579, 19583, 19584, 19582, 19581],
|
85523: [20489, 20490, 20492, 20496, 20491, 20495],
|
||||||
}
|
// Insel 2
|
||||||
towns = {
|
74298: [19577, 19579, 19583, 19584, 19582, 19581],
|
||||||
83792: "0x00",
|
}
|
||||||
84064: "0x01",
|
towns = {
|
||||||
85523: "0x10",
|
83792: "0x00",
|
||||||
74298: "0x20"
|
84064: "0x01",
|
||||||
|
85523: "0x10",
|
||||||
|
74298: "0x20"
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case "de67":
|
||||||
|
farm_ids = {
|
||||||
|
// Insel 0
|
||||||
|
4809: [],
|
||||||
|
}
|
||||||
|
towns = {
|
||||||
|
4809: "0x00",
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
|
Reference in New Issue
Block a user