From 5d62ac26c44b565078fe030ec3f9bb672b4100b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brostr=C3=B6m=2EA=20=7C=20Evul?= Date: Thu, 29 Jun 2023 11:44:07 +0200 Subject: [PATCH] Removed kat items check for valitdity due to patches cehck dont work --- .../functions/logistics/fn_checkItemValidity.sqf | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/cScripts/functions/logistics/fn_checkItemValidity.sqf b/cScripts/functions/logistics/fn_checkItemValidity.sqf index 997c2413d..4515e04f1 100644 --- a/cScripts/functions/logistics/fn_checkItemValidity.sqf +++ b/cScripts/functions/logistics/fn_checkItemValidity.sqf @@ -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 \ No newline at end of file +_return