mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-18 17:42:01 +03:00
0.75 + 1.7.5.M1D21 with binaries and sql
This commit is contained in:
@@ -6,11 +6,9 @@ if ((_location select 2) < 0) then {
|
||||
//_location set [2,0];
|
||||
_isOk = true; //count (_location isFlatEmpty [0.3,0,0,4,0,false,player]) > 0;
|
||||
_hasWood = "PartWoodPile" in magazines player;
|
||||
_hasChance = 9 > random 100;
|
||||
|
||||
if (_hasWood) then {
|
||||
if (_isOk) then {
|
||||
if (!_hasChance) then {
|
||||
player removeMagazine "PartWoodPile";
|
||||
_dir = getDir player;
|
||||
_classname = "Land_Fire_DZ";
|
||||
@@ -23,11 +21,6 @@ if (_hasWood) then {
|
||||
_id = _fire spawn player_fireMonitor;
|
||||
|
||||
cutText [localize "str_fireplace_01", "PLAIN DOWN"];
|
||||
} else {
|
||||
player removeWeapon "ItemMatchbox";
|
||||
player addWeapon "ItemMatchboxEmpty";
|
||||
cutText [localize "Your box of matches appear to be empty", "PLAIN DOWN"];
|
||||
};
|
||||
} else {
|
||||
cutText [localize "str_fireplace_02", "PLAIN DOWN"];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user