197 {
198 string zone_name;
200
201 if (ent && ent.CanUseConstruction())
202 {
204 array<string> compNames = new array<string>();
205 ent.GetActionComponentNameList(target.GetComponentIndex(), compNames);
206 foreach (string partName : compNames)
207 {
208 if (construction.IsPartConstructed(partName))
209 return construction.CanRepairPart(partName, item, player, camera_check);
210 }
211 }
212
213 return false;
214 }
void ConstructionBase(EntityAI parent)