mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-25 01:20:49 +03:00
0.1
This commit is contained in:
15
dayz_code/actions/player_chopWood.sqf
Normal file
15
dayz_code/actions/player_chopWood.sqf
Normal file
@@ -0,0 +1,15 @@
|
||||
private["_location","_isOk","_dir","_classname"];
|
||||
private["_item"];
|
||||
_item = _this;
|
||||
call gear_ui_init;
|
||||
|
||||
if (["forest",dayz_surfaceType] call fnc_inString) then {
|
||||
_result = [player,"PartWoodPile"] call BIS_fnc_invAdd;
|
||||
if (_result) then {
|
||||
cutText [localize "str_player_25", "PLAIN DOWN"];
|
||||
} else {
|
||||
cutText [localize "str_player_24", "PLAIN DOWN"];
|
||||
};
|
||||
} else {
|
||||
cutText [localize "str_player_23", "PLAIN DOWN"];
|
||||
};
|
||||
Reference in New Issue
Block a user