mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #2543 from alef/feature/death_short_diagnose
Remove: pain diagnosis on dead patients
This commit is contained in:
commit
58ea8d5e2c
@ -35,10 +35,12 @@ if (_target getvariable[QGVAR(hasLostBlood), 0] > 0) then {
|
||||
_genericMessages pushback LSTRING(noBloodloss);
|
||||
};
|
||||
|
||||
if (_target getvariable[QGVAR(hasPain), false]) then {
|
||||
_genericMessages pushback LSTRING(inPain);
|
||||
} else {
|
||||
_genericMessages pushback LSTRING(noPain);
|
||||
if (alive _target) then {
|
||||
if (_target getvariable[QGVAR(hasPain), false]) then {
|
||||
_genericMessages pushback LSTRING(inPain);
|
||||
} else {
|
||||
_genericMessages pushback LSTRING(noPain);
|
||||
};
|
||||
};
|
||||
|
||||
["displayTextStructured", [_caller], [_genericMessages, 3.0, _caller]] call EFUNC(common,targetEvent);
|
||||
|
Loading…
Reference in New Issue
Block a user