Tooth and Tail Wiki
Mj0331 (talk | contribs)
(Bot autoupdate)
Mj0331 (talk | contribs)
(Bot autoupdate)
Line 1: Line 1:
 
local TNT_DATA_JSON = [===[
 
local TNT_DATA_JSON = [===[
{"version":"1.0.7.0","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"},"club":{"label":"Club","desc":"Attacks ground targets at double speed.","wpn":"weapon_club"},"commandersight":{"label":"Commander Sight","desc":"Commander sees at 6."},"farmer":{"label":"Farmer","desc":"Brings home the bacon."},"freedomspoon":{"label":"Freedom Spoon","desc":"Attacks ground targets with melee.","wpn":"weapon_freedomspoon"},"medic":{"label":"Medic","desc":"Heal an ally unit at melee range for ATK value. Does not attack.","wpn":"weapon_heal"},"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."},"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.5 seconds. Cannot be seen. Can be built anywhere!","wpn":"weapon_landmine"},"minigun":{"label":"Minigun","desc":"Fires slowly, but reaches full damage over 4 seconds.","wpn":"weapon_minigun"},"melee":{"label":"Melee","desc":"Attacks ground targets with melee."},"machinegun":{"label":"Machine Gun","desc":"Rapidly attacks enemies.","wpn":"weapon_machinegun"},"pistol":{"label":"Pistol","desc":"Attacks ground and FLYING targets at 4 range.","wpn":"weapon_pistol"},"proxy":{"label":"Proxy","desc":"Can build anywhere!"},"rapidartillery":{"label":"Artillery","desc":"Does 3x3 damage to ground targets at 8 range after a delay. +1 vision.","wpn":"weapon_rapidartillery"},"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"},"sniper":{"label":"Sniper","desc":"6 range. Has +4 vision. Cannot target structures.","wpn":"weapon_sniper"},"spawner":{"label":"Spawner","desc":"Spawns a 3/12 swift melee mouse every 5 seconds. Mice expire after 30 seconds."},"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."},"summonterritory":{"label":"Summon","desc":"Spawns directly to the battlefield."},"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"},"timebomb":{"label":"Time Bomb","desc":"Self destructs for 3x3 area damage","wpn":"weapon_timebomb"},"venomous":{"label":"Venomous","desc":"Spits a stacking poison at range that deals 1 damage per second for 15 seconds.","wpn":"weapon_venom"},"swift":{"label":"Swift","desc":"Moves twice as fast."},"pistolpig":{"label":"Pistol","desc":"Attacks ground and FLYING targets at a distance.","wpn":"weapon_pistolpig"},"sniperballoon":{"label":"Sniper","desc":"6 range. Has +4 vision. Cannot target structures.","wpn":"weapon_sniperballoon"},"pistolsquirrel":{"label":"Pistol","desc":"Attacks ground and FLYING targets at a 4 range.","wpn":"weapon_pistolsquirrel"},"sniperfox":{"label":"Sniper","desc":"6 range. Has +1 vision. Cannot target structures.","wpn":"weapon_sniperfox"}}},"units":{"pig":{"name":"Pig","label":"Fat Boris","def":20,"cost":"60","time":"30","tier":1,"struct":true,"desc":"","atk":1,"traits":["farmer","pistolpig"],"formation":2},"gristmill":{"name":"Gristmill","def":"150","cost":"60","time":"20","tier":1,"struct":true,"desc":"This be like, my home and all that."},"campfire":{"name":"Campfire","def":"50","cost":"60","time":"30","tier":1,"struct":true,"desc":"This be like, my home and all that."},"lizard":{"name":"Lizard","atk":3,"def":8,"traits":["spear","swift"],"formation":1,"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},"mouse":{"name":"Mice","atk":2,"def":12,"traits":["berserker","swift"],"formation":0},"pigeon":{"name":"Pigeon","atk":2,"def":4,"traits":["medic","flying"],"formation":1,"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},"mole":{"name":"Mole","atk":4,"def":15,"traits":["freedomspoon","summon"],"formation":1,"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},"toad":{"name":"Toad","atk":8,"def":9,"traits":["timebomb"],"formation":1,"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},"badger":{"name":"Badger","atk":20,"def":60,"traits":["minigun"],"formation":2,"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},"squirrel":{"name":"Squirrel","atk":2,"def":8,"traits":["pistolsquirrel"],"formation":2,"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},"fox":{"name":"Fox","atk":12,"def":25,"traits":["sniperfox","swift"],"formation":4,"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},"wolf":{"name":"Wolf","atk":0,"def":60,"traits":["stim"],"formation":3,"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},"boar":{"name":"Boar","atk":3,"def":100,"traits":["flamethrower"],"formation":2,"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},"chameleon":{"name":"Chameleon","atk":8,"def":35,"traits":["club","stealth"],"formation":1,"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},"falcon":{"name":"Falcon","atk":6,"def":15,"traits":["flying","smg"],"formation":2,"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},"snake":{"name":"Snake","atk":2,"def":35,"traits":["venomous"],"formation":1,"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},"skunk":{"name":"Skunk","atk":3,"def":32,"traits":["grenade"],"formation":2,"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},"ferret":{"name":"Ferret","atk":5,"def":25,"traits":["artillery"],"formation":4,"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},"artillery":{"name":"Artillery","label":"Drumfire Cannon","atk":"12","def":"60","cost":"180","time":"40","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"]},"balloon":{"name":"Balloon","label":"Thermal Airsniper","atk":"8","def":"30","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"]},"owl":{"name":"Owl","atk":0,"def":50,"traits":["flying","spawner"],"formation":4,"label":"The Matriark","desc":"The Family does not suffer disloyalty: Traitors are eaten. But the Matriark is not without pity. The repentent are regurgitated for one last chance to serve.","tier":3,"cost":180,"ucost":180},"machinegun":{"name":"Turret","label":"Bullet Hive","atk":"6","def":"32","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"]},"barbedwire":{"name":"Barbed Wire","label":"Feather Wire","atk":"2","def":"30","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"]},"landmine":{"name":"Landmine","label":"Tremormine","atk":"15","def":"5","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"]}},"weapons":{"artillery":{"cast":0,"cool":2,"AtkRange":8,"AggRange":8},"flamethrower":{"cast":0,"cool":0.125,"AtkRange":4,"AggRange":4},"landmine":{"cast":0.5,"cool":0,"AtkRange":2,"AggRange":1},"grenade":{"cast":0,"cool":1,"AtkRange":4,"AggRange":4},"rapidartillery":{"cast":0,"cool":0.4,"AtkRange":8,"AggRange":8,"clip":"5","reload":"3"},"timebomb":{"cast":0.25,"cool":0,"AtkRange":1,"AggRange":4},"machinegun":{"cast":0,"cool":0.1,"AtkRange":4,"AggRange":4,"clip":"1","reload":"0"},"barbedwire":{"cast":0,"cool":0,"AtkRange":1,"AggRange":1},"minigun":{"cast":0,"cool":0.1,"AtkRange":4,"AggRange":4,"clip":"1","reload":"0"},"spear":{"cast":0.25,"cool":0.75,"AtkRange":2,"AggRange":4,"clip":"1","reload":"0"},"smg":{"cast":0,"cool":0.1,"AtkRange":4,"AggRange":4,"clip":"15","reload":"0.5"},"heal":{"cast":0,"cool":2,"AtkRange":1,"AggRange":4},"berserker":{"cast":0.25,"cool":0.75,"AtkRange":1,"AggRange":8},"venom":{"cast":0,"cool":1,"AtkRange":4,"AggRange":4},"club":{"cast":0.25,"cool":0.25,"AtkRange":1,"AggRange":4},"owl":{"cast":0.25,"cool":10,"AtkRange":0,"AggRange":0},"stim":{"cast":0,"cool":0.5,"AtkRange":4,"AggRange":4},"freedomspoon":{"cast":0.25,"cool":0.75,"AtkRange":1,"AggRange":4},"sniperfox":{"cast":0.25,"cool":1.75,"AtkRange":6,"AggRange":6,"clip":"1","reload":"0"},"meleelizard":{"cast":0.25,"cool":0.75,"AtkRange":1,"AggRange":4},"pistolsquirrel":{"cast":0,"cool":1,"AtkRange":4,"AggRange":4,"clip":"1","reload":"0"},"pistolpig":{"cast":0,"cool":1,"AtkRange":4,"AggRange":4,"clip":"1","reload":"0"},"sniperballoon":{"cast":0,"cool":2,"AtkRange":6,"AggRange":6,"clip":"1","reload":"0"}}}
+
{"version":"1.0.8.0","filters":{"traits":{"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"},"barbedwire":{"label":"Barbed Wire","desc":"Slows movement to %50. Deals damage to enemies around it.","wpn":"weapon_barbedwire"},"club":{"label":"Club","desc":"Attacks ground targets at double speed.","wpn":"weapon_club"},"connective":{"label":"Connective","desc":"Half price when built next to friendly structures"},"commandersight":{"label":"Commander Sight","desc":"Commander sees at 6."},"farmer":{"label":"Farmer","desc":"Brings home the bacon."},"flying":{"label":"Flying","desc":"Is flying, duh. Has +2 vision."},"flamethrower":{"label":"Flamethrower","desc":"Ignites 10 tiles at 4 range. Each tile does ATK value over 1 second.","wpn":"weapon_flamethrower"},"grenade":{"label":"Grenade","desc":"Creates poisonous gas that does 3 damage to units per second. Last 15 seconds. Cannot target structures.","wpn":"weapon_grenade"},"freedomspoon":{"label":"Freedom Spoon","desc":"Attacks ground targets with melee.","wpn":"weapon_freedomspoon"},"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"},"landmine":{"label":"Landmine","desc":"Detonates on collision after 0.5 seconds. Cannot be seen. Can be built anywhere!","wpn":"weapon_landmine"},"melee":{"label":"Melee","desc":"Attacks ground targets with melee."},"pistol":{"label":"Pistol","desc":"Attacks ground and FLYING targets at 4 range.","wpn":"weapon_pistol"},"proxy":{"label":"Proxy","desc":"Can build anywhere!"},"minigun":{"label":"Minigun","desc":"Fires slowly, but reaches full damage over 4 seconds.","wpn":"weapon_minigun"},"rapidartillery":{"label":"Artillery","desc":"Does 3x3 damage to ground targets at 8 range after a delay. +1 vision.","wpn":"weapon_rapidartillery"},"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"},"sniper":{"label":"Sniper","desc":"6 range. Has +4 vision. Cannot target structures.","wpn":"weapon_sniper"},"spawner":{"label":"Spawner","desc":"Spawns a 3/12 swift melee mouse every 5 seconds. Mice expire after 30 seconds."},"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."},"summonterritory":{"label":"Summon","desc":"Spawns directly to the battlefield."},"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"},"summon":{"label":"Summon","desc":"Spawns directly to the battlefield."},"tall":{"label":"Tall","desc":"Can see up hills"},"swift":{"label":"Swift","desc":"Moves twice as fast."},"venomous":{"label":"Venomous","desc":"Spits a stacking poison at range that deals 1 damage per second for 15 seconds.","wpn":"weapon_venom"},"timebomb":{"label":"Time Bomb","desc":"Self destructs for 3x3 area damage","wpn":"weapon_timebomb"},"pistolsquirrel":{"label":"Pistol","desc":"Attacks ground and FLYING targets at a 4 range.","wpn":"weapon_pistolsquirrel"},"sniperballoon":{"label":"Sniper","desc":"6 range. Has +6 vision. Cannot target structures.","wpn":"weapon_sniperballoon"},"pistolpig":{"label":"Pistol","desc":"Attacks ground and FLYING targets at a distance.","wpn":"weapon_pistolpig"},"sniperfox":{"label":"Sniper","desc":"6 range. Has +1 vision. Cannot target structures.","wpn":"weapon_sniperfox"}}},"units":{"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."},"pig":{"name":"Pig","label":"Fat Boris","def":20,"cost":"60","time":"30","tier":1,"struct":true,"desc":"","atk":1,"traits":["farmer","pistolpig"],"formation":2},"barbedwire":{"name":"Barbed Wire","label":"Feather Wire","atk":"2","def":"30","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"]},"artillery":{"name":"Artillery","label":"Drumfire Cannon","atk":"12","def":"60","cost":"180","time":"40","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"]},"balloon":{"name":"Balloon","label":"Thermal Airsniper","atk":"7","def":"30","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":"15","def":"5","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":"6","def":"32","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"]},"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":8,"def":11,"traits":["timebomb"],"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":2,"def":4,"traits":["medic","flying"],"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},"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":4,"def":15,"traits":["freedomspoon","summon"],"formation":1},"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":12,"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 repentent are regurgitated for one last chance to serve.","tier":3,"cost":180,"ucost":180,"name":"Owl","atk":0,"def":50,"traits":["flying","spawner"],"formation":4},"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":60,"traits":["stim"],"formation":3},"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},"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":3,"def":120,"traits":["flamethrower"],"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":7,"def":40,"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":6,"def":15,"traits":["flying","smg"],"formation":2},"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},"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},"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":35,"traits":["venomous"],"formation":1},"mouse":{"name":"Mice","atk":2,"def":12,"traits":["berserker","swift"],"formation":0}},"weapons":{"artillery":{"cast":0,"cool":2,"AtkRange":8,"AggRange":8},"flamethrower":{"cast":0,"cool":0.125,"AtkRange":4,"AggRange":4},"grenade":{"cast":0,"cool":1,"AtkRange":4,"AggRange":4},"landmine":{"cast":0.5,"cool":0,"AtkRange":2,"AggRange":1},"rapidartillery":{"cast":0,"cool":0.4,"AtkRange":8,"AggRange":8,"clip":"5","reload":"3"},"timebomb":{"cast":0.25,"cool":0,"AtkRange":1,"AggRange":4},"machinegun":{"cast":0,"cool":0.1,"AtkRange":4,"AggRange":4,"clip":"1","reload":"0"},"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":"15","reload":"0.5"},"spear":{"cast":0.25,"cool":0.75,"AtkRange":2,"AggRange":4,"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},"freedomspoon":{"cast":0.25,"cool":0.75,"AtkRange":1,"AggRange":4},"heal":{"cast":0,"cool":2,"AtkRange":1,"AggRange":4},"club":{"cast":0.25,"cool":0.25,"AtkRange":1,"AggRange":4},"owl":{"cast":0.25,"cool":10,"AtkRange":0,"AggRange":0},"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"},"meleelizard":{"cast":0.25,"cool":0.75,"AtkRange":1,"AggRange":4},"sniperballoon":{"cast":0,"cool":2,"AtkRange":6,"AggRange":6,"clip":"1","reload":"0"},"sniperfox":{"cast":0.25,"cool":1.75,"AtkRange":6,"AggRange":6,"clip":"1","reload":"0"}}}
  +
 
]===]
 
]===]
   

