/ ‘grepolis.user.js’
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
//
|
||||
// @match http://*.grepolis.com/game/*
|
||||
//
|
||||
// @version 1.1.61
|
||||
// @version 1.1.62
|
||||
// @updateURL http://git.javil.eu/jan/userscripts/raw/master/grepolis.user.js
|
||||
// ==/UserScript==
|
||||
|
||||
@ -98,14 +98,14 @@
|
||||
});
|
||||
$(town_countdown).append('<br />');
|
||||
}
|
||||
}, townCount * 7000);
|
||||
}, townCount * 10000);
|
||||
|
||||
$("#gpwnd_" + logGPWindow.getID()).parent().parent().find(".ui-dialog-titlebar").empty().append("<select id=choosefarmduration><option value=-1>disable</option><option value=300 selected>5min</option><option value=600>10min</option><option value=1200>20min</option><option value=2400>40min</option><option value=5400>90min</option><option value=10800>3h</option><option value=14400>4h</option><option value=28800>8h</option></select>" + GM_info.script.version);
|
||||
var choose = $("#choosefarmduration")[0];
|
||||
choose.onchange = function() {
|
||||
farmDuration = this.value;
|
||||
}
|
||||
}, 15000);
|
||||
}, 7000);
|
||||
|
||||
function getFarmsFor(xTownId, xTownCount) {
|
||||
console.log(xTownCount + ") prepare get farms for town " + xTownId);
|
||||
@ -125,9 +125,11 @@
|
||||
var farmtownId = farmtown["id"].split("_")[2];
|
||||
console.log("got farm " + farmtownId + " for town " + xTownId);
|
||||
farm_ids[xTownId].push(+farmtownId);
|
||||
});
|
||||
});
|
||||
}, xTownCount*5000);
|
||||
});
|
||||
}
|
||||
);
|
||||
},
|
||||
xTownCount*7000);
|
||||
}
|
||||
|
||||
function log(xText) {
|
||||
|
Reference in New Issue
Block a user