mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-04 15:22:53 +03:00
0.82
fix out of stock msg. Add display name to supply crates and tweak model.
This commit is contained in:
@@ -94,7 +94,6 @@ diag_log format["DEBUG Buy: %1", dayzTraderMenuResult];
|
|||||||
if(_qty <= 0) then {
|
if(_qty <= 0) then {
|
||||||
_Display = format["Buy %1 (Out of Stock: %2)", _textPart, _qty];
|
_Display = format["Buy %1 (Out of Stock: %2)", _textPart, _qty];
|
||||||
_part = player addAction [_Display, "\z\addons\dayz_code\actions\trade_cancel.sqf",[], 0, true, false, "",""];
|
_part = player addAction [_Display, "\z\addons\dayz_code\actions\trade_cancel.sqf",[], 0, true, false, "",""];
|
||||||
_part = player addAction [_Display, _File,[_name,_bname,_out,_in,"buy",_textCurrency,_textPart,_header], _order, true, true, "",""];
|
|
||||||
} else {
|
} else {
|
||||||
_Display = format["Buy %1 (%2) for %3 %4 (Available: %5)", _textPart, _name, _in, _textCurrency, _qty];
|
_Display = format["Buy %1 (%2) for %3 %4 (Available: %5)", _textPart, _name, _in, _textCurrency, _qty];
|
||||||
_part = player addAction [_Display, _File,[_name,_bname,_out,_in,"buy",_textCurrency,_textPart,_header], _order, true, true, "",""];
|
_part = player addAction [_Display, _File,[_name,_bname,_out,_in,"buy",_textCurrency,_textPart,_header], _order, true, true, "",""];
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ class CfgMods
|
|||||||
hidePicture = 0;
|
hidePicture = 0;
|
||||||
hideName = 0;
|
hideName = 0;
|
||||||
action = "http://www.dayepoch.com";
|
action = "http://www.dayepoch.com";
|
||||||
version = "0.81";
|
version = "0.82";
|
||||||
hiveVersion = 0.96; //0.93
|
hiveVersion = 0.96; //0.93
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ class RscDisplayMain : RscStandardDisplay
|
|||||||
class DAYZ_Version : CA_Version
|
class DAYZ_Version : CA_Version
|
||||||
{
|
{
|
||||||
idc = -1;
|
idc = -1;
|
||||||
text = "DayZ Epoch 0.81 (1.7.5.M1D25)";
|
text = "DayZ Epoch 0.82 (1.7.5.M1D25)";
|
||||||
y = "(SafeZoneH + SafeZoneY) - (1 - 0.95)";
|
y = "(SafeZoneH + SafeZoneY) - (1 - 0.95)";
|
||||||
};
|
};
|
||||||
class CA_TitleMainMenu;
|
class CA_TitleMainMenu;
|
||||||
|
|||||||
@@ -1483,6 +1483,7 @@ class CfgMagazines
|
|||||||
scope = 2;
|
scope = 2;
|
||||||
count = 12;
|
count = 12;
|
||||||
type = "(256 * 6)";
|
type = "(256 * 6)";
|
||||||
|
displayName = "Supply Crate";
|
||||||
model = "\dayz_equip\models\supply_crate.p3d";
|
model = "\dayz_equip\models\supply_crate.p3d";
|
||||||
picture = "\dayz_equip\textures\equip_wooden_crate_ca.paa";
|
picture = "\dayz_equip\textures\equip_wooden_crate_ca.paa";
|
||||||
descriptionShort = "12 x NV Goggles";
|
descriptionShort = "12 x NV Goggles";
|
||||||
@@ -1492,9 +1493,10 @@ class CfgMagazines
|
|||||||
scope = 2;
|
scope = 2;
|
||||||
count = 12;
|
count = 12;
|
||||||
type = "(256 * 6)";
|
type = "(256 * 6)";
|
||||||
|
displayName = "Supply Crate";
|
||||||
model = "\dayz_equip\models\supply_crate.p3d";
|
model = "\dayz_equip\models\supply_crate.p3d";
|
||||||
picture = "\dayz_equip\textures\equip_wooden_crate_ca.paa";
|
picture = "\dayz_equip\textures\equip_wooden_crate_ca.paa";
|
||||||
descriptionShort = "12 x 30Rnd_9x19_MP5SD rounds";
|
descriptionShort = "12 x 30Rnd_9x19_MP5SD";
|
||||||
};
|
};
|
||||||
class ItemGenerator: CA_Magazine
|
class ItemGenerator: CA_Magazine
|
||||||
{
|
{
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user