123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- class BurlapSack: Inventory_Base
- {
- override void SetActions()
- {
- super.SetActions();
-
- AddAction(ActionCoverHeadTarget);
- AddAction(ActionCoverHeadSelf);
- }
- };
- class GorkaHelmetVisor: Inventory_Base
- {
- override protected void InitGlobalExclusionValues()
- {
- super.InitGlobalExclusionValues();
-
- AddSingleExclusionValueGlobal(EAttExclusions.EXCLUSION_MASK_2);
-
- AddSingleExclusionValueGlobal(EAttExclusions.SHAVING_HEADGEAR_ATT_0);
- }
- };
- class ChickenFeather: Inventory_Base
- {
- override void SetActions()
- {
- super.SetActions();
- AddAction(ActionCraftBoltsFeather);
- }
- };
- class LongWoodenStick: Inventory_Base
- {
- override void SetActions()
- {
- super.SetActions();
-
- AddAction(ActionClapBearTrapWithThisItem);
- AddAction(ActionBreakLongWoodenStick);
- AddAction(ActionAttachToConstruction);
- }
- };
- class SharpWoodenStick: LongWoodenStick
- {
- override void SetActions()
- {
- super.SetActions();
-
- AddAction(ActionClapBearTrapWithThisItem);
- AddAction(ActionCookOnStick);
- }
- }
- class Rope: Inventory_Base
- {
- ref InventoryLocation m_TargetLocation = new InventoryLocation;
-
- override void SetActions()
- {
- super.SetActions();
-
- AddAction(ActionRestrainTarget);
- AddAction(ActionCraftRopeBelt);
- AddAction(ActionRestrainSelf);
- }
-
- InventoryLocation GetTargetLocation()
- {
- return m_TargetLocation;
- }
-
- void SetTargetLocation(InventoryLocation targetLocation)
- {
- m_TargetLocation.CopyLocationFrom(targetLocation, true);
- }
-
- override bool CanAssignToQuickbar()
- {
- return (!GetInventory().IsAttachment());
- }
- };
- class Spear : Inventory_Base
- {
- override void SetActions()
- {
- super.SetActions();
-
- AddAction(ActionClapBearTrapWithThisItem);
-
- }
- };
- class SpearStone : Spear
- {
- };
- class SpearBone : Spear
- {
- };
- class Fabric : Inventory_Base
- {
- override void SetActions()
- {
- super.SetActions();
-
- AddAction(ActionRepairTentPart);
- AddAction(ActionAttachToConstruction);
- AddAction(ActionRepairCarChassis);
- }
- };
|