5 #ifndef DISABLE_INVENTORY
7 override protected void PerformActionInternal(SCR_InventoryStorageManagerComponent manager, IEntity pOwnerEntity, IEntity pUserEntity)
9 manager.InsertItem( pOwnerEntity );
14 override bool CanBePerformedScript(IEntity user)
16 if ( !super.CanBePerformedScript( user ) )
19 auto pInventoryManager = SCR_InventoryStorageManagerComponent.Cast( user.FindComponent( SCR_InventoryStorageManagerComponent ) );