mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Medical GUI - Display IV Type (#9817)
Co-authored-by: MisczczuZPolski <71414303+MiszczuZPolski@users.noreply.github.com> Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
This commit is contained in:
parent
22deb3af79
commit
fd22ff04c5
@ -70,13 +70,35 @@ if (GVAR(showBloodlossEntry)) then {
|
||||
};
|
||||
// Show receiving IV volume remaining
|
||||
private _totalIvVolume = 0;
|
||||
private _saline = 0;
|
||||
private _blood = 0;
|
||||
private _plasma = 0;
|
||||
{
|
||||
_x params ["_volumeRemaining"];
|
||||
_x params ["_volumeRemaining", "_type"];
|
||||
switch (_type) do {
|
||||
case "Saline": {
|
||||
_saline = _saline + _volumeRemaining;
|
||||
};
|
||||
case "Blood": {
|
||||
_blood = _blood + _volumeRemaining;
|
||||
};
|
||||
case "Plasma": {
|
||||
_plasma = _plasma + _volumeRemaining;
|
||||
};
|
||||
};
|
||||
_totalIvVolume = _totalIvVolume + _volumeRemaining;
|
||||
} forEach (_target getVariable [QEGVAR(medical,ivBags), []]);
|
||||
|
||||
if (_totalIvVolume >= 1) then {
|
||||
_entries pushBack [format [localize ELSTRING(medical_treatment,receivingIvVolume), floor _totalIvVolume], [1, 1, 1, 1]];
|
||||
if (_totalIvVolume > 0) then {
|
||||
if (_saline > 0) then {
|
||||
_entries pushBack [format [localize ELSTRING(medical_treatment,receivingSalineIvVolume), floor _saline], [1, 1, 1, 1]];
|
||||
};
|
||||
if (_blood > 0) then {
|
||||
_entries pushBack [format [localize ELSTRING(medical_treatment,receivingBloodIvVolume), floor _blood], [1, 1, 1, 1]];
|
||||
};
|
||||
if (_plasma > 0) then {
|
||||
_entries pushBack [format [localize ELSTRING(medical_treatment,receivingPlasmaIvVolume), floor _plasma], [1, 1, 1, 1]];
|
||||
};
|
||||
} else {
|
||||
_entries pushBack [localize ELSTRING(medical_treatment,Status_NoIv), _nonissueColor];
|
||||
};
|
||||
|
@ -3570,21 +3570,53 @@
|
||||
<Chinese>軍用止血帶</Chinese>
|
||||
<Turkish>Turnike [CAT]</Turkish>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Medical_Treatment_receivingIvVolume">
|
||||
<English>Receiving IV [%1ml]</English>
|
||||
<German>Erhalte IV [%1ml]</German>
|
||||
<Spanish>Recibiendo IV [%1ml]</Spanish>
|
||||
<Russian>Принимается переливание [%1 мл]</Russian>
|
||||
<Polish>Otrzymywanie IV [pozostało %1ml]</Polish>
|
||||
<French>Transfusion : [%1 ml]</French>
|
||||
<Czech>Přijímání transfúze [%1ml]</Czech>
|
||||
<Hungarian>Infúzióra kötve [%1ml]</Hungarian>
|
||||
<Italian>Ricevendo EV [%1ml]</Italian>
|
||||
<Portuguese>Recebendo IV [%1ml]</Portuguese>
|
||||
<Japanese>IV [%1ml] を投与中</Japanese>
|
||||
<Korean>IV로 [%1ml] 수혈중</Korean>
|
||||
<Chinesesimp>正在接受静脉注射 [%1毫升]</Chinesesimp>
|
||||
<Chinese>接收靜脈注射液中 [%1毫升]</Chinese>
|
||||
<Key ID="STR_ACE_Medical_Treatment_receivingSalineIvVolume">
|
||||
<English>Receiving Saline IV [%1ml]</English>
|
||||
<German>Erhalte Saline IV [%1ml]</German>
|
||||
<Spanish>Recibiendo Salina IV [%1ml]</Spanish>
|
||||
<Russian>Принимается солевой раствор IV [%1 мл]</Russian>
|
||||
<Polish>Otrzymywanie soli IV [%1ml]</Polish>
|
||||
<French>Transfusion de sérum salé : [%1 ml]</French>
|
||||
<Czech>Přijímání soli IV [%1ml]</Czech>
|
||||
<Hungarian>Saline Infúzióra kötve [%1ml]</Hungarian>
|
||||
<Italian>Ricevendo Salina EV [%1ml]</Italian>
|
||||
<Portuguese>Recebendo Salina IV [%1ml]</Portuguese>
|
||||
<Japanese>生理食塩水 IV [%1ml] を投与中</Japanese>
|
||||
<Korean>생리식염수 IV로 [%1ml] 수혈중</Korean>
|
||||
<Chinesesimp>正在接受生理盐水静脉注射 [%1毫升]</Chinesesimp>
|
||||
<Chinese>接收生理鹽水靜脈注射液中 [%1毫升]</Chinese>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Medical_Treatment_receivingBloodIvVolume">
|
||||
<English>Receiving Blood IV [%1ml]</English>
|
||||
<German>Erhalte Blut IV [%1ml]</German>
|
||||
<Spanish>Recibiendo Sangre IV [%1ml]</Spanish>
|
||||
<Russian>Принимается кровь IV [%1 мл]</Russian>
|
||||
<Polish>Otrzymywanie krwi IV [%1ml]</Polish>
|
||||
<French>Transfusion de sang : [%1 ml]</French>
|
||||
<Czech>Přijímání krve IV [%1ml]</Czech>
|
||||
<Hungarian>Vér Infúzióra kötve [%1ml]</Hungarian>
|
||||
<Italian>Ricevendo Sangue EV [%1ml]</Italian>
|
||||
<Portuguese>Recebendo Sangue IV [%1ml]</Portuguese>
|
||||
<Japanese>血液 IV [%1ml] を投与中</Japanese>
|
||||
<Korean>혈액 IV로 [%1ml] 수혈중</Korean>
|
||||
<Chinesesimp>正在接受血液静脉注射 [%1毫升]</Chinesesimp>
|
||||
<Chinese>接收血液靜脈注射液中 [%1毫升]</Chinese>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Medical_Treatment_receivingPlasmaIvVolume">
|
||||
<English>Receiving Plasma IV [%1ml]</English>
|
||||
<German>Erhalte Plasma IV [%1ml]</German>
|
||||
<Spanish>Recibiendo Plasma IV [%1ml]</Spanish>
|
||||
<Russian>Принимается плазма IV [%1 мл]</Russian>
|
||||
<Polish>Otrzymywanie plazmy IV [%1ml]</Polish>
|
||||
<French>Transfusion de plasma : [%1 ml]</French>
|
||||
<Czech>Přijímání plazmy IV [%1ml]</Czech>
|
||||
<Hungarian>Plazma Infúzióra kötve [%1ml]</Hungarian>
|
||||
<Italian>Ricevendo Plasma EV [%1ml]</Italian>
|
||||
<Portuguese>Recebendo Plasma IV [%1ml]</Portuguese>
|
||||
<Japanese>プラズマ IV [%1ml] を投与中</Japanese>
|
||||
<Korean>혈장 IV로 [%1ml] 수혈중</Korean>
|
||||
<Chinesesimp>正在接受血浆静脉注射 [%1毫升]</Chinesesimp>
|
||||
<Chinese>接收血漿靜脈注射液中 [%1毫升]</Chinese>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Medical_Treatment_Status_NoIv">
|
||||
<English>No IV</English>
|
||||
|
Loading…
Reference in New Issue
Block a user