1082 {
1083 #ifdef DIAG_DEVELOPER
1085 {
1087 if (player)
1088 {
1089 if (player.GetConstructionActionData().GetFastConstructionMode())
1090 return true;
1091 }
1092 }
1093 #endif
1094
1098 {
1099 float quantity = dta.m_MaterialQuantity;
1100 if (quantity == 0.0)
1101 continue;
1102
1103 if (repairing)
1104 {
1107 }
1108
1109
1111 {
1113 requiredQuantity = quantity;
1114 return false;
1115 }
1116 }
1117
1118 return true;
1119 }
ConstructionPart GetConstructionPart()
PlayerSpawnPreset slotName
static const float REPAIR_MATERIAL_PERCENTAGE
bool HasMaterialWithQuantityAttached(string slot_name, float quantity)
instanced data holder for single construction material
array< ref ConstructionMaterialData > GetMaterialsData()
Instanced construction part data classes for dynamic data, statics now stored on EntityType level in ...
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
static proto float Max(float x, float y)
Returns bigger of two given values.
static proto float Floor(float f)
Returns floor of value.