From 07e4a84d5fb59fd86e7fc0dcb7204a9aff0a954f Mon Sep 17 00:00:00 2001 From: Adderley Date: Wed, 22 Apr 2020 15:36:39 -0700 Subject: [PATCH] Make RS+ tubes MH replacements --- .../Structural/125/restock-structural-tube-125-1.cfg | 12 ++++++++---- .../{125 => 1875}/restock-structural-tube-1875-1.cfg | 8 ++++++-- .../Structural/25/restock-structural-tube-25-1.cfg | 8 ++++++-- .../Structural/375/restock-structural-tube-375-1.cfg | 8 ++++++-- .../Structural/5/restock-structural-tube-5-1.cfg | 8 ++++++-- 5 files changed, 32 insertions(+), 12 deletions(-) rename Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/{125 => 1875}/restock-structural-tube-1875-1.cfg (99%) diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/125/restock-structural-tube-125-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/125/restock-structural-tube-125-1.cfg index 3071662f..87f6bb7e 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/125/restock-structural-tube-125-1.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/125/restock-structural-tube-125-1.cfg @@ -45,6 +45,10 @@ PART entryCost = 3000 cost = 300 category = Structural + + /// Flag to disable this part if MH is installed + MHReplacement = True + subcategory = 0 title = #LOC_RestockPlus_restock-structural-tube-125-1_title manufacturer = #autoLOC_501650 @@ -66,9 +70,9 @@ PART childStageOffset = 1 inverseStageCarryover = false bulkheadProfiles = size1 - - %DRAG_CUBE + + %DRAG_CUBE { cube = 0, 0.78,0.78,0.71, 0.78,0.78,0.71, 1.21,0.96,0.10, 1.21,0.96,0.10, 0.78,0.78,0.71, 0.78,0.78,0.71, 0,-0.3125,0, 1.25,0.625,1.25 cube = 1, 1.56,0.78,0.71, 1.56,0.78,0.71, 1.21,0.96,0.10, 1.21,0.96,0.10, 1.56,0.78,0.71, 1.56,0.78,0.71, 0,-0.625,0, 1.25,1.25,1.25 @@ -428,5 +432,5 @@ PART } } } - -} \ No newline at end of file + +} diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/125/restock-structural-tube-1875-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/1875/restock-structural-tube-1875-1.cfg similarity index 99% rename from Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/125/restock-structural-tube-1875-1.cfg rename to Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/1875/restock-structural-tube-1875-1.cfg index 399a9223..57955bbc 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/125/restock-structural-tube-1875-1.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/1875/restock-structural-tube-1875-1.cfg @@ -42,6 +42,10 @@ PART cost = 300 category = Structural subcategory = 0 + + /// Flag to disable this part if MH is installed + MHReplacement = True + title =#LOC_RestockPlus_restock-structural-tube-1875-1_title manufacturer = #autoLOC_501650 description = #LOC_RestockPlus_restock-structural-tube-1875-1_description @@ -409,7 +413,7 @@ PART } } } - + DRAG_CUBE { cube = 0, 1.18,0.77,1.01, 1.18,0.77,1.01, 2.72,0.96,0.10, 2.72,0.96,0.10, 1.18,0.77,1.01, 1.18,0.77,1.01, 0,-0.3125,0, 1.875,0.625,1.875 @@ -424,4 +428,4 @@ PART cube = 9, 7.03,0.78,0.98, 7.03,0.78,0.98, 2.72,0.96,0.10, 2.72,0.96,0.10, 7.03,0.78,0.98, 7.03,0.78,0.98, 0,-1.875,0, 1.875,3.75,1.875 } -} \ No newline at end of file +} diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/25/restock-structural-tube-25-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/25/restock-structural-tube-25-1.cfg index 1e6cd9c3..e7637aee 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/25/restock-structural-tube-25-1.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/25/restock-structural-tube-25-1.cfg @@ -42,6 +42,10 @@ PART entryCost = 3000 cost = 300 category = Structural + + /// Flag to disable this part if MH is installed + MHReplacement = True + subcategory = 0 title = #LOC_RestockPlus_restock-structural-tube-25-1_title manufacturer = #autoLOC_501650 @@ -410,7 +414,7 @@ PART } } } - + DRAG_CUBE { cube = 0, 1.56,0.77,1.31, 1.56,0.77,1.31, 4.78,0.95,0.10, 4.78,0.95,0.10, 1.56,0.77,1.31, 1.56,0.77,1.31, 0,-0.3125,0, 2.5,0.625,2.5 @@ -424,4 +428,4 @@ PART cube = 8, 6.25,0.77,1.31, 6.25,0.77,1.31, 4.78,0.95,0.09, 4.78,0.95,0.09, 6.25,0.77,1.31, 6.25,0.77,1.31, 0,-1.25,0, 2.5,2.5,2.5 cube = 9, 9.44,0.77,1.26, 9.44,0.77,1.26, 4.78,0.95,0.09, 4.78,0.95,0.09, 9.44,0.77,1.26, 9.44,0.77,1.26, 0,-1.875,0, 2.5,3.75,2.5 } -} \ No newline at end of file +} diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/375/restock-structural-tube-375-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/375/restock-structural-tube-375-1.cfg index 225c67a0..0bbb4aea 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/375/restock-structural-tube-375-1.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/375/restock-structural-tube-375-1.cfg @@ -41,6 +41,10 @@ PART entryCost = 3000 cost = 300 category = Structural + + /// Flag to disable this part if MH is installed + MHReplacement = True + subcategory = 0 title = #LOC_RestockPlus_restock-structural-tube-375-1_title manufacturer = #autoLOC_501650 @@ -409,7 +413,7 @@ PART } } } - + DRAG_CUBE { cube = 0, 4.72,0.76,1.92, 4.72,0.76,1.92, 11.00,0.96,0.10, 11.00,0.96,0.10, 4.72,0.76,1.92, 4.72,0.76,1.92, 0,-0.625,0, 3.75,1.25,3.75 @@ -423,4 +427,4 @@ PART cube = 8, 14.06,0.77,1.92, 14.06,0.77,1.92, 11.00,0.96,0.09, 11.00,0.96,0.09, 14.06,0.77,1.92, 14.06,0.77,1.92, 0,-1.875,0, 3.75,3.75,3.75 cube = 9, 18.75,0.77,1.90, 18.75,0.77,1.90, 11.00,0.96,0.10, 11.00,0.96,0.10, 18.75,0.77,1.90, 18.75,0.77,1.90, 0,-2.5,0, 3.75,5,3.75 } -} \ No newline at end of file +} diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/5/restock-structural-tube-5-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/5/restock-structural-tube-5-1.cfg index fb467c83..14ccc232 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/5/restock-structural-tube-5-1.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Structural/5/restock-structural-tube-5-1.cfg @@ -41,6 +41,10 @@ PART entryCost = 3000 cost = 300 category = Structural + + /// Flag to disable this part if MH is installed + MHReplacement = True + subcategory = 0 title = #LOC_RestockPlus_restock-structural-tube-5-1_title manufacturer = #autoLOC_501650 @@ -409,7 +413,7 @@ PART } } } - + DRAG_CUBE { cube = 0, 6.25,0.77,2.52, 6.25,0.77,2.52, 20,0.95,0.10, 20,0.95,0.10, 6.25,0.77,2.52, 6.25,0.77,2.52, 0,-0.625,0, 5,1.25,5 @@ -423,4 +427,4 @@ PART cube = 8, 18.75,0.77,2.52, 18.75,0.77,2.52, 20,0.95,0.09, 20,0.95,0.09, 18.75,0.77,2.52, 18.75,0.77,2.52, 0,-1.875,0, 5,3.75,5 cube = 9, 25.00,0.77,2.52, 25.00,0.77,2.52, 20,0.95,0.10, 20,0.95,0.10, 25.00,0.77,2.52, 25.00,0.77,2.52, 0,-2.5,0, 5,5,5 } -} \ No newline at end of file +}