mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-19 18:06:32 +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:
48
SQF/dayz_code/Configs/CfgCrafting/CfgCrafting.hpp
Normal file
48
SQF/dayz_code/Configs/CfgCrafting/CfgCrafting.hpp
Normal file
@@ -0,0 +1,48 @@
|
||||
class CfgCrafting {
|
||||
class Recipe {
|
||||
displayName = "Generic Recipe";
|
||||
input[] = {}; //Items consumed during crafting
|
||||
output[] = {}; //Items created from crafting
|
||||
required[] = {}; //Items needed for but not consumed during crafting
|
||||
failChance = 0;
|
||||
};
|
||||
//Completed
|
||||
//Weapons
|
||||
#include "Recipes\Weapons\NailedBaseballBat.hpp"
|
||||
#include "Recipes\Weapons\BaseBallBatBarbed.hpp"
|
||||
#include "Recipes\Weapons\Crossbow.hpp"
|
||||
|
||||
//Not Ready
|
||||
/*
|
||||
#include "Recipes\Weapons\M9SD.hpp"
|
||||
#include "Recipes\Weapons\M4A1_AIM.hpp"
|
||||
#include "Recipes\Weapons\MAKAROVSD.hpp"
|
||||
#include "Recipes\Weapons\bizonSD.hpp"
|
||||
#include "Recipes\Weapons\SVD_CAMO.hpp"
|
||||
#include "Recipes\Weapons\M4A1_Aim_CAMO.hpp"
|
||||
#include "Recipes\Weapons\M4A1_HWS_GL_CAMO.hpp"
|
||||
#include "Recipes\Weapons\G36C_camo.hpp"
|
||||
#include "Recipes\Weapons\G36A_camo.hpp"
|
||||
#include "Recipes\Weapons\G36K_camo.hpp"
|
||||
*/
|
||||
|
||||
//Medical
|
||||
#include "Recipes\Medical\Bandage.hpp"
|
||||
#include "Recipes\Medical\sepsisBandage.hpp"
|
||||
#include "Recipes\Medical\woodensplint.hpp"
|
||||
#include "Recipes\Medical\HerbalDrink.hpp"
|
||||
//ammo
|
||||
#include "Recipes\Ammo\WoodenArrow.hpp"
|
||||
//other
|
||||
#include "Recipes\Other\woodencrate.hpp"
|
||||
#include "Recipes\Other\nails.hpp"
|
||||
#include "Recipes\Other\BackPack.hpp"
|
||||
//#include "Recipes\Other\woodenCraftTable.hpp"
|
||||
//Traps
|
||||
#include "Recipes\Traps\TrapBearTrapFlare.hpp"
|
||||
#include "Recipes\Traps\TrapBearTrapSmoke.hpp"
|
||||
#include "Recipes\Traps\TrapTripwireCans.hpp"
|
||||
#include "Recipes\Traps\TrapTripwireFlare.hpp"
|
||||
#include "Recipes\Traps\TrapTripwireGrenade.hpp"
|
||||
#include "Recipes\Traps\TrapTripwireSmoke.hpp"
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
class Wooden_Arrow : Recipe {
|
||||
displayName = $STR_ITEMWOODENARROW_CODE_NAME;
|
||||
input[] =
|
||||
{
|
||||
{"PartWoodPile","CfgMagazines",1},
|
||||
{"equip_feathers","CfgMagazines",2}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"WoodenArrow","CfgMagazines",4}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,33 @@
|
||||
class Blueprint_Bandage : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_Bandage;
|
||||
input[] =
|
||||
{
|
||||
{"equip_rag","CfgMagazines",1},
|
||||
{"equip_gauze","CfgMagazines",1},
|
||||
{"equip_string","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"ItemBandage","CfgMagazines",2}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
};
|
||||
};
|
||||
|
||||
class Blueprint_Bandage_Packaged : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_Bandage;
|
||||
input[] =
|
||||
{
|
||||
{"equip_rag","CfgMagazines",1},
|
||||
{"equip_gauzepackaged","CfgMagazines",1},
|
||||
{"equip_string","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"ItemBandage","CfgMagazines",2}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
class Blueprint_HerbalDrink : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_HerbalDrink;
|
||||
descriptionShort = $STR_CRAFT_DESC_herbalDrink;
|
||||
input[] =
|
||||
{
|
||||
{"ItemWaterBottleBoiled","CfgMagazines",1},
|
||||
{"equip_herb_box","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"ItemWaterBottleHerbal","CfgMagazines",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,35 @@
|
||||
class Blueprint_SepsisBandage : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_SepsisBandage;
|
||||
input[] =
|
||||
{
|
||||
{"ItemBandage","CfgMagazines",1},
|
||||
{"equip_comfreyleafs","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"ItemSepsisBandage","CfgMagazines",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
class Blueprint_SepsisBandage_Packaged : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_SepsisBandage;
|
||||
input[] =
|
||||
{
|
||||
{"equip_rag","CfgMagazines",1},
|
||||
{"equip_gauzepackaged","CfgMagazines",1},
|
||||
{"equip_comfreyleafs","CfgMagazines",1},
|
||||
{"equip_string","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"ItemSepsisBandage","CfgMagazines",2}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
};
|
||||
};
|
||||
*/
|
||||
@@ -0,0 +1,15 @@
|
||||
class Blueprint_woodensplint : Recipe {
|
||||
displayName = $STR_ITEM_NAME_WOODENSPLINT;
|
||||
input[] =
|
||||
{
|
||||
{"PartWoodPile","CfgMagazines",2},
|
||||
{"equip_string","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"equip_woodensplint","CfgMagazines",2}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
};
|
||||
};
|
||||
16
SQF/dayz_code/Configs/CfgCrafting/Recipes/Other/BackPack.hpp
Normal file
16
SQF/dayz_code/Configs/CfgCrafting/Recipes/Other/BackPack.hpp
Normal file
@@ -0,0 +1,16 @@
|
||||
class Blueprint_PatrolPack : Recipe {
|
||||
displayName = $STR_ITEM_MAKESHIFTBACKPACK;
|
||||
input[] =
|
||||
{
|
||||
{"equip_rag","CfgMagazines",5},
|
||||
{"PartWoodPile","CfgMagazines",1},
|
||||
{"equip_string","CfgMagazines",3}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"DZ_Assault_Pack_EP1","CfgVehicles",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
class Blueprint_BodgedWaterbottle : Recipe {
|
||||
displayName = "Broken Watter Bottle.";
|
||||
descriptionShort = "Patch a broken water bottle.";
|
||||
input[] =
|
||||
{
|
||||
{"equip_duct_tape","CfgMagazines",1},
|
||||
{"ItemWaterBottleDmg","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"ItemBodgedWaterbottle","CfgMagazines",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
};
|
||||
};
|
||||
15
SQF/dayz_code/Configs/CfgCrafting/Recipes/Other/nails.hpp
Normal file
15
SQF/dayz_code/Configs/CfgCrafting/Recipes/Other/nails.hpp
Normal file
@@ -0,0 +1,15 @@
|
||||
class Blueprint_nails : Recipe {
|
||||
displayName = "Metal Nails";
|
||||
input[] =
|
||||
{
|
||||
{"equip_metal_sheet","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"equip_nails","CfgMagazines",10}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
class Blueprint_woodenCraftTable : Recipe {
|
||||
displayName = $STR_ITEM_NAME_WOODENCRAFTTABLE;
|
||||
input[] =
|
||||
{
|
||||
{"PartWoodPile","CfgMagazines",1}
|
||||
//{"equip_nails","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"ItemcraftTable","CfgMagazines",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
class Blueprint_woodenFence : Recipe {
|
||||
displayName = $STR_ITEM_NAME_equip_crate;
|
||||
input[] =
|
||||
{
|
||||
{"ItemLog","CfgMagazines",2},
|
||||
{"ItemStone","CfgMagazines",3}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"equip_crate","CfgMagazines",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemEtool","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
class Blueprint_crate : Recipe {
|
||||
displayName = $STR_ITEM_NAME_equip_crate;
|
||||
input[] =
|
||||
{
|
||||
{"PartWoodPile","CfgMagazines",6},
|
||||
{"equip_nails","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"equip_crate","CfgMagazines",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,20 @@
|
||||
class Blueprint_TrapBearTrapFlare : Recipe {
|
||||
displayName = $STR_ITEM_NAME_BEAR_TRAP_FLARE;
|
||||
descriptionShort = $STR_ITEM_DESC_BEAR_TRAP_FLARE;
|
||||
input[] =
|
||||
{
|
||||
{"equip_string","CfgMagazines",1},
|
||||
{"TrapBear","CfgMagazines",1},
|
||||
{"PartWoodPile","CfgMagazines",1},
|
||||
{"equip_duct_tape","CfgMagazines",1},
|
||||
{"HandRoadFlare","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"ItemTrapBearTrapFlare","CfgMagazines",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,22 @@
|
||||
class Blueprint_TrapBearTrapSmoke : Recipe {
|
||||
displayName = $STR_ITEM_NAME_BEAR_TRAP_SMOKE;
|
||||
descriptionShort = $STR_ITEM_DESC_BEAR_TRAP_SMOKE;
|
||||
input[] =
|
||||
{
|
||||
{"equip_string","CfgMagazines",1},
|
||||
{"TrapBear","CfgMagazines",1},
|
||||
{"PartWoodPile","CfgMagazines",1},
|
||||
{"equip_duct_tape","CfgMagazines",1},
|
||||
{{"SmokeShell","CfgMagazines",1},
|
||||
{"SmokeShellRed","CfgMagazines",1},
|
||||
{"SmokeShellGreen","CfgMagazines",1}}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"ItemTrapBearTrapSmoke","CfgMagazines",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,45 @@
|
||||
class Blueprint_Trap_Cans : Recipe {
|
||||
displayName = $STR_ITEM_NAME_TRIPWIRE_CANS;
|
||||
descriptionShort = $STR_ITEM_DESC_TRIPWIRE_CANS;
|
||||
input[] =
|
||||
{
|
||||
{"equip_string","CfgMagazines",1},
|
||||
{"PartWoodPile","CfgMagazines",1},
|
||||
{{"TrashTinCan","CfgMagazines",1},
|
||||
// {"FoodCanLongSpratsEmpty","CfgMagazines",1},
|
||||
{"FoodCanBeefEmpty","CfgMagazines",1},
|
||||
{"FoodCanPotatoesEmpty","CfgMagazines",1},
|
||||
{"FoodCanGriffEmpty","CfgMagazines",1},
|
||||
{"FoodCanBadguyEmpty","CfgMagazines",1},
|
||||
{"FoodCanBoneboyEmpty","CfgMagazines",1},
|
||||
{"FoodCanCornEmpty","CfgMagazines",1},
|
||||
{"FoodCanCurgonEmpty","CfgMagazines",1},
|
||||
{"FoodCanDemonEmpty","CfgMagazines",1},
|
||||
{"FoodCanFraggleosEmpty","CfgMagazines",1},
|
||||
{"FoodCanHerpyEmpty","CfgMagazines",1},
|
||||
{"FoodCanDerpyEmpty","CfgMagazines",1},
|
||||
{"FoodCanOrlokEmpty","CfgMagazines",1},
|
||||
{"FoodCanPowellEmpty","CfgMagazines",1},
|
||||
{"FoodCanTylersEmpty","CfgMagazines",1},
|
||||
{"FoodCanUnlabeledEmpty","CfgMagazines",1},
|
||||
{"FoodCanRusUnlabeledEmpty","CfgMagazines",1},
|
||||
{"FoodCanRusStewEmpty","CfgMagazines",1},
|
||||
{"FoodCanRusPorkEmpty","CfgMagazines",1},
|
||||
{"FoodCanRusPeasEmpty","CfgMagazines",1},
|
||||
{"FoodCanRusMilkEmpty","CfgMagazines",1},
|
||||
{"FoodCanRusCornEmpty","CfgMagazines",1},
|
||||
{"FoodChipsSulahoopsEmpty","CfgMagazines",1},
|
||||
{"FoodChipsMysticalesEmpty","CfgMagazines",1},
|
||||
{"FoodChipsChocolateEmpty","CfgMagazines",1}}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"ItemTrapTripwireCans","CfgMagazines",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
class Blueprint_TrapTripwireFlare : Recipe {
|
||||
displayName = $STR_ITEM_NAME_TRIPWIRE_FLARE;
|
||||
descriptionShort = $STR_ITEM_DESC_TRIPWIRE_FLARE;
|
||||
input[] =
|
||||
{
|
||||
{"equip_string","CfgMagazines",1},
|
||||
{"PartWoodPile","CfgMagazines",1},
|
||||
{"equip_duct_tape","CfgMagazines",1},
|
||||
{"HandRoadFlare","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"ItemTrapTripwireFlare","CfgMagazines",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,20 @@
|
||||
class Blueprint_TrapTripwireGrenade : Recipe {
|
||||
displayName = $STR_ITEM_NAME_TRIPWIRE_GRENADE;
|
||||
descriptionShort = $STR_ITEM_DESC_TRIPWIRE_GRENADE;
|
||||
input[] =
|
||||
{
|
||||
{"equip_string","CfgMagazines",1},
|
||||
{"PartWoodPile","CfgMagazines",1},
|
||||
{"equip_duct_tape","CfgMagazines",1},
|
||||
{{"HandGrenade_West","CfgMagazines",1},
|
||||
{"HandGrenade_East","CfgMagazines",1}}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"ItemTrapTripwireGrenade","CfgMagazines",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,21 @@
|
||||
class Blueprint_TrapTripwireSmoke : Recipe {
|
||||
displayName = $STR_ITEM_NAME_TRIPWIRE_SMOKE;
|
||||
descriptionShort = $STR_ITEM_DESC_TRIPWIRE_SMOKE;
|
||||
input[] =
|
||||
{
|
||||
{"equip_string","CfgMagazines",1},
|
||||
{"PartWoodPile","CfgMagazines",1},
|
||||
{"equip_duct_tape","CfgMagazines",1},
|
||||
{{"SmokeShell","CfgMagazines",1},
|
||||
{"SmokeShellRed","CfgMagazines",1},
|
||||
{"SmokeShellGreen","CfgMagazines",1}}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"ItemTrapTripwireSmoke","CfgMagazines",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,18 @@
|
||||
class Blueprint_BaseBallBatBarbed : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_BaseBallBatBarbed;
|
||||
descriptionShort = $STR_CRAFT_DESC_BaseBallBatBarbed;
|
||||
input[] =
|
||||
{
|
||||
{"MeleeBaseBallBat","CfgWeapons",1},
|
||||
{"equip_nails","CfgMagazines",1},
|
||||
{"ItemWire","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"MeleeBaseBallBatBarbed","CfgWeapons",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
class Blueprint_Crossbow_Kit : Recipe {
|
||||
displayName = $STR_WPN_NAME_4;
|
||||
input[] =
|
||||
{
|
||||
{"equip_crossbow_Stock","CfgMagazines",1},
|
||||
{"equip_Crossbow_Kit","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"Crossbow_DZ","CfgWeapons",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,17 @@
|
||||
class Blueprint_G36A_camo : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_G36A_CAMO;
|
||||
descriptionShort = $STR_CRAFT_DESC_G36A_CAMO;
|
||||
input[] =
|
||||
{
|
||||
{"G36A","CfgWeapons",1},
|
||||
{"Attachment_CAMO","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"G36A_CAMO","CfgWeapons",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,17 @@
|
||||
class Blueprint_G36C_camo : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_G36C_CAMO;
|
||||
descriptionShort = $STR_CRAFT_DESC_G36C_CAMO;
|
||||
input[] =
|
||||
{
|
||||
{"G36C","CfgWeapons",1},
|
||||
{"Attachment_CAMO","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"G36C_CAMO","CfgWeapons",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,17 @@
|
||||
class Blueprint_G36K_camo : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_G36K_CAMO;
|
||||
descriptionShort = $STR_CRAFT_DESC_G36K_CAMO;
|
||||
input[] =
|
||||
{
|
||||
{"G36K","CfgWeapons",1},
|
||||
{"Attachment_CAMO","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"G36K_CAMO","CfgWeapons",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,19 @@
|
||||
class Blueprint_M4A1_AIM : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_M4A1_AIM;
|
||||
descriptionShort = $STR_CRAFT_DESC_M4A1_AIM;
|
||||
input[] =
|
||||
{
|
||||
{"M4A1","CfgWeapons",1},
|
||||
{"Attachment_AIM","CfgMagazines",1},
|
||||
{"equip_rail_screws","CfgMagazines",2},
|
||||
{"equip_weapon_rails","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"M4A1_AIM","CfgWeapons",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,17 @@
|
||||
class Blueprint_M4A1_Aim_CAMO : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_M4A1_Aim_CAMO;
|
||||
descriptionShort = $STR_CRAFT_DESC_M4A1_Aim_CAMO;
|
||||
input[] =
|
||||
{
|
||||
{"M4A1_Aim","CfgWeapons",1},
|
||||
{"Attachment_CAMO","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"M4A1_Aim_CAMO","CfgWeapons",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,17 @@
|
||||
class Blueprint_M4A1_HWS_GL_CAMO : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_M4A1_HWS_GL_CAMO;
|
||||
descriptionShort = $STR_CRAFT_DESC_M4A1_HWS_GL_CAMO;
|
||||
input[] =
|
||||
{
|
||||
{"M4A1_HWS_GL","CfgWeapons",1},
|
||||
{"Attachment_CAMO","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"M4A1_HWS_GL_CAMO","CfgWeapons",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
17
SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/M9SD.hpp
Normal file
17
SQF/dayz_code/Configs/CfgCrafting/Recipes/Weapons/M9SD.hpp
Normal file
@@ -0,0 +1,17 @@
|
||||
class Blueprint_M9SD : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_M9SD;
|
||||
descriptionShort = $STR_CRAFT_DESC_M9SD;
|
||||
input[] =
|
||||
{
|
||||
{"M9","CfgWeapons",1},
|
||||
{"Attachment_Silencer","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"M9SD","CfgWeapons",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,17 @@
|
||||
class Blueprint_MAKAROVSD : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_MAKAROVSD;
|
||||
descriptionShort = $STR_CRAFT_DESC_MAKAROVSD;
|
||||
input[] =
|
||||
{
|
||||
{"Makarov","CfgWeapons",1},
|
||||
{"Attachment_Silencer","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"MakarovSD","CfgWeapons",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,17 @@
|
||||
class Blueprint_NailedBaseballBat : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_NailedBaseballBat;
|
||||
descriptionShort = $STR_CRAFT_DESC_NailedBaseballBat;
|
||||
input[] =
|
||||
{
|
||||
{"MeleeBaseBallBat","CfgWeapons",1},
|
||||
{"equip_nails","CfgMagazines",2}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"MeleeBaseBallBatNails","CfgWeapons",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,20 @@
|
||||
class PipeBomb : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_PipeBomb;
|
||||
descriptionShort = $STR_CRAFT_DESC_PipeBomb;
|
||||
input[] =
|
||||
{
|
||||
{"equip_1inch_metal_pipe","CfgMagazines",1},
|
||||
{"equip_2inch_metal_pipe","CfgMagazines",1},
|
||||
{"equip_metal_sheet","CfgMagazines",1},
|
||||
{"equip_fuse","CfgMagazines",1},
|
||||
{"equip_pipecap","CfgMagazines",1],
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"PipeBomb","CfgMagazines",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,18 @@
|
||||
class Blueprint_SVD_CAMO : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_SVD_CAMO;
|
||||
descriptionShort = $STR_CRAFT_DESC_SVD_CAMO;
|
||||
input[] =
|
||||
{
|
||||
{"SVD_DZ","CfgWeapons",1},
|
||||
{"Skin_Sniper1_DZ","CfgMagazines",1},
|
||||
{"Attachment_CAMO","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"SVD_CAMO_DZ","CfgWeapons",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,17 @@
|
||||
class Blueprint_bizonSD : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_bizonSD;
|
||||
descriptionShort = $STR_CRAFT_DESC_bizonSD;
|
||||
input[] =
|
||||
{
|
||||
{"bizon","CfgWeapons",1},
|
||||
{"Attachment_Silencer","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"bizon_silenced","CfgWeapons",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -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;";
|
||||
|
||||
@@ -47,7 +47,7 @@ class horde_journal_pages_humanity_art
|
||||
class left_page_middle: horde_RscPicture
|
||||
{
|
||||
idc = 1201;
|
||||
text = "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_middle_1.paa";
|
||||
//text = "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_middle_1.paa";
|
||||
x = 0.209053 * safezoneW + safezoneX;
|
||||
y = 0.27261 * safezoneH + safezoneY;
|
||||
w = 0.282496 * safezoneW;
|
||||
@@ -56,7 +56,7 @@ class horde_journal_pages_humanity_art
|
||||
class left_page_bottom: horde_RscPicture
|
||||
{
|
||||
idc = 1202;
|
||||
text = "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_bottom_1.paa";
|
||||
//text = "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_bottom_1.paa";
|
||||
x = 0.203156 * safezoneW + safezoneX;
|
||||
y = 0.468726 * safezoneH + safezoneY;
|
||||
w = 0.291609 * safezoneW;
|
||||
@@ -65,7 +65,7 @@ class horde_journal_pages_humanity_art
|
||||
class left_page_top: horde_RscPicture
|
||||
{
|
||||
idc = 1203;
|
||||
text = "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_top_1.paa";
|
||||
//text = "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_top_1.paa";
|
||||
x = 0.209111 * safezoneW + safezoneX;
|
||||
y = 0.0901794 * safezoneH + safezoneY;
|
||||
w = 0.291609 * safezoneW;
|
||||
@@ -77,7 +77,7 @@ class horde_journal_pages_humanity_art
|
||||
class right_page_picture: horde_RscPicture
|
||||
{
|
||||
idc = 1204;
|
||||
text = "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_3.paa";
|
||||
//text = "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_3.paa";
|
||||
x = 0.43621 * safezoneW + safezoneX;
|
||||
y = 0.167545 * safezoneH + safezoneY;
|
||||
w = 0.419188 * safezoneW;
|
||||
|
||||
@@ -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