740 {
742 {
743 #ifdef DIAG_DEVELOPER
745 {
746 ConstructionDebug.ResetDismantlePartData();
747 }
748 #endif
749 return true;
750 }
751
752 #ifdef DIAG_DEVELOPER
754 {
756 {
757 ConstructionDismantleDebugData data = new ConstructionDismantleDebugData();
758 data.partName = part_name;
762
763 ConstructionDebug.SetCanDismantlePartData(data);
764 }
765 }
766 #endif
767
768 return false;
769 }
ConstructionPart GetConstructionPart()
bool IsPartConstructed(string part_name)
returns true if part constructed
bool HasDependentPart(string part_name)
checks if construction part has dependent part (that is already built) because of which it cannot be ...
bool SupportRemovalCheck(string part_name)
Checks if all supports would hold on part removal. Returns 'false' if some would fail.
bool CanUseToolToDismantlePart(string part_name, ItemBase tool)