DayZ 1.24
Loading...
Searching...
No Matches
UniversalTemperatureSourceLambdaFireplace.c
Go to the documentation of this file.
2{
7
15
20
25
27 {
29 }
30
32 {
33 //no fuel present, temperature should be low but there can be high temperature from previous fuel burning
35 {
37 }
38 else
39 {
41 }
42
44 }
45
47 {
48 resultValues.m_Temperature = m_Temperature;
49 //Debug.Log(string.Format("Execute: temperature: %1", resultValues.m_Temperature), "UTS Fireplace");
50
51 if (pSettings.m_AffectStat)
52 {
54 pSettings.m_Parent.SetTemperature(m_Temperature);
55 }
56
58 }
59}
Definition EnMath.c:7
override void DryItemsInVicinity(UniversalTemperatureSourceSettings pSettings)
override void Execute(UniversalTemperatureSourceSettings pSettings, UniversalTemperatureSourceResult resultValues)
static proto float Clamp(float value, float min, float max)
Clamps 'value' to 'min' if it is lower than 'min', or to 'max' if it is higher than 'max'.