30 Commits
1.0.0 ... 1.0.2

Author SHA1 Message Date
967851b650 Merge pull request #768 from PorktoberRevolution/master
Release 1.0.2
2020-01-02 21:09:03 -08:00
326eacce4d Changelog update 2020-01-02 20:30:59 -08:00
11c571297b Merge pull request #767 from PorktoberRevolution/develop
Update plugin to fix instantiation issue.
2020-01-02 20:29:51 -08:00
03e63787f4 Castor SRB fix. 2020-01-01 22:40:44 -08:00
4739ce7daf Version file updates 2019-12-28 12:20:58 -08:00
9a31df1547 Some fixes
- Including #765, #766
2019-12-28 12:20:19 -08:00
da201e23ce Fix 1.875m decoupler/separator tech tree node requirement flags. 2019-12-23 14:13:23 +00:00
6cd78839ae Update ModuleRestockHeatEffects to fix instantiation issues
Untested (will test when I get home)
2019-12-03 12:41:33 -08:00
d3ba149ea9 Merge pull request #760 from PorktoberRevolution/master
Hotfix version
2019-11-19 15:38:40 +08:00
2ebd5b245a Hotfix version 2019-11-18 23:34:49 -08:00
745bcaa376 Merge pull request #759 from PorktoberRevolution/master
Release 1.0.1
2019-11-19 15:29:34 +08:00
3449790cb5 Return of the bad texture 2019-11-18 23:26:14 -08:00
d00bf616a7 Tweak changelogs 2019-11-18 23:18:10 -08:00
b514c9a911 Remove RT patch and compress shroud texture 2019-11-17 22:50:05 -08:00
efdf9066f3 File 2019-11-16 18:49:34 -08:00
056f6ef71f Update to FAR patch 2019-11-16 18:45:11 -08:00
05680bb3a6 Added RemoteTech compatibility 2019-11-16 18:42:25 -08:00
05b9478038 Fixes
- Missing texture
- Legacy spark blacklist
2019-11-16 18:33:31 -08:00
63fb192045 Various bugfixes
- Bad texture assignments (#754)
- FAR Chutes (#751)
- RealChutes  (#756)
- Collider scaling (#753)
2019-11-16 06:09:07 -08:00
38ecd498b0 Merge branch 'master' into develop 2019-11-07 16:14:42 -08:00
695a985c78 Fix reactionwheel localization for other languages 2019-11-07 15:26:16 -08:00
1ae3696109 Probable fix for #751 2019-11-07 13:57:52 -08:00
c8298d74af Merge branch 'master' of https://github.com/PorktoberRevolution/ReStocked 2019-11-07 13:47:48 -08:00
c9cfccc182 Fix reaction wheel localization string
#752
2019-11-07 13:40:53 -08:00
5f9fbc835c Update changelog 2019-11-06 10:06:37 -08:00
b0421f37cd Merge pull request #750 from Duck1998/master
Update zh-cn localization
2019-11-06 10:05:19 -08:00
37f5649b61 Update zh-cn localization
Better late than never 😃
2019-11-06 12:22:03 +08:00
464fb5cf78 Merge branch 'master' of https://github.com/PorktoberRevolution/ReStocked.git 2019-11-06 11:39:30 +08:00
488c750750 Merge branch 'master' of https://github.com/PorktoberRevolution/ReStocked.git 2019-11-05 18:19:52 +08:00
bffa9cddfd Update zh-cn.cfg
following commit 82cd8d
2019-11-04 11:18:24 +08:00
25 changed files with 157 additions and 52 deletions

View File

@ -0,0 +1,67 @@
// FAR ships a RealChute Lite that is similar to the RC patch
@PART[parachuteDrogue]:NEEDS[FerramAerospaceResearch]:AFTER[ReStock]
{
@MODULE[RealChuteFAR]
{
@semiDeployedAnimation = semiDeployLarge
@fullyDeployedAnimation = fullyDeployLarge
@capName = ChuteCap
@canopyName = B_ParachuteLargeDrogueRotator
}
!DRAG_CUBE {}
}
@PART[parachuteLarge]:NEEDS[FerramAerospaceResearch]:AFTER[ReStock]
{
@MODULE[RealChuteFAR]
{
@semiDeployedAnimation = semiDeployLarge
@fullyDeployedAnimation = fullyDeployLarge
@capName = ChuteCap
@canopyName = B_ParachuteLargeRotator
}
!DRAG_CUBE {}
}
@PART[parachuteSingle]:NEEDS[FerramAerospaceResearch]:AFTER[ReStock]
{
@MODULE[RealChuteFAR]
{
@semiDeployedAnimation = semiDeployLarge
@fullyDeployedAnimation = fullyDeployLarge
@capName = SmallChuteCap
@canopyName = B_ParachuteRoot004
}
!DRAG_CUBE {}
}
@PART[parachuteRadial]:NEEDS[FerramAerospaceResearch]:AFTER[ReStock]
{
@MODULE[RealChuteFAR]
{
@semiDeployedAnimation = semiDeployLarge
@fullyDeployedAnimation = fullyDeployLarge
@capName = RadialChuteCap
@canopyName = B_ParachuteRoot
}
!DRAG_CUBE {}
}
@PART[radialDrogue]:NEEDS[FerramAerospaceResearch]:AFTER[ReStock]
{
@MODULE[RealChuteFAR]
{
@semiDeployedAnimation = semiDeployLarge
@fullyDeployedAnimation = fullyDeployLarge
@capName = RadialChuteCapDrogue
@canopyName = B_ParachuteRoot005
}
!DRAG_CUBE {}
}

View File

@ -1,6 +1,6 @@
// RealChute compatability fixes
@PART[parachuteDrogue]:AFTER[RealChute]
@PART[parachuteDrogue]:NEEDS[RealChute]:AFTER[ReStock]
{
@MODULE[RealChuteModule]
{
@ -16,7 +16,7 @@
!DRAG_CUBE {}
}
@PART[parachuteLarge]:AFTER[RealChute]
@PART[parachuteLarge]:NEEDS[RealChute]:AFTER[ReStock]
{
@MODULE[RealChuteModule]
{
@ -32,7 +32,7 @@
!DRAG_CUBE {}
}
@PART[parachuteSingle]:AFTER[RealChute]
@PART[parachuteSingle]:NEEDS[RealChute]:AFTER[ReStock]
{
@MODULE[RealChuteModule]
{
@ -48,7 +48,7 @@
!DRAG_CUBE {}
}
@PART[parachuteRadial]:AFTER[RealChute]
@PART[parachuteRadial]:NEEDS[RealChute]:AFTER[ReStock]
{
@MODULE[RealChuteModule]
{
@ -64,7 +64,7 @@
!DRAG_CUBE {}
}
@PART[radialDrogue]:AFTER[RealChute]
@PART[radialDrogue]:NEEDS[RealChute]:AFTER[ReStock]
{
@MODULE[RealChuteModule]
{

View File

@ -40,8 +40,8 @@ Localization
#LOC_Restock_variant-engine_boattail_size1p5_white = Boattail (1.875m, White)
#LOC_Restock_variant-engine_boattail_size1_grey-orange = Boattail (1.25m, Orange/Grey)
#LOC_Restock_variant-engine_boattail_size1p5_grey-orange = Boattail (1.875m, Orange/Grey)
#LOC_Restock_variant-engine_tankbutt_size1p5_white = Tankbutt (1.875m, White)
#LOC_Restock_variant-engine_tankbutt_size1p5_grey-orange = Tankbutt (1.875m, Orange/Grey)
#LOC_Restock_variant-engine_tankbutt_size1p5_white = Tankbutt (2.5m, White)
#LOC_Restock_variant-engine_tankbutt_size1p5_grey-orange = Tankbutt (2.5m, Orange/Grey)
#LOC_Restock_variant-engine_shroud_white = White Shroud
#LOC_Restock_variant-engine_shroud_grey-orange = Metallic Shroud

View File

@ -40,9 +40,11 @@ Localization
#LOC_Restock_variant-engine_boattail_size1p5_white = 艇尾型(1.875m,白色)
#LOC_Restock_variant-engine_boattail_size1_grey-orange = 艇尾型(1.25m,灰色和橙色)
#LOC_Restock_variant-engine_boattail_size1p5_grey-orange = 艇尾型(1.875m,灰色和橙色)
#LOC_Restock_variant-engine_tankbutt_size1p5_white = 箱尾型(2.5m,白色)
#LOC_Restock_variant-engine_tankbutt_size1p5_grey-orange = 箱尾型(2.5m,灰色和橙色)
#LOC_Restock_variant-engine_shroud_white = 金属外壳
#LOC_Restock_variant-engine_shroud_grey-orange = 白色外壳
#LOC_Restock_variant-engine_shroud_white = 白色外壳
#LOC_Restock_variant-engine_shroud_grey-orange = 金属外壳
#LOC_Restock_variant-engine_shroud = 外壳
#LOC_Restock_variant-engine_shroud_wide = 宽外壳
@ -77,10 +79,12 @@ Localization
#LOC_Restock_variant-surface_truss = 桁架
#LOC_Restock_variant-surface_thermalblankets = 隔热
#LOC_Restock_variant-decoupler_metal = 金属
#LOC_Restock_variant-decoupler_grey-orange = 灰色和橙色
#LOC_Restock_variant-surface_yellow = 黄色
#LOC_Restock_variant-surface_black = 黑色
#LOC_Restock_variant-service-bay-opaque = 实心舱盖
#LOC_Restock_variant-service-bay-transparent = 桁架舱盖
#LOC_Restock_variant-service-bay-hollow = 无舱盖

View File

@ -44,7 +44,6 @@ Squad/Parts/Electrical/radialFlatSolarPanel/
Squad/Parts/Engine/ionEngine/
Squad/Parts/Engine/liquidEngine24-77/
Squad/Parts/Engine/liquidEngine24-77_v2/
Squad/Parts/Engine/liquidEngine48-7S/
Squad/Parts/Engine/liquidEngine48-7S_v2/
Squad/Parts/Engine/liquidEngineLV-1/
Squad/Parts/Engine/liquidEngineLV-1_v2/

View File

@ -6,7 +6,7 @@
{
"MAJOR":1,
"MINOR":0,
"PATCH":0,
"PATCH":2,
"BUILD":0
},
"KSP_VERSION":

View File

@ -1,4 +1,23 @@
v0.2.0
v1.0.2
-----
- Fixed plugin instantiation issue
- Fixed 'tankbutt' localizations for Skiff showing 1.875m when they should be 2.5m (#766)
- Fixed inflatable heatshield fairing (#765)
v1.0.1
-----
- Fixed lack of bundled ModuleManager
- Updated Simplified Chinese localization (Duck1998)
- Fixed an issue with the localization of the radial reaction wheel assembly (#742)
- Fixed compatability with FAR in a case where RealChute is NOT installed (#751)
- Fixed compatability with RealChute and NO FAR (#756)
- Fixed Skippper orange boattail texture assignments (#754)
- Fixed large truss piece collider scaling (#753)
- Un-blacklisted legacy Squad spark model (we don't have an appropriate replacement anymore)
- Updated Chinese translation (Duck1998)
v1.0.0
------
- KSP 1.8 compatibility
- Phase 2 release

View File

@ -50,9 +50,9 @@ Localization
#LOC_RestockPlus_restock-engine-srb-anvil_tags = a moar (more motor rocket shuttle ssrb srb restock anvil solido motores motor
// CONTROL
#LOC_RestockPlus_reactionwheel-radial-1_title = Giroscopio Radial Peque<75>o
#LOC_RestockPlus_reactionwheel-radial-1_description = El peque<75>o giroscopio de Steadler proporciona una peque<75>a cantidad de capacidad de rotaci<63>n pero con mayor eficiencia energ<72>tica, permitiendo que estaciones espaciales mantengan su orientaci<63>n con a<>n menos potencia. Aun no estamos seguros del todo como funcionan los giroscopios, pero permiten rotaci<63>n en los tres ejes... increiblemente.
#LOC_RestockPlus_reactionwheel-radial-1_tags = cmg command control fly gyro moment react stab steer torque magic_spinny_thing comando momento par girar rotar
#LOC_RestockPlus_restock-reactionwheel-radial-1_title = Giroscopio Radial Peque<75>o
#LOC_RestockPlus_restock-reactionwheel-radial-1_description = El peque<75>o giroscopio de Steadler proporciona una peque<75>a cantidad de capacidad de rotaci<63>n pero con mayor eficiencia energ<72>tica, permitiendo que estaciones espaciales mantengan su orientaci<63>n con a<>n menos potencia. Aun no estamos seguros del todo como funcionan los giroscopios, pero permiten rotaci<63>n en los tres ejes... increiblemente.
#LOC_RestockPlus_restock-reactionwheel-radial-1_tags = cmg command control fly gyro moment react stab steer torque magic_spinny_thing comando momento par girar rotar
// RCS
#LOC_RestockPlus_restock-rcs-block-dual-1_title = Bloque RCS RV-102

View File

@ -49,9 +49,9 @@ Localization
#LOC_RestockPlus_restock-engine-srb-anvil_tags = (mais motor foguete shuttle ônibus ssrb BCS restock anvil
// CONTROL
#LOC_RestockPlus_reactionwheel-radial-1_title = Pequeno Giroscópio Radial
#LOC_RestockPlus_reactionwheel-radial-1_description = O pequeno giroscópio radial STEADLER provê uma pequena quantidade de torque com maior eficiência energética, permitindo que até mesmo grandes estações espaciais controlem sua atitude com um mínimo de esforço. Não ainda não sabemos muito bem como giroscópios funcionam, mas este aqui fornece torque nos três eixos.
#LOC_RestockPlus_reactionwheel-radial-1_tags = cmg comando controle voar giroscópio momento reagir estabiliza vira torque spinner
#LOC_RestockPlus_restock-reactionwheel-radial-1_title = Pequeno Giroscópio Radial
#LOC_RestockPlus_restock-reactionwheel-radial-1_description = O pequeno giroscópio radial STEADLER provê uma pequena quantidade de torque com maior eficiência energética, permitindo que até mesmo grandes estações espaciais controlem sua atitude com um mínimo de esforço. Não ainda não sabemos muito bem como giroscópios funcionam, mas este aqui fornece torque nos três eixos.
#LOC_RestockPlus_restock-reactionwheel-radial-1_tags = cmg comando controle voar giroscópio momento reagir estabiliza vira torque spinner
// RCS
#LOC_RestockPlus_restock-rcs-block-dual-1_title = Bloco de Propulsores SCR RV-102

View File

@ -87,9 +87,9 @@ Localization
// =======
// Reaction wheels
#LOC_RestockPlus_reactionwheel-radial-1_title = 小型径向陀螺仪
#LOC_RestockPlus_reactionwheel-radial-1_description = STEADLER的小型径向陀螺仪只能提供少量扭矩但有着更高的能效即使是大型空间站也能以最小的功率保持姿态。我们仍然不完全清楚陀螺仪是如何工作的但至少这个陀螺仪在所有三个轴上都能提供扭矩。
#LOC_RestockPlus_reactionwheel-radial-1_tags = 方位 指令 控制 飞行 陀螺 动量 反应 稳定 转向 扭矩 magic_spinny_thing restock
#LOC_RestockPlus_restock-reactionwheel-radial-1_title = 小型径向陀螺仪
#LOC_RestockPlus_restock-reactionwheel-radial-1_description = STEADLER的小型径向陀螺仪只能提供少量扭矩但有着更高的能效即使是大型空间站也能以最小的功率保持姿态。我们仍然不完全清楚陀螺仪是如何工作的但至少这个陀螺仪在所有三个轴上都能提供扭矩。
#LOC_RestockPlus_restock-reactionwheel-radial-1_tags = 方位 指令 控制 飞行 陀螺 动量 反应 稳定 转向 扭矩 magic_spinny_thing restock
#LOC_RestockPlus_restock-reactionwheel-1875-1_title = 中型动量轮模块
#LOC_RestockPlus_restock-reactionwheel-1875-1_description = 我们购买了多个动量轮模块,以确保在飞行的所有阶段都能准确控制我们的中型火箭。
@ -164,7 +164,7 @@ Localization
#LOC_RestockPlus_restock-fuel-tank-sphere-0625-1_tags = restock 燃料 燃料箱 ?液体燃料 液体 氧化 推进 火箭 箱 圆 球 半
// 1.25m
#LOC_RestockPlus_restock-fuel-tank-sphere-125-1_title = FL-T100-R半球形燃料箱
#LOC_RestockPlus_restock-fuel-tank-sphere-125-1_title = FL-T50-R半球形燃料箱
#LOC_RestockPlus_restock-fuel-tank-sphere-125-1_description = 一个用于存储液体燃料与氧化剂的1.25m直径半球。
#LOC_RestockPlus_restock-fuel-tank-sphere-125-1_tags = restock 燃料 燃料箱 ?液体燃料 液体 氧化 推进 火箭 箱 圆 球 半
@ -207,7 +207,7 @@ Localization
#LOC_RestockPlus_restock-fuel-tank-sphere-1875-1_tags = restock 燃料 燃料箱 ?液体燃料 液体 氧化 推进 火箭 箱 圆 球 半
// 2.5m
#LOC_RestockPlus_restock-fuel-tank-sphere-25-1_title = Rockomax X-200-R半球形燃料箱
#LOC_RestockPlus_restock-fuel-tank-sphere-25-1_title = Rockomax X-200-4R半球形燃料箱
#LOC_RestockPlus_restock-fuel-tank-sphere-25-1_description = 这个油箱是半球形的。与其他极限火箭产品不同,它不应被用作游泳池。
#LOC_RestockPlus_restock-fuel-tank-sphere-25-1_tags = restock 燃料 燃料箱 ?液体燃料 液体 氧化 推进 火箭 箱 圆 球 半
@ -220,8 +220,8 @@ Localization
#LOC_RestockPlus_restock-fuel-tank-375-4_description = 一个特殊的紧凑型燃料箱,填补了坎巴拉动力重型部件产品线中特定空缺。现在你可以制作煤油煎饼了!
#LOC_RestockPlus_restock-fuel-tank-375-4_tags = restock 燃料 燃料箱 ?液体燃料 液体 氧化 推进 火箭 箱 s3 1800
#LOC_RestockPlus_restock-fuel-tank-sphere-375-1_title = Kerbodyne S3-1800R半球形燃料箱
#LOC_RestockPlus_restock-fuel-tank-sphere-375-1_description = 与-1800相比-1800R更圆润更加像球形,而且更重要的是,它被切成了两半
#LOC_RestockPlus_restock-fuel-tank-sphere-375-1_title = Kerbodyne S3-900R半球形燃料箱
#LOC_RestockPlus_restock-fuel-tank-sphere-375-1_description = 与S3-1800相比S3-900R更圆润更加像个球,更重要的是只有一半的容量
#LOC_RestockPlus_restock-fuel-tank-sphere-375-1_tags = restock 燃料 燃料箱 ?液体燃料 液体 氧化 推进 火箭 箱 圆 球 半
// THERMAL

View File

@ -25,9 +25,9 @@ PART
category = Control
subcategory = 0
title = #LOC_RestockPlus_reactionwheel-radial-1_title //Small Radial Gyroscope
title = #LOC_RestockPlus_restock-reactionwheel-radial-1_title //Small Radial Gyroscope
manufacturer = #autoLOC_501631 //#autoLOC_501631 = STEADLER Engineering Corps
description = #LOC_RestockPlus_reactionwheel-radial-1_description
description = #LOC_RestockPlus_restock-reactionwheel-radial-1_description
// Steadler's small radial gyroscope provides a small amount of torque but with greater power efficiency, allowing even large stations to maintain attitude with minimal power. We're still not entirely sure how gyroscopes work, but this one allows torque on all three axes. mass = 0.08
dragModelType = default
@ -37,7 +37,7 @@ PART
crashTolerance = 8
maxTemp = 2000
bulkheadProfiles = srf
tags = #LOC_RestockPlus_reactionwheel-radial-1_tags //cmg command control fly gyro moment react stab steer torque magic_spinny_thing
tags = #LOC_RestockPlus_restock-reactionwheel-1875-1_tags //cmg command control fly gyro moment react stab steer torque magic_spinny_thing
MODULE
{

View File

@ -12,7 +12,7 @@ PART
rescaleFactor = 1.0
node_stack_top = 0.0, 0.075, 0.0, 0.0, 1.0, 0.0, 1
node_stack_bottom = 0.0, -0.075, 0.0, 0.0, -1.0, 0.0, 1
TechRequired = advancedConstruction
TechRequired = advConstruction
entryCost = 1800
cost = 475
category = Coupling

View File

@ -12,7 +12,7 @@ PART
rescaleFactor = 1.0
node_stack_top = 0.0, 0.075, 0.0, 0.0, 1.0, 0.0, 1
node_stack_bottom = 0.0, -0.075, 0.0, 0.0, -1.0, 0.0, 1
TechRequired = advancedConstruction
TechRequired = advConstruction
entryCost = 1800
cost = 475
category = Coupling

View File

@ -2,7 +2,7 @@
// 1.875m SRB for post-1.8 (mirrors Pollux)
PART
{
name = restock-srb-anvil-1
name = restock-srb-castor-1
module = Part
author = Chris Adderley (Nertea)
rescaleFactor = 1

View File

@ -6,7 +6,7 @@
{
"MAJOR":1,
"MINOR":0,
"PATCH":0,
"PATCH":2,
"BUILD":0
},
"KSP_VERSION":

View File

@ -1,3 +1,16 @@
v1.0.2
-----
- Fixed tech tree locations for 1.875m decoupler and separator
- Fixed Castor SRB having the same part name as old Anvil
v1.0.1
------
- Fixed lack of bundled ModuleManager
- Updated Simplified Chinese localization (Duck1998)
- Fixed Cherenkov shroud texture assignments (#754)
- Fixed x-large truss piece collider scaling (#753)
- Updated Chinese translation (Duck1998)
v1.0.0
------
- KSP 1.8 compatability

View File

@ -13,11 +13,11 @@ namespace Restock
[KSPField] public string shaderProperty = "_EmissiveColor";
// animation curve for the red channel
[KSPField] public FloatCurve redCurve= new FloatCurve();
[KSPField] public FloatCurve redCurve = new FloatCurve();
// animation curve for the green channel
[KSPField] public FloatCurve greenCurve = new FloatCurve();
// animation curve for the blue channel
[KSPField] public FloatCurve blueCurve = new FloatCurve();
@ -26,41 +26,44 @@ namespace Restock
// draper point, the temperature in Kelvin where materials start glowing
[KSPField] public double draperPoint = 798.0;
// temperature where the animation is at its maximum
[KSPField] public double lerpMax = double.NaN;
// temperature where the animation is at its minimum, added with draperPoint
[KSPField] public double lerpMin = 0.0;
// use the part's core temperature? (overrides useSkinTemp)
[KSPField] public bool useCoreTemp = false;
// use the part's skin temperature?
[KSPField] public bool useSkinTemp = false;
// should the module disable the stock blackbody glow effect on the included renderers?
[KSPField] public bool disableBlackbody = false;
[KSPField] public List<Renderer> renderers = new List<Renderer>();
public List<Renderer> renderers = new List<Renderer>();
private readonly string _shaderBlackbody = "_TemperatureColor";
private ModuleCoreHeat _coreHeatModule = null;
private int _shaderPropertyID;
private int _shaderBlackbodyID;
private double _lerpRange;
private Color _emissiveColor = new Color();
private MaterialPropertyBlock _propertyBlock = new MaterialPropertyBlock();
private Color _emissiveColor;
private MaterialPropertyBlock _propertyBlock;
public void Start()
{
if (base.vessel == null) return;
_emissiveColor = new Color();
_propertyBlock = new MaterialPropertyBlock();
if (enableHeatEmissive)
{
if (useCoreTemp)
@ -72,7 +75,7 @@ namespace Restock
useCoreTemp = false;
}
}
if (double.IsNaN(lerpMax))
{
if (useCoreTemp)
@ -95,17 +98,17 @@ namespace Restock
_shaderBlackbodyID = Shader.PropertyToID(_shaderBlackbody);
}
}
public override void OnLoad(ConfigNode node)
{
if (HighLogic.LoadedSceneIsEditor || HighLogic.LoadedSceneIsFlight) return;
renderers = base.part.FindModelComponents<Renderer>();
if (node.HasValue("excludedRenderer"))
{
var excludedRenderers = new List<string>();
excludedRenderers.AddRange(node.GetValues("excludedRenderer"));
for (int i = renderers.Count - 1; i >= 0; i--)
@ -121,7 +124,7 @@ namespace Restock
public void LateUpdate()
{
if (!HighLogic.LoadedSceneIsFlight) return;
if (renderers == null) return;
if (renderers == null) return;
//when switching to the flight scene LateUpdate gets called AFTER OnLoad for some reason
// so renderers should hopefully only be null for one frame
@ -136,10 +139,10 @@ namespace Restock
{
temp = useSkinTemp ? base.part.skinTemperature : base.part.temperature;
}
var temp2 = (float) ((temp - draperPoint) / _lerpRange);
temp2 = Mathf.Clamp01(temp2);
_emissiveColor.r = redCurve.Evaluate(temp2);
_emissiveColor.g = greenCurve.Evaluate(temp2);
_emissiveColor.b = blueCurve.Evaluate(temp2);