ACE3/addons/medical/ACE_Settings.hpp
SilentSpike 9e5c4a7ed9
Move medical settings into their respective components (#6493)
* Transfer medical AI to CBA setting
* Neuter the old settings module

I've left the entry in CfgVehicles so that it doesn't cause errors on
older missions, but it's just a dumb logic now and does nothing.

* Remove medic setting
* Move increaseTraining setting
* Move fnc_adjustPainlevel to medical_status
* Move pain and bleed coefficients to medical_status
* Move advanced bandages to medical_treatment
* Move advanced medication to medical_treatment
* Move advanced diagnose to medical_treatment
* Move wound reopening and screams settings
* Move damage threshold settings
* Move showPain setting
* Move statemachine settings
* Move pain visualisation setting
* Move all treatment usage settings
* Move self IV setting
* Move remaining settings
* Sort treatment setting string categories
2018-08-06 17:08:43 +01:00

30 lines
1.0 KiB
C++

class ACE_Settings {
/* @todo
class GVAR(enableFor) {
category = CSTRING(Category_Medical);
displayName = CSTRING(MedicalSettings_enableFor_DisplayName);
description = CSTRING(MedicalSettings_enableFor_Description);
value = 1;
typeName = "SCALAR";
values[] = {"Players only", "Players and AI"};
};
*/
/* @todo
class GVAR(enableVehicleCrashes) {
category = CSTRING(Category_Medical);
displayName = CSTRING(MedicalSettings_enableVehicleCrashes_DisplayName);
description = CSTRING(MedicalSettings_enableVehicleCrashes_Description);
typeName = "BOOL";
value = 1;
};
*/
class GVAR(spontaneousWakeUpChance) {
category = CSTRING(Category_Medical);
displayName = CSTRING(MedicalSettings_spontaneousWakeUpChance_DisplayName);
description = CSTRING(MedicalSettings_spontaneousWakeUpChance_Description);
typeName = "SCALAR";
value = 0.05;
sliderSettings[] = {0, 1, 0.05, 2};
};
};