856 {
857
859 return;
860
861 string slot_name_mounted = slot_name + "_Mounted";
862 EntityAI attachment = FindAttachmentBySlotName( slot_name );
863
864
865 if (LogManager.IsBaseBuildingLogEnable())
bsbDebugPrint(
"[bsb] " +
GetDebugName(
this) +
" Removing ATT SLOT=" + slot_name +
" RM / RM");
866 RemoveProxyPhysics( slot_name_mounted );
867 RemoveProxyPhysics( slot_name );
868
869 if ( attachment )
870 {
872 if ( is_locked )
873 {
875 AddProxyPhysics( slot_name_mounted );
876 }
877 else
878 {
880 AddProxyPhysics( slot_name );
881 }
882 }
883 }
class BaseBuildingBase extends ItemBase bsbDebugPrint(string s)
ref array< string > m_Mountables
override string GetDebugName()