-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
This is a small patch I use that replaces B9PartSwitch fuel tanks with WBIConvertibleStorage modules, containing almost identical resource values. It's not yet perfect, but it works for 90% of parts.
@PART:HAS[@MODULE[ModuleB9PartSwitch]:HAS[#baseVolume,#baseVolume[>0]],!MODULE[WBIConvertibleStorage]]:FINAL
{
%MODULE[WBIConvertibleStorage]
{
enableLogging = True
showGUI = True
confirmResourceSwitch = True
defaultTemplate = LFO
templateNodes = STORAGE_TEMPLATE
templateTypes = Storage
fieldReconfigurable = True
resourcesToReplace = ALL
capacityFactor = #$/MODULE[ModuleB9PartSwitch]:HAS[#baseVolume]/baseVolume$
@capacityFactor /= 1801
logoPanelTransforms = decalPanel001, decalPanel002, decalPanel003, decalPanel004
decalsVisible = false
baseStorage = .001
maxStorage = 9100
}
}
Obviously, it is a VERY intrusive patch, so I just put it here as an option, if it can be useful to anyone.
Me and @Lisias have made some progress on a better version here:
KSP-ModularManagement/ModuleManager#24
Metadata
Metadata
Assignees
Labels
No labels