Nice work (although I judge only demo video, as I have not looked through the code yet)!
The minor issue with that is a base info state with only one bar for crafts, the player would not be able to know how many slots of what type he or she has used/free. Btw, the same problem with prison type. But I don't have a solution here except overhauling base info state UI, so just saying.
In order to follow the "rules" of pul-request, I want to separate both features:
- the one for different types of hangars with just 1 craft each.
- and the one to have more than 1 craft in the only type of hangar in vanilla, allowing to give coordinates to show all crafts in Basescape -and selecting each craft with the mouse-
At current version if you consider more than one craft in the hangar :
1. Only one craft is shown over hangar at baseEscape view.
2. If hangar is destroyed, I think that only the shown craft is destroyed, as it uses a single pointer to Craft class to manage which craft is affected by destruction.
So, for now only 1 craft per hangar works right
Finally, I think that combining both features gives the most flexibility for modders regarding crafts/hangars management.
Enviado desde mi Mi A2 Lite mediante Tapatalk