879 {
881 if (base_building)
882 {
883 Construction construction = base_building.GetConstruction();
884 if (construction &&
BuildCondition( player, target, item,
false, constraction_index ))
885 {
887 string partName;
888 if ( item )
889 {
891 }
892 else
893 {
895 }
896 bool boo;
898 return false;
899 if ( player.IsPlacingLocal() || player.IsPlacingServer() )
900 return false;
901
902
903
904
905
906
907
908 return !construction.IsColliding( partName );
909 }
910 }
911 return false;
912 }
void Construction(BaseBuildingBase parent)
static bool BuildCondition(PlayerBase player, ActionTarget target, ItemBase item, bool camera_check)
override bool PerformRoofCheckForBase(string partName, PlayerBase player, out bool result)
ConstructionPart GetBuildPartNoToolAtIndex(int idx)
ConstructionPart GetBuildPartAtIndex(int idx)