Skip to content

Commit

Permalink
Breathing - Add BVM and O2Tank to Supply Crates (#450)
Browse files Browse the repository at this point in the history
**When merged this pull request will:**
- _Add BVM and oxygenTank to KAM General Items / ACE Advanced Medical
Supply Crate_
- _Add missing scopeCurator & scopeArsenal config to BVM and oxygenTank_

### IMPORTANT

- [Development Guidelines](https://ace3.acemod.org/wiki/development/)
are read, understood and applied.
- Title of this PR uses our standard template `Component -
Add|Fix|Improve|Change|Make|Remove {changes}`.
  • Loading branch information
Apricot-ale authored Dec 21, 2023
1 parent 4bf241a commit e824485
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
4 changes: 4 additions & 0 deletions addons/breathing/CfgMagazines.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ class CfgMagazines {

class kat_oxygenTank_300: CA_Magazine {
scope = 2;
scopeCurator = 2;
scopeArsenal = 2;
author = "Blue";
displayName = CSTRING(PortableOxygenTank_300_Display);
descriptionShort = CSTRING(PortableOxygenTank_300_Desc_Short);
Expand All @@ -17,6 +19,8 @@ class CfgMagazines {
};
class kat_oxygenTank_150: CA_Magazine {
scope = 2;
scopeCurator = 2;
scopeArsenal = 2;
author = "Blue";
displayName = CSTRING(PortableOxygenTank_150_Display);
descriptionShort = CSTRING(PortableOxygenTank_150_Desc_Short);
Expand Down
12 changes: 12 additions & 0 deletions addons/breathing/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ class CfgVehicles {
MACRO_ADDITEM(kat_chestSeal,25);
MACRO_ADDITEM(kat_aatKit,10);
MACRO_ADDITEM(kat_stethoscope,5);
MACRO_ADDITEM(kat_BVM,5);
MACRO_ADDITEM(kat_pocketBVM,5);
};
class TransportMagazines: TransportMagazines {
MACRO_ADDMAGAZINE(kat_oxygenTank_150,2);
MACRO_ADDMAGAZINE(kat_oxygenTank_300,2);
};
};
class kat_basicSupplyCrate: ACE_medicalSupplyCrate {
Expand All @@ -55,6 +61,12 @@ class CfgVehicles {
MACRO_ADDITEM(KAT_Empty_bloodIV_500,7);
MACRO_ADDITEM(kat_AED,2);
MACRO_ADDITEM(kat_X_AED,2);
MACRO_ADDITEM(kat_BVM,5);
MACRO_ADDITEM(kat_pocketBVM,5);
};
class TransportMagazines: TransportMagazines {
MACRO_ADDMAGAZINE(kat_oxygenTank_150,2);
MACRO_ADDMAGAZINE(kat_oxygenTank_300,2);
};
};

Expand Down
12 changes: 12 additions & 0 deletions addons/breathing/CfgWeapons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ class CfgWeapons {

class kat_BVM: ACE_ItemCore {
scope = 2;
scopeCurator = 2;
scopeArsenal = 2;
author = "Blue";
displayName = CSTRING(BVM_Display);
descriptionShort = CSTRING(BVM_Desc_Short);
Expand All @@ -82,6 +84,8 @@ class CfgWeapons {
};
class kat_pocketBVM: ACE_ItemCore {
scope = 2;
scopeCurator = 2;
scopeArsenal = 2;
author = "Blue";
displayName = CSTRING(PocketBVM_Display);
descriptionShort = CSTRING(PocketBVM_Desc_Short);
Expand All @@ -93,6 +97,8 @@ class CfgWeapons {
};
class kat_oxygenTank_150_Item: ACE_ItemCore {
scope = 2;
scopeCurator = 2;
scopeArsenal = 2;
author = "Blue";
displayName = CSTRING(PortableOxygenTank_150_Display);
descriptionShort = CSTRING(PortableOxygenTank_150_Desc_Short);
Expand All @@ -104,6 +110,8 @@ class CfgWeapons {
};
class kat_oxygenTank_300_Item: ACE_ItemCore {
scope = 2;
scopeCurator = 2;
scopeArsenal = 2;
author = "Blue";
displayName = CSTRING(PortableOxygenTank_300_Display);
descriptionShort = CSTRING(PortableOxygenTank_300_Desc_Short);
Expand All @@ -115,6 +123,8 @@ class CfgWeapons {
};
class kat_oxygenTank_150_Empty: ACE_ItemCore {
scope = 2;
scopeCurator = 2;
scopeArsenal = 2;
author = "Blue";
displayName = CSTRING(PortableOxygenTank_150_Empty_Display);
descriptionShort = CSTRING(PortableOxygenTank_Empty_Desc_Short);
Expand All @@ -126,6 +136,8 @@ class CfgWeapons {
};
class kat_oxygenTank_300_Empty: ACE_ItemCore {
scope = 2;
scopeCurator = 2;
scopeArsenal = 2;
author = "Blue";
displayName = CSTRING(PortableOxygenTank_300_Empty_Display);
descriptionShort = CSTRING(PortableOxygenTank_Empty_Desc_Short);
Expand Down

0 comments on commit e824485

Please sign in to comment.