mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-24 09:29:21 +03:00
Humanity changes for killing zeds and more.
[ADDED] +5 humanity for killing zombie, -10 for gutting, +20 for exchanging zombie parts for biomeat.
This commit is contained in:
@@ -78,6 +78,12 @@ if ((_hasKnife or _hasKnifeBlunt) and !_hasHarvested) then {
|
||||
publicVariable "dayzGutBodyZ";
|
||||
};
|
||||
|
||||
// Reduce humanity for gutting zeds
|
||||
_humanity = player getVariable["humanity",0];
|
||||
_humanity = _humanity - 10;
|
||||
player setVariable["humanity",_humanity,true];
|
||||
|
||||
|
||||
_string = format["Successfully Gutted Zombie",_text,_qty];
|
||||
cutText [_string, "PLAIN DOWN"];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user