41 set<int> ret = super.GetAttachmentExclusionInitSlotValue(slotId);
49 ret.Insert(EAttExclusions.EXCLUSION_MASK_3);
51 ret.Insert(EAttExclusions.SHAVING_MASK_ATT_0);
105 GetInventory().GetCurrentInventoryLocation(inventoryLocation);
118 return super.GetProtectionLevel(type, consider_filter, system);
123 set<int> ret = super.GetAttachmentExclusionInitSlotValue(slotId);
128 ret.Insert(EAttExclusions.EXCLUSION_MASK_2);
132 ret.Insert(EAttExclusions.EXCLUSION_MASK_2);
133 ret.Insert(EAttExclusions.EXCLUSION_MASK_3);
135 ret.Insert(EAttExclusions.SHAVING_MASK_ATT_0);
190 override float GetProtectionLevel(
int type,
bool consider_filter =
false,
int system = 0)
195 InventoryLocation inventoryLocation =
new InventoryLocation();
196 GetInventory().GetCurrentInventoryLocation(inventoryLocation);
198 if (inventoryLocation.
GetSlot() == InventorySlots.MASK)
209 return super.GetProtectionLevel(type, consider_filter, system);
214 set<int> ret = super.GetAttachmentExclusionInitSlotValue(slotId);
217 case InventorySlots.HEADGEAR:
222 ret.Insert(EAttExclusions.EXCLUSION_MASK_3);
224 ret.Insert(EAttExclusions.SHAVING_MASK_ATT_0);
275 return "DestructionEffectGasCanister";
302 return "DestructionEffectGasCanister";
331 return "DestructionEffectGasCanister";
ActionBandageSelfCB ActionContinuousBaseCB ActionBandageSelf()
ActionBandageTargetCB ActionContinuousBaseCB ActionBandageTarget()
bool IsDamageDestroyed(ActionTarget target)
void AddAction(typename actionName)
ECachedEquipmentItemCategory
override float GetQuantity()
float GetProtectionLevel(int type, bool consider_filter=false, int system=0)
float GetInfectionChance(int system=0, Param param=null)
Infection chance while/after using this item, originally used for wound infection after bandaging,...
float GetBandagingEffectivity()
override bool CanBeDisinfected()
override void SetActions()
override float GetInfectionChance(int system=0, Param param=null)
set< int > GetAttachmentExclusionInitSlotValue(int slotId)
override float GetBandagingEffectivity()
override void SetActions()
override void SetActions()
proto native int GetSlot()
returns slot id if current type is Attachment
provides access to slot configuration
override bool CanSwitchDuringAttach(EntityAI parent)
override bool IsDestructionBehaviour()
override string GetDestructionBehaviour()
override string GetDestructionBehaviour()
override bool CanSwitchDuringAttach(EntityAI parent)
override bool IsDestructionBehaviour()
Base Param Class with no parameters. Used as general purpose parameter overloaded with Param1 to Para...
override ECachedEquipmentItemCategory GetCachedEquipmentCategory()
override float GetInfectionChance(int system=0, Param param=null)
override void SetActions()
set< int > GetAttachmentExclusionInitSlotValue(int slotId)
override float GetProtectionLevel(int type, bool consider_filter=false, int system=0)
override bool CanBeDisinfected()
override float GetBandagingEffectivity()
override bool CanSwitchDuringAttach(EntityAI parent)
override string GetDestructionBehaviour()
override bool IsDestructionBehaviour()
override void SetActions()
override void SetActions()
void Keffiyeh_ColorBase()
override ECachedEquipmentItemCategory GetCachedEquipmentCategory()
set< int > GetAttachmentExclusionInitSlotValue(int slotId)
Keffiyeh_LightBlue SetActions
const int DEF_DUST_PARTICLE_BREATH
const int DEF_DUST_PARTICLE_EYES