Ikariam Upgrade Watcher 3

Attaches a simple icon on each building which show level and if upgradeable

< Commentaires sur Ikariam Upgrade Watcher 3

Avis: OK - le script fonctionne, mais souffre de quelques problèmes

e41
§
Posté le: 2024-02-17

Requires update!

e41
§
Posté le: 2024-02-17

Just to help a bit...
In order to have dockyard and Gods' Shrine, add these

	dockyard:	{ x:5, y:30 },
	shrineOfOlympus: { x:50, y:50 },

in IUW.POSITIONS and these:


	// Dockyard
	// Type of resources needed: Wood, Marble, Glass
	"dockyard": [
		{ wood: 605763, marble: 344555, glass: 289158 },			// Level  2
		{ wood: 727300, marble: 406921, glass: 338642 },			// Level  3
		{ wood: 873144, marble: 480512, glass: 396537 },			// Level  4
		{ wood: 1048157, marble: 567350, glass: 464275 },			// Level  5
		{ wood: 1258172, marble: 669818, glass: 543528 },			// Level  6
		{ wood: 1510191, marble: 790731, glass: 636254 },			// Level  7
		{ wood: 1812613, marble: 933409, glass: 744743 },			// Level  8
		{ wood: 2175519, marble: 1101768, glass: 871676 },			// Level  9
		{ wood: 2611007, marble: 1300432, glass: 1020188 },			// Level 10
		{ wood: 3133593, marble: 1534855, glass: 1193946 },			// Level 11
		{ wood: 3760773, marble: 1811536, glass: 1397298 },			// Level 12
		{ wood: 4513481, marble: 2138093, glass: 1635285 },			// Level 13
		{ wood: 5416842, marble: 2523518, glass: 1913806 },			// Level 14
		{ wood: 6501009, marble: 2978421, glass: 2239765 },			// Level 15
		{ wood: 7802168, marble: 3515328, glass: 2621241 },			// Level 16
		{ wood: 9363751, marble: 4149020, glass: 3067690 },			// Level 17
		{ wood: 11237881, marble: 4896945, glass: 3590178 },		// Level 18
		{ wood: 13487113, marble: 5779696, glass: 4201655 },		// Level 19
		{ wood: 16186522, marble: 6821575, glass: 4917280 },		// Level 20
		{ wood: 19426211, marble: 8051270, glass: 5754789 },		// Level 21
		{ wood: 23314315, marble: 9502636, glass: 6734942 },		// Level 22
		{ wood: 27980612, marble: 11215633, glass: 7882035 },		// Level 23
		{ wood: 33580856, marble: 13237425, glass: 9224500 },		// Level 24
		{ wood: 40301974, marble: 15623676, glass: 10795613 },		// Level 25
		{ wood: 48368305, marble: 18440085, glass: 12634317 },		// Level 26
		{ wood: 58049091, marble: 21764196, glass: 14786189 },		// Level 27
		{ wood: 69667459, marble: 25687530, glass: 17304567 },		// Level 28
		{ wood: 83611213, marble: 30318105, glass: 20251874 },		// Level 29
		{ wood: 100345772, marble: 35783412, glass: 23701164 },		// Level 30
		{ wood: 120429707, marble: 42233927, glass: 27737937 },		// Level 31
		{ wood: 144533388, marble: 49847246, glass: 32462251 },		// Level 32
		{ wood: 173461356, marble: 58832983, glass: 37991209 },		// Level 33
		{ wood: 208179178, marble: 69438540, glass: 44461856 },		// Level 34
		{ wood: 249845678, marble: 81955911, glass: 52034581 },		// Level 35
		{ wood: 299851616, marble: 96729733, glass: 60897089 },		// Level 36
		{ wood: 359866107, marble: 114166765, glass: 71269056 },	// Level 37
		{ wood: 431892337, marble: 134747092, glass: 83407573 },	// Level 38
		{ wood: 518334422, marble: 159037342, glass: 97613516 },	// Level 39
		{ wood: 622077657, marble: 187706285, glass: 114239010 },	// Level 40
		{ wood: 746584820, marble: 221543249, glass: 133696151 },	// Level 41
		{ wood: 896011756, marble: 261479849, glass: 156467225 },	// Level 42
		{ wood: 1075346089, marble: 308615640, glass: 183116658 },	// Level 43
		{ wood: 1290573705, marble: 364248387, glass: 214305012 },	// Level 44
		{ wood: 1548878546, marble: 429909798, glass: 250805354 },	// Level 45
		{ wood: 1858882405, marble: 507407694, glass: 293522418 },	// Level 46
		{ wood: 2230932698, marble: 598875786, glass: 343515036 },	// Level 47
		{ wood: 2677447853, marble: 706832418, glass: 402022375 },	// Level 48
		{ wood: 3213331811, marble: 834249904, glass: 470494660 },	// Level 49
		{ wood: 3856471495, marble: 984636364, glass: 550629117 },	// Level 50
	],

	// Gods' Shrine
	// Type of resources needed: Wood, Marble, Glass and Sulfur
	"shrineOfOlympus": [
		{ wood: 1116, marble: 0, glass: 0, sulfur: 0 },						// Level  2
		{ wood: 1400, marble: 0, glass: 0, sulfur: 0 },						// Level  3
		{ wood: 1755, marble: 0, glass: 0, sulfur: 0 },						// Level  4
		{ wood: 2201, marble: 231, glass: 0, sulfur: 0 },					// Level  5
		{ wood: 2760, marble: 299, glass: 0, sulfur: 0 },					// Level  6
		{ wood: 3461, marble: 386, glass: 0, sulfur: 0 },					// Level  7
		{ wood: 4340, marble: 499, glass: 0, sulfur: 0 },					// Level  8
		{ wood: 5442, marble: 646, glass: 268, sulfur: 0 },					// Level  9
		{ wood: 6824, marble: 835, glass: 347, sulfur: 0 },					// Level 10
		{ wood: 8558, marble: 1079, glass: 448, sulfur: 133 },				// Level 11
		{ wood: 10732, marble: 1396, glass: 579, sulfur: 178 },				// Level 12
		{ wood: 13457, marble: 1805, glass: 749, sulfur: 239 },				// Level 13
		{ wood: 16876, marble: 2333, glass: 969, sulfur: 320 },				// Level 14
		{ wood: 21162, marble: 3017, glass: 1252, sulfur: 429 },			// Level 15
		{ wood: 26537, marble: 3901, glass: 1619, sulfur: 575 },			// Level 16
		{ wood: 33277, marble: 5044, glass: 2094, sulfur: 770 },			// Level 17
		{ wood: 41730, marble: 6522, glass: 2707, sulfur: 1032 },			// Level 18
		{ wood: 52329, marble: 8433, glass: 3500, sulfur: 1383 },			// Level 19
		{ wood: 65621, marble: 10904, glass: 4526, sulfur: 1853 },			// Level 20
		{ wood: 82289, marble: 14099, glass: 5852, sulfur: 2483 },			// Level 21
		{ wood: 103190, marble: 18230, glass: 7567, sulfur: 3327 },			// Level 22
		{ wood: 129400, marble: 23571, glass: 9784, sulfur: 4458 },			// Level 23
		{ wood: 162268, marble: 30478, glass: 12651, sulfur: 5973 },		// Level 24
		{ wood: 203484, marble: 39408, glass: 16357, sulfur: 8004 },		// Level 25
		{ wood: 255169, marble: 50954, glass: 21150, sulfur: 10726 },		// Level 26
		{ wood: 319982, marble: 65884, glass: 27347, sulfur: 14372 },		// Level 27
		{ wood: 401258, marble: 85188, glass: 35360, sulfur: 19259 },		// Level 28
		{ wood: 503177, marble: 110148, glass: 45720, sulfur: 25807 },		// Level 29
		{ wood: 630984, marble: 142421, glass: 59116, sulfur: 34581 },		// Level 30
		{ wood: 791254, marble: 184151, glass: 76437, sulfur: 46339 },		// Level 31
		{ wood: 992233, marble: 238107, glass: 98833, sulfur: 62094 },		// Level 32
		{ wood: 1244260, marble: 307872, glass: 127791, sulfur: 83206 },	// Level 33
		{ wood: 1560302, marble: 398079, glass: 165233, sulfur: 111497 },	// Level 34
		{ wood: 1956619, marble: 514716, glass: 213647, sulfur: 149406 },	// Level 35
		{ wood: 2453600, marble: 665528, glass: 276245, sulfur: 200203 },	// Level 36
		{ wood: 3076815, marble: 860528, glass: 357185, sulfur: 268273 },	// Level 37
		{ wood: 3858325, marble: 1112662, glass: 461841, sulfur: 359485 },	// Level 38
		{ wood: 4838340, marble: 1438672, glass: 597160, sulfur: 481710 },	// Level 39
		{ wood: 6067278, marble: 1860203, glass: 772128, sulfur: 645492 },	// Level 40
		{ wood: 7608367, marble: 2405243, glass: 998361, sulfur: 864959 },	// Level 41
	],

Poster une réponse

Connectez-vous pour poster une réponse.