Merge pull request #7473 from diwako/allow_blood_for_none_medics

Medical - Add setting for medic level to transfuse IVs
This commit is contained in:
commy2 2020-01-19 17:32:30 +01:00 committed by GitHub
commit 798df92f2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 1 deletions

View File

@ -147,7 +147,7 @@ class GVAR(actions) {
allowedSelections[] = {"LeftArm", "RightArm", "LeftLeg", "RightLeg"};
allowSelfTreatment = QGVAR(allowSelfIV);
category = "advanced";
medicRequired = 1;
medicRequired = QGVAR(medicIV);
treatmentTime = 12;
items[] = {"ACE_bloodIV"};
condition = "";

View File

@ -172,6 +172,15 @@
true
] call CBA_settings_fnc_init;
[
QGVAR(medicIV),
"LIST",
[LSTRING(MedicIV_DisplayName), LSTRING(MedicIV_Description)],
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
[[0, 1, 2], [LSTRING(Anyone), LSTRING(Medics), LSTRING(Doctors)], 1],
true
] call CBA_settings_fnc_init;
[
QGVAR(allowSelfIV),
"LIST",

View File

@ -507,6 +507,18 @@
<Polish>Pozwala przetoczyć płyny IV samemu sobie</Polish>
<Italian>Abilita la trasfusione in endovena su se stessi.</Italian>
</Key>
<Key ID="STR_ACE_Medical_Treatment_MedicIV_DisplayName">
<English>Allow IV Transfusion</English>
<German>Erlaube Bluttransfusionen</German>
<Polish>Zezwalaj na przetaczanie płynów IV</Polish>
<French>Pose de perfusion autorisée pour</French>
</Key>
<Key ID="STR_ACE_Medical_Treatment_MedicIV_Description">
<English>Training level required to transfuse IVs.</English>
<German>'Fähigkeiten-Level', das benötigt wird, um Blut zu transfundieren.</German>
<Polish>Poziom wyszkolenia potrzebny aby móc przetaczać płyny IV.</Polish>
<French>Définit quelle qualification médicale est requise pour pouvoir poser des perfusions intraveineuses.</French>
</Key>
<Key ID="STR_ACE_Medical_Treatment_ConvertItems_DisplayName">
<English>Convert Vanilla Items</English>
<German>Standard Arma-Equipment in ACE-Items umwandeln</German>