783 {
784
786 return;
787
788 string slot_name_mounted = slot_name + "_Mounted";
789 EntityAI attachment = FindAttachmentBySlotName( slot_name );
790
791
792 if (LogManager.IsBaseBuildingLogEnable())
bsbDebugPrint(
"[bsb] " +
GetDebugName(
this) +
" Removing ATT SLOT=" + slot_name +
" RM / RM");
793 RemoveProxyPhysics( slot_name_mounted );
794 RemoveProxyPhysics( slot_name );
795
796 if ( attachment )
797 {
799 if ( is_locked )
800 {
802 AddProxyPhysics( slot_name_mounted );
803 }
804 else
805 {
807 AddProxyPhysics( slot_name );
808 }
809 }
810 }
class BaseBuildingBase extends ItemBase bsbDebugPrint(string s)
ref array< string > m_Mountables
override string GetDebugName()