Skip to content

Commit

Permalink
Fixed conditional logic in Stitched Requirement check. MP test comple…
Browse files Browse the repository at this point in the history
…ted successfully.

Added Bandage Reopening Chance Modifier

Added Wound Reopen Chance Addon Setting

Fixed dumb error in localization setup

Credit!

Resolved issue with Addon Settings definition & removed testing values.

PR Feedback #1

- Removed unnecessary whitespace on LN 46
- Call global var directly at LN 87
- Updated Wound Reopen Chance localized name & description

PR Feedback #2

- Increased reopen coefficient upper limit from 2 to 5.

Changed author credit to reflect GitHub email.

Added option to restrict PAK when patient has untreated fractures.

Changed formatting and global variable.

Credit to @mharis001.

Apply suggestions from code review

Corrected issue with checking array equality.

Update fnc_isInStableCondition.sqf

Merge pull request #1 from dgibso29/pr/7684

Corrected issue with checking array equality.

Updated to directly check for open wounds

Updated default minimum blood value to use a PAK per mharis001's comment

Properly set up minimum blood required to use PAK as a percentage slider

Forgot to include the REQUIRED BOOL to make the MinBloodPak slider a percentage...

Resolved scope issue with checking for unbandaged wounds

Why exitWith when you can break

Update fnc_isInStableCondition.sqf

Update fnc_isInStableCondition.sqf

Merge branch 'master' into pr/7684

Revert "Merge branch 'master' into pr/7684"

This reverts commit 0f46553, reversing
changes made to b30de99.

Update fnc_isInStableCondition.sqf

Update fnc_isInStableCondition.sqf

Update fnc_isInStableCondition.sqf

Updated Required Wound State to PAK to current standard -- Bandaged wounds.

Co-Authored-By: mharis001 <[email protected]>
  • Loading branch information
dgibso29 and mharis001 committed Jul 12, 2022
1 parent 2f9f406 commit 10a3755
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions addons/medical_treatment/stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,20 @@
<French>Activé &amp; peuvent se rouvrir</French>
<Japanese>有効 &amp; 再開放</Japanese>
</Key>
<Key ID="STR_ACE_Medical_Treatment_WoundReopenChance_DisplayName">
<English>Wound Reopening Coefficient</English>
<French>Coefficient de réouverture des plaies</French>
<German>Wundwiederöffnungskoeffizient</German>
<Czech>Koeficient opětovného otevření rány</Czech>
<Russian>Коэффициент повторного открытия раны</Russian>
</Key>
<Key ID="STR_ACE_Medical_Treatment_WoundReopenChance_Description">
<English>Coefficient for controlling the wound reopening chance. The final reopening chance is determined by multiplying this value with the specific reopening chance for the wound type and bandage used.</English>
<French>Coefficient de contrôle des chances de réouverture de la plaie. La chance de réouverture finale est déterminée en multipliant cette valeur par la chance de réouverture spécifique pour le type de plaie et le bandage utilisés.</French>
<German>Koeffizient zur Kontrolle der Wundöffnungswahrscheinlichkeit. Die endgültige Wiedereröffnungschance wird bestimmt, indem dieser Wert mit der spezifischen Wiedereröffnungschance für den verwendeten Wundtyp und Verband multipliziert wird.</German>
<Czech>Koeficient pro řízení šance na opětovné otevření rány. Konečná šance na opětovné otevření se stanoví vynásobením této hodnoty specifickou šancí na opětovné otevření pro použitý typ rány a obvaz.</Czech>
<Russian>Коэффициент контроля вероятности повторного открытия раны. Окончательный шанс повторного открытия определяется путем умножения этого значения на определенный шанс повторного открытия для используемого типа раны и повязки.</Russian>
</Key>
<Key ID="STR_ACE_Medical_Treatment_ClearTraumaAfterBandage_DisplayName">
<English>Clear Trauma After Bandage</English>
<Japanese>治療後に外傷を削除</Japanese>
Expand Down

0 comments on commit 10a3755

Please sign in to comment.