Skip to content

Instantly share code, notes, and snippets.

@ThiefMaster
Created May 17, 2011 20:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ThiefMaster/977263 to your computer and use it in GitHub Desktop.
Save ThiefMaster/977263 to your computer and use it in GitHub Desktop.
{
"suc": true,
"data": {
"cityView": {
"name": "Metropolis",
"money": 673511,
"stone": 750,
"stone_capacity_percent": 75,
"food": 735,
"food_capacity_percent": 73,
"iron": 690,
"iron_capacity_percent": 69,
"electricity": 690,
"electricity_capacity_percent": 69,
"inhabitantSatisfaction": 97,
"population": 100,
"population_max": 100,
"taxes": 500,
"UTS": 1305662108,
"GTS": 130566210
},
"combat_units": {
"4": {
"id": "4",
"type": "2",
"name": "Destroyer 88",
"image": "destroyer_88",
"level": "1",
"unit_type_strength": 350,
"upgrade_strength": 0,
"combat_strength": 350,
"upgrades": {
"1": {
"type": null,
"level": "0"
},
"2": {
"type": null,
"level": "0"
},
"3": {
"type": null,
"level": "0"
}
},
"drills": []
},
"5": {
"id": "5",
"type": "2",
"name": "Destroyer 13",
"image": "destroyer_13",
"level": "1",
"unit_type_strength": 350,
"upgrade_strength": 0,
"combat_strength": 350,
"upgrades": {
"1": {
"type": null,
"level": "0"
},
"2": {
"type": null,
"level": "0"
},
"3": {
"type": null,
"level": "0"
}
},
"drills": []
},
"6": {
"id": "6",
"type": "2",
"name": "Destroyer 84",
"image": "destroyer_84",
"level": "1",
"unit_type_strength": 350,
"upgrade_strength": 0,
"combat_strength": 350,
"upgrades": {
"1": {
"type": null,
"level": "0"
},
"2": {
"type": null,
"level": "0"
},
"3": {
"type": null,
"level": "0"
}
},
"drills": []
},
"7": {
"id": "7",
"type": "2",
"name": "Destroyer 41",
"image": "destroyer_41",
"level": "1",
"unit_type_strength": 350,
"upgrade_strength": 0,
"combat_strength": 350,
"upgrades": {
"1": {
"type": null,
"level": "0"
},
"2": {
"type": null,
"level": "0"
},
"3": {
"type": null,
"level": "0"
}
},
"drills": []
},
"9": {
"id": "9",
"type": "0",
"name": "Android 92",
"image": "android_92",
"level": "1",
"unit_type_strength": 100,
"upgrade_strength": 0,
"combat_strength": 100,
"upgrades": {
"1": {
"type": null,
"level": "0"
},
"2": {
"type": null,
"level": "0"
},
"3": {
"type": null,
"level": "0"
}
},
"drills": []
},
"18": {
"id": "18",
"type": "2",
"name": "Destroyer 12",
"image": "destroyer_12",
"level": "1",
"unit_type_strength": 350,
"upgrade_strength": 0,
"combat_strength": 350,
"upgrades": {
"1": {
"type": null,
"level": "0"
},
"2": {
"type": null,
"level": "0"
},
"3": {
"type": null,
"level": "0"
}
},
"drills": []
},
"19": {
"id": "19",
"type": "0",
"name": "Android 11",
"image": "android_11",
"level": "1",
"unit_type_strength": 100,
"upgrade_strength": 0,
"combat_strength": 100,
"upgrades": {
"1": {
"type": null,
"level": "0"
},
"2": {
"type": null,
"level": "0"
},
"3": {
"type": null,
"level": "0"
}
},
"drills": []
},
"20": {
"id": "20",
"type": "0",
"name": "Android 76",
"image": "android_76",
"level": "1",
"unit_type_strength": 100,
"upgrade_strength": 0,
"combat_strength": 100,
"upgrades": {
"1": {
"type": "0",
"level": "0"
},
"2": {
"type": "0",
"level": "0"
},
"3": {
"type": "0",
"level": "0"
}
},
"drills": []
},
"21": {
"id": "21",
"type": "0",
"name": "Android 71",
"image": "android_71",
"level": "1",
"unit_type_strength": 100,
"upgrade_strength": 0,
"combat_strength": 100,
"upgrades": {
"1": {
"type": "0",
"level": "0"
},
"2": {
"type": "0",
"level": "0"
},
"3": {
"type": "0",
"level": "0"
}
},
"drills": []
},
"22": {
"id": "22",
"type": "0",
"name": "Android 24",
"image": "android_24",
"level": "1",
"unit_type_strength": 100,
"upgrade_strength": 0,
"combat_strength": 100,
"upgrades": {
"1": {
"type": "0",
"level": "0"
},
"2": {
"type": "0",
"level": "0"
},
"3": {
"type": "0",
"level": "0"
}
},
"drills": []
}
},
"unit_upgrades": [
{
"effectiveness": 0,
"costs": {
"money": 0,
"iron": 0,
"stone": 0,
"food": 0,
"electricity": 0,
"duration_ut": 0
},
"upgrade_strength_factor": [
1,
1,
1,
1,
1,
1,
1
]
},
{
"effectiveness": 0.1,
"costs": {
"money": 100,
"iron": 0,
"stone": 0,
"food": 0,
"electricity": 0,
"duration_ut": 60
},
"upgrade_strength_factor": [
1,
2,
3,
4,
5,
6,
7
]
},
{
"effectiveness": 0.1,
"costs": {
"money": 200,
"iron": 0,
"stone": 0,
"food": 0,
"electricity": 0,
"duration_ut": 120
},
"upgrade_strength_factor": [
1,
2,
3,
4,
5,
6,
7
]
},
{
"effectiveness": 0.1,
"costs": {
"money": 300,
"iron": 0,
"stone": 0,
"food": 0,
"electricity": 0,
"duration_ut": 180
},
"upgrade_strength_factor": [
1,
2,
3,
4,
5,
6,
7
]
},
{
"effectiveness": 0.1,
"costs": {
"money": 400,
"iron": 0,
"stone": 0,
"food": 0,
"electricity": 0,
"duration_ut": 3000
},
"upgrade_strength_factor": [
1,
2,
3,
4,
5,
6,
7
]
},
{
"effectiveness": 0.1,
"costs": {
"money": 500,
"iron": 0,
"stone": 0,
"food": 0,
"electricity": 0,
"duration_ut": 3600
},
"upgrade_strength_factor": [
1,
2,
3,
4,
5,
6,
7
]
},
{
"effectiveness": 0.1,
"costs": {
"money": 600,
"iron": 0,
"stone": 0,
"food": 0,
"electricity": 0,
"duration_ut": 4200
},
"upgrade_strength_factor": [
60,
61,
62,
63,
64,
65,
66
]
},
{
"effectiveness": 0.1,
"costs": {
"money": 800,
"iron": 0,
"stone": 0,
"food": 0,
"electricity": 0,
"duration_ut": 4800
},
"upgrade_strength_factor": [
1,
2,
3,
4,
5,
6,
7
]
},
{
"effectiveness": 0.1,
"costs": {
"money": 1000,
"iron": 0,
"stone": 0,
"food": 0,
"electricity": 0,
"duration_ut": 5400
},
"upgrade_strength_factor": [
1,
2,
3,
4,
5,
6,
7
]
},
{
"effectiveness": 0.1,
"costs": {
"money": 1250,
"iron": 0,
"stone": 0,
"food": 0,
"electricity": 0,
"duration_ut": 6600
},
"upgrade_strength_factor": [
1,
2,
3,
4,
5,
6,
7
]
},
{
"effectiveness": 0.1,
"costs": {
"money": 1500,
"iron": 0,
"stone": 0,
"food": 0,
"electricity": 0,
"duration_ut": 7800
},
"upgrade_strength_factor": [
1,
2,
3,
4,
5,
6,
7
]
},
{
"effectiveness": 0.1,
"costs": {
"money": 2000,
"iron": 0,
"stone": 0,
"food": 0,
"electricity": 0,
"duration_ut": 9000
},
"upgrade_strength_factor": [
1,
2,
3,
4,
5,
6,
7
]
},
{
"effectiveness": 0.1,
"costs": {
"money": 2500,
"iron": 0,
"stone": 0,
"food": 0,
"electricity": 0,
"duration_ut": 10200
},
"upgrade_strength_factor": [
1,
2,
3,
4,
5,
6,
7
]
},
{
"effectiveness": 0.1,
"costs": {
"money": 3000,
"iron": 0,
"stone": 0,
"food": 0,
"electricity": 0,
"duration_ut": 11400
},
"upgrade_strength_factor": [
1,
2,
3,
4,
5,
6,
7
]
},
{
"effectiveness": 0.1,
"costs": {
"money": 3500,
"iron": 0,
"stone": 0,
"food": 0,
"electricity": 0,
"duration_ut": 12600
},
"upgrade_strength_factor": [
1,
2,
3,
4,
5,
6,
7
]
},
{
"effectiveness": 0.1,
"costs": {
"money": 4000,
"iron": 0,
"stone": 0,
"food": 0,
"electricity": 0,
"duration_ut": 14400
},
"upgrade_strength_factor": [
1,
2,
3,
4,
5,
6,
7
]
},
{
"effectiveness": 0.1,
"costs": {
"money": 4500,
"iron": 0,
"stone": 0,
"food": 0,
"electricity": 0,
"duration_ut": 16200
},
"upgrade_strength_factor": [
1,
2,
3,
4,
5,
6,
7
]
},
{
"effectiveness": 0.1,
"costs": {
"money": 5000,
"iron": 0,
"stone": 0,
"food": 0,
"electricity": 0,
"duration_ut": 18000
},
"upgrade_strength_factor": [
1,
2,
3,
4,
5,
6,
7
]
},
{
"effectiveness": 0.1,
"costs": {
"money": 6000,
"iron": 0,
"stone": 0,
"food": 0,
"electricity": 0,
"duration_ut": 19800
},
"upgrade_strength_factor": [
1,
2,
3,
4,
5,
6,
7
]
},
{
"effectiveness": 0.1,
"costs": {
"money": 7000,
"iron": 0,
"stone": 0,
"food": 0,
"electricity": 0,
"duration_ut": 21600
},
"upgrade_strength_factor": [
1,
2,
3,
4,
5,
6,
7
]
},
{
"effectiveness": 0.1,
"costs": {
"money": 8000,
"iron": 0,
"stone": 0,
"food": 0,
"electricity": 0,
"duration_ut": 23400
},
"upgrade_strength_factor": [
1,
2,
3,
4,
5,
6,
7
]
}
]
},
"messages": {
"errors": [],
"notices": [],
"successes": []
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment