Better module naming convention

This commit is contained in:
SilentSpike 2015-05-19 12:23:18 +01:00
parent 8fe1a65207
commit a30f6be713
6 changed files with 19 additions and 19 deletions

View File

@ -81,29 +81,19 @@ class CfgVehicles {
category = "ACE";
scopeCurator = 2;
};
class GVAR(moduleCapture): GVAR(moduleBase) {
class GVAR(moduleCaptive): GVAR(moduleBase) {
curatorCanAttach = 1;
displayName = "Capture Unit";
function = QFUNC(moduleCapture);
icon = QUOTE(PATHTOF(UI\Icon_Module_Zeus_Capture_ca.paa));
displayName = "Toggle Captive";
function = QFUNC(moduleCaptive);
icon = QUOTE(PATHTOF(UI\Icon_Module_Zeus_Captive_ca.paa));
class ModuleDescription {
description = "Flips the capture state of the specified unit.";
sync[] = {};
};
};
class GVAR(moduleKnockout): GVAR(moduleBase) {
curatorCanAttach = 1;
displayName = "Knockout Unit";
function = QFUNC(moduleKnockout);
//icon = QUOTE(PATHTOF(UI\Icon_Module_Zeus_Knockout_ca.paa));
class ModuleDescription {
description = "Flips the unconscious state of the specified unit.";
sync[] = {};
};
};
class GVAR(moduleSurrender): GVAR(moduleBase) {
curatorCanAttach = 1;
displayName = "Surrender Unit";
displayName = "Toggle Surrender";
function = QFUNC(moduleSurrender);
icon = QUOTE(PATHTOF(UI\Icon_Module_Zeus_Surrender_ca.paa));
class ModuleDescription {
@ -111,4 +101,14 @@ class CfgVehicles {
sync[] = {};
};
};
class GVAR(moduleUnconscious): GVAR(moduleBase) {
curatorCanAttach = 1;
displayName = "Toggle Unconscious";
function = QFUNC(moduleUnconscious);
//icon = QUOTE(PATHTOF(UI\Icon_Module_Zeus_Unconscious_ca.paa));
class ModuleDescription {
description = "Flips the unconscious state of the specified unit.";
sync[] = {};
};
};
};

View File

@ -7,9 +7,9 @@ PREP(bi_moduleMine);
PREP(bi_moduleProjectile);
PREP(bi_moduleRemoteControl);
PREP(handleZeusUnitAssigned);
PREP(moduleCapture);
PREP(moduleKnockout);
PREP(moduleCaptive);
PREP(moduleSurrender);
PREP(moduleUnconscious);
PREP(moduleZeusSettings);
if (isServer) then {

View File

@ -13,13 +13,13 @@ class CfgPatches {
// Use additional cfgPatches to contextually remove modules from zeus
class GVAR(captives): ADDON {
units[] = {
QGVAR(moduleCapture),
QGVAR(moduleCaptive),
QGVAR(moduleSurrender)
};
};
class GVAR(medical): ADDON {
units[] = {
QGVAR(moduleKnockout)
QGVAR(moduleUnconscious)
};
};
};