mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-07 16:52:53 +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:
@@ -124,6 +124,14 @@ if (!isDedicated) then {
|
||||
ui_changeDisplay = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\ui_changeDisplay.sqf";
|
||||
ui_gear_sound = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\ui_gear_sound.sqf";
|
||||
|
||||
//playerstats
|
||||
horde_epeen_fnc_fill_page = compile preProcessFile "\z\addons\dayz_code\actions\playerstats\fill_page_fnc.sqf";
|
||||
horde_epeen_determine_humanity_fnc = compile preProcessFile "\z\addons\dayz_code\actions\playerstats\determine_humanity_fnc.sqf";
|
||||
horde_epeen_setText_journal_fnc = compile preProcessFile "\z\addons\dayz_code\actions\playerstats\epeen_setText_journal.sqf";
|
||||
horde_epeen_setText_humanity_fnc = compile preProcessFile "\z\addons\dayz_code\actions\playerstats\epeen_setText_humanity.sqf";
|
||||
horde_epeen_setText_stats_fnc = compile preProcessFile "\z\addons\dayz_code\actions\playerstats\epeen_setText_stats.sqf";
|
||||
horde_epeen_show_humanity_fnc = compile preProcessFile "\z\addons\dayz_code\actions\playerstats\show_humanity_fnc.sqf";
|
||||
|
||||
//System
|
||||
player_monitor = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\player_monitor.sqf";
|
||||
player_spawn_1 = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\player_spawn_1.sqf";
|
||||
@@ -131,6 +139,11 @@ if (!isDedicated) then {
|
||||
onPreloadStarted "dayz_preloadFinished = false;";
|
||||
onPreloadFinished "if (!isNil 'init_keyboard') then { [] spawn init_keyboard; }; dayz_preloadFinished = true;";
|
||||
|
||||
//Crafting
|
||||
fn_updateCraftUI = {}; //need permission - compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_updateCraftUI.sqf";
|
||||
player_craftItemGUI = {}; //need permission - compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_craftItemGUI.sqf";
|
||||
player_checkRecipe = {}; //need permission - compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_checkRecipe.sqf";
|
||||
|
||||
// helper functions
|
||||
player_addDuplicateTool = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_addDuplicateTool.sqf";
|
||||
player_hasTools = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_hasTools.sqf";
|
||||
|
||||
@@ -458,6 +458,15 @@ dayz_cantseeDist = 150; // distance from which we can spawn a Z in front of any
|
||||
dayz_cantseefov = 70; // half player field-of-view. Visible Z won't be spawned in front of any near players
|
||||
dayz_canDelete = 300; // Z, further than this distance from its "owner", will be deleted
|
||||
|
||||
if(isNil "dayz_ForcefullmoonNights") then {
|
||||
dayz_ForcefullmoonNights = false; //force full moon nights.
|
||||
};
|
||||
if(isNil "dayz_temperature_override") then {
|
||||
dayz_temperature_override = false;
|
||||
};
|
||||
if(isNil "dayz_spawnselection") then {
|
||||
dayz_spawnselection = 0;
|
||||
};
|
||||
if(isNil "dayz_quickSwitch") then {
|
||||
dayz_quickSwitch = false; //Enable quick weapon switch,
|
||||
};
|
||||
@@ -629,9 +638,6 @@ if(isServer) then {
|
||||
DZE_DYN_AntiStuck2nd = 0;
|
||||
DZE_DYN_AntiStuck3rd = 0;
|
||||
|
||||
if(isNil "dayz_fullMoonNights") then {
|
||||
dayz_fullMoonNights = false;
|
||||
};
|
||||
if(isNil "EpochEvents") then {
|
||||
EpochEvents = [];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user