mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Added new setting 'advancedDiagnose'
* Which allows to choose between the old basic- and advanced diagnose actions
This commit is contained in:
parent
0de405fe2a
commit
91cbc0e4d4
@ -52,6 +52,13 @@ class ACE_Settings {
|
||||
typeName = "BOOL";
|
||||
value = 1;
|
||||
};
|
||||
class GVAR(advancedDiagnose) {
|
||||
category = CSTRING(Category_Medical);
|
||||
displayName = CSTRING(AdvancedMedicalSettings_advancedDiagnose_DisplayName);
|
||||
description = CSTRING(AdvancedMedicalSettings_advancedDiagnose_Description);
|
||||
typeName = "BOOL";
|
||||
value = 1;
|
||||
};
|
||||
class GVAR(woundReopening) {
|
||||
category = CSTRING(Category_Medical);
|
||||
displayName = CSTRING(AdvancedMedicalSettings_enableAdvancedWounds_DisplayName);
|
||||
|
@ -2904,6 +2904,12 @@
|
||||
<Key ID="STR_ACE_Medical_MedicalSettings_advancedMedication_Description">
|
||||
<English>Enable advanced medication</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Medical_MedicalSettings_advancedDiagnose_DisplayName">
|
||||
<English>Advanced Diagnose</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Medical_MedicalSettings_advancedDiagnose_Description">
|
||||
<English>Enable advanced diagnose</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Medical_MedicalSettings_Module_Description">
|
||||
<English>Provides a medical system for both players and AI.</English>
|
||||
<Russian>Включает медицинскую систему как для игроков, так и для ботов.</Russian>
|
||||
|
@ -187,7 +187,7 @@ class GVAR(Actions) {
|
||||
requiredMedic = 0;
|
||||
treatmentTime = 2.5;
|
||||
items[] = {};
|
||||
condition = "";
|
||||
condition = QUOTE(!EGVAR(medical,advancedDiagnose));
|
||||
callbackSuccess = QFUNC(actionDiagnose);
|
||||
callbackFailure = "";
|
||||
callbackProgress = "";
|
||||
@ -200,6 +200,7 @@ class GVAR(Actions) {
|
||||
displayName = ECSTRING(medical,Actions_CheckPulse);
|
||||
displayNameProgress = ECSTRING(medical,Check_Pulse_Content);
|
||||
allowedSelections[] = {"All"};
|
||||
condition = QEGVAR(medical,advancedDiagnose);
|
||||
callbackSuccess = QFUNC(actionCheckPulse);
|
||||
animationCallerProne = "";
|
||||
animationCallerSelfProne = "";
|
||||
|
Loading…
Reference in New Issue
Block a user