Skip to content

Commit

Permalink
Add to treatment actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike-MF committed Oct 26, 2023
1 parent 02cb9d3 commit d526c6f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions addons/bodybag/ACE_Medical_Treatment_Actions.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
class ACE_Medical_Treatment_Actions {
class BasicBandage;
class BodyBag: BasicBandage {
items[] = {"ACE_bodyBag", "ACE_bodyBag_blue", "ACE_bodyBag_white", QGVAR(OrangeLogo)};
};
};
2 changes: 1 addition & 1 deletion addons/bodybag/CfgVehicles.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class CfgVehicles {
class ACE_bodyBagObject_old;
class GVAR(Object_OrangeLogo): ACE_bodyBagObject_old {
displayName = CSTRING(Orange_DisplayName);
displayName = CSTRING(OrangeLogo_DisplayName);
// Needs new texture when we swap to ACE_bodyBagObject (new)
hiddenSelectionsTextures[] = {QPATHTOF(apl-sa\bodybag_co.paa)};

Expand Down
2 changes: 1 addition & 1 deletion addons/bodybag/CfgWeapons.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class CfgWeapons {
class ACE_bodyBag;
class GVAR(OrangeLogo): ACE_bodyBag {
displayName = CSTRING(Orange_DisplayName);
displayName = CSTRING(OrangeLogo_DisplayName);
picture = QPATHTOF(ui\bodybag_orangelogo_ca.paa);
//hiddenSelections[] = {"camo"};
//hiddenSelectionsTextures[] = {QPATHTOF(data\bodybagItem_orange_co.paa)};
Expand Down
1 change: 1 addition & 0 deletions addons/bodybag/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class CfgPatches {
};
};

#include "ACE_Medical_Treatment_Actions.hpp"
#include "CfgEventHandlers.hpp"
#include "CfgVehicles.hpp"
#include "CfgWeapons.hpp"

0 comments on commit d526c6f

Please sign in to comment.