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