2020-08-18 17:43:35 +00:00
|
|
|
class GVAR(sorts) {
|
|
|
|
class sortBase {
|
|
|
|
scope = 1;
|
|
|
|
displayName = "";
|
|
|
|
tabs[] = {{}, {}};
|
|
|
|
statement = "";
|
2020-11-02 18:23:44 +00:00
|
|
|
condition = "true";
|
2020-08-18 17:43:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_alphabetically: sortBase {
|
|
|
|
scope = 2;
|
|
|
|
displayName = "$STR_a3_rscdisplayarsenal_sort_alphabet";
|
2020-08-27 15:37:20 +00:00
|
|
|
tabs[] = {{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17}, {0,1,2,3,4,5,6,7}};
|
2020-08-18 17:43:35 +00:00
|
|
|
statement = QUOTE({});
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_mod: sortBase {
|
|
|
|
scope = 2;
|
|
|
|
displayName = "$STR_a3_rscdisplayarsenal_sort_mod";
|
2020-08-27 15:37:20 +00:00
|
|
|
tabs[] = {{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17}, {0,1,2,3,4,5,6,7}};
|
2020-08-18 17:43:35 +00:00
|
|
|
statement = QUOTE(_this call FUNC(sortStatement_mod));
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_mass: sortBase {
|
|
|
|
scope = 2;
|
|
|
|
displayName = CSTRING(sortByWeightText);
|
|
|
|
tabs[] = {{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14}, {0,1,2,3,4,5,6,7}};
|
|
|
|
statement = QUOTE(_this call FUNC(sortStatement_mass));
|
|
|
|
};
|
|
|
|
|
2020-11-02 18:23:44 +00:00
|
|
|
class ACE_amount: sortBase {
|
|
|
|
scope = 2;
|
|
|
|
displayName = CSTRING(sortByAmountText);
|
|
|
|
tabs[] = {{}, {0,1,2,3,4,5,6,7}};
|
|
|
|
statement = QUOTE(_this call FUNC(sortStatement_amount));
|
|
|
|
condition = QUOTE(_this select 0); // Only show for containers
|
|
|
|
};
|
|
|
|
|
2020-08-18 17:43:35 +00:00
|
|
|
class ACE_load: sortBase {
|
|
|
|
scope = 2;
|
|
|
|
displayName = CSTRING(sortByLoadText);
|
|
|
|
tabs[] = {{3,4,5}, {}};
|
2020-11-24 14:29:43 +00:00
|
|
|
statement = QUOTE(getContainerMaxLoad (_this select 1));
|
2020-08-18 17:43:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_accuracy: sortBase {
|
|
|
|
scope = 2;
|
|
|
|
displayName = CSTRING(sortByAccuracyText);
|
2020-09-29 17:04:37 +00:00
|
|
|
tabs[] = {{0,1}, {}};
|
2020-08-18 17:43:35 +00:00
|
|
|
statement = QUOTE(_this call FUNC(sortStatement_accuracy));
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_rateOfFire: sortBase {
|
|
|
|
scope = 2;
|
|
|
|
displayName = CSTRING(sortByRateOfFireText);
|
2020-09-29 17:04:37 +00:00
|
|
|
tabs[] = {{0,1}, {}};
|
2020-08-18 17:43:35 +00:00
|
|
|
statement = QUOTE(_this call FUNC(sortStatement_rateOfFire));
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_scopeMag: sortBase {
|
|
|
|
scope = 2;
|
|
|
|
displayName = CSTRING(sortByMagnificationText);
|
|
|
|
tabs[] = {{}, {0}};
|
|
|
|
statement = QUOTE(_this call FUNC(sortStatement_scopeMag));
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_magCount: sortBase {
|
|
|
|
scope = 2;
|
|
|
|
displayName = CSTRING(sortByMagCountText);
|
|
|
|
tabs[] = {{}, {4}};
|
|
|
|
statement = QUOTE(_this call FUNC(sortStatement_magCount));
|
|
|
|
};
|
2020-10-29 16:38:31 +00:00
|
|
|
|
|
|
|
class ACE_protectionBallistic: sortBase {
|
|
|
|
scope = 2;
|
|
|
|
displayName = CSTRING(sortByProtectionBallistic);
|
|
|
|
tabs[] = {{3,4,6}, {}};
|
|
|
|
statement = QUOTE([ARR_3(_this, 1000000, 1000)] call FUNC(sortStatement_protection));
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_protectionExplosive: ACE_protectionBallistic {
|
|
|
|
displayName = CSTRING(sortByProtectionExplosive);
|
|
|
|
statement = QUOTE([ARR_3(_this, 1000, 1000000)] call FUNC(sortStatement_protection));
|
|
|
|
};
|
2020-08-18 17:43:35 +00:00
|
|
|
};
|