mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
0.981
+ fixed trader low/high humanity message + changed coyote bckpack - transportMaxMagazines = 24; to transportMaxMagazines = 30; + updated trader city sources for takistan.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -836,7 +836,7 @@ class Citizen1; // External class reference
|
||||
mapsize = 2;
|
||||
model = "\ca\weapons_e\AmmoBoxes\backpack_us.p3d";
|
||||
transportMaxWeapons = 6;
|
||||
transportMaxMagazines = 24;
|
||||
transportMaxMagazines = 30;
|
||||
};
|
||||
//An2_TK_EP1
|
||||
class An2_Base_EP1;
|
||||
|
||||
@@ -329,9 +329,11 @@ if (!isNull cursorTarget and !_inVehicle and (player distance cursorTarget < 6))
|
||||
|
||||
diag_log ("TRADER = " + str(_traderMenu));
|
||||
|
||||
_low_high = "low";
|
||||
|
||||
_humanity_logic = false;
|
||||
if((_traderMenu select 2) == "friendly") then {
|
||||
_low_high = "low";
|
||||
//_low_high = "low";
|
||||
if (_humanity < -2000) then {
|
||||
_humanity_logic = true;
|
||||
};
|
||||
@@ -343,13 +345,13 @@ if (!isNull cursorTarget and !_inVehicle and (player distance cursorTarget < 6))
|
||||
};
|
||||
};
|
||||
if((_traderMenu select 2) == "hero") then {
|
||||
_low_high = "low";
|
||||
//_low_high = "low";
|
||||
if (_humanity < 5000) then {
|
||||
_humanity_logic = true;
|
||||
};
|
||||
};
|
||||
if(_humanity_logic) then {
|
||||
_cancel = player addAction ["Your humanity is too " + _low_high + " this trader refuses to talk to you.", "\z\addons\dayz_code\actions\trade_cancel.sqf",["na"], 0, true, false, "",""];
|
||||
_cancel = player addAction [format["Your humanity is too %1 this trader refuses to talk to you.",_low_high], "\z\addons\dayz_code\actions\trade_cancel.sqf",["na"], 0, true, false, "",""];
|
||||
s_player_parts set [count s_player_parts,_cancel];
|
||||
} else {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user