This commit is contained in:
vbawol
2013-01-23 23:40:41 -06:00
parent 7e3ff79065
commit f312b895a8
15 changed files with 298 additions and 169 deletions

View File

@@ -11,7 +11,12 @@ if (vehicle player != player) exitWith {cutText ["You may not eat while in a veh
_item = _this;
_hasfooditem = _this in magazines player;
_rndInfection = (random 15);
if (_item == "FoodBioMeat") then {
_rndInfection = (random 7);
} else {
_rndInfection = (random 15);
};
_EatInfection = (_rndInfection < 1);
_config = configFile >> "CfgMagazines" >> _item;