inital commit

This commit is contained in:
Gabe Venberg 2024-07-06 11:40:26 -05:00
commit b17e9ae3fb
36 changed files with 771 additions and 0 deletions

View file

@ -0,0 +1,39 @@
// 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
}
}