mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 04:23:13 +03:00
Add journal and preliminary strings for crafting
The journal is now functional. Preliminary strings are added for the 1.8.7 crafting system, but it is disabled for now. I've messaged @marceldev89 (ziellos2k) and @AlbyBDPK on the DayZ forums to ask permission to use fn_updateCraftUI, player_checkRecipe and player_craftItemGUI. Are you guys okay with us including these in DayZ Epoch 1.0.6?
This commit is contained in:
@@ -14,10 +14,6 @@ if (isNil "keyboard_keys") then {
|
||||
call dayz_EjectPlayer;
|
||||
_handled = false;
|
||||
if (r_player_dead) then {_handled = true;}; // Disable ESC after death
|
||||
};
|
||||
_playerStats = {
|
||||
DZE_Q_alt = true;
|
||||
execVM "\z\addons\dayz_code\actions\playerstats.sqf";
|
||||
};
|
||||
_dze_f = {
|
||||
if (!_ctrlState && !_altState) then {DZE_F = true;};
|
||||
@@ -187,12 +183,10 @@ if (isNil "keyboard_keys") then {
|
||||
};
|
||||
};
|
||||
_journal = {
|
||||
/*
|
||||
if (!dayz_isSwimming and !dialog) then {
|
||||
[player,4,true,(getPosATL player)] call player_alertZombies;
|
||||
createDialog "horde_journal_front_cover";
|
||||
};
|
||||
*/
|
||||
_handled = true;
|
||||
};
|
||||
|
||||
@@ -282,7 +276,7 @@ if (isNil "keyboard_keys") then {
|
||||
keyboard_keys = [];
|
||||
keyboard_keys resize 256;
|
||||
[[DIK_ESCAPE], _cancelBuild] call _addArray;
|
||||
[[DIK_INSERT], _playerStats] call _addArray;
|
||||
[[DIK_INSERT], {DZE_Q_alt = true;}] call _addArray;
|
||||
[[DIK_F], _dze_f] call _addArray;
|
||||
[[DIK_PRIOR], _dze_q] call _addArray;
|
||||
[[DIK_NEXT], _dze_z] call _addArray;
|
||||
@@ -293,7 +287,7 @@ if (isNil "keyboard_keys") then {
|
||||
[actionKeys "User6", {DZE_F = true;}] call _addArray;
|
||||
[actionKeys "User7", {DZE_Q_ctrl = true;}] call _addArray;
|
||||
[actionKeys "User8", {DZE_Z_ctrl = true;}] call _addArray;
|
||||
[actionKeys "User13", _playerStats] call _addArray;
|
||||
[actionKeys "User13", {DZE_Q_alt = true;}] call _addArray;
|
||||
[actionKeys "User14", {DZE_Z_alt = true;}] call _addArray;
|
||||
[actionKeys "User15", {DZE_Q = true;}] call _addArray;
|
||||
[actionKeys "User16", {DZE_Z = true;}] call _addArray;
|
||||
|
||||
Reference in New Issue
Block a user