206 {
208
210 ShelterSite shelter = ShelterSite.Cast(target);
212 if (!tool && shelter && Class.CastTo(con,shelter.GetConstructionBasic()))
213 {
214 array<string> compNames = new array<string>;
215 target.GetActionComponentNameList(component_index, compNames, LOD.NAME_VIEW);
217 foreach (string compName : compNames)
218 {
219 array<ConstructionPart> tmp = new array<ConstructionPart>();
222 {
225 }
226 }
228 }
229 else
230 {
233 }
234 }
void ConstructionBase(EntityAI parent)
void ConstructionPart(string name, string part_name, string main_part_name, int id, bool is_built, bool is_base, bool is_gate, array< string > required_parts)
class GP5GasMask extends MaskBase ItemBase
string m_MainPartNameNoTool
ActionVariantManager m_ActionNoToolVariantManager
void ValidateConstructionData(Object item, Object target, int component_index)
Single update method to prepare and validate all construction data for the update,...
ref array< ConstructionPart > m_BuildPartsNoTool