mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-04-18 10:16:39 +03:00
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:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user