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:
ebaydayz
2016-03-03 20:11:11 -05:00
parent 585841a3ad
commit e660704f97
56 changed files with 3965 additions and 52 deletions

View File

@@ -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
{