Add optional self transfuse

Right click on blood bag, if enable it will show the self transfuse
button.
Currently replenishes all blood.
May be used once every 5 minutes.
This commit is contained in:
icomrade
2014-03-19 18:03:11 -04:00
parent 1d9e361ef4
commit 22bfba6573
9 changed files with 94 additions and 17 deletions

View File

@@ -436,7 +436,11 @@ dayz_spawnArea = 200; // radius around player where we can spawn loot & Z
dayz_cantseeDist = 150; // distance from which we can spawn a Z in front of any player without ray-tracing and angle checks
dayz_cantseefov = 70; // half player field-of-view. Visible Z won't be spawned in front of any near players
dayz_canDelete = 300; // Z, further than this distance from its "owner", will be deleted
selfTransfusionTime = -300; //time to keep for last self transfusion.
if(isNil "DZE_SelfTransfuse") then {
DZE_SelfTransfuse = false;
};
if(isNil "dayz_maxAnimals") then {
dayz_maxAnimals = 5;
};