Module:TNTGame/data

local TNT_DATA_JSON = [===[ {"version": "1.4.0.1","filters":{"traits":{"barbedwire":{"label":"Barbed Wire","desc":"Slows movement to %50. Deals damage to enemies around it.","wpn":"weapon_barbedwire"},"artillery":{"label":"Artillery","desc":"8 range. Has +1 vision. Ground targets only.","wpn":"weapon_artillery"},"berserker":{"label":"Berserker","desc":"Melee with a long aggro range.","wpn":"weapon_berserker"},"commandersight":{"label":"Commander Sight","desc":"Commander sees at 6."},"connective":{"label":"Connective","desc":"Half price when built next to friendly structures"},"detector":{"label":"Detector","desc":"Reveals nearby stealth units"},"club":{"label":"Club","desc":"Attacks ground targets at double speed.","wpn":"weapon_club"},"flamethrower":{"label":"Flamethrower","desc":"Ignites 10 tiles at 4 range. Each tile does ATK value over 1 second.","wpn":"weapon_flamethrower"},"flying":{"label":"Flying","desc":"Is flying, duh. Has +2 vision."},"freedomspoon":{"label":"Freedom Spoon","desc":"Attacks ground targets with melee.","wpn":"weapon_freedomspoon"},"grenade":{"label":"Grenade","desc":"Creates poisonous gas that does 3 damage to units per second. Last 15 seconds. Cannot target structures.","wpn":"weapon_grenade"},"landmine":{"label":"Landmine","desc":"Detonates on collision after 0.25 seconds. Cannot be seen. Can be built anywhere!","wpn":"weapon_landmine"},"machinegun":{"label":"Machine Gun","desc":"Rapidly attacks enemies.","wpn":"weapon_machinegun"},"medic":{"label":"Medic","desc":"Heal an ally unit at melee range for ATK value. Does not attack.","wpn":"weapon_heal"},"farmer":{"label":"Farmer","desc":"Brings home the bacon."},"melee":{"label":"Melee","desc":"Attacks ground targets with melee."},"minigun":{"label":"Minigun","desc":"Fires slowly, but reaches full damage over 4 seconds.","wpn":"weapon_minigun"},"slow":{"label":"Slow","desc":"Moves 66% as fast."},"smg":{"label":"Submachine Gun","desc":"Rapidly fires for 1.75 seconds, before reloading for .25 seconds.","wpn":"weapon_smg"},"rapidartillery":{"label":"Artillery","desc":"Does 3x3 damage to ground targets at 8 range after a delay. +1 vision.","wpn":"weapon_rapidartillery"},"pistol":{"label":"Pistol","desc":"Attacks ground and FLYING targets at 4 range.","wpn":"weapon_pistol"},"proxy":{"label":"Proxy","desc":"Can build anywhere!"},"sniper":{"label":"Sniper","desc":"6 range. Has +4 vision. Cannot target structures.","wpn":"weapon_sniper"},"spawner":{"label":"Spawner","desc":"Spawns mice every 5 seconds.","wpn":"weapon_owl"},"spear":{"label":"Spear Throw","desc":"Attacks ground and FLYING targets at 2 range.","wpn":"weapon_spear"},"stealth":{"label":"Stealth","desc":"Cannot be seen or targeted by opponents unless attacking."},"summon":{"label":"Summon","desc":"Spawns directly to the battlefield."},"swift":{"label":"Swift","desc":"Moves 1.75x as fast."},"timebomb":{"label":"Time Bomb","desc":"Self destructs for 3x3 area damage","wpn":"weapon_timebomb"},"summonterritory":{"label":"Summon","desc":"Spawns directly to the battlefield."},"venomous":{"label":"Venomous","desc":"Spits a stacking poison at range that deals 1 damage per second for 15 seconds.","wpn":"weapon_venom"},"stim":{"label":"Stim","desc":"Buffs an allied structure or unit to operate twice as fast for 8 seconds. Cooldown 2 seconds. Does not buff self.","wpn":"weapon_stim"},"tall":{"label":"Tall","desc":"Can see up hills"},"pistolsquirrel":{"label":"Pistol","desc":"Attacks ground and FLYING targets at a 4 range.","wpn":"weapon_pistolsquirrel"},"pistolpig":{"label":"Pistol","desc":"Attacks ground and FLYING targets at a distance.","wpn":"weapon_pistolpig"},"riflecabin":{"label":"Rifle","desc":"For defending the homestead.","wpn":"weapon_riflecabin"},"sniperballoon":{"label":"Sniper","desc":"6 range. Has +8 vision. Cannot target structures.","wpn":"weapon_sniperballoon"},"sniperfox":{"label":"Sniper","desc":"6 range. Has +1 vision. Cannot target structures.","wpn":"weapon_sniperfox"}}},"units":{"cabin":{"name":"Cabin","atk":"3","def":"32","cost":"60","time":"30","tier":1,"struct":true,"desc":"This be like, my home and all that.","traits":["riflecabin"]},"pig":{"name":"Pig","label":"Fat Boris","def":20,"cost":"60","time":"30","tier":1,"struct":true,"desc":"","atk":1,"traits":["farmer","pistolpig"],"formation":2},"campfire":{"name":"Campfire","def":"50","cost":"60","time":"30","tier":1,"struct":true,"desc":"This be like, my home and all that."},"gristmill":{"name":"Gristmill","def":"150","cost":"60","time":"20","tier":1,"struct":true,"desc":"This be like, my home and all that."},"artillery":{"name":"Artillery","label":"Drumfire Cannon","atk":"20","def":"60","cost":"180","time":"50","tier":3,"struct":true,"desc":"After the Operators were forced to close the artillery shell factories, they resorted to loading Drumfire cannons with the bones of their enemies.","traits":["rapidartillery"]},"barbedwire":{"name":"Barbed Wire","label":"Feather Wire","atk":"2","def":"28","cost":"20","time":"10","tier":0.3333333333333333,"struct":true,"desc":"Legend has it that the first shipment of barbed wire was mislabeled, \"Feathers\" by an overworked Operator. The name stuck ever since.","traits":["barbedwire"]},"balloon":{"name":"Balloon","label":"Thermal Airsniper","atk":"7","def":"20","cost":"120","time":"20","tier":2,"struct":true,"desc":"There's an old saying among Balloon Operators: \"Stay alert, stay on target, and never, ever, look down.\"","traits":["flying","sniperballoon"]},"landmine":{"name":"Landmine","label":"Tremormine","atk":"18","def":"8","cost":"20","time":"10","tier":0.3333333333333333,"struct":true,"desc":"The portraits on top of tremormines memorialize fallen Operators. No Operator goes down without a fight, and none rests without revenge.","traits":["proxy","landmine"]},"machinegun":{"name":"Turret","label":"Bullet Hive","atk":"5","def":"28","cost":"60","time":"10","tier":1,"struct":true,"desc":"Future generations will find great riches in the battlefields where bullet casings from the Bullet Hives stacked many heads deep.","traits":["machinegun"]},"mole":{"label":"Engineers for Hire","desc":"Despite their name, the Engineers appear to be far better at knocking things over rather than building them up.","tier":1,"cost":60,"ucost":20,"name":"Mole","atk":3,"def":14,"traits":["freedomspoon","proxy"],"formation":1},"lizard":{"label":"Nomads of the North","desc":"Immigrants from the tribal north wear furs to keep their cold blood running hot.","tier":1,"cost":60,"ucost":20,"name":"Lizard","atk":3,"def":8,"traits":["spear","swift"],"formation":1},"pigeon":{"label":"The Volunteers","desc":"At the onset of war, soldiers were too proud to consume the little white packets that fell from the skies. Now they'll take anything they can get.","tier":1,"cost":60,"ucost":20,"name":"Pigeon","atk":1,"def":4,"traits":["medic","flying"],"formation":1},"squirrel":{"label":"The Distillery Brothers","desc":"Conscripted into service and certain of their doom, the untrained Distillery Brothers charge into battle fueled by fermented acorn courage.","tier":1,"cost":60,"ucost":20,"name":"Squirrel","atk":2,"def":8,"traits":["pistolsquirrel"],"formation":2},"chameleon":{"label":"The Trench Gang","desc":"Nobody crosses the Trench Gang. Nobody. Well, some have crossed the Trench Gang. But only once. Don't cross the Trench Gang.","tier":2,"cost":120,"ucost":60,"name":"Chameleon","atk":8,"def":30,"traits":["club","stealth"],"formation":1},"falcon":{"label":"Wing Demons","desc":"An all-male detachment of aerial combat specialists, the cocky Wing Demons compete for kills, food, and female companionship.","tier":2,"cost":120,"ucost":60,"name":"Falcon","atk":5,"def":16,"traits":["flying","smg"],"formation":2},"ferret":{"label":"The Freight Union","desc":"Customers beware: While the Freight Union guarantees speedy delivery, their contract provides no warranty on the state of goods upon shipment.","tier":2,"cost":120,"ucost":60,"name":"Ferret","atk":5,"def":25,"traits":["artillery"],"formation":4},"skunk":{"label":"The Glorious AFB","desc":"Previously unwelcome in high society, the Glorious AFB's silent tactics were so deadly that they became awkward national heroes.","tier":2,"cost":120,"ucost":60,"name":"Skunk","atk":3,"def":32,"traits":["grenade"],"formation":2},"snake":{"label":"Tooth Collectors","desc":"When debts are not paid, the Tooth Collectors arrive. When no teeth remain, venom is the only way.","tier":2,"cost":120,"ucost":60,"name":"Snake","atk":2,"def":28,"traits":["venomous"],"formation":1},"badger":{"label":"Inmate #43B","desc":"Her entire family was locked up under the pretense of criminal insanity. While in prison, said affliction became a reality.","tier":3,"cost":180,"ucost":180,"name":"Badger","atk":25,"def":65,"traits":["minigun"],"formation":2},"fox":{"label":"Kasha, Farmhand","desc":"She spent her summers sitting on the roof, picking off rustlers and interlopers. She hates the city, and is happy to be back at home in the countryside.","tier":3,"cost":180,"ucost":180,"name":"Fox","atk":10,"def":25,"traits":["sniperfox","swift"],"formation":4},"owl":{"label":"The Matriark","desc":"The Family does not suffer disloyalty: Traitors are eaten. But the Matriark is not without pity. The repentant are regurgitated for one last chance to serve.","tier":3,"cost":180,"ucost":180,"name":"Owl","atk":0,"def":40,"traits":["flying","spawner"],"formation":4},"boar":{"label":"Uncle Butter","desc":"Before the war, he was known as the country's greatest gourmand. Uncle Butter still cooks his meat, but he no longer kills his prey first.","tier":3,"cost":180,"ucost":180,"name":"Boar","atk":4,"def":110,"traits":["flamethrower"],"formation":2},"wolf":{"label":"Drill Sergeant Volkov","desc":"The Wolf Sergeant's howl causes all nearby friendly units to fight with x3 attack strength.","tier":3,"cost":180,"ucost":180,"name":"Wolf","atk":0,"def":50,"traits":["stim"],"formation":3},"toad":{"label":"Morning Light Croakers","desc":"True believers, the Morning Light Croakers often appear to regret their religious devotion just before fuse hits powder.","tier":1,"cost":60,"ucost":20,"name":"Toad","atk":4,"def":8,"traits":["timebomb"],"formation":1},"mouse":{"name":"Mice","atk":3,"def":8,"traits":["berserker","swift"],"formation":0}},"weapons":{"artillery":{"cast":0,"cool":2,"AtkRange":8,"AggRange":8},"flamethrower":{"cast":0,"cool":0.1,"AtkRange":4,"AggRange":4},"grenade":{"cast":0,"cool":1,"AtkRange":4,"AggRange":4},"landmine":{"cast":0.25,"cool":0,"AtkRange":2,"AggRange":1},"timebomb":{"cast":0.3,"cool":1,"AtkRange":1,"AggRange":2},"rapidartillery":{"cast":0,"cool":0.25,"AtkRange":10,"AggRange":10,"clip":"4","reload":"1"},"machinegun":{"cast":0,"cool":0.1,"AtkRange":4,"AggRange":4,"clip":"1","reload":"0"},"riflecabin":{"cast":0,"cool":1,"AtkRange":4,"AggRange":6},"minigun":{"cast":0,"cool":0.1,"AtkRange":4,"AggRange":4,"clip":"1","reload":"0"},"smg":{"cast":0,"cool":0.1,"AtkRange":4,"AggRange":4,"clip":"10","reload":"1"},"spear":{"cast":0.25,"cool":0.75,"AtkRange":2,"AggRange":3,"clip":"1","reload":"0"},"venom":{"cast":0,"cool":1,"AtkRange":4,"AggRange":4},"barbedwire":{"cast":0,"cool":0,"AtkRange":1,"AggRange":1},"berserker":{"cast":0.25,"cool":0.75,"AtkRange":1,"AggRange":8},"club":{"cast":0.25,"cool":0.25,"AtkRange":1,"AggRange":3},"freedomspoon":{"cast":0.25,"cool":0.75,"AtkRange":1,"AggRange":3},"heal":{"cast":0,"cool":2,"AtkRange":4,"AggRange":4},"owl":{"cast":0.25,"cool":0.75,"AtkRange":0,"AggRange":0,"clip":"3","reload":"7"},"stim":{"cast":0,"cool":0.5,"AtkRange":4,"AggRange":4},"pistolpig":{"cast":0,"cool":1,"AtkRange":4,"AggRange":4,"clip":"1","reload":"0"},"pistolsquirrel":{"cast":0,"cool":1,"AtkRange":4,"AggRange":4,"clip":"1","reload":"0"},"sniperfox":{"cast":0.2,"cool":1.8,"AtkRange":6,"AggRange":6,"clip":"1","reload":"0"},"meleelizard":{"cast":0.25,"cool":0.75,"AtkRange":1,"AggRange":4},"sniperballoon":{"cast":0,"cool":2,"AtkRange":6,"AggRange":6,"clip":"1","reload":"0"}}} ]===]

return mw.text.jsonDecode(TNT_DATA_JSON,0)