KSPModdingLibs / KSPCommunityFixes

Community patches for bugs in the KSP codebase
49 stars 17 forks source link

PAWStockGroups - Generators #235

Open yalov opened 2 months ago

yalov commented 2 months ago

Add Generator PAW Group, a separate group per every generator

1 2

Without groups, there is no information about which generator and action the fields are related to.

JonnyOThan commented 1 week ago

let's check core heat and thermal efficiency too image

yalov commented 1 week ago

ModuleResourceConverter that have coretemp and termal efficiency is not the ModuleGenerator. ModuleResourceConverter does not have the same problem:

3

gotmachine commented 1 week ago

I would recommend adding a check to only put generators in groups if there are multiple generators on the part.

JonnyOThan commented 1 week ago

Yeah agreed; and sorry I guess that should be filed as a new feature request rather than a comment on a PR - I still need to go over this in detail but it looks good.

yalov commented 1 week ago

I would recommend adding a check to only put generators in groups if there are multiple generators on the part.

@gotmachine , why? it groups action and fields together, and adds resources abbr

gotmachine commented 6 days ago

why? it groups action and fields together, and adds resources abbr

From the feedback I've got, people tend to dislike having to go through the extra step of having to expand groups, especially when the PAW doesn't have much stuff. In general, there is a lot of negative feedback on the whole "extra groups" patch. At least I would set those generator groups as always expanded by default, set the last arg to false instead of the conditional on module count :

BasePAWGroup pawGroup = new BasePAWGroup(name, generatorGroupTitle + abbrs, __instance.part.Modules.Count > 3);