I did a quick bit of work to get DeployableHabitat up and running again, relying on ModuleAnimationGroup and IAnimatedModule, so most of the heavy lifting is done by stock. DeployableHabitat now only updates the relevant fields and events as appropriate.
This eliminates the requirement of having USI Tools.
Inflatable habitats can have a non-zero deflated crew capacity.
Docking port alignment indicator mods will show the correct distance.
"Control From Here" works as expected for all the docking ports on the Inflato F.L.A.T Command Module.
The part module (ControlReference) that helps with the above is more generally useful in that it can be used to specify a reference transform on any part.
Parts with multiple docking ports can have their ports disambiguated by using MultiPortDisambiguator, which allows for arbitrary suffixes appended to the docking port command buttons (Inflato F.L.A.T. has names matching the numbers above the ports).
I did a quick bit of work to get DeployableHabitat up and running again, relying on ModuleAnimationGroup and IAnimatedModule, so most of the heavy lifting is done by stock. DeployableHabitat now only updates the relevant fields and events as appropriate.
This eliminates the requirement of having USI Tools.