Creating Tech CSVs
Download TechStats.js, data.json, and papaparse. Place in the same folder. Verify Node.js is installed: in command prompt type "Node" if you have it you should see something like Welcome to Node.js v16.16.0.
All you need to change is a set of 3 parallel arrays.For example:
//monk techs
const techList = ["316","231","230"];
const techNames = ["Redemption","Sanctity","BlockPrinting"];
const isUnit = [false, false, false];
techList numbers can be found here: https://halfon.aoe2.se/ techNames is just how you want it displayed. Spacing/caps/spelling don't break it isUnit change value between true and false
Running
- Open command prompt, cd into program folder
- run with "Node TechStats.js"