Thanks I really appreciate the additions and fixes! (and the code clean up )
No problem, it's fun to have something to tinker with! I might take a look at some of the stuff on your to-do list too - is there anything in particular that you would like some help on? Maybe something that you're not working on at the moment, so we don't duplicate work...
Well the todo list on the Bitbucket Wiki is woefully out of date but a few things (I will transfer these into issues on the BitBucket project too):
- Message history
- I was thinking just wrap the StarSector message API in a class and have it retain a message history that can then be queried
- Add a 'Few recent messages' function to StationInteractionDialogPlugin to view said messages
- Some kind of FactionData storage for storing faction-specific data
- Rebel fleet names, small/medium/large faction fleet names
- I was thinking a folder full of .json files e.g. hegemonyFactionData.json to define specifics
- And then a FactionData class for retrieving and using the data so it can be used throughout the Exerelin overlay
- Would need to default to something in case we don't define for a certain faction
- Station construction
- Requires <some number> of superfreighters that are consumed on construction
- Max 2 stations per planet/moon system? Maybe 2 stations for terran planet, 1 for other types? Not sure about this
- Was thinking of implementing in the PlanetInteractionDialog for the player
- For AI, FactionDirector class should decide a planet SectorEntityToken for faction to build a station at, and spawns a fleet from a resourced station
- Needs a way to limit construction (rare resource? RNG timer?)
- Station destruction
- Catastrophic accident destroys station
- Small chance of station destruction during boarding? New rare item for player to initiate station destruction?
- Perhaps player can initiate a station destruction battle? (haven't looked at this much so not sure if possible)
- AI attack fleets can destroy stations?
- More config options for defining the game
- Would really like to move more things into exerelin_config.json
- Performance issues with fleet spawning and station resourcing updates
- Would like to reduce the CPU time on these, but it will probably happen as the fleet and resourcing systems change anyway
- Mining Changes
- Already a BitBucket issue about it
- Resourcing Changes
- Already a BitBucket issue about it
Hmmm theres lots of other niggling bits and pieces too but I really don't mind; just play around with whatever you feel like doing
I'll assign myself to the issue in BitBucket if I am working on it.