ACE3/addons/repair/ACE_Settings.hpp

65 lines
2.9 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;
2015-08-09 06:54:44 +00:00
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;
2015-08-09 06:54:44 +00:00
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
};
2015-08-09 06:54:44 +00:00
class GVAR(consumeItem_ToolKit) {
displayName = CSTRING(consumeItem_ToolKit_name);
description = CSTRING(consumeItem_ToolKit_description);
typeName = "SCALAR";
value = 1;
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 = 3;
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
};