In my current game I am basically doing what you are doing. Nearly 3000 lines, and nowhere near done Pray for me…!
Stuff that needs tweaked a lot (e.g. for balancing), I have placed in a spreadsheet which outputs a Lua-formatted line per unit which I can then paste into the table.