From aa518fe1ab6bb54d06c9bc1f9c08fe9dee2dcc9d Mon Sep 17 00:00:00 2001 From: Florian Kinder Date: Fri, 31 Jan 2014 19:56:24 +0100 Subject: [PATCH] Split Currency --- .../CfgMagazines/DZE/Currency/AluminumBar.hpp | 29 ++ .../CfgMagazines/DZE/Currency/BronzeBar.hpp | 9 + .../CfgMagazines/DZE/Currency/CopperBar.hpp | 38 ++ .../CfgMagazines/DZE/Currency/GoldBar.hpp | 410 ++++++++++++++++++ .../CfgMagazines/DZE/Currency/SilverBar.hpp | 410 ++++++++++++++++++ .../CfgMagazines/DZE/Currency/TinBar.hpp | 29 ++ 6 files changed, 925 insertions(+) create mode 100644 SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/AluminumBar.hpp create mode 100644 SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/BronzeBar.hpp create mode 100644 SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/CopperBar.hpp create mode 100644 SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/GoldBar.hpp create mode 100644 SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/SilverBar.hpp create mode 100644 SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/TinBar.hpp diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/AluminumBar.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/AluminumBar.hpp new file mode 100644 index 000000000..8371f45a5 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/AluminumBar.hpp @@ -0,0 +1,29 @@ +class ItemAluminumBar: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Aluminum"; + model = "\z\addons\dayz_epoch\models\aluminum_bar.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_alum_bar_CA.paa"; + descriptionShort = "Aluminum Bar"; + +}; +class ItemAluminumBar10oz: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "10oz Aluminum"; + model = "\z\addons\dayz_epoch\models\aluminum_bar.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_alum_bar_10oz_CA.paa"; + descriptionShort = "10oz Aluminum Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemAluminumBar",10}}; + input[] = {{"ItemAluminumBar10oz",1}}; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/BronzeBar.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/BronzeBar.hpp new file mode 100644 index 000000000..b5c995c98 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/BronzeBar.hpp @@ -0,0 +1,9 @@ +class ItemBronzeBar: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Bronze"; + model = "\z\addons\dayz_epoch\models\bronze_bar.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_bar_bronze_CA.paa"; + descriptionShort = "Bronze Bar"; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/CopperBar.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/CopperBar.hpp new file mode 100644 index 000000000..72a622fb6 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/CopperBar.hpp @@ -0,0 +1,38 @@ +class ItemCopperBar: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Copper"; + model = "\z\addons\dayz_epoch\models\copper_bar.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_copper_bar_CA.paa"; + descriptionShort = "Copper Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_210; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemCopperBar10oz",1}}; + input[] = {{"ItemCopperBar",10}}; + }; + }; +}; +class ItemCopperBar10oz: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "10oz Copper"; + model = "\z\addons\dayz_epoch\models\copper_bar_10oz.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_copper_bar_10oz_CA.paa"; + descriptionShort = "10oz Copper Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemCopperBar",10}}; + input[] = {{"ItemCopperBar10oz",1}}; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/GoldBar.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/GoldBar.hpp new file mode 100644 index 000000000..2c183f3d6 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/GoldBar.hpp @@ -0,0 +1,410 @@ +class ItemGoldBar: CA_Magazine { + scope = 2; + count = 1; + worth = 100; + type = 256; + displayName = "Gold"; + 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_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; + worth = 200; + 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",2}}; + 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; + worth = 300; + 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},{"ItemGoldBar",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; + worth = 400; + 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},{"ItemGoldBar",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; + worth = 500; + 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},{"ItemGoldBar",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; + worth = 600; + 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},{"ItemGoldBar",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; + worth = 700; + 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},{"ItemGoldBar",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; + worth = 800; + 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},{"ItemGoldBar",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; + worth = 900; + 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},{"ItemGoldBar",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 { + scope = 2; + count = 1; + worth = 1000; + type = 256; + displayName = "10oz Gold"; + 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_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemGoldBar9oz",1},{"ItemGoldBar",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}}; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/SilverBar.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/SilverBar.hpp new file mode 100644 index 000000000..a1a030b18 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/SilverBar.hpp @@ -0,0 +1,410 @@ +class ItemSilverBar: CA_Magazine { + scope = 2; + count = 1; + worth = 1; + type = 256; + displayName = "Silver"; + 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_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; + worth = 2; + 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",2}}; + 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; + worth = 3; + 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},{"ItemSilverBar",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; + worth = 4; + 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},{"ItemSilverBar",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; + worth = 5; + 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},{"ItemSilverBar",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; + worth = 6; + 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},{"ItemSilverBar",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; + worth = 7; + 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},{"ItemSilverBar",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; + worth = 8; + 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},{"ItemSilverBar",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; + worth = 9; + 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},{"ItemSilverBar",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; + worth = 10; + type = 256; + displayName = "10oz Silver"; + 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_1; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {}; + requiretools[] = {}; + output[] = {{"ItemSilverBar9oz",1},{"ItemSilverBar",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}}; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/TinBar.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/TinBar.hpp new file mode 100644 index 000000000..29a9c2014 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/Currency/TinBar.hpp @@ -0,0 +1,29 @@ +class ItemTinBar: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "Tin"; + model = "\z\addons\dayz_epoch\models\tin_bar.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_tin_bar_CA.paa"; + descriptionShort = "Tin Bar"; + +}; +class ItemTinBar10oz: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = "10oz Tin"; + model = "\z\addons\dayz_epoch\models\tin_bar.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_tin_bar_10oz_CA.paa"; + descriptionShort = "10oz Tin Bar"; + class ItemActions { + class Crafting { + text = $STR_EPOCH_PLAYER_211; + script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; + neednearby[] = {"fire"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"ItemTinBar",10}}; + input[] = {{"ItemTinBar10oz",1}}; + }; + }; +}; \ No newline at end of file