56 {
58 if (ConfigIsExisting("canBeSplit"))
60
61 m_Count = ConfigGetInt(
"count");
62
66
68
72
75
79
81
83
85
86 m_ItemModelLength = 0.0;
87 if (ConfigIsExisting("itemModelLength"))
88 m_ItemModelLength = ConfigGetFloat("itemModelLength");
89
91 if (ConfigIsExisting("itemAttachOffset"))
93
95
100
102 if (ConfigIsExisting("itemBehaviour"))
104
105 if (ConfigIsExisting("headSelectionsToHide"))
106 {
109 }
110
112 if (ConfigIsExisting("hideSelectionsByinventorySlot"))
114
116
118 if (ConfigIsExisting("temperaturePerQuantityWeight"))
120
121 {
122 string paramPath;
124 paramPath =
string.
Format(
"CfgVehicles %1 EnvironmentWetnessIncrements Soaking %2",
GetName(),
"parentWithLiquid");
126 paramPath =
string.
Format(
"CfgVehicles %1 EnvironmentWetnessIncrements Soaking %2",
GetName(),
"wetParent");
128
130 paramPath =
string.
Format(
"CfgVehicles %1 EnvironmentWetnessIncrements Drying %2",
GetName(),
"player");
132 paramPath =
string.
Format(
"CfgVehicles %1 EnvironmentWetnessIncrements Drying %2",
GetName(),
"ground");
134 paramPath =
string.
Format(
"CfgVehicles %1 EnvironmentWetnessIncrements Drying %2",
GetName(),
"playerHeatSource");
136 paramPath =
string.
Format(
"CfgVehicles %1 EnvironmentWetnessIncrements Drying %2",
GetName(),
"groundHeatSource");
138 }
139 }
int m_LiquidContainerMask
ref TStringArray m_HeadHidingSelections
int m_CleannessInit
Cleanness config.
int m_LockType
Attachment locking.
float m_VarWetInit
Wetness config.
ref TIntFloatMap m_DryingIncrements
ref TIntArray m_CompatibleLocks
bool m_HideSelectionsBySlot
int m_Count
Quantity config.
float m_TemperaturePerQuantityWeight
float m_ItemModelLength float m_ItemAttachOffset
ref TIntFloatMap m_SoakingIncrements
map< int, float > TIntFloatMap
class array< Class T > TStringArray
static proto string Format(string fmt, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
Gets n-th character from string.