Ikariam kChen Overview

By kchen Last update Feb 18, 2009 — Installed 322,738 times. Daily Installs: 120, 97, 122, 97, 85, 95, 73, 124, 107, 93, 73, 86, 88, 92, 81, 97, 108, 105, 91, 111, 85, 100, 65, 122, 111, 83, 85, 75, 147, 171, 80

Cost update

Subscribe to Cost update 4 posts, 2 voices

frechi User

var costs = {
"townHall" : [{}, {w:158, t:"59m 4s"}, {w:335, t:"1h 6m"}, {w:623, t:"1h 14m"}, {w:923, M:285, t:"1h 23m"}, {w:1390, M:551, t:"1h 34m"}, {w:2015, M:936, t:"1h 48m"}, {w:2706, M:1411, t:"2h 3m"}, {w:3661, M:4776, t:"2h 21m"}, {w:4776, M:2945, t:"2h 42m"}, {w:6173, M:4072, t:"3h 6m"}, {w:8074, M:5664, t:"3h 35m"}, {w:10280, M:7637, t:"4h 8m"}, {w:13023, M:10214, t:"4h 48m"}, {w:16424, M:13575, t:"5h 34m"}, {w:20986, M:18254, t:"6h 27m"}, {w:25423, M:23250, t:"7h 30m"}, {w:32285, M:31022, t:"8h 44m"}, {w:40232, M:40599, t:"10h 10m"}, {w:49286, M:52216, t:"11h 51m"}, {w:61207, M:68069, t:"13h 49m"}, {w:74804, M:87316, t:"16h 6m"}, {w:93956, M:115101, t:"18h 48m"}, {w:113035, M:145326, t:"21h 56m"}, {w:141593, M:191052, t:"1D 1h"}, {w:170213, M:241039, t:"1D 5h"}],
"academy" : [{w:64, t:"16m 48s"}, {w:68, t:"22m 34s"}, {w:115, t:"29m 28s"}, {w:263, t:"37m 46s"}, {w:382, C:225, t:"47m 43s"}, {w:626, C:428, t:"59m 40s"}, {w:982, C:744, t:"1h 14m"}, {w:1330, C:1089, t:"1h 31m"}, {w:2004, C:1748, t:"1h 51m"}, {w:2665, C:2454, t:"2h 16m"}, {w:3916, C:3786, t:"2h 46m"}, {w:5156, C:5216, t:"3h 21m"}, {w:7446, C:7862, t:"4h 4m"}, {w:9753, C:10729, t:"4h 56m"}, {w:12751, C:14599, t:"5h 57m"}, {w:18163, C:21627, t:"7h 11m"}],
"port" : [{w:59, t:"16m 48s"}, {w:150, t:"23m 6s"}, {w:274, t:"30m 21s"}, {w:429, t:"38m 41s"}, {w:637, t:"48m 15s"}, {w:894, M:176, t:"59m 17s"}, {w:1207, M:326, t:"1h 11m"}, {w:1645, M:540, t:"1h 26m"}, {w:2106, M:791, t:"1h 43m"}, {w:2735, M:1138, t:"2h 2m"}, {w:3537, M:1598, t:"2h 24m"}, {w:4492, M:2176, t:"2h 50m"}, {w:5689, M:2928, t:"3h 19s"}, {w:7103, M:3859, t:"3h 53m"}, {w:8850, M:5051, t:"4h 31m"}, {w:11094, M:6628, t:"5h 16m"}, {w:13731, M:8566, t:"6h 7m"}, {w:17062, M:11089, t:"7h 6m"}, {w:21097, M:14265, t:"8h 14m"}, {w:25965, M:18241, t:"9h 32m"}, {w:31810, M:23197, t:"11h 2m"}, {w:39190, M:29642, t:"12h 45m"}, {w:47998, M:37636, t:"14h 43m"}, {w:58713, M:47703, t:"17h 14s"}],
"shipyard" : [{w:105, t:"43m 12s"}, {w:202, t:"51m 18s"}, {w:324, t:"59m 48s"}, {w:477, t:"1h 8m"}, {w:671, t:"1h 18m"}, {w:914, M:778, t:"1h 27m"}, {w:1222, M:1052, t:"1h 38m"}, {w:1609, M:1397, t:"1h 49m"}, {w:2096, M:1832, t:"2h 33m"}, {w:2711, M:2381, t:"2h 12m"}, {w:3485, M:3071, t:"2h 25m"}, {w:4460, M:3942, t:"2h 38m"}, {w:5689, M:5038, t:"2h 52m"}, {w:7238, M:6420, t:"3h 6m"}, {w:9190, M:8161, t:"3h 21m"}, {w:11648, M:10354, t:"3h 37m"}],
"warehouse" : [{w:160, t:"18m 43s"}, {w:288, t:"26m 23s"}, {w:442, t:"35m 7s"}, {w:626, M:96, t:"45m 4s"}, {w:847, M:211, t:"56m 52s"}, {w:1113, M:349, t:"1h 9m"}, {w:1431, M:515, t:"1h 24m"}, {w:1813, M:714, t:"1h 40m"}, {w:2272, M:953, t:"2h 6s"}, {w:2822, M:1240, t:"2h 21m"}, {w:3483, M:1584, t:"2h 46m"}, {w:4275, M:1997, t:"3h 15m"}, {w:5226, M:2492, t:"3h 47m"}, {w:6368, M:3086, t:"4h 24m"}, {w:7737, M:3800, t:"5h 6m"}, {w:9380, M:4656, t:"5h 54m"}, {w:11353, M:5683, t:"6h 49m"}, {w:13719, M:6915, t:"7h 51m"}, {w:16559, M:8394, t:"9h 2m"}, {w:19967, M:10169, t:"10h 23m"}],
"wall" : [{w:114, t:"42m"}, {w:361, M:203, t:"51m 36s"}, {w:657, M:516, t:"1h 2m"}, {w:1012, M:892, t:"1h 13m"}, {w:1439, M:1344, t:"1h 26m"}, {w:1951, M:1885, t:"1h 40m"}, {w:2565, M:2535, t:"1h 56m"}, {w:3302, M:3315, t:"2h 13m"}, {w:4186, M:4251, t:"2h 31m"}, {w:5247, M:5374, t:"2h 52m"}, {w:6521, M:6721, t:"3h 15m"}, {w:8049, M:8338, t:"3h 39m"}, {w:9882, M:10278, t:"4h 7m"}, {w:12083, M:12608, t:"4h 37m"}, {w:14724, M:15402, t:"5h 10m"}, {w:17892, M:18755, t:"5h 47m"}, {w:21695, M:22779, t:"6h 27m"}, {w:26258, M:27607, t:"7h 11m"}, {w:31733, M:33402, t:"7h 59m"}, {w:38304, M:40355, t:"8h 53m"}, {w:46189, M:48699, t:"9h 51m"}, {w:55650, M:58711, t:"10h 56m"}, {w:67004, M:70726, t:"12h 7m"}, {w:80629, M:85144, t:"13h 25m"}, {w:0, M:0, t:"???"}, {w:116599, M:123208, t:"16h 26m"}, {w:120522, M:127384, t:"18h 10m"}, {w:168395, M:178019, t:"20h 4m"}],
"tavern" : [{w:101, t:"16m 48s"}, {w:222, t:"28m 15s"}, {w:367, t:"40m 23s"}, {w:541, M:94, t:"53m 15s"}, {w:750, M:122, t:"1h 6m"}, {w:1001, M:158, t:"1h 21m"}, {w:1302, M:206, t:"1h 36m"}, {w:1663, M:267, t:"1h 52m"}, {w:2097, M:348, t:"2h 10m"}, {w:2617, M:452, t:"2h 28m"}, {w:3241, M:587, t:"2h 47m"}, {w:3990, M:764, t:"3h 8m"}, {w:4888, M:993, t:"3h 29m"}, {w:5967, M:1290, t:"3h 52m"}, {w:7261, M:1677, t:"4h 17m"}, {w:8814, M:2181, t:"4h 43m"}, {w:10678, M:2835, t:"5h 10m"}, {w:12914, M:3685, t:"5h 39m"}, {w:15598, M:4791, t:"6h 10m"}, {w:18818, M:6228, t:"6h 43m"}, {w:22683, M:8097, t:"7h 17m"}, {w:27320, M:10526, t:"7h 54m"}, {w:32885, M:13684, t:"8h 33m"}, {w:39562, M:17789, t:"9h 14m"}],
"museum" : [{w:559, M:279, t:"1h 36m"}, {w:1435, M:1190, t:"2h 9m"}, {w:2748, M:2573, t:"2h 45m"}, {w:4715, M:4676, t:"3h 25m"}, {w:7669, M:7871, t:"4h 9m"}, {w:12099, M:12728, t:"4h 57m"}, {w:18743, M:20112, t:"5h 50m"}, {w:28709, M:31335, t:"6h 49m"}, {w:37548, M:41618, t:"7h 53m"}, {w:66085, M:74323, t:"9h 4m"}],
"palace" : [{w:712, t:"4h 28m"}, {w:5823, M:1434, t:"6h 16m"}, {w:16048, M:4546, S:3089, t:"8h 46m"}, {w:36496, W:10898, M:10770, S:10301, t:"12h 17m"}, {w:77392, W:22110, M:23218, C:21188, S:24725, t:"17h 12m"}, {w:136989, W:38299, M:41378, C:36414, S:46072, t:"1D 5m"}, {w:323081, W:89381, M:97906, C:84823, S:111269, t:"1D 9h"}, {w:558944, W:154007, M:159739, C:145917, S:194928, t:"???"}],
"palaceColony" : [{w:712, t:"4h 28m"}, {w:5823, M:1434, t:"6h 16m"}, {w:16048, M:4546, S:3089, t:"8h 46m"}, {w:36496, W:10898, M:10770, S:10301, t:"12h 17m"}, {w:77392, W:22110, M:23218, C:21188, S:24725, t:"17h 12m"}, {w:136989, W:38299, M:41378, C:36414, S:46072, t:"1D 5m"}, {w:323081, W:89381, M:97906, C:84823, S:111269, t:"1D 9h"}, {w:558944, W:154007, M:159739, C:145917, S:194928, t:"???"}],
"embassy" : [{w:242, M:155, t:"1h 12m"}, {w:414, M:342, t:"1h 24m"}, {w:623, M:571, t:"1h 36m"}, {w:873, M:850, t:"1h 49m"}, {w:1173, M:1190, t:"2h 3m"}, {w:1532, M:1606, t:"2h 18m"}, {w:1964, M:2112, t:"2h 33m"}, {w:2482, M:2730, t:"2h 49m"}, {w:3103, M:3484, t:"3h 6m"}, {w:3849, M:4404, t:"3h 24m"}, {w:4742, M:5527, t:"3h 42m"}, {w:5817, M:6896, t:"4h 2m"}, {w:7105, M:8566, t:"4h 23m"}, {w:8650, M:10604, t:"4h 44m"}, {w:10507, M:13090, t:"5h 7m"}, {w:12733, M:16123, t:"5h 30m"}],
"branchOffice" : [{w:48, t:"24m"}, {w:173, t:"42m"}, {w:346, t:"1h 1m"}, {w:581, t:"1h 23m"}, {w:896, M:540, t:"1h 47m"}, {w:1314, M:792, t:"2h 13m"}, {w:1863, M:1123, t:"2h 42m"}, {w:2580, M:1555, t:"3h 14m"}, {w:3509, M:2114, t:"3h 49m"}, {w:4706, M:2837, t:"4h 28m"}, {w:6241, M:3762, t:"5h 10m"}, {w:8203, M:4945, t:"5h 57m"}, {w:10699, M:6450, t:"6h 48m"}, {w:13866, M:8359, t:"7h 45m"}, {w:17871, M:10774, t:"8h 47m"}, {w:22926, M:13820, t:"9h 55m"}, {w:29285, M:17654, t:"11h 11m"}, {w:37273, M:22469, t:"12h 33m"}],
"safehouse" : [{w:113, t:"24m"}, {w:248, t:"36m"}, {w:402, t:"48m 36s"}, {w:578, M:129, t:"1h 1m"}, {w:779, M:179, t:"1h 15m"}, {w:1007, M:275, t:"1h 30m"}, {w:1267, M:366, t:"1h 45m"}, {w:1564, M:471, t:"2h 1m"}, {w:1903, M:593, t:"2h 18m"}, {w:2288, M:735, t:"2h 36m"}, {w:2728, M:900, t:"2h 54m"}, {w:3230, M:1090, t:"3h 14m"}, {w:3801, M:1312, t:"3h 35m"}, {w:4453, M:1569, t:"3h 56m"}, {w:5195, M:1866, t:"4h 19m"}, {w:6042, M:2212, t:"4h 42m"}, {w:0, M:0, t:"???"}, {w:0, M:0, t:"???"}, {w:0, M:0, t:"???"}, {w:0, M:0, t:"???"}, {w:10683, M:4272, t:"7h 47s"}],
"barracks" : [{w:49, t:"13m 12s"}, {w:114, t:"17m 24s"}, {w:195, t:"22m 1s"}, {w:296, t:"27m 6s"}, {w:420, t:"32m 42s"}, {w:574, t:"38m 50s"}, {w:766, t:"45m 36s"}, {w:1003, t:"53m 3s"}, {w:1297, M:178, t:"1h 1m"}, {w:1662, M:431, t:"1h 10m"}, {w:2115, M:745, t:"1h 20m"}, {w:2676, M:1134, t:"1h 31m"}, {w:3371, M:1616, t:"1h 43m"}, {w:4234, M:2214, t:"1h 56m"}, {w:5304, M:2956, t:"2h 10m"}, {w:6630, M:3875, t:"2h 26m"}, {w:8275, M:5015, t:"2h 44m"}, {w:10314, M:6429, t:"3h 3m"}, {w:12843, M:8183, t:"3h 24m"}, {w:15979, M:10357, t:"3h 48m"}, {w:19868, M:13052, t:"4h 13m"}, {w:24690, M:16395, t:"4h 42m"}, {w:30669, M:20540, t:"5h 13m"}, {w:38083, M:25680, t:"5h 47m"}, {w:0, M:0, t:"???"}],
"workshop" : [{w:220, M:95, t:"42m"}, {w:383, M:167, t:"54m"}, {w:569, M:250, t:"1h 6m"}, {w:781, M:349, t:"1h 19m"}, {w:1023, M:461, t:"1h 33m"}, {w:1299, M:592, t:"1h 48m"}, {w:1613, M:744, t:"2h 3m"}, {w:1971, M:920, t:"2h 19m"}, {w:2380, M:1125, t:"2h 36m"}, {w:2846, M:1362, t:"2h 54m"}, {w:3377, M:1637, t:"3h 12m"}, {w:3982, M:1956, t:"3h 32m"}, {w:4671, M:2326, t:"3h 53m"}, {w:5457, M:2755, t:"4h 14m"}, {w:6355, M:3253, t:"4h 37m"}, {w:7377, M:3831, t:"5h 57m"}],
"forester" : [{w:235, t:"18m"}, {w:404, M:97, t:"30m"}, {w:624, M:222, t:"43m 12s"}, {w:909, M:385, t:"57m 43s"}, {w:1282, M:596, t:"1h 13m"}, {w:1765, M:872, t:"1h 31m"}, {w:2393, M:1230, t:"1h 50m"}, {w:3210, M:1694, t:"2h 11m"}, {w:4271, M:2299, t:"2h 35m"}, {w:5652, M:3085, t:"3h 57s"}, {w:7446, M:4105, t:"3h 29m"}, {w:9778, M:5434, t:"4h 22s"}, {w:12811, M:7159, t:"4h 34m"}, {w:16753, M:9403, t:"5h 12m"}, {w:21877, M:12321, t:"5h 53m"}, {w:28540, M:16113, t:"6h 39m"}],
"carpentering" : [{w:118, t:"1h 18m"}, {w:438, t:"1h 32m"}, {w:843, t:"1h 48m"}, {w:1351, t:"2h 6m"}, {w:1990, t:"2h 26m"}, {w:2794, t:"2h 49m"}, {w:3806, t:"3h 14m"}, {w:5076, M:1920, t:"3h 43m"}, {w:6675, M:2662, t:"4h 15m"}, {w:8684, M:3689, t:"4h 50m"}, {w:11209, M:5113, t:"5h 30m"}, {w:14382, M:7086, t:"6h 15m"}, {w:18368, M:9823, t:"7h 5m"}, {w:23377, M:13614, t:"8h 1m"}, {w:29669, M:18869, t:"9h 4m"}, {w:37572, M:26152, t:"10h 14m"}],
"stonemason" : [{w:257, t:"18m"}, {w:438, M:109, t:"30m"}, {w:674, M:239, t:"43m 12s"}, {w:982, M:409, t:"57m 43s"}, {w:1380, M:630, t:"1h 13m"}, {w:1899, M:918, t:"1h 31m"}, {w:2573, M:1292, t:"1h 50m"}, {w:3450, M:1778, t:"2h 11m"}, {w:4590, M:2410, t:"2h 35m"}, {w:6071, M:3230, t:"3h 57s"}, {w:7997, M:4297, t:"3h 29m"}, {w:10501, M:5686, t:"4h 22s"}, {w:13755, M:7489, t:"4h 34m"}, {w:17986, M:9834, t:"5h 12m"}, {w:23487, M:12882, t:"5h 53m"}, {w:30638, M:16845, t:"6h 39m"}],
"glassblowing" : [{w:257, t:"18m"}, {w:438, M:109, t:"30m"}, {w:674, M:239, t:"43m 12s"}, {w:982, M:409, t:"57m 43s"}, {w:1380, M:630, t:"1h 13m"}, {w:1899, M:918, t:"1h 31m"}, {w:2573, M:1292, t:"1h 50m"}, {w:3450, M:1778, t:"2h 11m"}, {w:4590, M:2410, t:"2h 35m"}, {w:6071, M:3230, t:"3h 57s"}, {w:7997, M:4297, t:"3h 29m"}, {w:10501, M:5686, t:"4h 22s"}, {w:13755, M:7489, t:"4h 34m"}, {w:17986, M:9834, t:"5h 12m"}, {w:23487, M:12882, t:"5h 53m"}, {w:30638, M:16845, t:"6h 39m"}],
"winegrower" : [{w:257, t:"18m"}, {w:438, M:109, t:"30m"}, {w:674, M:239, t:"43m 12s"}, {w:982, M:409, t:"57m 43s"}, {w:1380, M:630, t:"1h 13m"}, {w:1899, M:918, t:"1h 31m"}, {w:2573, M:1292, t:"1h 50m"}, {w:3450, M:1778, t:"2h 11m"}, {w:4590, M:2410, t:"2h 35m"}, {w:6071, M:3230, t:"3h 57s"}, {w:7997, M:4297, t:"3h 29m"}, {w:10501, M:5686, t:"4h 22s"}, {w:13755, M:7489, t:"4h 34m"}, {w:17986, M:9834, t:"5h 12m"}, {w:23487, M:12882, t:"5h 53m"}, {w:30638, M:16845, t:"6h 39m"}],
"alchemist" : [{w:257, t:"18m"}, {w:438, M:109, t:"30m"}, {w:674, M:239, t:"43m 12s"}, {w:982, M:409, t:"57m 43s"}, {w:1380, M:630, t:"1h 13m"}, {w:1899, M:918, t:"1h 31m"}, {w:2573, M:1292, t:"1h 50m"}, {w:3450, M:1778, t:"2h 11m"}, {w:4590, M:2410, t:"2h 35m"}, {w:6071, M:3230, t:"3h 57s"}, {w:7997, M:4297, t:"3h 29m"}, {w:10501, M:5686, t:"4h 22s"}, {w:13755, M:7489, t:"4h 34m"}, {w:17986, M:9834, t:"5h 12m"}, {w:23487, M:12882, t:"5h 53m"}, {w:30638, M:16845, t:"6h 39m"}],
"architect" : [{w:159, M:91, t:"16m 12s"}, {w:250, M:137, t:"19m 48s"}, {w:355, M:190, t:"23m 37s"}, {w:477, M:253, t:"27m 40s"}, {w:619, M:325, t:"31m 57s"}, {w:783, M:408, t:"36m 30s"}, {w:974, M:504, t:"41m 19s"}, {w:1195, M:615, t:"46m 25s"}, {w:1452, M:743, t:"51m 50s"}, {w:1750, M:890, t:"57m 34s"}, {w:2095, M:1060, t:"1h 3m"}, {w:2495, M:1255, t:"1h 10m"}, {w:2960, M:1480, t:"1h 16m"}, {w:3500, M:1739, t:"1h 24m"}, {w:4125, M:2037, t:"1h 31m"}, {w:4850, M:2379, t:"1h 40m"}],
"optician" : [{w:102, t:"13m 48s"}, {w:161, M:30, t:"17m 24s"}, {w:231, M:82, t:"21m 13s"}, {w:311, M:143, t:"25m 16s"}, {w:405, M:214, t:"29m 33s"}, {w:513, M:296, t:"34m 6s"}, {w:638, M:391, t:"38m 55s"}, {w:784, M:502, t:"44m 1s"}, {w:952, M:630, t:"49m 26s"}, {w:1148, M:778, t:"55m 10s"}, {w:1376, M:951, t:"1h 1m"}, {w:1639, M:1150, t:"1h 7m"}, {w:1944, M:1382, t:"1h 14m"}, {w:2298, M:1652, t:"1h 21m"}, {w:2710, M:1963, t:"1h 29m"}, {w:3187, M:2325, t:"1h 37m"}],
"vineyard" : [{w:291, M:105, t:"22m 48s"}, {w:363, M:170, t:"26m 24s"}, {w:447, M:245, t:"30m 13s"}, {w:542, M:332, t:"34m 16s"}, {w:651, M:433, t:"38m 33s"}, {w:778, M:550, t:"43m 6s"}, {w:923, M:686, t:"47m 55s"}, {w:1091, M:843, t:"53m 1s"}, {w:1283, M:1026, t:"58m 26s"}, {w:1504, M:1238, t:"1h 4m"}, {w:1758, M:1484, t:"1h 10m"}, {w:2050, M:1769, t:"1h 16m"}, {w:2386, M:2100, t:"1h 23m"}, {w:2773, M:2484, t:"1h 30m"}, {w:3217, M:2930, t:"1h 38m"}, {w:3728, M:3446, t:"1h 46m"}],
"fireworker" : [{w:234, M:116, t:"16m 12s"}, {w:303, M:182, t:"19m 48s"}, {w:382, M:259, t:"23m 37s"}, {w:473, M:348, t:"27m 40s"}, {w:578, M:452, t:"31m 57s"}, {w:699, M:571, t:"36m 30s"}, {w:837, M:711, t:"41m 19s"}, {w:996, M:872, t:"46m 25s"}, {w:1180, M:1060, t:"51m 50s"}, {w:1391, M:1277, t:"57m 34s"}, {w:1633, M:1529, t:"1h 3m"}, {w:1911, M:1823, t:"1h 10m"}, {w:2232, M:2162, t:"1h 16m"}, {w:2601, M:2555, t:"1h 24m"}, {w:3024, M:3012, t:"1h 31m"}, {w:3512, M:3542, t:"1h 40m"}]
};

 
frechi User

I fixed a little Error in the code above.
The vineyard was called wineyard, so the script couldn't read the correctly costs for this building.

 
jacs User

This list of costs does not make any sense already, with the new buildings one reduces the quantities according to the level that you have, for what if there is not created a variable that has it in account(bill), is all the same to update the list of costs.

 
frechi User

you are right, but the basic costs for the buildings will be needed.
the rest is just a simple formular, for example: basic costs wood - researche bonus - (carpentry level * 1%) = need ressources of wood
at the moment the formular is basic costs - researche bonus = need ressources
the level of the carpentry, optician, architect, fireworker and wine cellars can be read out be the script itself. so only the formular have to be modified and the script will work in v0.3.0

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel