These forums are archival. Please visit us on discord!
...Custom “Enum Stand-in” ClassI’d like for some sort of standardized way of doing our enum + typedata pattern, but minus the hardcoded enum. In this case we’d be importing strings from spreadsheets, and then matching on those to other parts of the same spreadsheet. But these are defined only in the spreadsheet, not anywhere in code. And I want the freedom to add and remove stuff in the spreadsheet without breaking anything.Example:1. We’re going to be having a Storyline associated with each race at any given time. There is then various data associated with it. 2. We’ll need to save some of this to savegames, so I suppose there’s no way around saving the raw string in those cases.3. Parsing back out of a savegame, if it finds a Storyline is now missing, it should not just completely barf, but instead should do some sort of fallback logic (in this case choosing a new storyline)....
I'm back in town as of today, by the way. So things will speed up again. Keith has also been out for some less fun reasons than my vacation. Anyhow.This is all part of the diplomacy stuff, which I wrote about some in the other thread.
It was a good trip, yeah. Nice to get away for a bit and clear my head and spend time with family. And now it's nice to be back!Storyline explanations are thin right now, but here's what there is:Kind of this: https://www.arcengames.com/forums/index.php/topic,17861.msg192139.html#msg192139And this: https://www.arcengames.com/forums/index.php/topic,17861.msg192152.html#msg192152And this: https://www.arcengames.com/forums/index.php/topic,17861.msg192163.html#msg192163