mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-04 15:22:53 +03:00
replace tent class
This commit is contained in:
@@ -703,6 +703,7 @@ class FSM
|
|||||||
" _countr = 0;" \n
|
" _countr = 0;" \n
|
||||||
" {" \n
|
" {" \n
|
||||||
" if (_x == ""BoltSteel"") then { _x = ""WoodenArrow"" }; // Convert BoltSteel to WoodenArrow" \n
|
" if (_x == ""BoltSteel"") then { _x = ""WoodenArrow"" }; // Convert BoltSteel to WoodenArrow" \n
|
||||||
|
" if (_x == ""ItemTent"") then { _x = ""ItemTentOld"" };" \n
|
||||||
" dayz_myBackpack addMagazineCargoGlobal [_x,(_backpackMagQty select _countr)];" \n
|
" dayz_myBackpack addMagazineCargoGlobal [_x,(_backpackMagQty select _countr)];" \n
|
||||||
" _countr = _countr + 1;" \n
|
" _countr = _countr + 1;" \n
|
||||||
" } forEach _backpackMagTypes;" \n
|
" } forEach _backpackMagTypes;" \n
|
||||||
|
|||||||
@@ -207,6 +207,7 @@ if (isServer and isNil "sm_done") then {
|
|||||||
_countr = 0;
|
_countr = 0;
|
||||||
{
|
{
|
||||||
if (_x == "BoltSteel") then { _x = "WoodenArrow" }; // Convert BoltSteel to WoodenArrow
|
if (_x == "BoltSteel") then { _x = "WoodenArrow" }; // Convert BoltSteel to WoodenArrow
|
||||||
|
if (_x == "ItemTent") then { _x = "ItemTentOld" };
|
||||||
_isOK = isClass(configFile >> "CfgMagazines" >> _x);
|
_isOK = isClass(configFile >> "CfgMagazines" >> _x);
|
||||||
if (_isOK) then {
|
if (_isOK) then {
|
||||||
_block = getNumber(configFile >> "CfgMagazines" >> _x >> "stopThis") == 1;
|
_block = getNumber(configFile >> "CfgMagazines" >> _x >> "stopThis") == 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user