2019-03-24 05:37:39 +00:00
|
|
|
|
2019-06-03 15:31:46 +00:00
|
|
|
// todo: this setting just disables some treatment options, remove?
|
|
|
|
[
|
|
|
|
QGVAR(advancedDiagnose),
|
|
|
|
"CHECKBOX",
|
|
|
|
[LSTRING(AdvancedDiagnose_DisplayName), LSTRING(AdvancedDiagnose_Description)],
|
|
|
|
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
|
|
|
true,
|
|
|
|
true
|
|
|
|
] call CBA_settings_fnc_init;
|
2019-03-24 05:37:39 +00:00
|
|
|
|
2019-06-03 15:31:46 +00:00
|
|
|
[
|
|
|
|
QGVAR(advancedBandages),
|
|
|
|
"CHECKBOX",
|
|
|
|
[LSTRING(AdvancedBandages_DisplayName), LSTRING(AdvancedBandages_Description)],
|
|
|
|
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
|
|
|
true,
|
|
|
|
true
|
2019-03-24 05:37:39 +00:00
|
|
|
] call CBA_settings_fnc_init;
|
|
|
|
|
2019-06-03 15:31:46 +00:00
|
|
|
// todo: verify that this setting does not require a restart
|
|
|
|
// todo: this setting requires advanced bandages to be enabled, they should be independent
|
|
|
|
[
|
|
|
|
QGVAR(woundReopening),
|
|
|
|
"CHECKBOX",
|
|
|
|
[LSTRING(WoundReopening_DisplayName), LSTRING(WoundReopening_Description)],
|
|
|
|
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
|
|
|
true,
|
|
|
|
true
|
2019-03-24 05:37:39 +00:00
|
|
|
] call CBA_settings_fnc_init;
|
|
|
|
|
|
|
|
[
|
2019-06-03 15:31:46 +00:00
|
|
|
QGVAR(advancedMedication),
|
|
|
|
"CHECKBOX",
|
|
|
|
[LSTRING(AdvancedMedication_DisplayName), LSTRING(AdvancedMedication_Description)],
|
|
|
|
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
|
|
|
true,
|
|
|
|
true
|
2019-03-24 05:37:39 +00:00
|
|
|
] call CBA_settings_fnc_init;
|
|
|
|
|
2019-06-03 15:31:46 +00:00
|
|
|
// todo: should this setting differentiate between medical vehicles and facilities?
|
2019-03-24 05:37:39 +00:00
|
|
|
[
|
2019-06-03 15:31:46 +00:00
|
|
|
QGVAR(locationsBoostTraining),
|
|
|
|
"CHECKBOX",
|
|
|
|
[LSTRING(LocationsBoostTraining_DisplayName), LSTRING(LocationsBoostTraining_Description)],
|
|
|
|
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
|
|
|
false,
|
|
|
|
true
|
2019-03-24 05:37:39 +00:00
|
|
|
] call CBA_settings_fnc_init;
|
|
|
|
|
|
|
|
[
|
2019-06-03 15:31:46 +00:00
|
|
|
QGVAR(allowSelfIV),
|
|
|
|
"LIST",
|
|
|
|
[LSTRING(AllowSelfIV_DisplayName), LSTRING(AllowSelfIV_Description)],
|
|
|
|
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
|
|
|
[[0, 1], [ELSTRING(common,No), ELSTRING(common,Yes)], 0],
|
|
|
|
true
|
2019-03-24 05:37:39 +00:00
|
|
|
] call CBA_settings_fnc_init;
|
|
|
|
|
|
|
|
[
|
2019-06-03 15:31:46 +00:00
|
|
|
QGVAR(allowSharedEquipment),
|
|
|
|
"LIST",
|
|
|
|
[LSTRING(AllowSharedEquipment_DisplayName), LSTRING(AllowSharedEquipment_Description)],
|
|
|
|
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
|
|
|
[[0, 1, 2], [LSTRING(AllowSharedEquipment_PriorityPatient), LSTRING(AllowSharedEquipment_PriorityMedic), ELSTRING(common,No)], 0],
|
|
|
|
true
|
2019-03-24 05:37:39 +00:00
|
|
|
] call CBA_settings_fnc_init;
|
|
|
|
|
|
|
|
[
|
2019-06-03 15:31:46 +00:00
|
|
|
QGVAR(convertItems),
|
|
|
|
"LIST",
|
|
|
|
[LSTRING(ConvertItems_DisplayName), LSTRING(ConvertItems_Description)],
|
|
|
|
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
|
|
|
[[0, 1, 2], [ELSTRING(common,Enabled), LSTRING(ConvertItems_RemoveOnly), ELSTRING(common,Disabled)], 0],
|
|
|
|
true
|
2019-03-24 05:37:39 +00:00
|
|
|
] call CBA_settings_fnc_init;
|
|
|
|
|
|
|
|
[
|
2019-06-03 15:31:46 +00:00
|
|
|
QGVAR(medicEpinephrine),
|
|
|
|
"LIST",
|
|
|
|
[LSTRING(MedicEpinephrine_DisplayName), LSTRING(MedicEpinephrine_Description)],
|
|
|
|
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
|
|
|
[[0, 1, 2], [LSTRING(Anyone), LSTRING(Medics), LSTRING(Doctors)], 0],
|
|
|
|
true
|
2019-03-24 05:37:39 +00:00
|
|
|
] call CBA_settings_fnc_init;
|
|
|
|
|
|
|
|
[
|
2019-06-03 15:31:46 +00:00
|
|
|
QGVAR(locationEpinephrine),
|
|
|
|
"LIST",
|
|
|
|
[LSTRING(LocationEpinephrine_DisplayName), LSTRING(LocationEpinephrine_Description)],
|
|
|
|
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
|
|
|
[[0, 1, 2, 3, 4], [ELSTRING(common,Anywhere), ELSTRING(common,Vehicle), LSTRING(MedicalFacilities), LSTRING(VehiclesAndFacilities), ELSTRING(common,Disabled)], 0],
|
|
|
|
true
|
2019-03-24 05:37:39 +00:00
|
|
|
] call CBA_settings_fnc_init;
|
|
|
|
|
|
|
|
[
|
2019-06-03 15:31:46 +00:00
|
|
|
QGVAR(medicPAK),
|
|
|
|
"LIST",
|
|
|
|
[LSTRING(MedicPAK_DisplayName), LSTRING(MedicPAK_Description)],
|
|
|
|
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
|
|
|
[[0, 1, 2], [LSTRING(Anyone), LSTRING(Medics), LSTRING(Doctors)], 1],
|
|
|
|
true
|
2019-03-24 05:37:39 +00:00
|
|
|
] call CBA_settings_fnc_init;
|
|
|
|
|
|
|
|
[
|
2019-06-03 15:31:46 +00:00
|
|
|
QGVAR(locationPAK),
|
|
|
|
"LIST",
|
|
|
|
[LSTRING(LocationPAK_DisplayName), LSTRING(LocationPAK_Description)],
|
|
|
|
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
|
|
|
[[0, 1, 2, 3, 4], [ELSTRING(common,Anywhere), ELSTRING(common,Vehicle), LSTRING(MedicalFacilities), LSTRING(VehiclesAndFacilities), ELSTRING(common,Disabled)], 3],
|
|
|
|
true
|
2019-03-24 05:37:39 +00:00
|
|
|
] call CBA_settings_fnc_init;
|
|
|
|
|
|
|
|
[
|
2019-06-03 15:31:46 +00:00
|
|
|
QGVAR(consumePAK),
|
|
|
|
"LIST",
|
|
|
|
[LSTRING(ConsumePAK_DisplayName), LSTRING(ConsumePAK_Description)],
|
|
|
|
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
|
|
|
[[0, 1], [ELSTRING(common,No), ELSTRING(common,Yes)], 0],
|
|
|
|
true
|
2019-03-24 05:37:39 +00:00
|
|
|
] call CBA_settings_fnc_init;
|
|
|
|
|
|
|
|
[
|
2019-06-03 15:31:46 +00:00
|
|
|
QGVAR(timeCoefficientPAK),
|
|
|
|
"SLIDER",
|
|
|
|
[LSTRING(TimeCoefficientPAK_DisplayName), LSTRING(TimeCoefficientPAK_Description)],
|
|
|
|
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
|
|
|
[0, 5, 1, 1],
|
|
|
|
true
|
2019-03-24 05:37:39 +00:00
|
|
|
] call CBA_settings_fnc_init;
|
|
|
|
|
|
|
|
[
|
2019-06-03 15:31:46 +00:00
|
|
|
QGVAR(medicSurgicalKit),
|
|
|
|
"LIST",
|
|
|
|
[LSTRING(MedicSurgicalKit_DisplayName), LSTRING(MedicSurgicalKit_Description)],
|
|
|
|
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
|
|
|
[[0, 1, 2], [LSTRING(Anyone), LSTRING(Medics), LSTRING(Doctors)], 1],
|
|
|
|
true
|
2019-03-24 05:37:39 +00:00
|
|
|
] call CBA_settings_fnc_init;
|
|
|
|
|
|
|
|
[
|
2019-06-03 15:31:46 +00:00
|
|
|
QGVAR(locationSurgicalKit),
|
|
|
|
"LIST",
|
|
|
|
[LSTRING(LocationSurgicalKit_DisplayName), LSTRING(LocationSurgicalKit_Description)],
|
|
|
|
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
|
|
|
[[0, 1, 2, 3, 4], [ELSTRING(common,Anywhere), ELSTRING(common,Vehicle), LSTRING(MedicalFacilities), LSTRING(VehiclesAndFacilities), ELSTRING(common,Disabled)], 2],
|
|
|
|
true
|
2019-03-24 05:37:39 +00:00
|
|
|
] call CBA_settings_fnc_init;
|
|
|
|
|
|
|
|
[
|
2019-06-03 15:31:46 +00:00
|
|
|
QGVAR(consumeSurgicalKit),
|
|
|
|
"LIST",
|
|
|
|
[LSTRING(ConsumeSurgicalKit_DisplayName), LSTRING(ConsumeSurgicalKit_Description)],
|
|
|
|
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
|
|
|
[[0, 1], [ELSTRING(common,No), ELSTRING(common,Yes)], 0],
|
|
|
|
true
|
2019-03-24 05:37:39 +00:00
|
|
|
] call CBA_settings_fnc_init;
|
|
|
|
|
2019-06-28 00:01:20 +00:00
|
|
|
[
|
|
|
|
QGVAR(cprSuccessChance),
|
|
|
|
"SLIDER",
|
|
|
|
[LSTRING(cprSuccessChance_DisplayName), LSTRING(cprSuccessChance_Description)],
|
|
|
|
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
|
|
|
[0, 1, 0.4, 2],
|
|
|
|
true
|
|
|
|
] call CBA_settings_fnc_init;
|
|
|
|
|
2019-03-24 05:37:39 +00:00
|
|
|
[
|
2019-06-03 15:31:46 +00:00
|
|
|
QGVAR(allowLitterCreation),
|
|
|
|
"CHECKBOX",
|
|
|
|
[LSTRING(AllowLitterCreation_DisplayName), LSTRING(AllowLitterCreation_Description)],
|
|
|
|
[ELSTRING(medical,Category), LSTRING(SubCategory_Litter)],
|
|
|
|
true,
|
|
|
|
true
|
2019-03-24 05:37:39 +00:00
|
|
|
] call CBA_settings_fnc_init;
|
|
|
|
|
|
|
|
[
|
2019-06-03 15:31:46 +00:00
|
|
|
QGVAR(maxLitterObjects),
|
|
|
|
"LIST",
|
|
|
|
[LSTRING(MaxLitterObjects_DisplayName), LSTRING(MaxLitterObjects_Description)],
|
|
|
|
[ELSTRING(medical,Category), LSTRING(SubCategory_Litter)],
|
|
|
|
[[50, 100, 200, 300, 400, 500, 1000, 2000, 3000, 4000, 5000], [/* settings function will auto create names */], 5],
|
|
|
|
true
|
2019-03-24 05:37:39 +00:00
|
|
|
] call CBA_settings_fnc_init;
|
|
|
|
|
|
|
|
[
|
2019-06-03 15:31:46 +00:00
|
|
|
QGVAR(litterCleanupDelay),
|
|
|
|
"SLIDER",
|
|
|
|
[LSTRING(LitterCleanupDelay_DisplayName), LSTRING(LitterCleanupDelay_Description)],
|
|
|
|
[ELSTRING(medical,Category), LSTRING(SubCategory_Litter)],
|
|
|
|
[-1, 3600, 600, 0],
|
|
|
|
true
|
2019-03-24 05:37:39 +00:00
|
|
|
] call CBA_settings_fnc_init;
|