The goal is to remove some of the repetitive math from the user and include it into a program that will do much of the calculations for you.
We have a basic structure setup and now are working on saving it to a file.
"Light Cruiser: 5000CC"
"122wu /210pp /1BE 30 mos prod time"
This has required additional programming as the BE was not included by me in my original unit file. It is Now though!
The primary concern so far was setting it up so Maintenance was added corrrectly. I think this is done,
Cargo capacity is also working now.
Need to do:
Deck Points need to be displayed and the two cap types for it looked for.
We ned to add in basic command points as well, but this will require modifying the units template file as this was not thought of when I put the file together
![embarassed :AE](./images/smilies/armata_PDT_04.gif)
.
Only two unit templates are currently included. Simple and Complex Navies. The other types will be added as time and programming allows, though because of the modular design, I should only need to add about 40 lines of code to get the ball rolling for army and air templates.
Each unit template file has IUU, WU, Fuel, and Reduced caps files for it as well.
IIRC, the unit printout will have to be changed to reflect the template type(coplex navy or army or ...) being used. Not hard, just a bit of tappin to do.
CC must be checking for Size as well and multiply the CC acordingly as army and aviation units can be made larger and smaller and this effects their Cargo Capacity.
My estimate is about 20 more hours of work to get a basic running program up and going for simple and complex navy templates and another 5 hours each for the others. The time difference is because of the way the templates are able to use most of hte same code!
Ken, I am sure there is more, but my mind just can't figure anything else out right now. Anything I have missed, let me know!