Consolidate transfusion scripts

Consolidated transfusion and transfusion_noBloodTypes to one script.

Selfbloodbag.sqf will never run if DZE_selftransfuse = false; because
the right click action is hidden.

Total blood quantity is now added in 1/4 increments during self bloodbag
as intended instead of all at once.
This commit is contained in:
ebaydayz
2016-09-13 15:02:16 -04:00
parent a8e5aba517
commit e85f6ad1b5
6 changed files with 17 additions and 77 deletions

View File

@@ -81,6 +81,8 @@ if (_BBneeded) then {
};
};
if (dayz_classicBloodBagSystem) then {_wholeBag = false; _badBag = false;};
call fnc_usec_medic_removeActions;
r_action = false;
@@ -123,6 +125,7 @@ while {r_doLoop} do {
};
} else {
_bagToRemove = if (_wholeBag) then { _bloodBagWholeNeeded } else { _bbselect };
if (dayz_classicBloodBagSystem) then {_bagToRemove = "ItemBloodbag";};
if (_bagToRemove in magazines player) then {
_bagFound = true;
};