5 void ~BurlapSackCover()
15 super.EEItemLocationChanged(oldLoc,newLoc);
20 MiscGameplayFunctions.TransferItemProperties(
this,newItem);
25 override void OnWasAttached(
EntityAI parent,
int slot_id)
27 super.OnWasAttached(parent, slot_id);
33 PPERequesterBank.GetRequester(PPERequester_BurlapSackEffects).Start();
35 m_Player.SetMasterAttenuation(
"BurlapSackAttenuation");
39 GetGame().GetMission().HideInventory();
47 if (!super.CanPutInCargo(parent))
50 if (parent && parent !=
this)
56 override bool CanDetachAttachment(
EntityAI parent )
63 if (player.IsControlledPlayer())
65 PPERequesterBank.GetRequester(PPERequester_BurlapSackEffects).Stop();
66 player.SetInventorySoftLock(
false);
67 player.SetMasterAttenuation(
"");
74 set<int> ret = super.GetAttachmentExclusionInitSlotValue(slotId);
77 ret.Insert(EAttExclusions.SHAVING_HEADGEAR_ATT_0);
const int ECE_PLACE_ON_SURFACE
Super root of all classes in Enforce script.
set< int > GetAttachmentExclusionInitSlotValue(int slotId)
provides access to slot configuration
override bool CanPutInCargo(EntityAI parent)
proto native CGame GetGame()
InventoryLocationType
types of Inventory Location
override void EEItemLocationChanged(notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc)