From c8873a305a8511fdf8f0180b7a1ba3e6e6da7ad6 Mon Sep 17 00:00:00 2001 From: Poodmund Date: Sun, 17 Mar 2019 17:47:20 +0000 Subject: [PATCH 1/2] #LOC tags for Science animations and resolve satellite contracts issue --- .../Parts/Science/restock-goocanister-625-1.cfg | 12 ++++++------ .../Parts/Science/restock-materialbay-radial-1.cfg | 12 ++++++------ .../Patches/Science/satellite-contracts.cfg | 14 ++++++++++++++ 3 files changed, 26 insertions(+), 12 deletions(-) create mode 100644 Distribution/RestockPlus/GameData/ReStockPlus/Patches/Science/satellite-contracts.cfg 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 2e392480..02aa60c1 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 @@ -41,24 +41,24 @@ PART { name = ModuleAnimateGeneric animationName = inline-Deploy - startEventGUIName = Deploy - endEventGUIName = Close - actionGUIName = Toggle Cover + startEventGUIName = #autoLOC_502050 //#autoLOC_502050 = Deploy + endEventGUIName = #autoLOC_502051 //#autoLOC_502051 = Close + actionGUIName = #autoLOC_502052 //#autoLOC_502052 = Toggle Cover evaDistance = 1.5 } MODULE { name = ModuleScienceExperiment experimentID = mysteryGoo - experimentActionName = Observe Mystery Goo - resetActionName = Reset Goo Canister + experimentActionName = #autoLOC_502053 //#autoLOC_502053 = Observe Mystery Goo + resetActionName = #autoLOC_502054 //#autoLOC_502054 = Reset Goo Canister useStaging = False useActionGroups = True hideUIwhenUnavailable = True xmitDataScalar = 0.3 FxModules = 0 dataIsCollectable = True - collectActionName = Collect Data + collectActionName = #autoLOC_6004057 //#autoLOC_6004057 = Collect Data interactionRange = 1.5 usageReqMaskInternal = 1 usageReqMaskExternal = 8 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 a6d82c02..23125fed 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 @@ -40,17 +40,17 @@ PART { name = ModuleAnimateGeneric animationName = radial-Deploy - startEventGUIName = Open Doors - endEventGUIName = Close Doors - actionGUIName = Toggle Doors + startEventGUIName = #autoLOC_502058 //#autoLOC_502058 = Open Doors + endEventGUIName = #autoLOC_502059 //#autoLOC_502059 = Close Doors + actionGUIName = #autoLOC_502060 //#autoLOC_502060 = Toggle Doors evaDistance = 1.85 } MODULE { name = ModuleScienceExperiment experimentID = mobileMaterialsLab - experimentActionName = Observe Materials Bay - resetActionName = Reset Materials Bay + experimentActionName = #autoLOC_502061 //#autoLOC_502061 = Observe Materials Bay + resetActionName = #autoLOC_502062 //#autoLOC_502062 = Reset Materials Bay useStaging = False useActionGroups = True hideUIwhenUnavailable = True @@ -58,7 +58,7 @@ PART xmitDataScalar = 0.35 FxModules = 0 dataIsCollectable = True - collectActionName = Collect Data + collectActionName = #autoLOC_6004057 //#autoLOC_6004057 = Collect Data interactionRange = 1.85 usageReqMaskInternal = 1 usageReqMaskExternal = 8 diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Patches/Science/satellite-contracts.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Patches/Science/satellite-contracts.cfg new file mode 100644 index 00000000..348f2b3a --- /dev/null +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Patches/Science/satellite-contracts.cfg @@ -0,0 +1,14 @@ +@Contracts:FOR[ReStockPlus] +{ + @Satellite + { + @PART_REQUEST:HAS[#Part[GooExperiment]] + { + Part = restock-goocanister-625-1 + } + @PART_REQUEST:HAS[#Part[science_module]] + { + Part = restock-materialbay-radial-1 + } + } +} From d34b72a5192750923bad3ae7076d8cf75675301e Mon Sep 17 00:00:00 2001 From: Poodmund Date: Sun, 17 Mar 2019 17:50:13 +0000 Subject: [PATCH 2/2] Comment Science Satellite Contracts config adequately --- .../ReStockPlus/Patches/Science/satellite-contracts.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Patches/Science/satellite-contracts.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Patches/Science/satellite-contracts.cfg index 348f2b3a..d2d5a8c2 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Patches/Science/satellite-contracts.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Patches/Science/satellite-contracts.cfg @@ -1,3 +1,5 @@ +// Allows for the ReStockPlus parts to fulfill requirements for stock experiments in Satellite contracts + @Contracts:FOR[ReStockPlus] { @Satellite