mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-20 15:12:56 +03:00
0.7 + 1.7.5.M1D19
This commit is contained in:
@@ -4,29 +4,11 @@ _qty = _this select 1;
|
||||
_type = typeOf _item;
|
||||
_meat = 0;
|
||||
_loop = true;
|
||||
_rawfoodtype = configFile >> "CfgSurvival" >> "Meat" >> _type >> "rawfoodtype";
|
||||
|
||||
if (local _item) then {
|
||||
for "_x" from 1 to _qty do {
|
||||
diag_log ("Item Type: " +str(_item));
|
||||
switch (_type) do {
|
||||
case "Cow": {
|
||||
_item addMagazine "FoodSteakRaw";
|
||||
};
|
||||
case "Goat": {
|
||||
_item addMagazine "FoodSteakRaw";
|
||||
};
|
||||
case "Sheep": {
|
||||
_item addMagazine "FoodSteakRaw";
|
||||
};
|
||||
case "WildBoar": {
|
||||
_item addMagazine "FoodboarRaw";
|
||||
};
|
||||
case "hen": {
|
||||
_item addMagazine "FoodSteakRaw";
|
||||
};
|
||||
case "Rabbit": {
|
||||
_item addMagazine "FoodSteakRaw";
|
||||
};
|
||||
};
|
||||
_item addMagazine _rawfoodtype;
|
||||
};
|
||||
sleep 2;
|
||||
_timer = time;
|
||||
|
||||
Reference in New Issue
Block a user