Smartbird Posted September 14, 2017 Share Posted September 14, 2017 airconditioner and liquidconditioner work in the same way. in Assembly-CSharp.dll, i find they both have " temperatureDelta = -14f". it means reduce the temperature of the air/liquid by 14 degree. and " maxEnvironmentDelta = -50f" , i think this is the heat from conditioner. but i cant understand this maxEnvironmentDelta = -50f, anyone know how it works? Link to comment https://forums.kleientertainment.com/forums/topic/82016-what-means-maxenviromentdelta/ Share on other sites More sharing options...
Risu Posted September 14, 2017 Share Posted September 14, 2017 this.CoolingStalledHotEnv = new StatusItem("CoolingStalledHotEnv", "BUILDING", "status_item_vent_disabled", StatusItem.IconType.Custom, NotificationType.BadMinor, false, SimViewMode.None, SimViewMode.None, true, 2046); this.CoolingStalledHotEnv.resolveStringCallback = delegate(string str, object data) { AirConditioner airConditioner = (AirConditioner)data; return string.Format(str, GameUtil.GetFormattedTemperature(airConditioner.lastEnvTemp, GameUtil.TimeSlice.None, GameUtil.TemperatureInterpretation.Absolute, true), GameUtil.GetFormattedTemperature(airConditioner.lastGasTemp, GameUtil.TimeSlice.None, GameUtil.TemperatureInterpretation.Absolute, true), GameUtil.GetFormattedTemperature(airConditioner.maxEnvironmentDelta, GameUtil.TimeSlice.None, GameUtil.TemperatureInterpretation.Relative, true)); }; public class COOLINGSTALLEDHOTENV { public static LocString NAME = "Gas Too Hot"; public static LocString TOOLTIP = "Incoming pipe contents cannot be cooled more than {2} below the surrounding environment\n\nEnvironment: {0}\nCurrent Pipe Contents: {1}"; } Not sure why you're asking the forum about unused code when you have the assembly right there containing every reference. Link to comment https://forums.kleientertainment.com/forums/topic/82016-what-means-maxenviromentdelta/#findComment-954090 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.