32 if (!
super.CanPutInCargo(parent))
35 return !parent || CanPutInCargoClothingConditions(parent);
42 if (parent.IsInherited(UndergroundStash))
63 return CanReceiveItemIntoCargoClothingConditions(
item);
90 return CanLoadItemIntoCargoClothingConditions(
item);
95 EntityAI parent = GetHierarchyParent();
97 if (parent && parent.IsInherited(UndergroundStash))
100 return !parent || parent.
IsMan() || SmershException(parent);
114 if (!
GetGame().IsDedicatedServer())
136 int personality = GetHiddenSelectionIndex(
"personality");
139 string tone_mat =
player.m_EmptyGloves.GetHiddenSelectionsMaterials().Get(0);
162 super.InitGlobalExclusionValues();
164 AddSingleExclusionValueGlobal(
EAttExclusions.EXCLUSION_GLASSES_REGULAR_0);
int GetNumberOfItems()
Returns the number of items in cargo, otherwise returns 0(non-cargo objects). Recursive.
array< int > GetEffectWidgetTypes()
bool CanPutInCargoClothingConditions(EntityAI parent)
bool CanWearUnderMask(EntityAI parent)
deprecated
bool CanReceiveItemIntoCargoClothingConditions(EntityAI item)
override bool CanHaveWetness()
bool CanLoadItemIntoCargoClothingConditions(EntityAI item)
override void SwitchItemSelectionTextureEx(EItemManipulationContext context, Param par=null)
override bool CanPutInCargo(EntityAI parent)
override bool CanReceiveItemIntoCargo(EntityAI item)
override bool CanLoadItemIntoCargo(EntityAI item)
override void EEHealthLevelChanged(int oldLevel, int newLevel, string zone)
bool SmershException(EntityAI hierarchyParent)
int GetGlassesEffectID()
Used for 'glasses' (and other colored layers triggered by attach/detach in the InventorySlots....
override bool IsClothing()
void InitGlobalExclusionValues()
provides access to slot configuration
set< int > GetAttachmentExclusionInitSlotValue(int slotId)
Base Param Class with no parameters. Used as general purpose parameter overloaded with Param1 to Para...
static const int CORPSE_STATE_FRESH
proto native CGame GetGame()