mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add self stitching setting (#7134)
This commit is contained in:
parent
187bd6f698
commit
df8814e344
@ -287,7 +287,7 @@ class GVAR(actions) {
|
||||
category = "advanced";
|
||||
items[] = {"ACE_surgicalKit"};
|
||||
treatmentLocations = QGVAR(locationSurgicalKit);
|
||||
allowSelfTreatment = 0;
|
||||
allowSelfTreatment = QGVAR(allowSelfStitch);
|
||||
medicRequired = QGVAR(medicSurgicalKit);
|
||||
treatmentTime = QFUNC(getStitchTime);
|
||||
condition = QFUNC(canStitch);
|
||||
|
@ -156,6 +156,15 @@
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
|
||||
[
|
||||
QGVAR(allowSelfStitch),
|
||||
"LIST",
|
||||
[LSTRING(AllowSelfStitch_DisplayName), LSTRING(AllowSelfStitch_Description)],
|
||||
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
|
||||
[[0, 1], [ELSTRING(common,No), ELSTRING(common,Yes)], 0],
|
||||
true
|
||||
] call CBA_settings_fnc_init;
|
||||
|
||||
[
|
||||
QGVAR(cprSuccessChance),
|
||||
"SLIDER",
|
||||
|
@ -215,6 +215,14 @@
|
||||
<English>Controls whether a Surgical Kit should be consumed after use.</English>
|
||||
<Japanese>縫合キットの使用後に消費するかどうかを決定します。</Japanese>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Medical_Treatment_AllowSelfStitch_DisplayName">
|
||||
<English>Self Stitching</English>
|
||||
<French>Suturer soi-même</French>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Medical_Treatment_AllowSelfStitch_Description">
|
||||
<English>Enables the use of surgical kits to stitch oneself.</English>
|
||||
<French>Autorise l'utilisation de la trousse chirugical sur soi-même</French>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Medical_Treatment_ConvertItems_DisplayName">
|
||||
<English>Convert Vanilla Items</English>
|
||||
<German>Standard Arma-Equipment in ACE-Items umwandeln</German>
|
||||
|
Loading…
Reference in New Issue
Block a user