From 031b94cc2c766c2786f8f8e22de6a3b01f90902e Mon Sep 17 00:00:00 2001 From: drewcassidy Date: Wed, 8 Apr 2020 15:56:28 -0700 Subject: [PATCH] Fix RS+ configs for spherical pods --- .../GameData/ReStockPlus/Localization/en-us.cfg | 2 +- .../Parts/Command/125/restock-pod-sphere-1.cfg | 12 ++++++++---- .../Parts/Command/125/restock-pod-sphere-2.cfg | 12 ++++++++---- .../Parts/Command/125/restock-pod-sphere-3.cfg | 14 +++++++++----- 4 files changed, 26 insertions(+), 14 deletions(-) diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Localization/en-us.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Localization/en-us.cfg index 6e52f9ae..29dbe7c6 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Localization/en-us.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Localization/en-us.cfg @@ -281,7 +281,7 @@ Localization #LOC_RestockPlus_restock-pod-sphere-2_tags = 2 capsule control ?eva fly ?iva pilot rocket space history historical pod voskhod restock #LOC_RestockPlus_restock-pod-sphere-3_title = SP-3 'Mandarin' Reentry Module - #LOC_RestockPlus_restock-pod-sphere-3_description = We hired a shady interior designer to fit three seats into the same space as two. The occupants are no longer able to move their arms to access the controls, but at least they'll probably survive. + #LOC_RestockPlus_restock-pod-sphere-3_description = We hired a shady interior decorator to fit three seats into the same space as one. The occupants are no longer able to move their arms to access the controls, but at least they'll probably survive. #LOC_RestockPlus_restock-pod-sphere-3_tags = 3 capsule control ?eva fly ?iva pilot rocket space history historical pod voskhod restock sardines // 1.875m diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Command/125/restock-pod-sphere-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Command/125/restock-pod-sphere-1.cfg index 3e42a6bf..92b04fdc 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Command/125/restock-pod-sphere-1.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Command/125/restock-pod-sphere-1.cfg @@ -2,12 +2,12 @@ // Spherical command pod PART { - name = restock-sphere-pod-1 + name = restock-pod-sphere-1 module = Part author = Well MODEL { - model = ReStockPlus/Assets/Command/restock-sphere-pod-1 + model = ReStock/Assets/Command/restock-pod-sphere-1 position = 0.0, 0.0, 0.0 rotation = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 @@ -16,8 +16,12 @@ PART CrewCapacity = 1 // Attachment attachRules = 1,0,1,1,0 - node_stack_top = 0.0, 1.225, 0.0, 0.0, 1.0, 0.0, 1 - node_stack_bottom = 0.0, -0.475, 0.0, 0.0, -1.0, 0.0, 1 + node_stack_top = 0.0, 0.825, 0.0, 0.0, 1.0, 0.0, 1 + node_stack_bottom = 0.0, -0.875, 0.0, 0.0, -1.0, 0.0, 1 + + /// Flag to disable this part if MH is installed + MHReplacement = True + TechRequired = start entryCost = 0 cost = 1000 diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Command/125/restock-pod-sphere-2.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Command/125/restock-pod-sphere-2.cfg index 28204c51..ac2598d5 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Command/125/restock-pod-sphere-2.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Command/125/restock-pod-sphere-2.cfg @@ -2,12 +2,12 @@ // Spherical command pod PART { - name = restock-sphere-pod-2 + name = restock-pod-sphere-2 module = Part author = Well MODEL { - model = ReStockPlus/Assets/Command/restock-sphere-pod-2 + model = ReStock/Assets/Command/restock-pod-sphere-2 position = 0.0, 0.0, 0.0 rotation = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 @@ -16,8 +16,12 @@ PART CrewCapacity = 2 // Attachment attachRules = 1,0,1,1,0 - node_stack_top = 0.0, 1.225, 0.0, 0.0, 1.0, 0.0, 1 - node_stack_bottom = 0.0, -0.475, 0.0, 0.0, -1.0, 0.0, 1 + node_stack_top = 0.0, 0.825, 0.0, 0.0, 1.0, 0.0, 1 + node_stack_bottom = 0.0, -0.875, 0.0, 0.0, -1.0, 0.0, 1 + + /// Flag to disable this part if MH is installed + MHReplacement = True + TechRequired = start entryCost = 0 cost = 1500 diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Command/125/restock-pod-sphere-3.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Command/125/restock-pod-sphere-3.cfg index 635f1270..35ba2239 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Command/125/restock-pod-sphere-3.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Command/125/restock-pod-sphere-3.cfg @@ -2,12 +2,12 @@ // Spherical command pod PART { - name = restock-sphere-pod-3 + name = restock-pod-sphere-3 module = Part author = Well MODEL { - model = ReStockPlus/Assets/Command/restock-sphere-pod-3 + model = ReStock/Assets/Command/restock-pod-sphere-3 position = 0.0, 0.0, 0.0 rotation = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 @@ -16,8 +16,12 @@ PART CrewCapacity = 3 // Attachment attachRules = 1,0,1,1,0 - node_stack_top = 0.0, 1.225, 0.0, 0.0, 1.0, 0.0, 1 - node_stack_bottom = 0.0, -0.475, 0.0, 0.0, -1.0, 0.0, 1 + node_stack_top = 0.0, 0.825, 0.0, 0.0, 1.0, 0.0, 1 + node_stack_bottom = 0.0, -0.875, 0.0, 0.0, -1.0, 0.0, 1 + + /// Flag to disable this part if MH is installed + MHReplacement = True + TechRequired = start entryCost = 0 cost = 2000 @@ -26,7 +30,7 @@ PART title = #LOC_RestockPlus_restock-pod-sphere-3_title // SP-3 'Mandarin' Reentry Module manufacturer = #autoLOC_501678 //#autoLOC_501678 = Probodobodyne Inc description = #LOC_RestockPlus_restock-pod-sphere-3_description - // We hired a shady interior designer to fit three seats into the same space as two. The occupants are no longer able to move their arms to access the controls, but at least they'll probably survive. + // We hired a shady interior decorator to fit three seats into the same space as one. The occupants are no longer able to move their arms to access the controls, but at least they'll probably survive. attachRules = 1,0,1,1,0 mass = 2 dragModelType = default