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

@@ -18,7 +18,7 @@ class horde_journal_front_cover
controls[] =
{
"book_page_image",
"open_craft",
//"open_craft", //crafting disabled for now
"open_book",
"click_here_to_close_book_1",
"click_here_to_close_book_2",
@@ -40,7 +40,7 @@ class horde_journal_front_cover
};
// buttons
/* // crafting disabled for now
class open_craft: RscIGUIShortcutButton {
idc = -1;
x = 0.48 * safezoneW + safezoneX;
@@ -48,7 +48,7 @@ class horde_journal_front_cover
text = $STR_UI_CRAFT_OPEN;
action = "closeDialog 0; createDialog 'RscDisplayCraftingMenu';";
};
*/
class open_book: horde_RscButton
{
idc = 1900;
@@ -81,7 +81,7 @@ class horde_journal_front_cover
{
idc = 1903;
x = -0.0013379 * safezoneW + safezoneX;
y = 0.832544 * safezoneH + safezoneY;
y = 0.882544 * safezoneH + safezoneY;
w = 1.04825 * safezoneW;
h = 0.892618 * safezoneH;
action = "playSound 'horde_sound_close_book'; closeDialog 0;";