mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
f214b884a2
* [hearing] Update strings * [medical] Update strings * [medical_ai] Update strings * [medical_menu] Update strings * [nametags] Update strings * [nametags] Use existing DisplayName entries * [medical_menu] Correct spelling * [medical] Disable unreferenced setting * [medical] Overdosing strings * [medical_menu] Correct key IDs * [repair] Update strings * [medical] Correct spelling
90 lines
3.9 KiB
C++
90 lines
3.9 KiB
C++
class ACE_Settings {
|
|
class GVAR(displayTextOnRepair) {
|
|
displayName = CSTRING(SettingDisplayTextName);
|
|
description = CSTRING(SettingDisplayTextDesc);
|
|
typeName = "BOOL";
|
|
isClientSettable = 1;
|
|
value = 1;
|
|
category = ECSTRING(OptionsMenu,CategoryLogistics);
|
|
};
|
|
class GVAR(engineerSetting_repair) {
|
|
displayName = CSTRING(engineerSetting_Repair_name);
|
|
description = CSTRING(engineerSetting_Repair_description);
|
|
typeName = "SCALAR";
|
|
value = 1;
|
|
values[] = {CSTRING(engineerSetting_anyone), CSTRING(engineerSetting_EngineerOnly), CSTRING(engineerSetting_AdvancedOnly)};
|
|
category = ECSTRING(OptionsMenu,CategoryLogistics);
|
|
};
|
|
class GVAR(engineerSetting_wheel) {
|
|
displayName = CSTRING(engineerSetting_Wheel_name);
|
|
description = CSTRING(engineerSetting_Wheel_description);
|
|
typeName = "SCALAR";
|
|
value = 0;
|
|
values[] = {CSTRING(engineerSetting_anyone), CSTRING(engineerSetting_EngineerOnly), CSTRING(engineerSetting_AdvancedOnly)};
|
|
category = ECSTRING(OptionsMenu,CategoryLogistics);
|
|
};
|
|
class GVAR(repairDamageThreshold) {
|
|
displayName = CSTRING(repairDamageThreshold_name);
|
|
description = CSTRING(repairDamageThreshold_description);
|
|
typeName = "SCALAR";
|
|
value = 0.6;
|
|
category = ECSTRING(OptionsMenu,CategoryLogistics);
|
|
sliderSettings[] = {0, 1, 0.6, 2};
|
|
};
|
|
class GVAR(repairDamageThreshold_engineer) {
|
|
displayName = CSTRING(repairDamageThreshold_Engineer_name);
|
|
description = CSTRING(repairDamageThreshold_Engineer_description);
|
|
typeName = "SCALAR";
|
|
value = 0.4;
|
|
category = ECSTRING(OptionsMenu,CategoryLogistics);
|
|
sliderSettings[] = {0, 1, 0.4, 2};
|
|
};
|
|
class GVAR(consumeItem_toolKit) {
|
|
displayName = CSTRING(consumeItem_ToolKit_name);
|
|
description = CSTRING(consumeItem_ToolKit_description);
|
|
typeName = "SCALAR";
|
|
value = 0;
|
|
values[] = {ECSTRING(common,No), ECSTRING(common,Yes)};
|
|
category = ECSTRING(OptionsMenu,CategoryLogistics);
|
|
};
|
|
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)};
|
|
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_AdvancedOnly)};
|
|
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) {
|
|
displayName = CSTRING(autoShutOffEngineWhenStartingRepair_name);
|
|
description = CSTRING(autoShutOffEngineWhenStartingRepair_description);
|
|
typeName = "BOOL";
|
|
value = 0;
|
|
category = ECSTRING(OptionsMenu,CategoryLogistics);
|
|
};
|
|
};
|