Medical Treatment - Add self PAK setting (#7382)

This commit is contained in:
mharis001 2020-01-04 07:42:51 -05:00 committed by SilentSpike
parent e00cb53911
commit 62fccd6ff0
3 changed files with 22 additions and 6 deletions

View File

@ -298,6 +298,7 @@ class GVAR(actions) {
condition = QUOTE(_patient call EFUNC(medical_status,isInStableCondition));
items[] = {"ACE_personalAidKit"};
treatmentLocations = QGVAR(locationPAK);
allowSelfTreatment = QGVAR(allowSelfPAK);
medicRequired = QGVAR(medicPAK);
treatmentTime = QFUNC(getHealTime);
callbackSuccess = QFUNC(fullHeal);

View File

@ -118,6 +118,15 @@
true
] call CBA_settings_fnc_init;
[
QGVAR(allowSelfPAK),
"LIST",
[LSTRING(AllowSelfPAK_DisplayName), LSTRING(AllowSelfPAK_Description)],
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
[[0, 1], [ELSTRING(common,No), ELSTRING(common,Yes)], 0],
true
] call CBA_settings_fnc_init;
[
QGVAR(timeCoefficientPAK),
"SLIDER",

View File

@ -195,7 +195,7 @@
<Chinese>允許使用腎上腺素</Chinese>
</Key>
<Key ID="STR_ACE_Medical_Treatment_MedicEpinephrine_Description">
<English>Training level required to use Epinephrine.</English>
<English>Training level required to use epinephrine.</English>
<Japanese>アドレナリンの使用に訓練レベルを必要とさせます。</Japanese>
<French>Définit quelle qualification médicale est requise pour pouvoir utiliser l'épinéphrine.</French>
<Russian>Уровень подготовки, необходимый для использования Адреналина.</Russian>
@ -220,7 +220,7 @@
<Chinese>腎上腺素使用地點</Chinese>
</Key>
<Key ID="STR_ACE_Medical_Treatment_LocationEpinephrine_Description">
<English>Controls where Epinephrine can be used.</English>
<English>Controls where epinephrine can be used.</English>
<Japanese>アドレナリンが使える場所を決定します。</Japanese>
<French>Définit où l'épinéphrine peut être utilisée.</French>
<Russian>Контролирует, где можно использовать Адреналин.</Russian>
@ -301,6 +301,12 @@
<Italian>Controlla se un PAK deve essere consumato dopo l'uso.</Italian>
<Czech>Nastavuje zda má být osobní lékárnička (PAK) spotřebována po použití.</Czech>
</Key>
<Key ID="STR_ACE_Medical_Treatment_AllowSelfPAK_DisplayName">
<English>Self PAK Usage</English>
</Key>
<Key ID="STR_ACE_Medical_Treatment_AllowSelfPAK_Description">
<English>Enables the use of PAKs to heal oneself.</English>
</Key>
<Key ID="STR_ACE_Medical_Treatment_TimeCoefficientPAK_DisplayName">
<English>Time Coefficient PAK</English>
<Japanese>応急処置キットの時間係数</Japanese>
@ -332,7 +338,7 @@
<Czech>Povolit sešívací sadu</Czech>
</Key>
<Key ID="STR_ACE_Medical_Treatment_MedicSurgicalKit_Description">
<English>Training level required to use a Surgical Kit.</English>
<English>Training level required to use a surgical kit.</English>
<Japanese>縫合キットの使用に訓練レベルを必要とさせます。</Japanese>
<French>Définit quelle qualification médicale est requise pour pouvoir utiliser une trousse chirurgicale.</French>
<Russian>Уровень медицинской подготовки, необходимый для использования Хирургического набора.</Russian>
@ -352,7 +358,7 @@
<Czech>Nastavuje kde může být sešívací sada použita</Czech>
</Key>
<Key ID="STR_ACE_Medical_Treatment_LocationSurgicalKit_Description">
<English>Controls where a Surgical Kit can be used.</English>
<English>Controls where a surgical kit can be used.</English>
<Japanese>縫合キットが使える場所を決定します。</Japanese>
<French>Définit où la trousse chirurgicale peut être utilisée.</French>
<Russian>Контролирует, где можно использовать Хирургический набор</Russian>
@ -372,7 +378,7 @@
<Czech>Spotřebuj sešívací sadu</Czech>
</Key>
<Key ID="STR_ACE_Medical_Treatment_ConsumeSurgicalKit_Description">
<English>Controls whether a Surgical Kit should be consumed after use.</English>
<English>Controls whether a surgical kit should be consumed after use.</English>
<Japanese>縫合キットの使用後に消費するかどうかを決定します。</Japanese>
<French>Définit si la trousse chirurgicale doit être à usage unique.</French>
<Russian>Контролирует, следует ли израсходовать Хирургический набор после использования.</Russian>
@ -410,7 +416,7 @@
<Czech>Samoaplikace IV transfuze</Czech>
</Key>
<Key ID="STR_ACE_Medical_Treatment_AllowSelfIV_Description">
<English>Enables the use of IV Transfusions on oneself.</English>
<English>Enables the use of IV transfusions on oneself.</English>
<German>Erlaube Bluttransfusionen an sich selbst zu benutzen</German>
<Russian>Позволяет использовать внутривенные переливания на себе</Russian>
<Japanese>自らに対して IV 輸血を可能にします。</Japanese>