Can build from the inside only, if applicable.
335 {
338 ConstructionActionData cad = player.GetConstructionActionData();
340
341 if (part)
342 {
344 if (!ent.IsPlayerInsideEx(player, part.
GetPartName()))
345 {
347 return false;
348 else if (!bbb)
349 return false;
350 }
351 if (!construction.ConstructionDirectionCheck(player, part, EConstructionDirCheckType.INDOORS))
352 return false;
353 if (!construction.ConstructionInsiderBoxCheck(player, part))
354 return false;
355
356 return true;
357 }
358 return false;
359 }
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)
ConstructionPart GetTargetPart(ConstructionActionData cad)
Does not work on server, since variants are not updated there (invoker does not invoke)
override bool MustBeBuiltFromOutside()