mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13: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:
@@ -3,7 +3,7 @@ class RscListNBox;
|
||||
class RscDisplayCraftingMenu {
|
||||
idd = 6903;
|
||||
enableDisplay = 1;
|
||||
onLoad = "uiNamespace setVariable ['DAYZ_CraftingDialog', _this select 0]; ['init'] call fn_updateCraftUI;";
|
||||
onLoad = "uiNamespace setVariable ['DAYZ_CraftingDialog', _this select 0]; ['initcrafting'] call fn_updateCraftUI;";
|
||||
onUnload = "['close'] call fn_updateCraftUI;";
|
||||
|
||||
class Controls
|
||||
@@ -90,6 +90,15 @@ class RscDisplayCraftingMenu {
|
||||
text = $STR_UI_START_CRAFTING;
|
||||
action = "['craft'] call fn_updateCraftUI;";
|
||||
};
|
||||
/*
|
||||
class ConstructionButton: RscIGUIShortcutButton {
|
||||
idc = 430;
|
||||
x = 0.631 * safezoneW + safezoneX;
|
||||
y = 0.744 * safezoneH + safezoneY;
|
||||
text = "Construction";
|
||||
action = "['construction'] call fn_updateCraftUI;";
|
||||
};
|
||||
*/
|
||||
|
||||
class craftingslot01: RscPicture
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user