From e6389c80b30da1b5c8be87001e52587fcd2dedd5 Mon Sep 17 00:00:00 2001 From: Poodmund Date: Tue, 19 Jan 2021 22:24:50 +0000 Subject: [PATCH 1/3] Introduce procedural drag cubes for engine plates in ModulePartVariants --- .../ReStock/PatchesMH/Coupling/restock-mh-engineplates.cfg | 4 ++++ .../Parts/Coupling/125/restock-engineplate-125-1.cfg | 1 + .../Parts/Coupling/1875/restock-engineplate-1875-1.cfg | 1 + .../Parts/Coupling/25/restock-engineplate-25-1.cfg | 1 + .../Parts/Coupling/375/restock-engineplate-375-1.cfg | 1 + .../ReStockPlus/Parts/Coupling/5/restock-engineplate-5-1.cfg | 1 + 6 files changed, 9 insertions(+) diff --git a/Distribution/Restock/GameData/ReStock/PatchesMH/Coupling/restock-mh-engineplates.cfg b/Distribution/Restock/GameData/ReStock/PatchesMH/Coupling/restock-mh-engineplates.cfg index 9c028c1f..87f5b69f 100644 --- a/Distribution/Restock/GameData/ReStock/PatchesMH/Coupling/restock-mh-engineplates.cfg +++ b/Distribution/Restock/GameData/ReStock/PatchesMH/Coupling/restock-mh-engineplates.cfg @@ -30,6 +30,7 @@ baseVariant = Long baseMass = 0 baseCost = 0 + useProceduralDragCubes = true VARIANT { @@ -470,6 +471,7 @@ baseVariant = Long baseMass = 0 baseCost = 0 + useProceduralDragCubes = true VARIANT { @@ -1006,6 +1008,7 @@ baseVariant = Long baseMass = 0 baseCost = 0 + useProceduralDragCubes = true VARIANT { @@ -1446,6 +1449,7 @@ baseVariant = Long baseMass = 0 baseCost = 0 + useProceduralDragCubes = true VARIANT { diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/125/restock-engineplate-125-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/125/restock-engineplate-125-1.cfg index 2e50c272..3c0a08f4 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/125/restock-engineplate-125-1.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/125/restock-engineplate-125-1.cfg @@ -363,6 +363,7 @@ PART baseVariant = Long baseMass = 0 baseCost = 0 + useProceduralDragCubes = true VARIANT { name = Boattail-Dark diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/1875/restock-engineplate-1875-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/1875/restock-engineplate-1875-1.cfg index 319663b0..0dd1791b 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/1875/restock-engineplate-1875-1.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/1875/restock-engineplate-1875-1.cfg @@ -368,6 +368,7 @@ PART baseVariant = Long baseMass = 0 baseCost = 0 + useProceduralDragCubes = true VARIANT { name = Boattail-White diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/25/restock-engineplate-25-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/25/restock-engineplate-25-1.cfg index 7a057121..bda1b032 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/25/restock-engineplate-25-1.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/25/restock-engineplate-25-1.cfg @@ -368,6 +368,7 @@ PART baseVariant = Long baseMass = 0 baseCost = 0 + useProceduralDragCubes = true VARIANT { name = Boattail-Dark diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/375/restock-engineplate-375-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/375/restock-engineplate-375-1.cfg index 732438c9..8b6a2472 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/375/restock-engineplate-375-1.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/375/restock-engineplate-375-1.cfg @@ -368,6 +368,7 @@ PART baseVariant = Long baseMass = 0 baseCost = 0 + useProceduralDragCubes = true VARIANT { name = Boattail-White diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/5/restock-engineplate-5-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/5/restock-engineplate-5-1.cfg index 78d6ac4e..8695046c 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/5/restock-engineplate-5-1.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/5/restock-engineplate-5-1.cfg @@ -368,6 +368,7 @@ PART baseVariant = Long baseMass = 0 baseCost = 0 + useProceduralDragCubes = true VARIANT { name = Boattail-White From df13a68250d4f613965ef98c8e4e6e537c2f4f40 Mon Sep 17 00:00:00 2001 From: drewcassidy Date: Tue, 19 Jan 2021 15:10:31 -0800 Subject: [PATCH 2/3] Tabs to spaces --- .../PatchesMH/Coupling/restock-mh-engineplates.cfg | 12 ++++-------- .../Parts/Coupling/125/restock-engineplate-125-1.cfg | 2 +- .../Coupling/1875/restock-engineplate-1875-1.cfg | 2 +- .../Parts/Coupling/25/restock-engineplate-25-1.cfg | 2 +- .../Parts/Coupling/375/restock-engineplate-375-1.cfg | 2 +- .../Parts/Coupling/5/restock-engineplate-5-1.cfg | 2 +- 6 files changed, 9 insertions(+), 13 deletions(-) diff --git a/Distribution/Restock/GameData/ReStock/PatchesMH/Coupling/restock-mh-engineplates.cfg b/Distribution/Restock/GameData/ReStock/PatchesMH/Coupling/restock-mh-engineplates.cfg index 87f5b69f..8a168ee4 100644 --- a/Distribution/Restock/GameData/ReStock/PatchesMH/Coupling/restock-mh-engineplates.cfg +++ b/Distribution/Restock/GameData/ReStock/PatchesMH/Coupling/restock-mh-engineplates.cfg @@ -30,8 +30,7 @@ baseVariant = Long baseMass = 0 baseCost = 0 - useProceduralDragCubes = true - + useProceduralDragCubes = true VARIANT { name = Short @@ -471,8 +470,7 @@ baseVariant = Long baseMass = 0 baseCost = 0 - useProceduralDragCubes = true - + useProceduralDragCubes = true VARIANT { name = Short @@ -1008,8 +1006,7 @@ baseVariant = Long baseMass = 0 baseCost = 0 - useProceduralDragCubes = true - + useProceduralDragCubes = true VARIANT { name = Short @@ -1449,8 +1446,7 @@ baseVariant = Long baseMass = 0 baseCost = 0 - useProceduralDragCubes = true - + useProceduralDragCubes = true VARIANT { name = Short diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/125/restock-engineplate-125-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/125/restock-engineplate-125-1.cfg index 3c0a08f4..f373ebce 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/125/restock-engineplate-125-1.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/125/restock-engineplate-125-1.cfg @@ -363,7 +363,7 @@ PART baseVariant = Long baseMass = 0 baseCost = 0 - useProceduralDragCubes = true + useProceduralDragCubes = true VARIANT { name = Boattail-Dark diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/1875/restock-engineplate-1875-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/1875/restock-engineplate-1875-1.cfg index 0dd1791b..5f869b8d 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/1875/restock-engineplate-1875-1.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/1875/restock-engineplate-1875-1.cfg @@ -368,7 +368,7 @@ PART baseVariant = Long baseMass = 0 baseCost = 0 - useProceduralDragCubes = true + useProceduralDragCubes = true VARIANT { name = Boattail-White diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/25/restock-engineplate-25-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/25/restock-engineplate-25-1.cfg index bda1b032..a7f28f96 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/25/restock-engineplate-25-1.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/25/restock-engineplate-25-1.cfg @@ -368,7 +368,7 @@ PART baseVariant = Long baseMass = 0 baseCost = 0 - useProceduralDragCubes = true + useProceduralDragCubes = true VARIANT { name = Boattail-Dark diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/375/restock-engineplate-375-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/375/restock-engineplate-375-1.cfg index 8b6a2472..8edc3400 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/375/restock-engineplate-375-1.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/375/restock-engineplate-375-1.cfg @@ -368,7 +368,7 @@ PART baseVariant = Long baseMass = 0 baseCost = 0 - useProceduralDragCubes = true + useProceduralDragCubes = true VARIANT { name = Boattail-White diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/5/restock-engineplate-5-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/5/restock-engineplate-5-1.cfg index 8695046c..ee005fcd 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/5/restock-engineplate-5-1.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Coupling/5/restock-engineplate-5-1.cfg @@ -368,7 +368,7 @@ PART baseVariant = Long baseMass = 0 baseCost = 0 - useProceduralDragCubes = true + useProceduralDragCubes = true VARIANT { name = Boattail-White From 31ccee2cc76e2167b20ff27bcb36934ba6d95f66 Mon Sep 17 00:00:00 2001 From: drewcassidy Date: Tue, 19 Jan 2021 15:41:43 -0800 Subject: [PATCH 3/3] Add cargo module to some RS+ parts --- .../Parts/Communication/restock-antenna-stack-2.cfg | 5 +++++ .../Parts/Communication/restock-antenna-stack-3.cfg | 5 +++++ .../Parts/Communication/restock-relay-radial-2_v2.cfg | 5 +++++ .../Parts/Control/restock-reactionwheel-radial-1.cfg | 5 +++++ .../Parts/Electrical/radial/restock-apu-radial-1.cfg | 5 +++++ .../GameData/ReStockPlus/Parts/Ground/restock-wheel-1-T.cfg | 5 +++++ .../GameData/ReStockPlus/Parts/Ground/restock-wheel-4.cfg | 5 +++++ .../ReStockPlus/Parts/Science/restock-goocanister-625-1.cfg | 5 +++++ .../Parts/Science/restock-materialbay-radial-1.cfg | 5 +++++ .../ReStockPlus/Parts/Science/restock-sciencebox-stack-1.cfg | 5 +++++ .../Parts/Structural/1875/restock-node-1875-1.cfg | 5 +++++ .../ReStockPlus/Parts/Structural/625/restock-node-625-1.cfg | 5 +++++ 12 files changed, 60 insertions(+) diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Communication/restock-antenna-stack-2.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Communication/restock-antenna-stack-2.cfg index 2f55dc30..b75e866d 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Communication/restock-antenna-stack-2.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Communication/restock-antenna-stack-2.cfg @@ -71,4 +71,9 @@ PART } } } + MODULE + { + name = ModuleCargoPart + packedVolume = 300 + } } diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Communication/restock-antenna-stack-3.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Communication/restock-antenna-stack-3.cfg index 68dc5618..ffecab2e 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Communication/restock-antenna-stack-3.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Communication/restock-antenna-stack-3.cfg @@ -53,4 +53,9 @@ PART antennaPower = 15000000000 antennaCombinable = True } + MODULE + { + name = ModuleCargoPart + packedVolume = 25 + } } diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Communication/restock-relay-radial-2_v2.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Communication/restock-relay-radial-2_v2.cfg index 47f9ccff..70f245b2 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Communication/restock-relay-radial-2_v2.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Communication/restock-relay-radial-2_v2.cfg @@ -121,4 +121,9 @@ PART } } } + MODULE + { + name = ModuleCargoPart + packedVolume = 120 + } } diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Control/restock-reactionwheel-radial-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Control/restock-reactionwheel-radial-1.cfg index 90f2e6c8..9d1f6abb 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Control/restock-reactionwheel-radial-1.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Control/restock-reactionwheel-radial-1.cfg @@ -44,4 +44,9 @@ PART rate = 0.08 } } + MODULE + { + name = ModuleCargoPart + packedVolume = 40 + } } diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Electrical/radial/restock-apu-radial-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Electrical/radial/restock-apu-radial-1.cfg index e6a114cc..c7b59352 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Electrical/radial/restock-apu-radial-1.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Electrical/radial/restock-apu-radial-1.cfg @@ -68,4 +68,9 @@ PART amount = 40 maxAmount = 40 } + MODULE + { + name = ModuleCargoPart + packedVolume = 75 + } } diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Ground/restock-wheel-1-T.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Ground/restock-wheel-1-T.cfg index 3e61fe45..8e15a4cc 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Ground/restock-wheel-1-T.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Ground/restock-wheel-1-T.cfg @@ -177,4 +177,9 @@ PART } } } + MODULE + { + name = ModuleCargoPart + packedVolume = 125 + } } diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Ground/restock-wheel-4.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Ground/restock-wheel-4.cfg index 1683da00..0aa60162 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Ground/restock-wheel-4.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Ground/restock-wheel-4.cfg @@ -241,4 +241,9 @@ PART targetName = WheelPivotFollower } } + MODULE + { + name = ModuleCargoPart + packedVolume = 250 + } } diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Science/restock-goocanister-625-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Science/restock-goocanister-625-1.cfg index 6498703f..62ad3eda 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Science/restock-goocanister-625-1.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Science/restock-goocanister-625-1.cfg @@ -62,4 +62,9 @@ PART usageReqMaskInternal = 1 usageReqMaskExternal = 8 } + MODULE + { + name = ModuleCargoPart + packedVolume = 75 + } } diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Science/restock-materialbay-radial-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Science/restock-materialbay-radial-1.cfg index b1f4bb86..5f75e963 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Science/restock-materialbay-radial-1.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Science/restock-materialbay-radial-1.cfg @@ -99,4 +99,9 @@ PART name = ModuleRestockDepthMask maskTransform = mask } + MODULE + { + name = ModuleCargoPart + packedVolume = 1200 + } } diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Science/restock-sciencebox-stack-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Science/restock-sciencebox-stack-1.cfg index c3091204..59798c77 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Science/restock-sciencebox-stack-1.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Science/restock-sciencebox-stack-1.cfg @@ -58,4 +58,9 @@ PART canTransferInVessel = True showStatus = True } + MODULE + { + name = ModuleCargoPart + packedVolume = 500 + } } diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/1875/restock-node-1875-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/1875/restock-node-1875-1.cfg index caa33c4a..de9a38bd 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/1875/restock-node-1875-1.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/1875/restock-node-1875-1.cfg @@ -44,4 +44,9 @@ PART maxTemp = 2000 breakingForce = 350 breakingTorque = 350 + MODULE + { + name = ModuleCargoPart + packedVolume = 500 + } } diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/625/restock-node-625-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/625/restock-node-625-1.cfg index 42868e69..7a2e78ed 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/625/restock-node-625-1.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/625/restock-node-625-1.cfg @@ -43,4 +43,9 @@ PART maxTemp = 2000 breakingForce = 350 breakingTorque = 150 + MODULE + { + name = ModuleCargoPart + packedVolume = 30 + } }