Skip to content

Commit

Permalink
Removed kat items check for valitdity due to patches cehck dont work
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBrostrom authored Jun 29, 2023
1 parent fc3f9cc commit 5d62ac2
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions cScripts/functions/logistics/fn_checkItemValidity.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,6 @@ if (EGVAR(patches,usesACE)) then {
if (_item isKindOf "ACE_WaterBottle" || _item isKindOf "ACE_Canteen" || _item isKindOf "ACE_Can_Spirit" || _item isKindOf "ACE_MRE_LambCurry") then {
_return = if (!isNil {acex_field_rations_enabled}) then {acex_field_rations_enabled} else {false};
};

if !(EGVAR(patches,usesKat)) then {
// airway
if (_item in ["kat_larynx", "kat_guedel", "kat_accuvac"]) then { _return = false };
// breathing
if (_item in ["kat_Pulseoximeter", "kat_chestSeal", "kat_aatKit", "kat_ncdKit", "kat_stethoscope", "kat_BVM", "kat_pocketBVM", "kat_oxygenTank_150_Item", "kat_oxygenTank_300_Item", "kat_oxygenTank_150_Empty", "kat_oxygenTank_300_Empty"]) then { _return = false };
// chemical
if (_item in ["kat_gasmaskFilter", "kat_sealant", "KAT_CAS_M43_Bomb", "KAT_CAS_R_80mm_GAS_POD"]) then { _return = false };
// fluids
if (_item in ["kat_bloodIV_A", "kat_bloodIV_A_250", "kat_bloodIV_A_500", "kat_bloodIV_A_N", "kat_bloodIV_A_N_250", "kat_bloodIV_A_N_500", "kat_bloodIV_AB", "kat_bloodIV_AB_250", "kat_bloodIV_AB_500", "kat_bloodIV_AB_N", "kat_bloodIV_AB_N_250", "kat_bloodIV_AB_N_500", "kat_bloodIV_B", "kat_bloodIV_B_250", "kat_bloodIV_B_500", "kat_bloodIV_B_N", "kat_bloodIV_B_N_250", "kat_bloodIV_B_N_500", "kat_bloodIV_O", "kat_bloodIV_O_250", "kat_bloodIV_O_500", "kat_bloodIV_O_N", "kat_bloodIV_O_N_250", "kat_bloodIV_O_N_500", "kat_crossPanel", "KAT_Empty_bloodIV_250", "KAT_Empty_bloodIV_500"]) then { _return = false };
// drugs
if (_item in ["kat_amiodarone", "kat_atropine", "kat_CaffeineItem", "kat_fentanyl", "kat_ketamine", "kat_nalbuphine", "kat_PervitinItem"]) then { _return = false };
};
};

_return
_return

0 comments on commit 5d62ac2

Please sign in to comment.