From 9fe6d14b63f2c00703cccaf28e27d400810f7bd9 Mon Sep 17 00:00:00 2001
From: Mia <95135995+MissHeda@users.noreply.github.com>
Date: Thu, 5 Oct 2023 16:20:58 +0200
Subject: [PATCH] requested changes
---
addons/misc/CfgVehicles.hpp | 535 ++++++++++++++----------------------
addons/misc/stringtable.xml | 2 +-
2 files changed, 200 insertions(+), 337 deletions(-)
diff --git a/addons/misc/CfgVehicles.hpp b/addons/misc/CfgVehicles.hpp
index b89e5865f..0ebf1fcd5 100644
--- a/addons/misc/CfgVehicles.hpp
+++ b/addons/misc/CfgVehicles.hpp
@@ -218,36 +218,36 @@ class CfgVehicles {
class RedCross {
displayName = CSTRING(Armband_Red_Cross_ItemName);
- condition = QUOTE([ARR_2(_player, ""kat_armband_red_cross"")] call ACEFUNC(common,hasItem));
+ condition = QUOTE([ARR_2(_player, 'kat_armband_red_cross')] call ACEFUNC(common,hasItem));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_armband_red_cross"", 0)] call FUNC(slingArmband));
+ statement = QUOTE([ARR_3(_player, 'kat_armband_red_cross', 0)] call FUNC(slingArmband));
showDisabled = 0;
icon = QPATHTOF(ui\ArmbandWhiteCross.paa);
};
class Medic {
displayName = CSTRING(Armband_Medic_ItemName);
- condition = QUOTE([ARR_2(_player, ""kat_armband_medic"")] call ACEFUNC(common,hasItem));
+ condition = QUOTE([ARR_2(_player, 'kat_armband_medic')] call ACEFUNC(common,hasItem));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_armband_medic"", 0)] call FUNC(slingArmband));
+ statement = QUOTE([ARR_3(_player, 'kat_armband_medic', 0)] call FUNC(slingArmband));
showDisabled = 0;
icon = QPATHTOF(ui\ArmbandWhiteCrossMedic.paa);
};
class Doctor {
displayName = CSTRING(Armband_Doctor_ItemName);
- condition = QUOTE([ARR_2(_player, ""kat_armband_doctor"")] call ACEFUNC(common,hasItem));
+ condition = QUOTE([ARR_2(_player, 'kat_armband_doctor')] call ACEFUNC(common,hasItem));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_armband_doctor"", 0)] call FUNC(slingArmband));
+ statement = QUOTE([ARR_3(_player, 'kat_armband_doctor', 0)] call FUNC(slingArmband));
showDisabled = 0;
icon = QPATHTOF(ui\ArmbandWhiteCrossDoctor.paa);
};
class Kat {
displayName = CSTRING(Armband_Kat_ItemName);
- condition = QUOTE([ARR_2(_player, ""kat_armband_kat"")] call ACEFUNC(common,hasItem));
+ condition = QUOTE([ARR_2(_player, 'kat_armband_kat')] call ACEFUNC(common,hasItem));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_armband_kat"", 0)] call FUNC(slingArmband));
+ statement = QUOTE([ARR_3(_player, 'kat_armband_kat', 0)] call FUNC(slingArmband));
showDisabled = 0;
icon = QPATHTOF(ui\ArmbandKat.paa);
};
@@ -263,36 +263,36 @@ class CfgVehicles {
class RedCross {
displayName = CSTRING(Armband_Red_Cross_ItemName);
- condition = QUOTE([ARR_2(_player, ""kat_armband_red_cross"")] call ACEFUNC(common,hasItem));
+ condition = QUOTE([ARR_2(_player, 'kat_armband_red_cross')] call ACEFUNC(common,hasItem));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_armband_red_cross"", 1)] call FUNC(slingArmband));
+ statement = QUOTE([ARR_3(_player, 'kat_armband_red_cross', 1)] call FUNC(slingArmband));
showDisabled = 0;
icon = QPATHTOF(ui\ArmbandWhiteCross.paa);
};
class Medic {
displayName = CSTRING(Armband_Medic_ItemName);
- condition = QUOTE([ARR_2(_player, ""kat_armband_medic"")] call ACEFUNC(common,hasItem));
+ condition = QUOTE([ARR_2(_player, 'kat_armband_medic')] call ACEFUNC(common,hasItem));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_armband_medic"", 1)] call FUNC(slingArmband));
+ statement = QUOTE([ARR_3(_player, 'kat_armband_medic', 1)] call FUNC(slingArmband));
showDisabled = 0;
icon = QPATHTOF(ui\ArmbandWhiteCrossMedic.paa);
};
class Doctor {
displayName = CSTRING(Armband_Doctor_ItemName);
- condition = QUOTE([ARR_2(_player, ""kat_armband_doctor"")] call ACEFUNC(common,hasItem));
+ condition = QUOTE([ARR_2(_player, 'kat_armband_doctor')] call ACEFUNC(common,hasItem));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_armband_doctor"", 1)] call FUNC(slingArmband));
+ statement = QUOTE([ARR_3(_player, 'kat_armband_doctor', 1)] call FUNC(slingArmband));
showDisabled = 0;
icon = QPATHTOF(ui\ArmbandWhiteCrossDoctor.paa);
};
class Kat {
displayName = CSTRING(Armband_Kat_ItemName);
- condition = QUOTE([ARR_2(_player, ""kat_armband_kat"")] call ACEFUNC(common,hasItem));
+ condition = QUOTE([ARR_2(_player, 'kat_armband_kat')] call ACEFUNC(common,hasItem));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_armband_kat"", 1)] call FUNC(slingArmband));
+ statement = QUOTE([ARR_3(_player, 'kat_armband_kat', 1)] call FUNC(slingArmband));
showDisabled = 0;
icon = QPATHTOF(ui\ArmbandKat.paa);
};
@@ -308,36 +308,36 @@ class CfgVehicles {
class RedCross {
displayName = CSTRING(Armband_Red_Cross_ItemName);
- condition = QUOTE([ARR_2(_player, ""kat_armband_red_cross"")] call ACEFUNC(common,hasItem));
+ condition = QUOTE([ARR_2(_player, 'kat_armband_red_cross')] call ACEFUNC(common,hasItem));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_armband_red_cross"", 2)] call FUNC(slingArmband));
+ statement = QUOTE([ARR_3(_player, 'kat_armband_red_cross', 2)] call FUNC(slingArmband));
showDisabled = 0;
icon = QPATHTOF(ui\ArmbandWhiteCross.paa);
};
class Medic {
displayName = CSTRING(Armband_Medic_ItemName);
- condition = QUOTE([ARR_2(_player, ""kat_armband_medic"")] call ACEFUNC(common,hasItem));
+ condition = QUOTE([ARR_2(_player, 'kat_armband_medic')] call ACEFUNC(common,hasItem));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_armband_medic"", 2)] call FUNC(slingArmband));
+ statement = QUOTE([ARR_3(_player, 'kat_armband_medic', 2)] call FUNC(slingArmband));
showDisabled = 0;
icon = QPATHTOF(ui\ArmbandWhiteCrossMedic.paa);
};
class Doctor {
displayName = CSTRING(Armband_Doctor_ItemName);
- condition = QUOTE([ARR_2(_player, ""kat_armband_doctor"")] call ACEFUNC(common,hasItem));
+ condition = QUOTE([ARR_2(_player, 'kat_armband_doctor')] call ACEFUNC(common,hasItem));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_armband_doctor"", 2)] call FUNC(slingArmband));
+ statement = QUOTE([ARR_3(_player, 'kat_armband_doctor', 2)] call FUNC(slingArmband));
showDisabled = 0;
icon = QPATHTOF(ui\ArmbandWhiteCrossDoctor.paa);
};
class Kat {
displayName = CSTRING(Armband_Kat_ItemName);
- condition = QUOTE([ARR_2(_player, ""kat_armband_kat"")] call ACEFUNC(common,hasItem));
+ condition = QUOTE([ARR_2(_player, 'kat_armband_kat')] call ACEFUNC(common,hasItem));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_armband_kat"", 2)] call FUNC(slingArmband));
+ statement = QUOTE([ARR_3(_player, 'kat_armband_kat', 2)] call FUNC(slingArmband));
showDisabled = 0;
icon = QPATHTOF(ui\ArmbandKat.paa);
};
@@ -353,36 +353,36 @@ class CfgVehicles {
class RedCross {
displayName = CSTRING(Armband_Red_Cross_ItemName);
- condition = QUOTE([ARR_2(_player, ""kat_armband_red_cross"")] call ACEFUNC(common,hasItem));
+ condition = QUOTE([ARR_2(_player, 'kat_armband_red_cross')] call ACEFUNC(common,hasItem));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_armband_red_cross"", 3)] call FUNC(slingArmband));
+ statement = QUOTE([ARR_3(_player, 'kat_armband_red_cross', 3)] call FUNC(slingArmband));
showDisabled = 0;
icon = QPATHTOF(ui\ArmbandWhiteCross.paa);
};
class Medic {
displayName = CSTRING(Armband_Medic_ItemName);
- condition = QUOTE([ARR_2(_player, ""kat_armband_medic"")] call ACEFUNC(common,hasItem));
+ condition = QUOTE([ARR_2(_player, 'kat_armband_medic')] call ACEFUNC(common,hasItem));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_armband_medic"", 3)] call FUNC(slingArmband));
+ statement = QUOTE([ARR_3(_player, 'kat_armband_medic', 3)] call FUNC(slingArmband));
showDisabled = 0;
icon = QPATHTOF(ui\ArmbandWhiteCrossMedic.paa);
};
class Doctor {
displayName = CSTRING(Armband_Doctor_ItemName);
- condition = QUOTE([ARR_2(_player, ""kat_armband_doctor"")] call ACEFUNC(common,hasItem));
+ condition = QUOTE([ARR_2(_player, 'kat_armband_doctor')] call ACEFUNC(common,hasItem));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_armband_doctor"", 3)] call FUNC(slingArmband));
+ statement = QUOTE([ARR_3(_player, 'kat_armband_doctor', 3)] call FUNC(slingArmband));
showDisabled = 0;
icon = QPATHTOF(ui\ArmbandWhiteCrossDoctor.paa);
};
class Kat {
displayName = CSTRING(Armband_Kat_ItemName);
- condition = QUOTE([ARR_2(_player, ""kat_armband_kat"")] call ACEFUNC(common,hasItem));
+ condition = QUOTE([ARR_2(_player, 'kat_armband_kat')] call ACEFUNC(common,hasItem));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_armband_kat"", 3)] call FUNC(slingArmband));
+ statement = QUOTE([ARR_3(_player, 'kat_armband_kat', 3)] call FUNC(slingArmband));
showDisabled = 0;
icon = QPATHTOF(ui\ArmbandKat.paa);
};
@@ -427,7 +427,7 @@ class CfgVehicles {
class BubbleWrapPopping {
displayName = CSTRING(Bubble_Wrap_Ace_Action);
- condition = QUOTE([ARR_2(_player, ""kat_Bubble_Wrap"")] call ACEFUNC(common,hasMagazine));
+ condition = QUOTE([ARR_2(_player, 'kat_Bubble_Wrap')] call ACEFUNC(common,hasMagazine));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
statement = QUOTE(_player call FUNC(BubbleWrap));
showDisabled = 0;
@@ -436,541 +436,404 @@ class CfgVehicles {
class Unpack_kat_IFAK_Item {
displayName = CSTRING(IFAK_Unpack);
- condition = QUOTE([ARR_3(_player, ""kat_IFAK"", 0)] call FUNC(checkFAKSlot));
+ condition = QUOTE([ARR_3(_player, 'kat_IFAK', 0)] call FUNC(checkFAKSlot));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_IFAK"", 0)] call FUNC(unpackFAK));
+ statement = QUOTE([ARR_3(_player, 'kat_IFAK', 0)] call FUNC(unpackFAK));
showDisabled = 0;
icon = QPATHTOF(ui\IFAK.paa);
class Slot1 {
displayName = CSTRING(FAK_Slot_1);
- condition = QUOTE([ARR_3(_player, ""kat_IFAK"", 1)] call FUNC(checkFAKSlot));
+ condition = QUOTE([ARR_3(_player, 'kat_IFAK', 1)] call FUNC(checkFAKSlot));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_IFAK"", 1)] call FUNC(unpackFAK));
+ statement = QUOTE([ARR_3(_player, 'kat_IFAK', 1)] call FUNC(unpackFAK));
showDisabled = 0;
icon = QPATHTOF(ui\IFAK.paa);
};
- class Slot2 {
+ class Slot2: Slot1 {
displayName = CSTRING(FAK_Slot_2);
- condition = QUOTE([ARR_3(_player, ""kat_IFAK"", 2)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_IFAK"", 2)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\IFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_IFAK', 2)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_IFAK', 2)] call FUNC(unpackFAK));
};
- class Slot3 {
+ class Slot3: Slot1 {
displayName = CSTRING(FAK_Slot_3);
- condition = QUOTE([ARR_3(_player, ""kat_IFAK"", 3)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_IFAK"", 3)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\IFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_IFAK', 3)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_IFAK', 3)] call FUNC(unpackFAK));
};
- class Slot4 {
+ class Slot4: Slot1 {
displayName = CSTRING(FAK_Slot_4);
- condition = QUOTE([ARR_3(_player, ""kat_IFAK"", 4)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_IFAK"", 4)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\IFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_IFAK', 4)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_IFAK', 4)] call FUNC(unpackFAK));
};
};
class Unpack_kat_IFAK_Mag {
displayName = CSTRING(IFAK_Unpack);
- condition = QUOTE([ARR_2(_player, ""kat_IFAK_Magazine"")] call ACEFUNC(common,hasMagazine));
+ condition = QUOTE([ARR_2(_player, 'kat_IFAK_Magazine')] call ACEFUNC(common,hasMagazine));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_IFAK_Magazine"", 0)] call FUNC(unpackFAK));
+ statement = QUOTE([ARR_3(_player, 'kat_IFAK_Magazine', 0)] call FUNC(unpackFAK));
showDisabled = 0;
icon = QPATHTOF(ui\IFAK.paa);
class Slot1 {
displayName = CSTRING(FAK_Slot_1);
- condition = QUOTE([ARR_3(_player, ""kat_IFAK_Magazine"", 1)] call FUNC(checkFAKSlot));
+ condition = QUOTE([ARR_3(_player, 'kat_IFAK_Magazine', 1)] call FUNC(checkFAKSlot));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_IFAK_Magazine"", 1)] call FUNC(unpackFAK));
+ statement = QUOTE([ARR_3(_player, 'kat_IFAK_Magazine', 1)] call FUNC(unpackFAK));
showDisabled = 0;
icon = QPATHTOF(ui\IFAK.paa);
};
- class Slot1Repack {
+ class Slot1Repack: Slot1 {
displayName = CSTRING(FAK_Slot_1_Repack);
- condition = QUOTE(!([ARR_3(_player, ""kat_IFAK_Magazine"", 1)] call FUNC(checkFAKSlot)) && [ARR_3(_player, ""kat_IFAK_Magazine"", 1)] call FUNC(checkFAKRepack));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_IFAK_Magazine"", 1)] call FUNC(repackFAK));
- showDisabled = 0;
+ condition = QUOTE(!([ARR_3(_player, 'kat_IFAK_Magazine', 1)] call FUNC(checkFAKSlot)) && [ARR_3(_player, 'kat_IFAK_Magazine', 1)] call FUNC(checkFAKRepack));
+ statement = QUOTE([ARR_3(_player, 'kat_IFAK_Magazine', 1)] call FUNC(repackFAK));
icon = QPATHTOF(ui\IFAK_Repack.paa);
};
- class Slot2 {
+ class Slot2: Slot1 {
displayName = CSTRING(FAK_Slot_2);
- condition = QUOTE([ARR_3(_player, ""kat_IFAK_Magazine"", 2)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_IFAK_Magazine"", 2)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\IFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_IFAK_Magazine', 2)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_IFAK_Magazine', 2)] call FUNC(unpackFAK));
};
- class Slot2Repack {
+ class Slot2Repack: Slot1Repack {
displayName = CSTRING(FAK_Slot_2_Repack);
- condition = QUOTE(!([ARR_3(_player, ""kat_IFAK_Magazine"", 2)] call FUNC(checkFAKSlot)) && [ARR_3(_player, ""kat_IFAK_Magazine"", 2)] call FUNC(checkFAKRepack));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_IFAK_Magazine"", 2)] call FUNC(repackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\IFAK_Repack.paa);
+ condition = QUOTE(!([ARR_3(_player, 'kat_IFAK_Magazine', 2)] call FUNC(checkFAKSlot)) && [ARR_3(_player, 'kat_IFAK_Magazine', 2)] call FUNC(checkFAKRepack));
+ statement = QUOTE([ARR_3(_player, 'kat_IFAK_Magazine', 2)] call FUNC(repackFAK));
};
- class Slot3 {
+ class Slot3: Slot1 {
displayName = CSTRING(FAK_Slot_3);
- condition = QUOTE([ARR_3(_player, ""kat_IFAK_Magazine"", 3)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_IFAK_Magazine"", 3)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\IFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_IFAK_Magazine', 3)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_IFAK_Magazine', 3)] call FUNC(unpackFAK));
};
- class Slot3Repack {
+ class Slot3Repack: Slot1Repack {
displayName = CSTRING(FAK_Slot_3_Repack);
- condition = QUOTE(!([ARR_3(_player, ""kat_IFAK_Magazine"", 3)] call FUNC(checkFAKSlot)) && [ARR_3(_player, ""kat_IFAK_Magazine"", 3)] call FUNC(checkFAKRepack));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_IFAK_Magazine"", 3)] call FUNC(repackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\IFAK_Repack.paa);
+ condition = QUOTE(!([ARR_3(_player, 'kat_IFAK_Magazine', 3)] call FUNC(checkFAKSlot)) && [ARR_3(_player, 'kat_IFAK_Magazine', 3)] call FUNC(checkFAKRepack));
+ statement = QUOTE([ARR_3(_player, 'kat_IFAK_Magazine', 3)] call FUNC(repackFAK));
};
- class Slot4 {
+ class Slot4: Slot1 {
displayName = CSTRING(FAK_Slot_4);
- condition = QUOTE([ARR_3(_player, ""kat_IFAK_Magazine"", 4)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_IFAK_Magazine"", 4)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\IFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_IFAK_Magazine', 4)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_IFAK_Magazine', 4)] call FUNC(unpackFAK));
};
- class Slot4Repack {
+ class Slot4Repack: Slot1Repack {
displayName = CSTRING(FAK_Slot_4_Repack);
- condition = QUOTE(!([ARR_3(_player, ""kat_IFAK_Magazine"", 4)] call FUNC(checkFAKSlot)) && [ARR_3(_player, ""kat_IFAK_Magazine"", 4)] call FUNC(checkFAKRepack));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_IFAK_Magazine"", 4)] call FUNC(repackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\IFAK_Repack.paa);
+ condition = QUOTE(!([ARR_3(_player, 'kat_IFAK_Magazine', 4)] call FUNC(checkFAKSlot)) && [ARR_3(_player, 'kat_IFAK_Magazine', 4)] call FUNC(checkFAKRepack));
+ statement = QUOTE([ARR_3(_player, 'kat_IFAK_Magazine', 4)] call FUNC(repackFAK));
};
};
class Unpack_kat_AFAK_Item {
displayName = CSTRING(AFAK_Unpack);
- condition = QUOTE([ARR_3(_player, ""kat_AFAK"", 0)] call FUNC(checkFAKSlot));
+ condition = QUOTE([ARR_3(_player, 'kat_AFAK', 0)] call FUNC(checkFAKSlot));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_AFAK"", 0)] call FUNC(unpackFAK));
+ statement = QUOTE([ARR_3(_player, 'kat_AFAK', 0)] call FUNC(unpackFAK));
showDisabled = 0;
icon = QPATHTOF(ui\AFAK.paa);
class Slot1 {
displayName = CSTRING(FAK_Slot_1);
- condition = QUOTE([ARR_3(_player, ""kat_AFAK"", 1)] call FUNC(checkFAKSlot));
+ condition = QUOTE([ARR_3(_player, 'kat_AFAK', 1)] call FUNC(checkFAKSlot));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_AFAK"", 1)] call FUNC(unpackFAK));
+ statement = QUOTE([ARR_3(_player, 'kat_AFAK', 1)] call FUNC(unpackFAK));
showDisabled = 0;
icon = QPATHTOF(ui\AFAK.paa);
};
- class Slot2 {
+ class Slot2: Slot1 {
displayName = CSTRING(FAK_Slot_2);
- condition = QUOTE([ARR_3(_player, ""kat_AFAK"", 2)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_AFAK"", 2)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\AFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_AFAK', 2)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_AFAK', 2)] call FUNC(unpackFAK));
};
- class Slot3 {
+ class Slot3: Slot1 {
displayName = CSTRING(FAK_Slot_3);
- condition = QUOTE([ARR_3(_player, ""kat_AFAK"", 3)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_AFAK"", 3)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\AFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_AFAK', 3)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_AFAK', 3)] call FUNC(unpackFAK));
};
- class Slot4 {
+ class Slot4: Slot1 {
displayName = CSTRING(FAK_Slot_4);
- condition = QUOTE([ARR_3(_player, ""kat_AFAK"", 4)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_AFAK"", 4)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\AFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_AFAK', 4)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_AFAK', 4)] call FUNC(unpackFAK));
};
- class Slot5 {
+ class Slot5: Slot1 {
displayName = CSTRING(FAK_Slot_5);
- condition = QUOTE([ARR_3(_player, ""kat_AFAK"", 5)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_AFAK"", 5)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\AFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_AFAK', 5)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_AFAK', 5)] call FUNC(unpackFAK));
};
- class Slot6 {
+ class Slot6: Slot1 {
displayName = CSTRING(FAK_Slot_6);
- condition = QUOTE([ARR_3(_player, ""kat_AFAK"", 6)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_AFAK"", 6)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\AFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_AFAK', 6)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_AFAK', 6)] call FUNC(unpackFAK));
};
};
class Unpack_kat_AFAK_Mag {
displayName = CSTRING(AFAK_Unpack);
- condition = QUOTE([ARR_3(_player, ""kat_AFAK_Magazine"", 0)] call FUNC(checkFAKSlot));
+ condition = QUOTE([ARR_3(_player, 'kat_AFAK_Magazine', 0)] call FUNC(checkFAKSlot));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_AFAK_Magazine"", 0)] call FUNC(unpackFAK));
+ statement = QUOTE([ARR_3(_player, 'kat_AFAK_Magazine', 0)] call FUNC(unpackFAK));
showDisabled = 0;
icon = QPATHTOF(ui\AFAK.paa);
class Slot1 {
displayName = CSTRING(FAK_Slot_1);
- condition = QUOTE([ARR_3(_player, ""kat_AFAK_Magazine"", 1)] call FUNC(checkFAKSlot));
+ condition = QUOTE([ARR_3(_player, 'kat_AFAK_Magazine', 1)] call FUNC(checkFAKSlot));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_AFAK_Magazine"", 1)] call FUNC(unpackFAK));
+ statement = QUOTE([ARR_3(_player, 'kat_AFAK_Magazine', 1)] call FUNC(unpackFAK));
showDisabled = 0;
icon = QPATHTOF(ui\AFAK.paa);
};
class Slot1Repack {
displayName = CSTRING(FAK_Slot_1_Repack);
- condition = QUOTE(!([ARR_3(_player, ""kat_AFAK_Magazine"", 1)] call FUNC(checkFAKSlot)) && [ARR_3(_player, ""kat_AFAK_Magazine"", 1)] call FUNC(checkFAKRepack));
+ condition = QUOTE(!([ARR_3(_player, 'kat_AFAK_Magazine', 1)] call FUNC(checkFAKSlot)) && [ARR_3(_player, 'kat_AFAK_Magazine', 1)] call FUNC(checkFAKRepack));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_AFAK_Magazine"", 1)] call FUNC(repackFAK));
+ statement = QUOTE([ARR_3(_player, 'kat_AFAK_Magazine', 1)] call FUNC(repackFAK));
showDisabled = 0;
icon = QPATHTOF(ui\AFAK_Repack.paa);
};
- class Slot2 {
+ class Slot2: Slot1 {
displayName = CSTRING(FAK_Slot_2);
- condition = QUOTE([ARR_3(_player, ""kat_AFAK_Magazine"", 2)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_AFAK_Magazine"", 2)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\AFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_AFAK_Magazine', 2)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_AFAK_Magazine', 2)] call FUNC(unpackFAK));
};
- class Slot2Repack {
+ class Slot2Repack: Slot1Repack {
displayName = CSTRING(FAK_Slot_2_Repack);
- condition = QUOTE(!([ARR_3(_player, ""kat_AFAK_Magazine"", 2)] call FUNC(checkFAKSlot)) && [ARR_3(_player, ""kat_AFAK_Magazine"", 2)] call FUNC(checkFAKRepack));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_AFAK_Magazine"", 2)] call FUNC(repackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\AFAK_Repack.paa);
+ condition = QUOTE(!([ARR_3(_player, 'kat_AFAK_Magazine', 2)] call FUNC(checkFAKSlot)) && [ARR_3(_player, 'kat_AFAK_Magazine', 2)] call FUNC(checkFAKRepack));
+ statement = QUOTE([ARR_3(_player, 'kat_AFAK_Magazine', 2)] call FUNC(repackFAK));
};
- class Slot3 {
+ class Slot3: Slot1 {
displayName = CSTRING(FAK_Slot_3);
- condition = QUOTE([ARR_3(_player, ""kat_AFAK_Magazine"", 3)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_AFAK_Magazine"", 3)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\AFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_AFAK_Magazine', 3)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_AFAK_Magazine', 3)] call FUNC(unpackFAK));
};
- class Slot3Repack {
+ class Slot3Repack: Slot1Repack {
displayName = CSTRING(FAK_Slot_3_Repack);
- condition = QUOTE(!([ARR_3(_player, ""kat_AFAK_Magazine"", 3)] call FUNC(checkFAKSlot)) && [ARR_3(_player, ""kat_AFAK_Magazine"", 3)] call FUNC(checkFAKRepack));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_AFAK_Magazine"", 3)] call FUNC(repackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\AFAK_Repack.paa);
+ condition = QUOTE(!([ARR_3(_player, 'kat_AFAK_Magazine', 3)] call FUNC(checkFAKSlot)) && [ARR_3(_player, 'kat_AFAK_Magazine', 3)] call FUNC(checkFAKRepack));
+ statement = QUOTE([ARR_3(_player, 'kat_AFAK_Magazine', 3)] call FUNC(repackFAK));
};
- class Slot4 {
+ class Slot4: Slot1 {
displayName = CSTRING(FAK_Slot_4);
- condition = QUOTE([ARR_3(_player, ""kat_AFAK_Magazine"", 4)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_AFAK_Magazine"", 4)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\AFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_AFAK_Magazine', 4)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_AFAK_Magazine', 4)] call FUNC(unpackFAK));
};
- class Slot4Repack {
+ class Slot4Repack: Slot1Repack {
displayName = CSTRING(FAK_Slot_4_Repack);
- condition = QUOTE(!([ARR_3(_player, ""kat_AFAK_Magazine"", 4)] call FUNC(checkFAKSlot)) && [ARR_3(_player, ""kat_AFAK_Magazine"", 4)] call FUNC(checkFAKRepack));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_AFAK_Magazine"", 4)] call FUNC(repackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\AFAK_Repack.paa);
+ condition = QUOTE(!([ARR_3(_player, 'kat_AFAK_Magazine', 4)] call FUNC(checkFAKSlot)) && [ARR_3(_player, 'kat_AFAK_Magazine', 4)] call FUNC(checkFAKRepack));
+ statement = QUOTE([ARR_3(_player, 'kat_AFAK_Magazine', 4)] call FUNC(repackFAK));
};
- class Slot5 {
+ class Slot5: Slot1 {
displayName = CSTRING(FAK_Slot_5);
- condition = QUOTE([ARR_3(_player, ""kat_AFAK_Magazine"", 5)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_AFAK_Magazine"", 5)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\AFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_AFAK_Magazine', 5)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_AFAK_Magazine', 5)] call FUNC(unpackFAK));
};
- class Slot5Repack {
+ class Slot5Repack: Slot1Repack {
displayName = CSTRING(FAK_Slot_5_Repack);
- condition = QUOTE(!([ARR_3(_player, ""kat_AFAK_Magazine"", 5)] call FUNC(checkFAKSlot)) && [ARR_3(_player, ""kat_AFAK_Magazine"", 5)] call FUNC(checkFAKRepack));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_AFAK_Magazine"", 5)] call FUNC(repackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\AFAK_Repack.paa);
+ condition = QUOTE(!([ARR_3(_player, 'kat_AFAK_Magazine', 5)] call FUNC(checkFAKSlot)) && [ARR_3(_player, 'kat_AFAK_Magazine', 5)] call FUNC(checkFAKRepack));
+ statement = QUOTE([ARR_3(_player, 'kat_AFAK_Magazine', 5)] call FUNC(repackFAK));
};
- class Slot6 {
+ class Slot6: Slot1 {
displayName = CSTRING(FAK_Slot_6);
- condition = QUOTE([ARR_3(_player, ""kat_AFAK_Magazine"", 6)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_AFAK_Magazine"", 6)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\AFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_AFAK_Magazine', 6)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_AFAK_Magazine', 6)] call FUNC(unpackFAK));
};
- class Slot6Repack {
+ class Slot6Repack: Slot1Repack {
displayName = CSTRING(FAK_Slot_6_Repack);
- condition = QUOTE(!([ARR_3(_player, ""kat_AFAK_Magazine"", 6)] call FUNC(checkFAKSlot)) && [ARR_3(_player, ""kat_AFAK_Magazine"", 6)] call FUNC(checkFAKRepack));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_AFAK_Magazine"", 6)] call FUNC(repackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\AFAK_Repack.paa);
+ condition = QUOTE(!([ARR_3(_player, 'kat_AFAK_Magazine', 6)] call FUNC(checkFAKSlot)) && [ARR_3(_player, 'kat_AFAK_Magazine', 6)] call FUNC(checkFAKRepack));
+ statement = QUOTE([ARR_3(_player, 'kat_AFAK_Magazine', 6)] call FUNC(repackFAK));
};
};
class Unpack_kat_MFAK_Item {
displayName = CSTRING(MFAK_Unpack);
- condition = QUOTE([ARR_3(_player, ""kat_MFAK"", 0)] call FUNC(checkFAKSlot));
+ condition = QUOTE([ARR_3(_player, 'kat_MFAK', 0)] call FUNC(checkFAKSlot));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_MFAK"", 0)] call FUNC(unpackFAK));
+ statement = QUOTE([ARR_3(_player, 'kat_MFAK', 0)] call FUNC(unpackFAK));
showDisabled = 0;
icon = QPATHTOF(ui\MFAK.paa);
class Slot1 {
displayName = CSTRING(FAK_Slot_1);
- condition = QUOTE([ARR_3(_player, ""kat_MFAK"", 1)] call FUNC(checkFAKSlot));
+ condition = QUOTE([ARR_3(_player, 'kat_MFAK', 1)] call FUNC(checkFAKSlot));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_MFAK"", 1)] call FUNC(unpackFAK));
+ statement = QUOTE([ARR_3(_player, 'kat_MFAK', 1)] call FUNC(unpackFAK));
showDisabled = 0;
icon = QPATHTOF(ui\MFAK.paa);
};
- class Slot2 {
+ class Slot2: Slot1 {
displayName = CSTRING(FAK_Slot_2);
- condition = QUOTE([ARR_3(_player, ""kat_MFAK"", 2)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_MFAK"", 2)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\MFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_MFAK', 2)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_MFAK', 2)] call FUNC(unpackFAK));
};
- class Slot3 {
+ class Slot3: Slot1 {
displayName = CSTRING(FAK_Slot_3);
- condition = QUOTE([ARR_3(_player, ""kat_MFAK"", 3)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_MFAK"", 3)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\MFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_MFAK', 3)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_MFAK', 3)] call FUNC(unpackFAK));
};
- class Slot4 {
+ class Slot4: Slot1 {
displayName = CSTRING(FAK_Slot_4);
- condition = QUOTE([ARR_3(_player, ""kat_MFAK"", 4)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_MFAK"", 4)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\MFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_MFAK', 4)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_MFAK', 4)] call FUNC(unpackFAK));
};
- class Slot5 {
+ class Slot5: Slot1 {
displayName = CSTRING(FAK_Slot_5);
- condition = QUOTE([ARR_3(_player, ""kat_MFAK"", 5)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_MFAK"", 5)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\MFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_MFAK', 5)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_MFAK', 5)] call FUNC(unpackFAK));
};
- class Slot6 {
+ class Slot6: Slot1 {
displayName = CSTRING(FAK_Slot_6);
- condition = QUOTE([ARR_3(_player, ""kat_MFAK"", 6)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_MFAK"", 6)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\MFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_MFAK', 6)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_MFAK', 6)] call FUNC(unpackFAK));
};
- class Slot7 {
+ class Slot7: Slot1 {
displayName = CSTRING(FAK_Slot_7);
- condition = QUOTE([ARR_3(_player, ""kat_MFAK"", 7)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_MFAK"", 7)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\MFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_MFAK', 7)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_MFAK', 7)] call FUNC(unpackFAK));
};
- class Slot8 {
+ class Slot8: Slot1 {
displayName = CSTRING(FAK_Slot_8);
- condition = QUOTE([ARR_3(_player, ""kat_MFAK"", 8)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_MFAK"", 8)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\MFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_MFAK', 8)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_MFAK', 8)] call FUNC(unpackFAK));
};
};
class Unpack_kat_MFAK_Mag {
displayName = CSTRING(MFAK_Unpack);
- condition = QUOTE([ARR_3(_player, ""kat_MFAK_Magazine"", 0)] call FUNC(checkFAKSlot));
+ condition = QUOTE([ARR_3(_player, 'kat_MFAK_Magazine', 0)] call FUNC(checkFAKSlot));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_MFAK_Magazine"", 0)] call FUNC(unpackFAK));
+ statement = QUOTE([ARR_3(_player, 'kat_MFAK_Magazine', 0)] call FUNC(unpackFAK));
showDisabled = 0;
icon = QPATHTOF(ui\MFAK.paa);
class Slot1 {
displayName = CSTRING(FAK_Slot_1);
- condition = QUOTE([ARR_3(_player, ""kat_MFAK_Magazine"", 1)] call FUNC(checkFAKSlot));
+ condition = QUOTE([ARR_3(_player, 'kat_MFAK_Magazine', 1)] call FUNC(checkFAKSlot));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_MFAK_Magazine"", 1)] call FUNC(unpackFAK));
+ statement = QUOTE([ARR_3(_player, 'kat_MFAK_Magazine', 1)] call FUNC(unpackFAK));
showDisabled = 0;
icon = QPATHTOF(ui\MFAK.paa);
};
class Slot1Repack {
displayName = CSTRING(FAK_Slot_1_Repack);
- condition = QUOTE(!([ARR_3(_player, ""kat_MFAK_Magazine"", 1)] call FUNC(checkFAKSlot)) && [ARR_3(_player, ""kat_MFAK_Magazine"", 1)] call FUNC(checkFAKRepack));
+ condition = QUOTE(!([ARR_3(_player, 'kat_MFAK_Magazine', 1)] call FUNC(checkFAKSlot)) && [ARR_3(_player, 'kat_MFAK_Magazine', 1)] call FUNC(checkFAKRepack));
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_MFAK_Magazine"", 1)] call FUNC(repackFAK));
+ statement = QUOTE([ARR_3(_player, 'kat_MFAK_Magazine', 1)] call FUNC(repackFAK));
showDisabled = 0;
icon = QPATHTOF(ui\MFAK_Repack.paa);
};
- class Slot2 {
+ class Slot2: Slot1 {
displayName = CSTRING(FAK_Slot_2);
- condition = QUOTE([ARR_3(_player, ""kat_MFAK_Magazine"", 2)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_MFAK_Magazine"", 2)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\MFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_MFAK_Magazine', 2)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_MFAK_Magazine', 2)] call FUNC(unpackFAK));
};
- class Slot2Repack {
+ class Slot2Repack: Slot1Repack {
displayName = CSTRING(FAK_Slot_2_Repack);
- condition = QUOTE(!([ARR_3(_player, ""kat_MFAK_Magazine"", 2)] call FUNC(checkFAKSlot)) && [ARR_3(_player, ""kat_MFAK_Magazine"", 2)] call FUNC(checkFAKRepack));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_MFAK_Magazine"", 2)] call FUNC(repackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\MFAK_Repack.paa);
+ condition = QUOTE(!([ARR_3(_player, 'kat_MFAK_Magazine', 2)] call FUNC(checkFAKSlot)) && [ARR_3(_player, 'kat_MFAK_Magazine', 2)] call FUNC(checkFAKRepack));
+ statement = QUOTE([ARR_3(_player, 'kat_MFAK_Magazine', 2)] call FUNC(repackFAK));
};
- class Slot3 {
+ class Slot3: Slot1 {
displayName = CSTRING(FAK_Slot_3);
- condition = QUOTE([ARR_3(_player, ""kat_MFAK_Magazine"", 3)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_MFAK_Magazine"", 3)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\MFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_MFAK_Magazine', 3)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_MFAK_Magazine', 3)] call FUNC(unpackFAK));
};
- class Slot3Repack {
+ class Slot3Repack: Slot1Repack {
displayName = CSTRING(FAK_Slot_3_Repack);
- condition = QUOTE(!([ARR_3(_player, ""kat_MFAK_Magazine"", 3)] call FUNC(checkFAKSlot)) && [ARR_3(_player, ""kat_MFAK_Magazine"", 3)] call FUNC(checkFAKRepack));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_MFAK_Magazine"", 3)] call FUNC(repackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\MFAK_Repack.paa);
+ condition = QUOTE(!([ARR_3(_player, 'kat_MFAK_Magazine', 3)] call FUNC(checkFAKSlot)) && [ARR_3(_player, 'kat_MFAK_Magazine', 3)] call FUNC(checkFAKRepack));
+ statement = QUOTE([ARR_3(_player, 'kat_MFAK_Magazine', 3)] call FUNC(repackFAK));
};
- class Slot4 {
+ class Slot4: Slot1 {
displayName = CSTRING(FAK_Slot_4);
- condition = QUOTE([ARR_3(_player, ""kat_MFAK_Magazine"", 4)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_MFAK_Magazine"", 4)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\MFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_MFAK_Magazine', 4)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_MFAK_Magazine', 4)] call FUNC(unpackFAK));
};
- class Slot4Repack {
+ class Slot4Repack: Slot1Repack {
displayName = CSTRING(FAK_Slot_4_Repack);
- condition = QUOTE(!([ARR_3(_player, ""kat_MFAK_Magazine"", 4)] call FUNC(checkFAKSlot)) && [ARR_3(_player, ""kat_MFAK_Magazine"", 4)] call FUNC(checkFAKRepack));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_MFAK_Magazine"", 4)] call FUNC(repackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\MFAK_Repack.paa);
+ condition = QUOTE(!([ARR_3(_player, 'kat_MFAK_Magazine', 4)] call FUNC(checkFAKSlot)) && [ARR_3(_player, 'kat_MFAK_Magazine', 4)] call FUNC(checkFAKRepack));
+ statement = QUOTE([ARR_3(_player, 'kat_MFAK_Magazine', 4)] call FUNC(repackFAK));
};
- class Slot5 {
+ class Slot5: Slot1 {
displayName = CSTRING(FAK_Slot_5);
- condition = QUOTE([ARR_3(_player, ""kat_MFAK_Magazine"", 5)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_MFAK_Magazine"", 5)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\MFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_MFAK_Magazine', 5)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_MFAK_Magazine', 5)] call FUNC(unpackFAK));
};
- class Slot5Repack {
+ class Slot5Repack: Slot1Repack {
displayName = CSTRING(FAK_Slot_5_Repack);
- condition = QUOTE(!([ARR_3(_player, ""kat_MFAK_Magazine"", 5)] call FUNC(checkFAKSlot)) && [ARR_3(_player, ""kat_MFAK_Magazine"", 5)] call FUNC(checkFAKRepack));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_MFAK_Magazine"", 5)] call FUNC(repackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\MFAK_Repack.paa);
+ condition = QUOTE(!([ARR_3(_player, 'kat_MFAK_Magazine', 5)] call FUNC(checkFAKSlot)) && [ARR_3(_player, 'kat_MFAK_Magazine', 5)] call FUNC(checkFAKRepack));
+ statement = QUOTE([ARR_3(_player, 'kat_MFAK_Magazine', 5)] call FUNC(repackFAK));
};
- class Slot6 {
+ class Slot6: Slot1 {
displayName = CSTRING(FAK_Slot_6);
- condition = QUOTE([ARR_3(_player, ""kat_MFAK_Magazine"", 6)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_MFAK_Magazine"", 6)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\MFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_MFAK_Magazine', 6)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_MFAK_Magazine', 6)] call FUNC(unpackFAK));
};
- class Slot6Repack {
+ class Slot6Repack: Slot1Repack {
displayName = CSTRING(FAK_Slot_6_Repack);
- condition = QUOTE(!([ARR_3(_player, ""kat_MFAK_Magazine"", 6)] call FUNC(checkFAKSlot)) && [ARR_3(_player, ""kat_MFAK_Magazine"", 6)] call FUNC(checkFAKRepack));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_MFAK_Magazine"", 6)] call FUNC(repackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\MFAK_Repack.paa);
+ condition = QUOTE(!([ARR_3(_player, 'kat_MFAK_Magazine', 6)] call FUNC(checkFAKSlot)) && [ARR_3(_player, 'kat_MFAK_Magazine', 6)] call FUNC(checkFAKRepack));
+ statement = QUOTE([ARR_3(_player, 'kat_MFAK_Magazine', 6)] call FUNC(repackFAK));
};
- class Slot7 {
+ class Slot7: Slot1 {
displayName = CSTRING(FAK_Slot_7);
- condition = QUOTE([ARR_3(_player, ""kat_MFAK_Magazine"", 7)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_MFAK_Magazine"", 7)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\MFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_MFAK_Magazine', 7)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_MFAK_Magazine', 7)] call FUNC(unpackFAK));
};
- class Slot7Repack {
+ class Slot7Repack: Slot1Repack {
displayName = CSTRING(FAK_Slot_7_Repack);
- condition = QUOTE(!([ARR_3(_player, ""kat_MFAK_Magazine"", 7)] call FUNC(checkFAKSlot)) && [ARR_3(_player, ""kat_MFAK_Magazine"", 7)] call FUNC(checkFAKRepack));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_MFAK_Magazine"", 7)] call FUNC(repackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\MFAK_Repack.paa);
+ condition = QUOTE(!([ARR_3(_player, 'kat_MFAK_Magazine', 7)] call FUNC(checkFAKSlot)) && [ARR_3(_player, 'kat_MFAK_Magazine', 7)] call FUNC(checkFAKRepack));
+ statement = QUOTE([ARR_3(_player, 'kat_MFAK_Magazine', 7)] call FUNC(repackFAK));
};
- class Slot8 {
+ class Slot8: Slot1 {
displayName = CSTRING(FAK_Slot_8);
- condition = QUOTE([ARR_3(_player, ""kat_MFAK_Magazine"", 8)] call FUNC(checkFAKSlot));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_MFAK_Magazine"", 8)] call FUNC(unpackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\MFAK.paa);
+ condition = QUOTE([ARR_3(_player, 'kat_MFAK_Magazine', 8)] call FUNC(checkFAKSlot));
+ statement = QUOTE([ARR_3(_player, 'kat_MFAK_Magazine', 8)] call FUNC(unpackFAK));
};
- class Slot8Repack {
+ class Slot8Repack: Slot1Repack {
displayName = CSTRING(FAK_Slot_8_Repack);
- condition = QUOTE(!([ARR_3(_player, ""kat_MFAK_Magazine"", 8)] call FUNC(checkFAKSlot)) && [ARR_3(_player, ""kat_MFAK_Magazine"", 8)] call FUNC(checkFAKRepack));
- exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
- statement = QUOTE([ARR_3(_player, ""kat_MFAK_Magazine"", 8)] call FUNC(repackFAK));
- showDisabled = 0;
- icon = QPATHTOF(ui\MFAK_Repack.paa);
+ condition = QUOTE(!([ARR_3(_player, 'kat_MFAK_Magazine', 8)] call FUNC(checkFAKSlot)) && [ARR_3(_player, 'kat_MFAK_Magazine', 8)] call FUNC(checkFAKRepack));
+ statement = QUOTE([ARR_3(_player, 'kat_MFAK_Magazine', 8)] call FUNC(repackFAK));
};
};
};
diff --git a/addons/misc/stringtable.xml b/addons/misc/stringtable.xml
index 4fddc38d8..2e4c9c4ec 100644
--- a/addons/misc/stringtable.xml
+++ b/addons/misc/stringtable.xml
@@ -927,7 +927,7 @@
Achte Tasche Gegenstand
- Individuell First Aid Kit
+ Individual First Aid Kit
Individuelles Erste Hilfe Kit