Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Surgery - Add Ultrasound Airway Condition #715

Open
wants to merge 2 commits into
base: dev-Tomcat
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions addons/surgery/functions/fnc_ultraAssessmentLocal.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ private _thorasic = LSTRING(Ultra_Airway_Normal);

_patient setVariable [QGVAR(imaging), true, true];

if ((_unit getVariable [QEGVAR(airway,occluded), false]) || (_unit getVariable [QEGVAR(airway,obstruction), false])) then {
_airway = LSTRING(Ultra_Airway_Compromise);
};

//Reads Thorasic Condition
if ((_patient getVariable [QEGVAR(breathing,pneumothorax), 0]) != 0) then {
_thorasic = LSTRING(Ultra_Thorasic_PTX);
Expand Down
3 changes: 3 additions & 0 deletions addons/surgery/stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,9 @@
<German>Normal</German>
<Chinesesimp>正常</Chinesesimp>
</Key>
<Key ID="STR_KAT_Surgery_Ultra_Airway_Compromise">
<English>Compromised</English>
</Key>
<Key ID="STR_KAT_Surgery_Ultra_Airway_NoActivity">
<English>No Activity</English>
<Japanese>活動なし</Japanese>
Expand Down
Loading