Revision as of 20:01, 8 December 2017

Documentation for this module may be created at Module:TNTGame/data/doc

local TNT_DATA_JSON = [===[
{"version":"1.0.8.0","filters":{"traits":{"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"},"barbedwire":{"label":"Barbed Wire","desc":"Slows movement to %50. Deals damage to enemies around it.","wpn":"weapon_barbedwire"},"club":{"label":"Club","desc":"Attacks ground targets at double speed.","wpn":"weapon_club"},"connective":{"label":"Connective","desc":"Half price when built next to friendly structures"},"commandersight":{"label":"Commander Sight","desc":"Commander sees at 6."},"farmer":{"label":"Farmer","desc":"Brings home the bacon."},"flying":{"label":"Flying","desc":"Is flying, duh. Has +2 vision."},"flamethrower":{"label":"Flamethrower","desc":"Ignites 10 tiles at 4 range. Each tile does ATK value over 1 second.","wpn":"weapon_flamethrower"},"grenade":{"label":"Grenade","desc":"Creates poisonous gas that does 3 damage to units per second. Last 15 seconds. Cannot target structures.","wpn":"weapon_grenade"},"freedomspoon":{"label":"Freedom Spoon","desc":"Attacks ground targets with melee.","wpn":"weapon_freedomspoon"},"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"},"landmine":{"label":"Landmine","desc":"Detonates on collision after 0.5 seconds. Cannot be seen. Can be built anywhere!","wpn":"weapon_landmine"},"melee":{"label":"Melee","desc":"Attacks ground targets with melee."},"pistol":{"label":"Pistol","desc":"Attacks ground and FLYING targets at 4 range.","wpn":"weapon_pistol"},"proxy":{"label":"Proxy","desc":"Can build anywhere!"},"minigun":{"label":"Minigun","desc":"Fires slowly, but reaches full damage over 4 seconds.","wpn":"weapon_minigun"},"rapidartillery":{"label":"Artillery","desc":"Does 3x3 damage to ground targets at 8 range after a delay. +1 vision.","wpn":"weapon_rapidartillery"},"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"},"sniper":{"label":"Sniper","desc":"6 range. Has +4 vision. Cannot target structures.","wpn":"weapon_sniper"},"spawner":{"label":"Spawner","desc":"Spawns a 3/12 swift melee mouse every 5 seconds. Mice expire after 30 seconds."},"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."},"summonterritory":{"label":"Summon","desc":"Spawns directly to the battlefield."},"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"},"summon":{"label":"Summon","desc":"Spawns directly to the battlefield."},"tall":{"label":"Tall","desc":"Can see up hills"},"swift":{"label":"Swift","desc":"Moves twice as fast."},"venomous":{"label":"Venomous","desc":"Spits a stacking poison at range that deals 1 damage per second for 15 seconds.","wpn":"weapon_venom"},"timebomb":{"label":"Time Bomb","desc":"Self destructs for 3x3 area damage","wpn":"weapon_timebomb"},"pistolsquirrel":{"label":"Pistol","desc":"Attacks ground and FLYING targets at a 4 range.","wpn":"weapon_pistolsquirrel"},"sniperballoon":{"label":"Sniper","desc":"6 range. Has +6 vision. Cannot target structures.","wpn":"weapon_sniperballoon"},"pistolpig":{"label":"Pistol","desc":"Attacks ground and FLYING targets at a distance.","wpn":"weapon_pistolpig"},"sniperfox":{"label":"Sniper","desc":"6 range. Has +1 vision. Cannot target structures.","wpn":"weapon_sniperfox"}}},"units":{"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."},"pig":{"name":"Pig","label":"Fat Boris","def":20,"cost":"60","time":"30","tier":1,"struct":true,"desc":"","atk":1,"traits":["farmer","pistolpig"],"formation":2},"barbedwire":{"name":"Barbed Wire","label":"Feather Wire","atk":"2","def":"30","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"]},"artillery":{"name":"Artillery","label":"Drumfire Cannon","atk":"12","def":"60","cost":"180","time":"40","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"]},"balloon":{"name":"Balloon","label":"Thermal Airsniper","atk":"7","def":"30","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":"15","def":"5","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":"6","def":"32","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"]},"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":8,"def":11,"traits":["timebomb"],"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":2,"def":4,"traits":["medic","flying"],"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},"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":4,"def":15,"traits":["freedomspoon","summon"],"formation":1},"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":12,"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 repentent are regurgitated for one last chance to serve.","tier":3,"cost":180,"ucost":180,"name":"Owl","atk":0,"def":50,"traits":["flying","spawner"],"formation":4},"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":60,"traits":["stim"],"formation":3},"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},"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":3,"def":120,"traits":["flamethrower"],"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":7,"def":40,"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":6,"def":15,"traits":["flying","smg"],"formation":2},"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},"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},"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":35,"traits":["venomous"],"formation":1},"mouse":{"name":"Mice","atk":2,"def":12,"traits":["berserker","swift"],"formation":0}},"weapons":{"artillery":{"cast":0,"cool":2,"AtkRange":8,"AggRange":8},"flamethrower":{"cast":0,"cool":0.125,"AtkRange":4,"AggRange":4},"grenade":{"cast":0,"cool":1,"AtkRange":4,"AggRange":4},"landmine":{"cast":0.5,"cool":0,"AtkRange":2,"AggRange":1},"rapidartillery":{"cast":0,"cool":0.4,"AtkRange":8,"AggRange":8,"clip":"5","reload":"3"},"timebomb":{"cast":0.25,"cool":0,"AtkRange":1,"AggRange":4},"machinegun":{"cast":0,"cool":0.1,"AtkRange":4,"AggRange":4,"clip":"1","reload":"0"},"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":"15","reload":"0.5"},"spear":{"cast":0.25,"cool":0.75,"AtkRange":2,"AggRange":4,"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},"freedomspoon":{"cast":0.25,"cool":0.75,"AtkRange":1,"AggRange":4},"heal":{"cast":0,"cool":2,"AtkRange":1,"AggRange":4},"club":{"cast":0.25,"cool":0.25,"AtkRange":1,"AggRange":4},"owl":{"cast":0.25,"cool":10,"AtkRange":0,"AggRange":0},"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"},"meleelizard":{"cast":0.25,"cool":0.75,"AtkRange":1,"AggRange":4},"sniperballoon":{"cast":0,"cool":2,"AtkRange":6,"AggRange":6,"clip":"1","reload":"0"},"sniperfox":{"cast":0.25,"cool":1.75,"AtkRange":6,"AggRange":6,"clip":"1","reload":"0"}}}

]===]

return mw.text.jsonDecode(TNT_DATA_JSON,0)