From 1e9b01c815e2aff3a8dc982327cadbb327ad2f95 Mon Sep 17 00:00:00 2001 From: drewcassidy Date: Tue, 12 May 2020 00:06:25 -0700 Subject: [PATCH] Configure fuel vent part --- .../GameData/ReStock/Localization/en-us.cfg | 1 + .../Patches/Resource/restock-fuelvent.cfg | 47 +++++++++++++++++++ .../GameData/ReStock/Restock.restockblacklist | 1 + Distribution/Restock/changelog.txt | 6 +++ 4 files changed, 55 insertions(+) create mode 100644 Distribution/Restock/GameData/ReStock/Patches/Resource/restock-fuelvent.cfg diff --git a/Distribution/Restock/GameData/ReStock/Localization/en-us.cfg b/Distribution/Restock/GameData/ReStock/Localization/en-us.cfg index f233822b..af98ac2d 100644 --- a/Distribution/Restock/GameData/ReStock/Localization/en-us.cfg +++ b/Distribution/Restock/GameData/ReStock/Localization/en-us.cfg @@ -87,6 +87,7 @@ Localization #LOC_Restock_variant-surface_metal = Metal #LOC_Restock_variant-surface_basic = Basic #LOC_Restock_variant-surface_truss = Truss + #LOC_Restock_variant-surface_warningStripes = Warning Stripes #LOC_Restock_variant-surface_thermalblankets = Insulated #LOC_Restock_variant-decoupler_metal = Metal diff --git a/Distribution/Restock/GameData/ReStock/Patches/Resource/restock-fuelvent.cfg b/Distribution/Restock/GameData/ReStock/Patches/Resource/restock-fuelvent.cfg new file mode 100644 index 00000000..d71dbe30 --- /dev/null +++ b/Distribution/Restock/GameData/ReStock/Patches/Resource/restock-fuelvent.cfg @@ -0,0 +1,47 @@ +// Patches applying art changes to fuel vents +// Contents: +// - FTE-1 Drain Valve (ReleaseValve) + +// FTE-1 Drain Valve +@PART[ReleaseValve]:HAS[~RestockIgnore[*]]:FOR[ReStock] +{ + @author = Andrew Cassidy + !mesh = DELETE + MODEL + { + model = ReStock/Assets/Resource/restock-fuel-vent-1 + } + + MODULE + { + name = ModulePartVariants + useMultipleDragCubes = false + baseVariant = Metal + VARIANT + { + name = Metal + displayName = #LOC_Restock_variant-surface_metal // Metal + themeName = Metal + primaryColor = #6f6e6d + secondaryColor = #6f6e6d + GAMEOBJECTS + { + Vent_metal = true + Vent_striped = false + } + } + VARIANT + { + name = Striped + displayName = #LOC_Restock_variant-surface_warningStripes // Warning Stripes + themeName = Gray with Stripes + primaryColor = #4c4f47 + secondaryColor = #A4823F + GAMEOBJECTS + { + Vent_metal = false + Vent_striped = true + } + } + } +} diff --git a/Distribution/Restock/GameData/ReStock/Restock.restockblacklist b/Distribution/Restock/GameData/ReStock/Restock.restockblacklist index 941c4b10..fdd605a1 100644 --- a/Distribution/Restock/GameData/ReStock/Restock.restockblacklist +++ b/Distribution/Restock/GameData/ReStock/Restock.restockblacklist @@ -81,6 +81,7 @@ Squad/Parts/FuelTank/Size3Tanks/ Squad/Parts/FuelTank/xenonTank/ Squad/Parts/FuelTank/xenonTankLarge/ Squad/Parts/FuelTank/xenonTankRadial/ +Squad/Parts/FuelTank/drainTankFTE-1/ Squad/Parts/Misc/AsteroidDay/ Squad/Parts/Resources/FuelCell/ Squad/Parts/Resources/ISRU/ diff --git a/Distribution/Restock/changelog.txt b/Distribution/Restock/changelog.txt index bca05d2c..389887e9 100644 --- a/Distribution/Restock/changelog.txt +++ b/Distribution/Restock/changelog.txt @@ -1,3 +1,9 @@ +v1.2.0 +------ +- New stock part replacements + - Resources + -FTE-1 Drain Valve (Andrew Cassidy): now has metal and warning stripe variants + v1.1.2 ------ - Fixed engine plate compatability with stock vessels by moving boattails to the end of the variant list