Hello All,
Sorry f this is off the topic but I didnt know where to post this.
Im rewriting an app for EP, and would like other opinions about the best way to store the data for a Transhuman style app.
Im using the first method, allowing the user to choose backgrounds (5,3 or 1 PP), faction, focus, customisation and final touches for gear, etc.
WHat is the best way to store the data?
As far as I can see it, I would have to have a class to store a value for every possible stat, skill (including child skills such as each knowledge and child skills, psi abilities, etc.
Then have an array of these, 5 for background, factions and foci as you could have up to 5 x1PP of one of these.
Each skill would have a function to lookup the aptitude and then child functions to cycle through the arrays to calculate each combination.
Data checking would be done on entry (so you cant have 15 1PP options).
What have others done to store the data?
I am interested in any opinion as I dont work in a programming field (but am a programmer by trade) and need to bounce my ideas off someone....
A separate class would be required for storage of metadata such as number of backgrounds/faction/foci selected, and if it was a 1,3,5 PP option, etc
Or shoudl I tackle it from another angle that I simply missing?
(I cant say I havent missed the bleedingly obvious before..)
Thanks.
—
Regards,
Jason Brisbane