/ ‘grepolis.user.js’
This commit is contained in:
parent
8afb37f7c4
commit
8d22cef540
@ -10,7 +10,7 @@
|
||||
//
|
||||
// @match http://*.grepolis.com/game/*
|
||||
//
|
||||
// @version 1.1.55
|
||||
// @version 1.1.56
|
||||
// @updateURL http://git.javil.eu/jan/userscripts/raw/master/grepolis.user.js
|
||||
// ==/UserScript==
|
||||
|
||||
@ -111,13 +111,13 @@
|
||||
console.log(xTownCount + ") prepare get farms for town " + xTownId);
|
||||
setTimeout(
|
||||
function() {
|
||||
// console.log(xTownCount + ") get farms for town " + xTownId);
|
||||
// HelperTown.townSwitch(xTownId);
|
||||
// HelperTown.handleInfoWindowJumpToTownClick();
|
||||
// var town = ITowns.getTown(xTownId);
|
||||
// WMap.mapJump({id:xTownId, ix:town.getIslandCoordinateX(), iy:town.getIslandCoordinateY()});
|
||||
// setTimeout(
|
||||
// function() {
|
||||
console.log(xTownCount + ") get farms for town " + xTownId);
|
||||
HelperTown.townSwitch(xTownId);
|
||||
HelperTown.handleInfoWindowJumpToTownClick();
|
||||
var town = ITowns.getTown(xTownId);
|
||||
WMap.mapJump({id:xTownId, ix:town.getIslandCoordinateX(), iy:town.getIslandCoordinateY()});
|
||||
setTimeout(
|
||||
function() {
|
||||
// console.log("getting farms for town " + xTownId);
|
||||
// var farmtowns = $(".farmtown_owned_on_same_island");
|
||||
// $.each(farmtowns, function(f, farmtown) {
|
||||
@ -125,7 +125,7 @@
|
||||
// console.log("got farm " + farmtownId + " for town " + xTownId);
|
||||
// farm_ids[xTownId].push(+farmtownId);
|
||||
// });
|
||||
// }, 1800);
|
||||
}, 1800);
|
||||
}, xTownCount*5000);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user