15 super.EEItemLocationChanged(oldLoc,newLoc);
20 MiscGameplayFunctions.TransferItemProperties(
this,newItem);
27 super.OnWasAttached(parent, slot_id);
35 if (!super.CanPutInCargo(parent))
38 if (parent && parent !=
this)
53 PPERequesterBank.GetRequester(PPERequester_BurlapSackEffects).Stop();
54 player.SetInventorySoftLock(
false);
55 player.SetMasterAttenuation(
"");
64 set<int> ret = super.GetAttachmentExclusionInitSlotValue(slotId);
67 ret.Insert(EAttExclusions.SHAVING_HEADGEAR_ATT_0);
82 PPERequesterBase ppeRB = PPERequesterBank.GetRequester(PPERequester_BurlapSackEffects);
87 m_Player.SetMasterAttenuation(
"BurlapSackAttenuation");
90 g_Game.GetMission().HideInventory();
const int ECE_PLACE_ON_SURFACE
InventoryLocationType
types of Inventory Location
Super root of all classes in Enforce script.
void OnRemovedFromHead(PlayerBase player)
void HandleAttachedToHead()
override void OnWasAttached(EntityAI parent, int slot_id)
set< int > GetAttachmentExclusionInitSlotValue(int slotId)
override bool CanDetachAttachment(EntityAI parent)
override void EEItemLocationChanged(notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc)
override bool CanPutInCargo(EntityAI parent)
provides access to slot configuration
void Start(Param par=null)
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.