+ 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:
vbawol
2013-02-25 15:34:43 -06:00
parent 6af9f62299
commit 52461f4a52
4 changed files with 1549 additions and 408 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -836,7 +836,7 @@ class Citizen1; // External class reference
mapsize = 2; mapsize = 2;
model = "\ca\weapons_e\AmmoBoxes\backpack_us.p3d"; model = "\ca\weapons_e\AmmoBoxes\backpack_us.p3d";
transportMaxWeapons = 6; transportMaxWeapons = 6;
transportMaxMagazines = 24; transportMaxMagazines = 30;
}; };
//An2_TK_EP1 //An2_TK_EP1
class An2_Base_EP1; class An2_Base_EP1;

View File

@@ -329,9 +329,11 @@ if (!isNull cursorTarget and !_inVehicle and (player distance cursorTarget < 6))
diag_log ("TRADER = " + str(_traderMenu)); diag_log ("TRADER = " + str(_traderMenu));
_low_high = "low";
_humanity_logic = false; _humanity_logic = false;
if((_traderMenu select 2) == "friendly") then { if((_traderMenu select 2) == "friendly") then {
_low_high = "low"; //_low_high = "low";
if (_humanity < -2000) then { if (_humanity < -2000) then {
_humanity_logic = true; _humanity_logic = true;
}; };
@@ -343,13 +345,13 @@ if (!isNull cursorTarget and !_inVehicle and (player distance cursorTarget < 6))
}; };
}; };
if((_traderMenu select 2) == "hero") then { if((_traderMenu select 2) == "hero") then {
_low_high = "low"; //_low_high = "low";
if (_humanity < 5000) then { if (_humanity < 5000) then {
_humanity_logic = true; _humanity_logic = true;
}; };
}; };
if(_humanity_logic) then { 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]; s_player_parts set [count s_player_parts,_cancel];
} else { } else {