ToricsTweaks/QOL/podScienceContainer.cfg
2024-07-06 11:40:26 -05:00

40 lines
1.1 KiB
INI

// Add in-vessel transfer support to all parts that can hold science, unless
// explicitly disabled by the part. This is the same ability that the stock
// Experiment Storage Unit has; it doesn't really make sense for it to be
// limited to just the that part.
// Author: Wyzard
@PART[*]:HAS[@MODULE[ModuleScienceContainer],!MODULE[KerbalEVA]]:FINAL
{
@MODULE[ModuleScienceContainer]
{
// Allow "Container: Collect All" and "Container: Transfer
// Data" by default.
%canTransferInVessel = True
// Allow targeting by "Container: Transfer Data" on other
// parts by default.
%canBeTransferredToInVessel = True
}
}
@PART[*]:HAS[@MODULE[ModuleCommand],!MODULE[KerbalEVA]]:FINAL
{
%MODULE[ModuleScienceContainer]
{
// Allow "Container: Collect All" and "Container: Transfer
// Data" by default.
%canTransferInVessel = True
// Allow targeting by "Container: Transfer Data" on other
// parts by default.
%canBeTransferredToInVessel = True
}
}
//re-patch for allyall, as allyall applies before this.
@PART[*]:HAS[@MODULE[ModuleScienceContainer],!MODULE[AYA_ScienceBox]]:NEEDS[AllYAll]:FINAL
{
MODULE
{
name = AYA_ScienceBox
}
}