ACE3/addons/repair/ACE_Settings.hpp

86 lines
3.6 KiB
C++
Raw Normal View History

2015-04-21 11:17:09 +00:00
class ACE_Settings {
class GVAR(displayTextOnRepair) {
2015-08-09 06:54:44 +00:00
displayName = CSTRING(SettingDisplayTextName);
description = CSTRING(SettingDisplayTextDesc);
2015-04-21 11:17:09 +00:00
typeName = "BOOL";
isClientSettable = 1;
2015-04-21 11:17:09 +00:00
value = 1;
2015-08-18 03:26:55 +00:00
category = ECSTRING(OptionsMenu,CategoryLogistics);
2015-04-21 11:17:09 +00:00
};
class GVAR(engineerSetting_repair) {
2015-08-09 06:54:44 +00:00
displayName = CSTRING(enginerSetting_Repair_name);
description = CSTRING(enginerSetting_Repair_description);
2015-04-21 11:17:09 +00:00
typeName = "SCALAR";
value = 1;
values[] = {CSTRING(engineerSetting_anyone), CSTRING(engineerSetting_EngineerOnly), CSTRING(engineerSetting_RepairSpecialistOnly)};
2015-08-18 03:26:55 +00:00
category = ECSTRING(OptionsMenu,CategoryLogistics);
2015-04-21 11:17:09 +00:00
};
class GVAR(engineerSetting_wheel) {
2015-08-09 06:54:44 +00:00
displayName = CSTRING(enginerSetting_Wheel_name);
description = CSTRING(enginerSetting_Wheel_description);
2015-04-21 11:17:09 +00:00
typeName = "SCALAR";
value = 0;
values[] = {CSTRING(engineerSetting_anyone), CSTRING(engineerSetting_EngineerOnly), CSTRING(engineerSetting_RepairSpecialistOnly)};
2015-08-18 03:26:55 +00:00
category = ECSTRING(OptionsMenu,CategoryLogistics);
2015-04-21 11:17:09 +00:00
};
class GVAR(repairDamageThreshold) {
2015-08-09 06:54:44 +00:00
displayName = CSTRING(repairDamageThreshold_name);
description = CSTRING(repairDamageThreshold_description);
2015-04-21 11:17:09 +00:00
typeName = "SCALAR";
value = 0.6;
2015-08-18 03:26:55 +00:00
category = ECSTRING(OptionsMenu,CategoryLogistics);
2015-04-21 11:17:09 +00:00
};
class GVAR(repairDamageThreshold_engineer) {
2015-08-09 06:54:44 +00:00
displayName = CSTRING(repairDamageThreshold_Engineer_name);
description = CSTRING(repairDamageThreshold_Engineer_description);
2015-04-21 11:17:09 +00:00
typeName = "SCALAR";
value = 0.4;
2015-08-18 03:26:55 +00:00
category = ECSTRING(OptionsMenu,CategoryLogistics);
2015-04-21 11:17:09 +00:00
};
class GVAR(consumeItem_toolKit) {
2015-08-09 06:54:44 +00:00
displayName = CSTRING(consumeItem_ToolKit_name);
description = CSTRING(consumeItem_ToolKit_description);
typeName = "SCALAR";
value = 0;
2015-08-09 06:54:44 +00:00
values[] = {ECSTRING(common,No), ECSTRING(common,Yes)};
2015-08-18 03:26:55 +00:00
category = ECSTRING(OptionsMenu,CategoryLogistics);
2015-08-09 06:54:44 +00:00
};
class GVAR(fullRepairLocation) {
displayName = CSTRING(fullRepairLocation);
description = CSTRING(fullRepairLocation_description);
typeName = "SCALAR";
value = 2;
values[] = {CSTRING(useAnywhere), CSTRING(repairVehicleOnly), CSTRING(repairFacilityOnly), CSTRING(vehicleAndFacility), ECSTRING(common,Disabled)};
2015-08-18 03:26:55 +00:00
category = ECSTRING(OptionsMenu,CategoryLogistics);
};
class GVAR(engineerSetting_fullRepair) {
displayName = CSTRING(engineerSetting_fullRepair_name);
description = CSTRING(engineerSetting_fullRepair_description);
typeName = "SCALAR";
value = 2;
values[] = {CSTRING(engineerSetting_anyone), CSTRING(engineerSetting_EngineerOnly), CSTRING(engineerSetting_RepairSpecialistOnly)};
2015-08-18 03:26:55 +00:00
category = ECSTRING(OptionsMenu,CategoryLogistics);
};
class GVAR(addSpareParts) {
displayName = CSTRING(addSpareParts_name);
description = CSTRING(addSpareParts_description);
typeName = "BOOL";
value = 1;
category = ECSTRING(OptionsMenu,CategoryLogistics);
};
class GVAR(wheelRepairRequiredItems) {
displayName = CSTRING(wheelRepairRequiredItems_name);
description = CSTRING(wheelRepairRequiredItems_description);
category = ECSTRING(OptionsMenu,CategoryLogistics);
typeName = "SCALAR";
value = 0;
values[] = {"None", "ToolKit"};
_values[] = {{}, {"ToolKit"}};
};
class GVAR(autoShutOffEngineWhenStartingRepair) {
typeName = "BOOL";
2016-04-13 01:05:56 +00:00
value = 0;
category = ECSTRING(OptionsMenu,CategoryLogistics);
};
2015-04-21 11:17:09 +00:00
};