I'm trying to make a simple add-on that just adds the supply resource to all crewed parts. OPT spaceplane parts already has this at a certain ratio of the resource to crew capacity in the part. I changed the ratio in the OPT config files to something I felt was more balanced (by default it's very low), which worked just fine. But for some reason even directly modifying a stock part config such as:
@PART[mk2LanderCabin_v2]
{
MODULE
{
name = USI_ModuleResourceWarehouse
}
RESOURCE
{
name = Supplies
amount = 100
maxAmount = 100
}
}
this doesn't seem to work. Any help? Ideally I'd like to configure it simply to add 50 supplies per crew spot to all command/crewed parts. But I'm fine with manually configuring every crew part in my game.
Annoying severe lag spikes with vessels with high part counts. When I uninstalled just this mod, the lagspikes were greatly reduced and often just went away.
Running KSP 1.1.3, heavily modded.
Love the mod though.