876 {
877
879 return;
880
881 string slot_name_mounted = slot_name + "_Mounted";
882 EntityAI attachment = FindAttachmentBySlotName( slot_name );
883
884
885 if (LogManager.IsBaseBuildingLogEnable())
bsbDebugPrint(
"[bsb] " +
GetDebugName(
this) +
" Removing ATT SLOT=" + slot_name +
" RM / RM");
886 RemoveProxyPhysics( slot_name_mounted );
887 RemoveProxyPhysics( slot_name );
888
889 if ( attachment )
890 {
892 if ( is_locked )
893 {
895 AddProxyPhysics( slot_name_mounted );
896 }
897 else
898 {
900 AddProxyPhysics( slot_name );
901 }
902 }
903 }
class BaseBuildingBase extends ItemBase bsbDebugPrint(string s)
ref array< string > m_Mountables
override string GetDebugName()