diff --git a/SQF/dayz_code/Configs/CfgMagazines.hpp b/SQF/dayz_code/Configs/CfgMagazines.hpp index b9a33fde4..2726d19d4 100644 --- a/SQF/dayz_code/Configs/CfgMagazines.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines.hpp @@ -1098,21 +1098,420 @@ class CfgMagazines { count = 1; type = 256; displayName = "Gold"; - model = "\z\addons\dayz_epoch\models\gold_bar.p3d"; + model = "\z\addons\dayz_epoch\models\ItemGoldBar1oz.p3d"; picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_CA.paa"; descriptionShort = "Gold Bar"; class ItemActions { class Crafting { - text = $STR_EPOCH_PLAYER_210; + text = $STR_EPOCH_PLAYER_210_1; script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; neednearby[] = {}; requiretools[] = {}; + output[] = {{"ItemGoldBar2oz",1}}; + input[] = {{"ItemGoldBar",2}}; + + }; + class Crafting1 + { + text = $STR_EPOCH_PLAYER_210_9; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; output[] = {{"ItemGoldBar10oz",1}}; input[] = {{"ItemGoldBar",10}}; + }; + }; + }; + class ItemGoldBar2oz: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "2oz Gold"; + model = "\z\addons\dayz_epoch\models\ItemGoldBar2oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_CA.paa"; + descriptionShort = "2 x 1oz Gold Bar"; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar3oz",1}}; + input[] = {{"ItemGoldBar2oz",1},{"ItemGoldBar",1}}; }; + class Crafting1 + { + text = STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar",1}}; + input[] = {{"ItemGoldBar2oz",1}}; + + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_210_8; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",1}}; + input[] = {{"ItemGoldBar2oz",1},{"ItemGoldBar",8}}; + }; + }; + }; + class ItemGoldBar3oz: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "3oz Gold"; + model = "\z\addons\dayz_epoch\models\ItemGoldBar3oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_CA.paa"; + descriptionShort = "3 x 1oz Gold Bar"; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar4oz",1}}; + input[] = {{"ItemGoldBar3oz",1},{"ItemGoldBar",1}}; + + }; + class Crafting1 + { + text = STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar2oz",1}}; + input[] = {{"ItemGoldBar3oz",1}}; + + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_210_7; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",1}}; + input[] = {{"ItemGoldBar3oz",1},{"ItemGoldBar",7}}; + }; + class Crafting3 + { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar",3}}; + input[] = {{"ItemGoldBar3oz",1}}; + }; + }; + }; + class ItemGoldBar4oz: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "4oz Gold"; + model = "\z\addons\dayz_epoch\models\ItemGoldBar4oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_CA.paa"; + descriptionShort = "4 x 1oz Gold Bar"; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar5oz",1}}; + input[] = {{"ItemGoldBar4oz",1},{"ItemGoldBar",1}}; + + }; + class Crafting1 + { + text = STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar3oz",1}}; + input[] = {{"ItemGoldBar4oz",1}}; + + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_210_6; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",1}}; + input[] = {{"ItemGoldBar4oz",1},{"ItemGoldBar",6}}; + }; + class Crafting3 + { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar",4}}; + input[] = {{"ItemGoldBar4oz",1}}; + }; + }; + }; + class ItemGoldBar5oz: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "5oz Gold"; + model = "\z\addons\dayz_epoch\models\ItemGoldBar5oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_CA.paa"; + descriptionShort = "5 x 1oz Gold Bar"; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar6oz",1}}; + input[] = {{"ItemGoldBar5oz",1},{"ItemGoldBar",1}}; + + }; + class Crafting1 + { + text = STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar4oz",1}}; + input[] = {{"ItemGoldBar5oz",1}}; + + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_210_5; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",1}}; + input[] = {{"ItemGoldBar5oz",1},{"ItemGoldBar",5}}; + }; + class Crafting3 + { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar",5}}; + input[] = {{"ItemGoldBar5oz",1}}; + }; + }; + }; + class ItemGoldBar6oz: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "6oz Gold"; + model = "\z\addons\dayz_epoch\models\ItemGoldBar6oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_CA.paa"; + descriptionShort = "6 x 1oz Gold Bar"; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar7oz",1}}; + input[] = {{"ItemGoldBar6oz",1},{"ItemGoldBar",1}}; + + }; + class Crafting1 + { + text = STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar5oz",1}}; + input[] = {{"ItemGoldBar6oz",1}}; + + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_210_4; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",1}}; + input[] = {{"ItemGoldBar6oz",1},{"ItemGoldBar",4}}; + }; + class Crafting3 + { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar",6}}; + input[] = {{"ItemGoldBar6oz",1}}; + }; + }; + }; + class ItemGoldBar7oz: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "7oz Gold"; + model = "\z\addons\dayz_epoch\models\ItemGoldBar7oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_CA.paa"; + descriptionShort = "7 x 1oz Gold Bar"; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar8oz",1}}; + input[] = {{"ItemGoldBar7oz",1},{"ItemGoldBar",1}}; + + }; + class Crafting1 + { + text = STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar6oz",1}}; + input[] = {{"ItemGoldBar7oz",1}}; + + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_210_3; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",1}}; + input[] = {{"ItemGoldBar7oz",1},{"ItemGoldBar",3}}; + }; + class Crafting3 + { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar",7}}; + input[] = {{"ItemGoldBar7oz",1}}; + }; + }; + }; + class ItemGoldBar8oz: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "8oz Gold"; + model = "\z\addons\dayz_epoch\models\ItemGoldBar8oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_CA.paa"; + descriptionShort = "8 x 1oz Gold Bar"; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar9oz",1}}; + input[] = {{"ItemGoldBar8oz",1},{"ItemGoldBar",1}}; + + }; + class Crafting1 + { + text = STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar7oz",1}}; + input[] = {{"ItemGoldBar8oz",1}}; + + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_210_2; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",1}}; + input[] = {{"ItemGoldBar8oz",1},{"ItemGoldBar",2}}; + }; + class Crafting3 + { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar",8}}; + input[] = {{"ItemGoldBar8oz",1}}; + }; + }; + }; + class ItemGoldBar9oz: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "9oz Gold"; + model = "\z\addons\dayz_epoch\models\ItemGoldBar9oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_CA.paa"; + descriptionShort = "9 x 1oz Gold Bar"; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar10oz",1}}; + input[] = {{"ItemGoldBar9oz",1},{"ItemGoldBar",1}}; + + }; + class Crafting1 + { + text = STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar8oz",1}}; + input[] = {{"ItemGoldBar9oz",1}}; + + }; + class Crafting3 + { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar",9}}; + input[] = {{"ItemGoldBar9oz",1}}; + }; }; }; class ItemGoldBar10oz: CA_Magazine @@ -1121,17 +1520,27 @@ class CfgMagazines { count = 1; type = 256; displayName = "10oz Gold"; - model = "\z\addons\dayz_epoch\models\gold_stack.p3d"; + model = "\z\addons\dayz_epoch\models\ItemGoldBar10oz.p3d"; picture = "\z\addons\dayz_epoch\pictures\equip_gold_bar_10oz_CA.paa"; descriptionShort = "10 x 1oz Gold Bar"; class ItemActions { class Crafting { - text = $STR_EPOCH_PLAYER_211; + text = STR_EPOCH_PLAYER_211_1; script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; neednearby[] = {}; requiretools[] = {}; + output[] = {{"ItemGoldBar9oz",1}}; + input[] = {{"ItemGoldBar10oz",1}}; + + }; + class Crafting1 + { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; output[] = {{"ItemGoldBar",10}}; input[] = {{"ItemGoldBar10oz",1}}; }; @@ -1143,40 +1552,449 @@ class CfgMagazines { count = 1; type = 256; displayName = "Silver"; - model = "\z\addons\dayz_epoch\models\silver_bar.p3d"; + model = "\z\addons\dayz_epoch\models\ItemSilverBar1oz.p3d"; picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa"; descriptionShort = "Silver Bar"; class ItemActions { class Crafting { - text = $STR_EPOCH_PLAYER_210; + text = $STR_EPOCH_PLAYER_210_1; script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; neednearby[] = {}; requiretools[] = {}; + output[] = {{"ItemSilverBar2oz",1}}; + input[] = {{"ItemSilverBar",2}}; + + }; + class Crafting1 + { + text = $STR_EPOCH_PLAYER_210_9; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; output[] = {{"ItemSilverBar10oz",1}}; input[] = {{"ItemSilverBar",10}}; }; }; }; - + class ItemSilverBar2oz: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "2oz Silver"; + model = "\z\addons\dayz_epoch\models\ItemSilverBar2oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa"; + descriptionShort = "2 x 1oz Silver Bar"; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar3oz",1}}; + input[] = {{"ItemSilverBar2oz",1},{"ItemSilverBar",1}}; + + }; + class Crafting1 + { + text = STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar",1}}; + input[] = {{"ItemSilverBar2oz",1}}; + + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_210_8; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar10oz",1}}; + input[] = {{"ItemSilverBar2oz",1},{"ItemSilverBar",8}}; + }; + }; + }; + class ItemSilverBar3oz: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "3oz Silver"; + model = "\z\addons\dayz_epoch\models\ItemSilverBar3oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa"; + descriptionShort = "3 x 1oz Silver Bar"; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar4oz",1}}; + input[] = {{"ItemSilverBar3oz",1},{"ItemSilverBar",1}}; + + }; + class Crafting1 + { + text = STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar2oz",1}}; + input[] = {{"ItemSilverBar3oz",1}}; + + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_210_7; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar10oz",1}}; + input[] = {{"ItemSilverBar3oz",1},{"ItemSilverBar",7}}; + }; + class Crafting3 + { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar",3}}; + input[] = {{"ItemSilverBar3oz",1}}; + }; + }; + }; + class ItemSilverBar4oz: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "4oz Silver"; + model = "\z\addons\dayz_epoch\models\ItemSilverBar4oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa"; + descriptionShort = "4 x 1oz Silver Bar"; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar5oz",1}}; + input[] = {{"ItemSilverBar4oz",1},{"ItemSilverBar",1}}; + + }; + class Crafting1 + { + text = STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar3oz",1}}; + input[] = {{"ItemSilverBar4oz",1}}; + + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_210_6; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar10oz",1}}; + input[] = {{"ItemSilverBar4oz",1},{"ItemSilverBar",6}}; + }; + class Crafting3 + { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar",4}}; + input[] = {{"ItemSilverBar4oz",1}}; + }; + }; + }; + class ItemSilverBar5oz: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "5oz Silver"; + model = "\z\addons\dayz_epoch\models\ItemSilverBar5oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa"; + descriptionShort = "5 x 1oz Silver Bar"; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar6oz",1}}; + input[] = {{"ItemSilverBar5oz",1},{"ItemSilverBar",1}}; + + }; + class Crafting1 + { + text = STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar4oz",1}}; + input[] = {{"ItemSilverBar5oz",1}}; + + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_210_5; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar10oz",1}}; + input[] = {{"ItemSilverBar5oz",1},{"ItemSilverBar",5}}; + }; + class Crafting3 + { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar",5}}; + input[] = {{"ItemSilverBar5oz",1}}; + }; + }; + }; + class ItemSilverBar6oz: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "6oz Silver"; + model = "\z\addons\dayz_epoch\models\ItemSilverBar6oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa"; + descriptionShort = "6 x 1oz Silver Bar"; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar7oz",1}}; + input[] = {{"ItemSilverBar6oz",1},{"ItemSilverBar",1}}; + + }; + class Crafting1 + { + text = STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar5oz",1}}; + input[] = {{"ItemSilverBar6oz",1}}; + + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_210_4; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar10oz",1}}; + input[] = {{"ItemSilverBar6oz",1},{"ItemSilverBar",4}}; + }; + class Crafting3 + { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar",6}}; + input[] = {{"ItemSilverBar6oz",1}}; + }; + }; + }; + class ItemSilverBar7oz: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "7oz Silver"; + model = "\z\addons\dayz_epoch\models\ItemSilverBar7oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa"; + descriptionShort = "7 x 1oz Silver Bar"; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar8oz",1}}; + input[] = {{"ItemSilverBar7oz",1},{"ItemSilverBar",1}}; + + }; + class Crafting1 + { + text = STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar6oz",1}}; + input[] = {{"ItemSilverBar7oz",1}}; + + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_210_3; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar10oz",1}}; + input[] = {{"ItemSilverBar7oz",1},{"ItemSilverBar",3}}; + }; + class Crafting3 + { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar",7}}; + input[] = {{"ItemSilverBar7oz",1}}; + }; + }; + }; + class ItemSilverBar8oz: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "8oz Silver"; + model = "\z\addons\dayz_epoch\models\ItemSilverBar8oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa"; + descriptionShort = "8 x 1oz Silver Bar"; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar9oz",1}}; + input[] = {{"ItemSilverBar8oz",1},{"ItemSilverBar",1}}; + + }; + class Crafting1 + { + text = STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar7oz",1}}; + input[] = {{"ItemSilverBar8oz",1}}; + + }; + class Crafting2 + { + text = $STR_EPOCH_PLAYER_210_2; + script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar10oz",1}}; + input[] = {{"ItemSilverBar8oz",1},{"ItemSilverBar",2}}; + }; + class Crafting3 + { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar",8}}; + input[] = {{"ItemSilverBar8oz",1}}; + }; + }; + }; + class ItemSilverBar9oz: CA_Magazine + { + scope = 2; + count = 1; + type = 256; + displayName = "9oz Silver"; + model = "\z\addons\dayz_epoch\models\ItemSilverBar9oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_CA.paa"; + descriptionShort = "9 x 1oz Silver Bar"; + class ItemActions + { + class Crafting + { + text = $STR_EPOCH_PLAYER_210_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar10oz",1}}; + input[] = {{"ItemSilverBar9oz",1},{"ItemSilverBar",1}}; + + }; + class Crafting1 + { + text = STR_EPOCH_PLAYER_211_1; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar8oz",1}}; + input[] = {{"ItemSilverBar9oz",1}}; + + }; + class Crafting3 + { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar",9}}; + input[] = {{"ItemSilverBar9oz",1}}; + }; + }; + }; class ItemSilverBar10oz: CA_Magazine { scope = 2; count = 1; type = 256; displayName = "10oz Silver"; - model = "\z\addons\dayz_epoch\models\silver_stack.p3d"; - picture = "\z\addons\dayz_epoch\pictures\equip_silver_bar_10oz_CA.paa"; + model = "\z\addons\dayz_epoch\models\ItemSilverBar10oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_Silver_bar_10oz_CA.paa"; descriptionShort = "10 x 1oz Silver Bar"; class ItemActions { class Crafting { - text = $STR_EPOCH_PLAYER_211; + text = STR_EPOCH_PLAYER_211_1; script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; neednearby[] = {}; requiretools[] = {}; + output[] = {{"ItemSilverBar9oz",1}}; + input[] = {{"ItemSilverBar10oz",1}}; + + }; + class Crafting1 + { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; output[] = {{"ItemSilverBar",10}}; input[] = {{"ItemSilverBar10oz",1}}; }; diff --git a/SQF/dayz_epoch_b/stringtable.xml b/SQF/dayz_epoch_b/stringtable.xml index 0715a7134..4318347b0 100644 --- a/SQF/dayz_epoch_b/stringtable.xml +++ b/SQF/dayz_epoch_b/stringtable.xml @@ -4796,16 +4796,106 @@ Otevřít %1 - - Stack 10oz bar - Stack 10oz bar - 10oz bar Stapel - Уложить в 10oz слиток - - Stapel 10oz balk - - Poskládat 10oz cihlu - + + Add 1 bar + Add 1 bar + + + + + + + + + Add 2 bars + Add 2 bars + + + + + + + + + Add 3 bars + Add 3 bars + + + + + + + + + Add 4 bars + Add 4 bars + + + + + + + + + Add 5 bars + Add 5 bars + + + + + + + + + Add 6 bars + Add 6 bars + + + + + + + + + Add 7 bars + Add 7 bars + + + + + + + + + Add 8 bars + Add 8 bars + + + + + + + + + Add 9 bars + Add 9 bars + + + + + + + + + Remove 1 bar + Remove 1 bar + + + + + + + Unstack Unstack