95 {
97 if ( base_building )
98 {
99 InventoryLocation inventory_location = new InventoryLocation;
100 GetInventory().GetCurrentInventoryLocation( inventory_location );
101 base_building.GetInventory().SetSlotLock( inventory_location.
GetSlot(), lock_state );
102
103
104
105 }
106 }
proto native int GetSlot()
returns slot id if current type is Attachment