Medical Statemachine - Add setting to disallow bleedout in cardiac arrest (#7547)

* Add setting to disable bleedout in cardiac arrest

* Improve setting name and description
This commit is contained in:
BaerMitUmlaut 2020-11-08 23:24:44 +01:00 committed by GitHub
parent 119450f4e9
commit 0e642758d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 1 deletions

View File

@ -103,6 +103,7 @@ class ACE_Medical_StateMachine {
};
class Bleedout {
targetState = "Dead";
condition = QGVAR(cardiacArrestBleedoutEnabled);
events[] = {QEGVAR(medical,Bleedout)};
};
};

View File

@ -41,3 +41,12 @@
[1, 3600, 300],
true
] call CBA_settings_fnc_init;
[
QGVAR(cardiacArrestBleedoutEnabled),
"CHECKBOX",
[LSTRING(CardiacArrestBleedout_DisplayName), LSTRING(CardiacArrestBleedout_Description)],
[ELSTRING(medical,Category), LSTRING(SubCategory)],
true,
true
] call CBA_settings_fnc_init;

View File

@ -98,7 +98,7 @@
</Key>
<Key ID="STR_ACE_Medical_Statemachine_CardiacArrestTime_DisplayName">
<English>Cardiac Arrest Time</English>
<German>Zeit bis zum Herzstillstand</German>
<German>Überlebenszeit im Herzstillstand</German>
<Japanese>心停止時間</Japanese>
<Russian>Длительность остановки сердца</Russian>
<French>Durée de l'arrêt cardiaque</French>
@ -119,6 +119,7 @@
<Italian>Controlla quanto tempo ci vuole per morire di arresto cardiaco.</Italian>
<Czech>Nastavuje po jak dlouhé době pacient zemře kvůli srdeční zástavě.</Czech>
<Polish>Definiuje czas potrzebny na śmierć z powodu zatrzymania akcji serca.</Polish>
<German>Bestimmt die Dauer bis zum Tod durch Herzstillstand.</German>
<Turkish>Ne kadar süre de kalbi durarak ölmesini belirleyin.</Turkish>
</Key>
<Key ID="STR_ACE_Medical_Statemachine_InCardiacArrest">
@ -134,5 +135,13 @@
<Polish>Zatrzymanie Akcji Serca</Polish>
<Turkish>Kalbi Durdu</Turkish>
</Key>
<Key ID="STR_ACE_Medical_Statemachine_CardiacArrestBleedout_DisplayName">
<English>Bleedout During Cardiac Arrest</English>
<German>Ausbluten im Herzstillstand</German>
</Key>
<Key ID="STR_ACE_Medical_Statemachine_CardiacArrestBleedout_Description">
<English>Controls whether a person can die in cardiac arrest by blood loss before the cardiac arrest time runs out.</English>
<German>Legt fest, ob man während des Herzstillstands durch Blutverlust sterben kann, auch wenn die Überlebenszeit im Herzstillstand noch nicht ausgelaufen ist.</German>
</Key>
</Package>
</Project>