ACE3/addons/repair/ACE_Settings.hpp

43 lines
1.7 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";
isClientSetable = 1;
value = 1;
};
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-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-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";
2015-08-09 15:23:32 +00:00
value = 0.3;
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;
};
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-04-21 11:17:09 +00:00
};