Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@sublimal
Last active March 5, 2016 03:18
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 sublimal/8d6367275c3585cd1bad to your computer and use it in GitHub Desktop.
Save sublimal/8d6367275c3585cd1bad to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
# twitch.tv/citystream
# Takes logs from citystream and converts cell stats to json
#
# WIP
import datetime, re, sys
try:
import json
except ImportError:
import simplejson as json
line = re.compile('\*citystream\* \[stats for (?P<cell>[a-z][0-9]{1,2})\] (?P<data>.*)')
def process(fn):
for l in open(fn).readlines():
match = line.search(l)
if match:
yield match.group('cell'), match.group('data')
sub_line = re.compile('((?P<type>[A-Z ]+) LVL:(?P<lvl>[0-9]+)( \xe2\x99\xa5:(?P<health>[0-9/]+))? COLOR:(?P<color>[^ ]+)( (?P<state>UNDER CONSTRUCTION)\. (Time left:(?P<time>[0-9:]+) \((?P<builders>[0-9]+) builder)?.*|( TRAP:(?P<trap>[0-9]+))?( PEEPS:(?P<peeps>[0-9/]+))?( UPGRADE:(?P<upgrade>\w+))?( DYE:(?P<dye>[0-9/]+))?( BUFF:(?P<buff>[0-9%]+))?\. (\[for upgrade WOOD:(?P<upg_wood>[0-9/]+)( ORE:(?P<upg_ore>[0-9/]+))?( SPIRALS:(?P<upg_spiral>[0-9/]+))?\]|Upgraded to max level))( \[TNT:(?P<tnt>[0-9/]+)\])?|Wood needed to build: (?P<wood>[0-9/]+))')
def main(fn):
stats = [{"":k} for k in range(20)]
for cell, data in process(fn):
try:
x,y = cell[:1], int(cell[1:])
stats[y][x] = dict((k,v) for k,v in sub_line.search(data).groupdict().iteritems() if v)
except:
print >> sys.stderr, "Could not parse: ", data
output(stats)
def output(data):
out = {
'_generated': str(datetime.datetime.now()),
'_src': 'https://gist.github.com/sublimal/8d6367275c3585cd1bad',
'_viewer': 'http://json2table.com/',
'stats': list(v for v in data if len(v) > 1)
}
print json.dumps(out)
if __name__ == '__main__':
for fn in sys.argv[1:]:
main(fn)
{
"_generated": "2016-03-05 14:18:14.895223",
"_src": "https://gist.github.com/sublimal/8d6367275c3585cd1bad",
"_viewer": "http://json2table.com/",
"stats": [
{
"": 1,
"a": {
"color": "purple",
"health": "800/400",
"lvl": "8",
"type": "SPIRE",
"upg_ore": "12000/12000",
"upg_spiral": "7578/9000",
"upg_wood": "12500/12500"
},
"b": {
"buff": "6%",
"color": "smoke",
"dye": "0/1500",
"health": "600/300",
"lvl": "5",
"peeps": "0/9",
"tnt": "0/150",
"type": "OFFENSE",
"upgrade": "thick"
},
"c": {
"buff": "13%",
"color": "orange",
"dye": "6/1500",
"health": "600/300",
"lvl": "5",
"tnt": "2/150",
"trap": "1",
"type": "TRAPPER"
},
"d": {
"buff": "6%",
"color": "brown",
"dye": "0/400",
"health": "480/240",
"lvl": "3",
"tnt": "8/120",
"type": "ALTAR"
},
"e": {
"buff": "6%",
"color": "brown",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"peeps": "0/9",
"tnt": "0/175",
"type": "OFFENSE",
"upgrade": "thick"
},
"f": {
"buff": "25%",
"color": "pine",
"dye": "15/1250",
"health": "500/250",
"lvl": "5",
"peeps": "0/9",
"tnt": "72/125",
"type": "OFFENSE",
"upgrade": "triple"
},
"g": {
"buff": "38%",
"color": "pine",
"dye": "0/450",
"health": "540/270",
"lvl": "3",
"tnt": "0/135",
"trap": "1",
"type": "TRAPPER",
"upg_ore": "0/990",
"upg_wood": "0/900"
},
"h": {
"buff": "25%",
"color": "pine",
"dye": "0/600",
"health": "300/240",
"lvl": "4",
"tnt": "0/120",
"type": "MORTIMER STATUE",
"upg_ore": "0/1200",
"upg_wood": "0/6"
},
"i": {
"buff": "14%",
"color": "red",
"dye": "102/1750",
"health": "700/350",
"lvl": "5",
"tnt": "20/175",
"type": "MOON STATUE"
},
"j": {
"buff": "8%",
"color": "red",
"dye": "0/350",
"health": "280/210",
"lvl": "3",
"tnt": "1/105",
"type": "LOOKOUT",
"upg_ore": "0/525",
"upg_wood": "0/350"
},
"k": {
"buff": "8%",
"color": "red",
"dye": "35/350",
"health": "213/210",
"lvl": "3",
"tnt": "7/105",
"trap": "1",
"type": "TRAPPER",
"upg_ore": "3/770",
"upg_wood": "5/700"
},
"l": {
"color": "red",
"lvl": "3",
"state": "UNDER CONSTRUCTION",
"type": "LOOKOUT"
},
"m": {
"wood": "14/455"
},
"n": {
"buff": "5%",
"color": "red",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "BEEP STATUE"
},
"o": {
"color": "red",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "MOON STATUE"
}
},
{
"": 2,
"a": {
"buff": "6%",
"color": "smoke",
"dye": "12/1500",
"health": "600/300",
"lvl": "5",
"peeps": "0/9",
"tnt": "1/150",
"type": "OFFENSE",
"upgrade": "triple"
},
"b": {
"buff": "25%",
"color": "orange",
"dye": "117/1500",
"health": "600/300",
"lvl": "5",
"tnt": "0/150",
"type": "LOOKOUT",
"upgrade": "amount"
},
"c": {
"color": "orange",
"dye": "56/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "BUFFER"
},
"d": {
"buff": "25%",
"color": "orange",
"dye": "0/350",
"health": "420/210",
"lvl": "3",
"peeps": "0/5",
"tnt": "1/105",
"type": "OFFENSE",
"upg_ore": "15/525",
"upg_wood": "58/350"
},
"e": {
"buff": "19%",
"color": "brown",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"peeps": "0/9",
"tnt": "6/175",
"type": "OFFENSE",
"upgrade": "thick"
},
"f": {
"color": "pine",
"dye": "0/13000",
"health": "5200/2600",
"lvl": "5",
"tnt": "0/1300",
"type": "BUFFER"
},
"g": {
"color": "pine",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "BUFFER"
},
"h": {
"color": "pine",
"dye": "0/1500",
"health": "600/300",
"lvl": "5",
"tnt": "0/150",
"type": "BUFFER"
},
"i": {
"buff": "28%",
"color": "red",
"dye": "0/1750",
"health": "399/350",
"lvl": "5",
"tnt": "0/175",
"type": "LOOKOUT",
"upgrade": "amount"
},
"j": {
"color": "red",
"dye": "0/450",
"health": "270/270",
"lvl": "3",
"tnt": "0/135",
"type": "BUFFER",
"upg_ore": "0/675",
"upg_wood": "0/450"
},
"k": {
"buff": "8%",
"color": "red",
"dye": "1/250",
"health": "150/150",
"lvl": "3",
"tnt": "1/75",
"type": "MORTIMER STATUE",
"upg_ore": "106/750",
"upg_wood": "5/5"
},
"l": {
"buff": "5%",
"color": "red",
"dye": "0/175",
"health": "140/140",
"lvl": "2",
"tnt": "0/70",
"type": "DISCO",
"upg_ore": "0/420",
"upg_wood": "0/350"
},
"m": {
"color": "red",
"lvl": "3",
"state": "UNDER CONSTRUCTION",
"type": "BUFFER"
},
"n": {
"buff": "5%",
"color": "red",
"dye": "0/1750",
"health": "350/350",
"lvl": "5",
"tnt": "0/175",
"type": "SUCKER"
},
"o": {
"color": "red",
"dye": "26/200",
"health": "160/160",
"lvl": "2",
"tnt": "27/80",
"type": "MORTIMER STATUE",
"upg_ore": "0/800",
"upg_wood": "0/8"
}
},
{
"": 3,
"a": {
"buff": "13%",
"color": "orange",
"dye": "97/1500",
"health": "600/300",
"lvl": "5",
"tnt": "0/150",
"type": "LOOKOUT",
"upgrade": "types"
},
"b": {
"color": "orange",
"dye": "17/1500",
"health": "600/300",
"lvl": "5",
"tnt": "0/150",
"type": "BUFFER"
},
"c": {
"buff": "38%",
"color": "orange",
"dye": "69/1750",
"health": "700/350",
"lvl": "5",
"peeps": "0/9",
"tnt": "27/175",
"type": "OFFENSE",
"upgrade": "triple"
},
"d": {
"color": "orange",
"dye": "16/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "BUFFER"
},
"e": {
"buff": "31%",
"color": "orange",
"dye": "56/1750",
"health": "700/350",
"lvl": "5",
"peeps": "0/9",
"tnt": "2/175",
"type": "OFFENSE",
"upgrade": "thick"
},
"f": {
"color": "pine",
"dye": "22/1750",
"health": "700/350",
"lvl": "5",
"tnt": "2/175",
"type": "BUFFER"
},
"g": {
"buff": "100%",
"color": "pine",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"peeps": "1/9",
"tnt": "0/175",
"type": "OFFENSE",
"upgrade": "triple"
},
"h": {
"color": "pine",
"dye": "10/1500",
"health": "600/300",
"lvl": "5",
"tnt": "6/150",
"type": "BUFFER"
},
"i": {
"color": "red",
"dye": "2/350",
"health": "273/210",
"lvl": "3",
"tnt": "27/105",
"type": "BUFFER",
"upg_ore": "0/525",
"upg_wood": "0/350"
},
"j": {
"buff": "15%",
"color": "red",
"dye": "1/1750",
"health": "700/350",
"lvl": "5",
"tnt": "1/175",
"type": "BEEP STATUE"
},
"k": {
"color": "red",
"lvl": "2",
"state": "UNDER CONSTRUCTION",
"type": "MORTIMER STATUE"
},
"l": {
"buff": "5%",
"color": "red",
"dye": "0/200",
"health": "160/160",
"lvl": "2",
"tnt": "0/80",
"type": "BEEP STATUE",
"upg_ore": "0/800",
"upg_wood": "0/8"
},
"m": {
"color": "red",
"lvl": "3",
"state": "UNDER CONSTRUCTION",
"type": "OFFENSE"
},
"n": {
"buff": "5%",
"color": "red",
"dye": "145/1750",
"health": "700/350",
"lvl": "5",
"tnt": "145/175",
"trap": "1",
"type": "TRAPPER"
},
"o": {
"wood": "0/450"
}
},
{
"": 4,
"a": {
"buff": "16%",
"color": "cream",
"dye": "0/1500",
"health": "600/300",
"lvl": "5",
"tnt": "0/150",
"type": "SUCKER"
},
"b": {
"buff": "18%",
"color": "orange",
"dye": "0/1500",
"health": "600/300",
"lvl": "5",
"peeps": "0/9",
"tnt": "0/150",
"type": "OFFENSE",
"upgrade": "thick"
},
"c": {
"buff": "30%",
"color": "orange",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"peeps": "0/9",
"tnt": "1/175",
"type": "OFFENSE",
"upgrade": "thick"
},
"d": {
"buff": "18%",
"color": "orange",
"dye": "39/1750",
"health": "700/350",
"lvl": "5",
"tnt": "7/175",
"type": "LOOKOUT",
"upgrade": "types"
},
"e": {
"buff": "30%",
"color": "orange",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"peeps": "0/9",
"tnt": "4/175",
"type": "OFFENSE",
"upgrade": "triple"
},
"f": {
"color": "pine",
"dye": "29/13000",
"health": "5200/2600",
"lvl": "5",
"tnt": "154/1300",
"type": "BUFFER"
},
"g": {
"color": "pine",
"dye": "0/1500",
"health": "600/300",
"lvl": "5",
"tnt": "1/150",
"type": "BUFFER"
},
"h": {
"color": "pine",
"dye": "0/1500",
"health": "600/300",
"lvl": "5",
"tnt": "0/150",
"type": "BUFFER"
},
"i": {
"color": "navy",
"lvl": "4",
"state": "UNDER CONSTRUCTION",
"type": "MORTIMER STATUE"
},
"j": {
"buff": "29%",
"color": "navy",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "MORTIMER STATUE"
},
"k": {
"buff": "38%",
"color": "navy",
"dye": "0/1500",
"health": "600/300",
"lvl": "5",
"tnt": "0/150",
"type": "ATTRACTOR"
},
"l": {
"buff": "38%",
"color": "navy",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "MOON STATUE"
},
"m": {
"buff": "38%",
"color": "navy",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "ATTRACTOR"
},
"n": {
"wood": "0/490"
},
"o": {
"wood": "5/450"
}
},
{
"": 5,
"a": {
"buff": "10%",
"color": "cream",
"dye": "0/2250",
"health": "900/450",
"lvl": "5",
"tnt": "0/225",
"type": "LOOKOUT",
"upgrade": "amount"
},
"b": {
"color": "cream",
"dye": "0/800",
"health": "560/320",
"lvl": "4",
"tnt": "0/160",
"type": "BUFFER",
"upg_ore": "0/1200",
"upg_wood": "0/800"
},
"c": {
"buff": "5%",
"color": "orange",
"dye": "38/175",
"health": "280/140",
"lvl": "2",
"peeps": "0/3",
"tnt": "0/70",
"type": "OFFENSE",
"upg_wood": "98/175"
},
"d": {
"buff": "11%",
"color": "orange",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "SUCKER"
},
"e": {
"color": "orange",
"lvl": "3",
"state": "UNDER CONSTRUCTION",
"type": "BUFFER"
},
"f": {
"buff": "34%",
"color": "pine",
"dye": "0/5200",
"health": "4160/2080",
"lvl": "4",
"tnt": "43/1040",
"type": "RESEARCH"
},
"g": {
"buff": "38%",
"color": "pine",
"dye": "0/150",
"health": "240/120",
"lvl": "2",
"tnt": "0/60",
"type": "MORTIMER STATUE",
"upg_ore": "0/600",
"upg_wood": "0/6"
},
"h": {
"buff": "25%",
"color": "pine",
"dye": "0/600",
"health": "300/240",
"lvl": "4",
"tnt": "14/120",
"type": "LOOKOUT",
"upg_ore": "0/900",
"upg_wood": "0/600"
},
"i": {
"buff": "31%",
"color": "navy",
"dye": "38/1750",
"health": "700/350",
"lvl": "5",
"tnt": "43/175",
"type": "LOOKOUT",
"upgrade": "amount"
},
"j": {
"color": "navy",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "BUFFER"
},
"k": {
"color": "navy",
"dye": "4/1750",
"health": "700/350",
"lvl": "5",
"tnt": "2/175",
"type": "BUFFER"
},
"l": {
"color": "navy",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "BUFFER"
},
"m": {
"color": "navy",
"dye": "66/1750",
"health": "700/350",
"lvl": "5",
"tnt": "28/175",
"type": "BUFFER"
},
"n": {
"color": "navy",
"dye": "67/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "BUFFER"
},
"o": {
"wood": "0/525"
}
},
{
"": 6,
"a": {
"builders": "2",
"color": "chocolate",
"lvl": "5",
"state": "UNDER CONSTRUCTION",
"time": "01:23:38",
"type": "OFFENSE"
},
"b": {
"buff": "5%",
"color": "chocolate",
"dye": "0/400",
"health": "480/240",
"lvl": "3",
"peeps": "0/5",
"tnt": "0/120",
"type": "OFFENSE",
"upg_ore": "0/600",
"upg_wood": "67/400"
},
"c": {
"buff": "10%",
"color": "cream",
"dye": "0/400",
"health": "480/240",
"lvl": "3",
"peeps": "0/5",
"tnt": "0/120",
"type": "OFFENSE",
"upg_ore": "0/600",
"upg_wood": "0/400"
},
"d": {
"buff": "15%",
"color": "lavender",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "LOOKOUT",
"upgrade": "amount"
},
"e": {
"color": "lavender",
"dye": "59/1750",
"health": "700/350",
"lvl": "5",
"tnt": "59/175",
"type": "BUFFER"
},
"f": {
"buff": "28%",
"color": "lavender",
"dye": "91/13000",
"health": "5200/2600",
"lvl": "5",
"peeps": "0/9",
"tnt": "61/1300",
"type": "OFFENSE",
"upgrade": "thick"
},
"g": {
"buff": "13%",
"color": "lavender",
"dye": "0/1500",
"health": "600/300",
"lvl": "5",
"tnt": "0/150",
"type": "SUCKER"
},
"h": {
"color": "cream",
"dye": "67/1500",
"health": "600/300",
"lvl": "5",
"tnt": "0/150",
"type": "MOON STATUE"
},
"i": {
"buff": "38%",
"color": "navy",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "ATTRACTOR"
},
"j": {
"color": "navy",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "BUFFER"
},
"k": {
"buff": "100%",
"color": "navy",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "DISCO"
},
"l": {
"color": "navy",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "BUFFER"
},
"m": {
"buff": "100%",
"color": "navy",
"dye": "8/1750",
"health": "700/350",
"lvl": "5",
"tnt": "18/175",
"type": "DISCO"
},
"n": {
"color": "navy",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "BUFFER"
},
"o": {
"buff": "38%",
"color": "navy",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "ATTRACTOR"
}
},
{
"": 7,
"a": {
"buff": "8%",
"color": "chocolate",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "LOOKOUT",
"upgrade": "amount"
},
"b": {
"buff": "8%",
"color": "chocolate",
"dye": "0/600",
"health": "480/240",
"lvl": "4",
"peeps": "0/7",
"tnt": "0/120",
"type": "OFFENSE",
"upg_ore": "0/900",
"upg_wood": "0/600"
},
"c": {
"buff": "8%",
"color": "chocolate",
"dye": "35/700",
"health": "560/280",
"lvl": "4",
"peeps": "0/7",
"tnt": "2/140",
"type": "OFFENSE",
"upg_ore": "0/1050",
"upg_wood": "0/700"
},
"d": {
"buff": "25%",
"color": "lavender",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "4/175",
"type": "LOOKOUT",
"upgrade": "amount"
},
"e": {
"buff": "38%",
"color": "lavender",
"dye": "8/1750",
"health": "700/350",
"lvl": "5",
"peeps": "0/9",
"tnt": "4/175",
"type": "OFFENSE",
"upgrade": "thick"
},
"f": {
"color": "lavender",
"dye": "196/13000",
"health": "5200/2600",
"lvl": "5",
"tnt": "10/1300",
"type": "BUFFER"
},
"g": {
"buff": "13%",
"color": "lavender",
"dye": "0/1250",
"health": "500/250",
"lvl": "5",
"tnt": "1/125",
"type": "BEEP STATUE"
},
"h": {
"color": "orange",
"dye": "10/1500",
"health": "600/300",
"lvl": "5",
"tnt": "4/150",
"type": "MORTIMER STATUE"
},
"i": {
"buff": "33%",
"color": "navy",
"dye": "0/700",
"health": "280/280",
"lvl": "4",
"tnt": "0/140",
"type": "LOOKOUT",
"upg_ore": "0/1050",
"upg_wood": "0/700"
},
"j": {
"color": "navy",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "BUFFER"
},
"k": {
"color": "navy",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "BUFFER"
},
"l": {
"color": "navy",
"dye": "69/1750",
"health": "700/350",
"lvl": "5",
"tnt": "28/175",
"type": "BUFFER"
},
"m": {
"color": "navy",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "BUFFER"
},
"n": {
"color": "navy",
"dye": "11/1750",
"health": "700/350",
"lvl": "5",
"tnt": "12/175",
"type": "BUFFER"
},
"o": {
"wood": "1/525"
}
},
{
"": 8,
"a": {
"color": "chocolate",
"lvl": "4",
"state": "UNDER CONSTRUCTION",
"type": "LOOKOUT"
},
"b": {
"color": "chocolate",
"dye": "5/300",
"health": "360/180",
"lvl": "3",
"tnt": "0/90",
"type": "BUFFER",
"upg_ore": "0/450",
"upg_wood": "0/300"
},
"c": {
"buff": "8%",
"color": "chocolate",
"dye": "52/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "ATTRACTOR"
},
"d": {
"buff": "13%",
"color": "lavender",
"dye": "7/1750",
"health": "700/350",
"lvl": "5",
"tnt": "6/175",
"type": "DISCO"
},
"e": {
"color": "lavender",
"dye": "12/1750",
"health": "700/350",
"lvl": "5",
"tnt": "12/175",
"type": "BUFFER"
},
"f": {
"buff": "25%",
"color": "lavender",
"dye": "0/2000",
"health": "800/400",
"lvl": "5",
"tnt": "0/200",
"type": "ATTRACTOR"
},
"g": {
"buff": "13%",
"color": "lavender",
"dye": "0/2000",
"health": "800/400",
"lvl": "5",
"tnt": "4/200",
"type": "MOON STATUE"
},
"h": {
"color": "blue",
"dye": "6/2000",
"health": "800/400",
"lvl": "5",
"tnt": "24/200",
"type": "BEEP STATUE"
},
"i": {
"buff": "20%",
"color": "navy",
"dye": "7/1750",
"health": "700/350",
"lvl": "5",
"tnt": "7/175",
"type": "SUCKER"
},
"j": {
"color": "navy",
"lvl": "3",
"state": "UNDER CONSTRUCTION",
"type": "BUFFER"
},
"k": {
"buff": "45%",
"color": "navy",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "ATTRACTOR"
},
"l": {
"buff": "38%",
"color": "navy",
"dye": "23/1750",
"health": "700/350",
"lvl": "5",
"tnt": "23/175",
"type": "MOON STATUE"
},
"m": {
"buff": "38%",
"color": "navy",
"dye": "3/1750",
"health": "700/350",
"lvl": "5",
"tnt": "3/175",
"type": "ATTRACTOR"
},
"n": {
"wood": "0/490"
},
"o": {
"wood": "1/525"
}
},
{
"": 9,
"a": {
"buff": "8%",
"color": "chocolate",
"dye": "0/1500",
"health": "600/300",
"lvl": "5",
"tnt": "4/150",
"type": "BEEP STATUE"
},
"b": {
"buff": "8%",
"color": "chocolate",
"dye": "0/1500",
"health": "600/300",
"lvl": "5",
"tnt": "31/150",
"type": "MOON STATUE"
},
"c": {
"buff": "14%",
"color": "chocolate",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "ATTRACTOR"
},
"d": {
"buff": "25%",
"color": "lavender",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "ATTRACTOR"
},
"e": {
"buff": "31%",
"color": "lavender",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "MOON STATUE"
},
"f": {
"buff": "25%",
"color": "lavender",
"dye": "130/13000",
"health": "5200/2600",
"lvl": "5",
"tnt": "130/1300",
"type": "MORTIMER STATUE"
},
"g": {
"buff": "9%",
"color": "lavender",
"dye": "2/2000",
"health": "800/400",
"lvl": "5",
"tnt": "0/200",
"type": "LOOKOUT",
"upgrade": "types"
},
"h": {
"buff": "4%",
"color": "pink",
"dye": "4/1500",
"health": "600/300",
"lvl": "5",
"tnt": "6/150",
"type": "BEEP STATUE"
},
"i": {
"buff": "19%",
"color": "purple",
"dye": "0/200",
"health": "240/160",
"lvl": "2",
"tnt": "13/80",
"trap": "1",
"type": "TRAPPER",
"upg_ore": "0/480",
"upg_wood": "0/400"
},
"j": {
"buff": "14%",
"color": "purple",
"dye": "0/500",
"health": "400/200",
"lvl": "4",
"tnt": "0/100",
"type": "MORTIMER STATUE",
"upg_ore": "0/1000",
"upg_wood": "0/5"
},
"k": {
"buff": "16%",
"color": "purple",
"dye": "0/350",
"health": "210/210",
"lvl": "3",
"tnt": "0/105",
"type": "LOOKOUT",
"upg_ore": "0/525",
"upg_wood": "0/350"
},
"l": {
"wood": "0/420"
},
"m": {
"buff": "15%",
"color": "purple",
"dye": "0/350",
"health": "210/210",
"lvl": "3",
"tnt": "0/105",
"type": "ATTRACTOR",
"upg_ore": "0/350",
"upg_wood": "0/280"
},
"n": {
"wood": "0/490"
},
"o": {
"wood": "4/525"
}
},
{
"": 10,
"a": {
"color": "chocolate",
"dye": "0/600",
"health": "480/240",
"lvl": "4",
"tnt": "0/120",
"type": "MORTIMER STATUE",
"upg_ore": "0/1200",
"upg_wood": "6/6"
},
"b": {
"color": "chocolate",
"dye": "1/300",
"health": "360/180",
"lvl": "3",
"tnt": "0/90",
"type": "ATTRACTOR",
"upg_ore": "0/300",
"upg_wood": "0/240"
},
"c": {
"buff": "13%",
"color": "chocolate",
"dye": "0/175",
"health": "280/140",
"lvl": "2",
"tnt": "0/70",
"type": "MORTIMER STATUE",
"upg_ore": "0/700",
"upg_wood": "0/7"
},
"d": {
"color": "lime",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "BUFFER"
},
"e": {
"color": "lime",
"dye": "90/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "BUFFER"
},
"f": {
"color": "lime",
"dye": "0/11250",
"health": "4500/2250",
"lvl": "5",
"tnt": "0/1125",
"type": "BUFFER"
},
"g": {
"buff": "30%",
"color": "lime",
"dye": "0/450",
"health": "540/270",
"lvl": "3",
"tnt": "0/135",
"type": "LOOKOUT",
"upg_ore": "0/675",
"upg_wood": "0/450"
},
"h": {
"color": "purple",
"dye": "0/150",
"health": "120/120",
"lvl": "2",
"tnt": "0/60",
"type": "BUFFER",
"upg_ore": "0/180",
"upg_wood": "0/150"
},
"i": {
"color": "purple",
"lvl": "1",
"state": "UNDER CONSTRUCTION",
"type": "BUFFER"
},
"j": {
"color": "purple",
"dye": "0/400",
"health": "240/240",
"lvl": "3",
"tnt": "3/120",
"type": "BUFFER",
"upg_ore": "0/600",
"upg_wood": "0/400"
},
"k": {
"buff": "20%",
"color": "purple",
"dye": "0/1500",
"health": "497/300",
"lvl": "5",
"tnt": "0/150",
"type": "SUCKER"
},
"l": {
"color": "purple",
"lvl": "2",
"state": "UNDER CONSTRUCTION",
"type": "BUFFER"
},
"m": {
"color": "purple",
"lvl": "2",
"state": "UNDER CONSTRUCTION",
"type": "BUFFER"
},
"n": {
"color": "purple",
"lvl": "2",
"state": "UNDER CONSTRUCTION",
"type": "BUFFER"
},
"o": {
"buff": "5%",
"color": "blue",
"dye": "0/350",
"health": "210/210",
"lvl": "3",
"tnt": "25/105",
"trap": "1",
"type": "TRAPPER",
"upg_ore": "0/770",
"upg_wood": "5/700"
}
},
{
"": 11,
"a": {
"buff": "5%",
"color": "smoke",
"dye": "0/700",
"health": "560/280",
"lvl": "4",
"tnt": "13/140",
"type": "LOOKOUT",
"upg_ore": "0/1050",
"upg_wood": "0/700"
},
"b": {
"color": "smoke",
"lvl": "3",
"state": "UNDER CONSTRUCTION",
"type": "LOOKOUT"
},
"c": {
"color": "lime",
"lvl": "3",
"state": "UNDER CONSTRUCTION",
"type": "LOOKOUT"
},
"d": {
"color": "lime",
"dye": "0/1500",
"health": "600/300",
"lvl": "5",
"tnt": "0/150",
"type": "BUFFER"
},
"e": {
"buff": "100%",
"color": "lime",
"dye": "0/13000",
"health": "5200/2600",
"lvl": "5",
"peeps": "1/9",
"tnt": "0/1300",
"type": "OFFENSE",
"upgrade": "thick"
},
"f": {
"color": "lime",
"dye": "41/7750",
"health": "3100/1550",
"lvl": "5",
"tnt": "41/775",
"type": "BUFFER"
},
"g": {
"buff": "46%",
"color": "lime",
"dye": "0/450",
"health": "540/270",
"lvl": "3",
"tnt": "0/135",
"type": "LOOKOUT",
"upg_ore": "0/675",
"upg_wood": "0/450"
},
"h": {
"color": "purple",
"dye": "54/150",
"health": "120/120",
"lvl": "2",
"tnt": "24/60",
"type": "BUFFER",
"upg_ore": "0/180",
"upg_wood": "0/150"
},
"i": {
"color": "purple",
"lvl": "1",
"state": "UNDER CONSTRUCTION",
"type": "OFFENSE"
},
"j": {
"wood": "0/440"
},
"k": {
"wood": "0/385"
},
"l": {
"color": "purple",
"lvl": "3",
"state": "UNDER CONSTRUCTION",
"type": "BUFFER"
},
"m": {
"buff": "40%",
"color": "purple",
"dye": "0/350",
"health": "420/210",
"lvl": "3",
"tnt": "0/105",
"type": "MOON STATUE",
"upg_ore": "24/1050",
"upg_wood": "7/7"
},
"n": {
"color": "purple",
"lvl": "2",
"state": "UNDER CONSTRUCTION",
"type": "BUFFER"
},
"o": {
"buff": "8%",
"color": "blue",
"dye": "1/350",
"health": "210/210",
"lvl": "3",
"tnt": "2/105",
"type": "LOOKOUT",
"upg_ore": "6/525",
"upg_wood": "9/350"
}
},
{
"": 12,
"a": {
"buff": "5%",
"color": "smoke",
"dye": "0/200",
"health": "320/160",
"lvl": "2",
"tnt": "0/80",
"type": "DISCO",
"upg_ore": "0/480",
"upg_wood": "0/400"
},
"b": {
"color": "smoke",
"dye": "0/200",
"health": "320/160",
"lvl": "2",
"tnt": "0/80",
"type": "BUFFER",
"upg_ore": "0/240",
"upg_wood": "0/200"
},
"c": {
"buff": "28%",
"color": "lime",
"dye": "0/350",
"health": "420/210",
"lvl": "3",
"tnt": "0/105",
"type": "LOOKOUT",
"upg_ore": "0/525",
"upg_wood": "0/350"
},
"d": {
"color": "lime",
"dye": "0/1500",
"health": "600/300",
"lvl": "5",
"tnt": "0/150",
"type": "BUFFER"
},
"e": {
"color": "lime",
"dye": "0/1500",
"health": "600/300",
"lvl": "5",
"tnt": "0/150",
"type": "BUFFER"
},
"f": {
"color": "lime",
"dye": "0/2250",
"health": "900/450",
"lvl": "5",
"tnt": "0/225",
"type": "BUFFER"
},
"g": {
"buff": "31%",
"color": "lime",
"dye": "0/450",
"health": "270/270",
"lvl": "3",
"tnt": "0/135",
"type": "LOOKOUT",
"upg_ore": "0/675",
"upg_wood": "0/450"
},
"h": {
"color": "purple",
"dye": "0/350",
"health": "210/210",
"lvl": "3",
"tnt": "0/105",
"type": "BUFFER",
"upg_ore": "0/525",
"upg_wood": "0/350"
},
"i": {
"color": "purple",
"lvl": "3",
"state": "UNDER CONSTRUCTION",
"type": "OFFENSE"
},
"j": {
"color": "purple",
"dye": "1/80",
"health": "80/80",
"lvl": "1",
"tnt": "0/40",
"type": "BUFFER",
"upg_ore": "6/120",
"upg_wood": "31/80"
},
"k": {
"builders": "1",
"color": "purple",
"lvl": "2",
"state": "UNDER CONSTRUCTION",
"time": "35:54",
"type": "BUFFER"
},
"l": {
"color": "purple",
"lvl": "2",
"state": "UNDER CONSTRUCTION",
"type": "BUFFER"
},
"m": {
"color": "purple",
"lvl": "2",
"state": "UNDER CONSTRUCTION",
"type": "BUFFER"
},
"n": {
"color": "purple",
"dye": "0/225",
"health": "180/180",
"lvl": "2",
"tnt": "0/90",
"type": "BUFFER",
"upg_ore": "60/270",
"upg_wood": "225/225"
},
"o": {
"buff": "5%",
"color": "blue",
"dye": "0/175",
"health": "140/140",
"lvl": "2",
"peeps": "0/3",
"tnt": "0/70",
"type": "OFFENSE",
"upg_wood": "143/175"
}
},
{
"": 13,
"a": {
"buff": "15%",
"color": "smoke",
"dye": "0/400",
"health": "480/240",
"lvl": "3",
"tnt": "0/120",
"type": "LOOKOUT",
"upg_ore": "0/600",
"upg_wood": "0/400"
},
"b": {
"buff": "19%",
"color": "smoke",
"dye": "1/200",
"health": "320/160",
"lvl": "2",
"tnt": "0/80",
"trap": "1",
"type": "TRAPPER",
"upg_ore": "0/480",
"upg_wood": "0/400"
},
"c": {
"buff": "25%",
"color": "lime",
"dye": "0/350",
"health": "420/210",
"lvl": "3",
"tnt": "0/105",
"type": "LOOKOUT",
"upg_ore": "0/525",
"upg_wood": "0/350"
},
"d": {
"buff": "35%",
"color": "lime",
"dye": "0/1500",
"health": "600/300",
"lvl": "5",
"tnt": "0/150",
"type": "BEEP STATUE"
},
"e": {
"buff": "40%",
"color": "lime",
"dye": "0/300",
"health": "360/180",
"lvl": "3",
"tnt": "0/90",
"type": "MORTIMER STATUE",
"upg_ore": "23/900",
"upg_wood": "0/6"
},
"f": {
"color": "lime",
"lvl": "3",
"state": "UNDER CONSTRUCTION",
"type": "ATTRACTOR"
},
"g": {
"buff": "16%",
"color": "lime",
"dye": "0/300",
"health": "180/180",
"lvl": "3",
"tnt": "0/90",
"type": "LOOKOUT",
"upg_ore": "0/450",
"upg_wood": "0/300"
},
"h": {
"buff": "13%",
"color": "purple",
"dye": "0/700",
"health": "280/280",
"lvl": "4",
"tnt": "3/140",
"type": "LOOKOUT",
"upg_ore": "0/1050",
"upg_wood": "0/700"
},
"i": {
"buff": "15%",
"color": "purple",
"dye": "0/200",
"health": "184/160",
"lvl": "2",
"tnt": "2/80",
"type": "ATTRACTOR",
"upg_ore": "0/200",
"upg_wood": "2/160"
},
"j": {
"wood": "0/455"
},
"k": {
"color": "purple",
"dye": "6/700",
"health": "280/280",
"lvl": "4",
"tnt": "6/140",
"type": "BUFFER",
"upg_ore": "0/1050",
"upg_wood": "0/700"
},
"l": {
"buff": "25%",
"color": "purple",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "SUCKER"
},
"m": {
"color": "purple",
"lvl": "3",
"state": "UNDER CONSTRUCTION",
"type": "LOOKOUT"
},
"n": {
"wood": "0/490"
},
"o": {
"wood": "2/525"
}
},
{
"": 14,
"a": {
"color": "smoke",
"dye": "0/800",
"health": "640/320",
"lvl": "4",
"tnt": "0/160",
"type": "BUFFER",
"upg_ore": "0/1200",
"upg_wood": "0/800"
},
"b": {
"buff": "20%",
"color": "smoke",
"dye": "13/150",
"health": "240/120",
"lvl": "2",
"tnt": "13/60",
"type": "MORTIMER STATUE",
"upg_ore": "0/600",
"upg_wood": "6/6"
},
"c": {
"color": "lime",
"dye": "0/350",
"health": "420/210",
"lvl": "3",
"tnt": "0/105",
"type": "BUFFER",
"upg_ore": "0/525",
"upg_wood": "0/350"
},
"d": {
"color": "lime",
"dye": "1/60",
"health": "120/60",
"lvl": "1",
"tnt": "1/30",
"type": "BUFFER",
"upg_ore": "1/90",
"upg_wood": "3/60"
},
"e": {
"buff": "6%",
"color": "lime",
"dye": "0/150",
"health": "240/120",
"lvl": "2",
"tnt": "0/60",
"type": "MORTIMER STATUE",
"upg_ore": "0/600",
"upg_wood": "0/6"
},
"f": {
"buff": "8%",
"color": "lime",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "MOON STATUE"
},
"g": {
"buff": "11%",
"color": "tan",
"dye": "23/60",
"health": "60/60",
"lvl": "1",
"tnt": "0/30",
"type": "MORTIMER STATUE",
"upg_ore": "109/300",
"upg_wood": "6/6"
},
"h": {
"buff": "14%",
"color": "tan",
"dye": "35/1750",
"health": "700/350",
"lvl": "5",
"tnt": "35/175",
"type": "BEEP STATUE"
},
"i": {
"color": "purple",
"dye": "0/175",
"health": "140/140",
"lvl": "2",
"tnt": "0/70",
"type": "BUFFER",
"upg_ore": "0/210",
"upg_wood": "0/175"
},
"j": {
"buff": "21%",
"color": "purple",
"dye": "0/175",
"health": "140/140",
"lvl": "2",
"tnt": "0/70",
"type": "LOOKOUT",
"upg_wood": "0/175"
},
"k": {
"buff": "13%",
"color": "purple",
"dye": "18/70",
"health": "70/70",
"lvl": "1",
"tnt": "0/35",
"type": "MORTIMER STATUE",
"upg_ore": "307/350",
"upg_wood": "7/7"
},
"l": {
"buff": "18%",
"color": "purple",
"dye": "0/350",
"health": "210/210",
"lvl": "3",
"tnt": "0/105",
"type": "ATTRACTOR",
"upg_ore": "0/350",
"upg_wood": "0/280"
},
"m": {
"color": "purple",
"lvl": "3",
"state": "UNDER CONSTRUCTION",
"type": "BUFFER"
},
"n": {
"buff": "3%",
"color": "green",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "1/175",
"type": "BEEP STATUE"
},
"o": {
"color": "green",
"dye": "0/175",
"health": "140/140",
"lvl": "2",
"tnt": "0/70",
"type": "LOOKOUT",
"upg_wood": "119/175"
}
},
{
"": 15,
"a": {
"buff": "5%",
"color": "pink",
"dye": "2/600",
"health": "480/240",
"lvl": "4",
"peeps": "3/7",
"tnt": "40/120",
"type": "OFFENSE",
"upg_ore": "0/900",
"upg_wood": "0/600"
},
"b": {
"buff": "21%",
"color": "pink",
"dye": "0/1250",
"health": "500/250",
"lvl": "5",
"tnt": "0/125",
"type": "BEEP STATUE"
},
"c": {
"color": "pink",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "BUFFER"
},
"d": {
"color": "pink",
"lvl": "3",
"state": "UNDER CONSTRUCTION",
"type": "ATTRACTOR"
},
"e": {
"buff": "9%",
"color": "pink",
"dye": "0/13000",
"health": "5200/2600",
"lvl": "5",
"tnt": "0/1300",
"type": "BEEP STATUE"
},
"f": {
"color": "pink",
"dye": "63/350",
"health": "420/210",
"lvl": "3",
"tnt": "28/105",
"type": "BUFFER",
"upg_ore": "151/525",
"upg_wood": "4/350"
},
"g": {
"color": "tan",
"dye": "1/450",
"health": "270/270",
"lvl": "3",
"tnt": "1/135",
"type": "BUFFER",
"upg_ore": "0/675",
"upg_wood": "0/450"
},
"h": {
"buff": "14%",
"color": "tan",
"dye": "2/1500",
"health": "600/300",
"lvl": "5",
"tnt": "0/150",
"type": "MOON STATUE"
},
"i": {
"color": "grey",
"dye": "1/350",
"health": "210/210",
"lvl": "3",
"tnt": "4/105",
"type": "BUFFER",
"upg_ore": "0/525",
"upg_wood": "1/350"
},
"j": {
"buff": "15%",
"color": "grey",
"dye": "0/700",
"health": "280/280",
"lvl": "4",
"peeps": "0/7",
"tnt": "13/140",
"type": "OFFENSE",
"upg_ore": "662/1050",
"upg_wood": "226/700"
},
"k": {
"color": "grey",
"dye": "0/175",
"health": "140/140",
"lvl": "2",
"tnt": "2/70",
"type": "BUFFER",
"upg_ore": "105/210",
"upg_wood": "175/175"
},
"l": {
"color": "grey",
"lvl": "2",
"state": "UNDER CONSTRUCTION",
"type": "OFFENSE"
},
"m": {
"wood": "38/525"
},
"n": {
"buff": "3%",
"color": "green",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "0/175",
"type": "SUCKER"
},
"o": {
"color": "green",
"dye": "0/1750",
"health": "700/350",
"lvl": "5",
"tnt": "4/175",
"type": "MOON STATUE"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment