mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-14 20:22:56 +03:00
Remove DayZ Mod crafting and replace it with epoch crafting
- All dayz mod recipe were moved to epoch crafting. - This disables the craft dialog in the diary too. - The player_craftitem got updated and can handle all dayz mod recipes now. - A few wooden recipes got updated with an need nails now. - player_craftitem shows all items that are needed for crafting now, no longer only one missing part. - Add a systemchat text for missing tools, so it can be checked later in the chat.
This commit is contained in:
@@ -1,34 +1,3 @@
|
||||
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"
|
||||
|
||||
//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"
|
||||
};
|
||||
};
|
||||
@@ -19,6 +19,24 @@ class TrapBear : CA_Magazine
|
||||
consume[] = {"TrapBear"};
|
||||
create = "BearTrap_DZ";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_ITEM_NAME_BEAR_TRAP_FLARE;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemTrapBearTrapFlare",1}};
|
||||
input[] = {{"equip_string",1},{"TrapBear",1},{"PartWoodPile",1},{"equip_duct_tape",1},{"HandRoadFlare",1}};
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = $STR_ITEM_NAME_BEAR_TRAP_SMOKE;
|
||||
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemTrapBearTrapSmoke",1}};
|
||||
input[] = {{"equip_string",1},{"TrapBear",1},{"PartWoodPile",1},{"equip_duct_tape",1},{"SmokeShell",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -93,7 +93,25 @@ class ItemPlasticWaterBottleBoiled : ItemWaterBottle
|
||||
infectionChance = 0;
|
||||
consumeOutput = "ItemPlasticWaterbottleUnfilled";
|
||||
containerEmpty = "ItemPlasticWaterbottleUnfilled";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_CRAFTING_HERBALDRINK;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {};
|
||||
output[] = {{"ItemPlasticWaterBottleHerbal",1}};
|
||||
input[] = {{"equip_herb_box",1},{"ItemPlasticWaterBottleBoiled",1}};
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemPlasticWaterBottleHerbal : ItemWaterBottle
|
||||
{
|
||||
|
||||
@@ -46,6 +46,24 @@ class ItemWaterBottleBoiled : ItemWaterBottle
|
||||
descriptionShort = $STR_ITEMWATERBOTTLEBOILED_CODE_DESC;
|
||||
|
||||
infectionChance = 0;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_CRAFTING_HERBALDRINK;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {};
|
||||
output[] = {{"ItemWaterBottleHerbal",1}};
|
||||
input[] = {{"equip_herb_box",1},{"ItemWaterBottleBoiled",1}};
|
||||
};
|
||||
class Empty
|
||||
{
|
||||
text = $STR_EQUIP_NAME_13_EMPTY;
|
||||
script = "spawn player_emptyContainer";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWaterBottleHerbal : ItemWaterBottle
|
||||
|
||||
@@ -17,6 +17,14 @@ class PartGeneric : CA_Magazine
|
||||
output[] = {{"ItemPole",1}};
|
||||
input[] = {{"PartGeneric",2}};
|
||||
};
|
||||
class Crafting1 {
|
||||
text = $STR_CRAFTING_NAILS;
|
||||
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"fire"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"equip_nails",4}};
|
||||
input[] = {{"PartGeneric",2}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -102,8 +102,8 @@ class equip_pvc_box : CA_Magazine {
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_pvc_box;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_pvc_box;
|
||||
model = "\z\addons\dayz_communityassets\models\plastic_box.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_plastic_box_ca.paa";
|
||||
model = "\z\addons\dayz_communityassets\models\plastic_box.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_plastic_box_ca.paa";
|
||||
type = 256;
|
||||
};
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@ class ItemFertilizer: CA_Magazine {
|
||||
count = 1;
|
||||
displayName = $STR_CRAFT_NAME_FERTILIZER;
|
||||
descriptionShort = $STR_CRAFT_DESC_FERTILIZER;
|
||||
weight = 0.1;
|
||||
picture = "\z\addons\dayz_epoch_w\magazine\ui\m_fertilizer_ca.paa";
|
||||
model = "\z\addons\dayz_epoch_w\magazine\dze_fertilizer.p3d";
|
||||
type = 256;
|
||||
@@ -14,7 +13,6 @@ class ItemPumpkinSeed: CA_Magazine {
|
||||
count = 1;
|
||||
displayName = $STR_CRAFT_NAME_PUMPKIN_SEED;
|
||||
descriptionShort = $STR_CRAFT_DESC_PUMPKIN_SEED;
|
||||
weight = 0.1;
|
||||
model = "\z\addons\dayz_epoch\models\doc_child1.p3d"; // TODO: model + icon
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_child1_ca.paa";
|
||||
type = 256;
|
||||
@@ -36,7 +34,6 @@ class ItemPumpkinPlant: CA_Magazine {
|
||||
count = 1;
|
||||
displayName = $STR_CRAFT_NAME_PUMPKIN_PLANT;
|
||||
descriptionShort = $STR_CRAFT_DESC_PUMPKIN_PLANT;
|
||||
weight = 0.1;
|
||||
model = "\z\addons\dayz_epoch\models\doc_child1.p3d"; // TODO: model + icon
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_child1_ca.paa";
|
||||
type = 256;
|
||||
@@ -56,7 +53,6 @@ class ItemHempSeed: CA_Magazine {
|
||||
count = 1;
|
||||
displayName = $STR_CRAFT_NAME_HEMP_SEED;
|
||||
descriptionShort = $STR_CRAFT_DESC_HEMP_SEED;
|
||||
weight = 0.1;
|
||||
model = "\z\addons\dayz_epoch\models\doc_child2.p3d"; // TODO: model + icon
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_child2_ca.paa";
|
||||
type = 256;
|
||||
@@ -78,7 +74,6 @@ class ItemHempPlant: CA_Magazine {
|
||||
count = 1;
|
||||
displayName = $STR_CRAFT_NAME_HEMP_PLANT;
|
||||
descriptionShort = $STR_CRAFT_DESC_HEMP_PLANT;
|
||||
weight = 0.1;
|
||||
model = "\z\addons\dayz_epoch\models\doc_child2.p3d"; // TODO: model + icon
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_child2_ca.paa";
|
||||
type = 256;
|
||||
@@ -99,7 +94,6 @@ class ItemKiloHemp : CA_Magazine
|
||||
count = 1;
|
||||
displayName = $STR_EPOCH_KILOOFHEMP;
|
||||
descriptionShort = $STR_EPOCH_KILOOFHEMP_DESC;
|
||||
weight = 1;
|
||||
model = "z\addons\dayz_epoch\models\kilohemp.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_kilohemp_CA.paa";
|
||||
type = 256;
|
||||
@@ -132,7 +126,6 @@ class ItemKiloTobacco : CA_Magazine
|
||||
count = 1;
|
||||
displayName = $STR_EPOCH_KILOTOBACCO;
|
||||
descriptionShort = $STR_EPOCH_KILOTOBACCO_DESC;
|
||||
weight = 1;
|
||||
model = "z\addons\dayz_epoch\models\kilohemp.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_kilohemp_CA.paa";
|
||||
type = 256;
|
||||
|
||||
@@ -7,6 +7,7 @@ class ItemCanvas: CA_Magazine
|
||||
model = "\z\addons\dayz_epoch\models\canvas.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_canvas_ca.paa";
|
||||
descriptionShort = $STR_EPOCH_CANVAS_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
@@ -56,6 +57,7 @@ class ItemCanvas: CA_Magazine
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemBurlap: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
@@ -65,13 +67,14 @@ class ItemBurlap: CA_Magazine
|
||||
model = "\z\addons\dayz_epoch\models\burlap.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_burlap_ca.paa";
|
||||
descriptionShort = $STR_EPOCH_BURLAP_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_195;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"sand"}; // todo add sand requirement
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemEtool","ItemToolbox"};
|
||||
output[] = {{"ItemSandbag",1}};
|
||||
input[] = {{"ItemBurlap",3}};
|
||||
@@ -87,6 +90,20 @@ class equip_rag : CA_Magazine {
|
||||
model = "\z\addons\dayz_communityassets\models\rag_clean.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_rag_clean_ca.paa";
|
||||
type = 256;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_269;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemKnife"};
|
||||
output[] = {{"ItemBandage",2}};
|
||||
outputweapons[] = {};
|
||||
input[] = {{"equip_gauze",2},{"equip_rag",1},{"equip_string",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class equip_string : CA_Magazine {
|
||||
@@ -94,9 +111,59 @@ class equip_string : CA_Magazine {
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_string;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_string;
|
||||
model = "\z\addons\dayz_communityassets\models\string.p3d";
|
||||
model = "\z\addons\dayz_communityassets\models\string.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_string_ca.paa";
|
||||
type = 256;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_269;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemKnife"};
|
||||
output[] = {{"ItemBandage",2}};
|
||||
outputweapons[] = {};
|
||||
input[] = {{"equip_gauze",2},{"equip_rag",1},{"equip_string",1}};
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = $STR_ITEM_NAME_TRIPWIRE_CANS;
|
||||
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemTrapTripwireCans",1}};
|
||||
input[] = {{"equip_string",1},{"TrashTinCan",1},{"PartWoodPile",1},{"equip_duct_tape",1}};
|
||||
};
|
||||
class Crafting2
|
||||
{
|
||||
text = $STR_ITEM_NAME_TRIPWIRE_FLARE;
|
||||
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemTrapTripwireFlare",1}};
|
||||
input[] = {{"equip_string",1},{"HandRoadFlare",1},{"PartWoodPile",1},{"equip_duct_tape",1}};
|
||||
};
|
||||
class Crafting3
|
||||
{
|
||||
text = $STR_ITEM_NAME_TRIPWIRE_GRENADE;
|
||||
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemTrapTripwireGrenade",1}};
|
||||
input[] = {{"equip_string",1},{"HandGrenade_West",1},{"PartWoodPile",1},{"equip_duct_tape",1}};
|
||||
};
|
||||
class Crafting4
|
||||
{
|
||||
text = $STR_ITEM_NAME_TRIPWIRE_SMOKE;
|
||||
script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemTrapTripwireSmoke",1}};
|
||||
input[] = {{"equip_string",1},{"SmokeShell",1},{"PartWoodPile",1},{"equip_duct_tape",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class equip_rope : CA_Magazine {
|
||||
@@ -107,6 +174,7 @@ class equip_rope : CA_Magazine {
|
||||
model = "\z\addons\dayz_communityassets\models\rope.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_rope_ca.paa";
|
||||
type = 256;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
|
||||
@@ -18,7 +18,7 @@ class ItemSledgeHead : CA_Magazine
|
||||
model = "\z\addons\dayz_epoch\models\sledge_head.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_sledge_head_ca.paa";
|
||||
descriptionShort = $STR_EPOCH_SLEDGEHAMMERHEAD_DESC;
|
||||
weight = 9;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
@@ -43,7 +43,7 @@ class ItemSledgeHandle : CA_Magazine
|
||||
model = "\z\addons\dayz_epoch\models\sledge_handle.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_sledge_handle_ca.paa";
|
||||
descriptionShort = $STR_EPOCH_SLEDGEHAMMERHANDLE_DESC;
|
||||
weight = 1;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
@@ -59,7 +59,8 @@ class ItemSledgeHandle : CA_Magazine
|
||||
};
|
||||
};
|
||||
|
||||
class equip_Crossbow_Kit : CA_Magazine {
|
||||
class equip_Crossbow_Kit : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_CROSSBOW_KIT;
|
||||
@@ -67,14 +68,43 @@ class equip_Crossbow_Kit : CA_Magazine {
|
||||
model = "\z\addons\community_crossbow\models\Crossbow_kit.p3d";
|
||||
picture = "\z\addons\community_crossbow\textures\Crossbow_kit.paa";
|
||||
type = 256;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_CRAFTING_CROSSBOW;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {};
|
||||
outputweapons[] = {"Crossbow_DZ"};
|
||||
input[] = {{"equip_Crossbow_Kit",1},{"equip_crossbow_stock",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class equip_crossbow_stock : CA_Magazine {
|
||||
class equip_crossbow_stock : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = "Crossbow (Stock)";
|
||||
descriptionShort="You require a Crossbow String kit to craft this weapon";
|
||||
displayName = $STR_ITEM_NAME_CROSSBOW_STOCK;
|
||||
descriptionShort = $STR_ITEM_DESC_CROSSBOW_STOCK;
|
||||
model = "z\addons\community_crossbow\models\crossbow_stock.p3d";
|
||||
picture = "\z\addons\community_crossbow\icons\crossbow_stock.paa";
|
||||
type = 256;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_CRAFTING_CROSSBOW;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {};
|
||||
outputweapons[] = {"Crossbow_DZ"};
|
||||
input[] = {{"equip_Crossbow_Kit",1},{"equip_crossbow_stock",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -58,6 +58,15 @@ class ItemPlank : CA_Magazine
|
||||
output[] = {{"PartWoodPile",2}};
|
||||
input[] = {{"ItemPlank",1}};
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = $STR_CRAFTING_SPLINT;
|
||||
Script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemKnife"};
|
||||
output[] = {{"equip_woodensplint",1}};
|
||||
input[] = {{"ItemPlank",1},{"equip_duct_tape",1},{"equip_string",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -82,7 +91,7 @@ class PartWoodPile : CA_Magazine
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_242;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"sawmill"};
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"PartWoodLumber",1}};
|
||||
input[] = {{"PartWoodPile",2}};
|
||||
@@ -107,6 +116,15 @@ class PartWoodPile : CA_Magazine
|
||||
input[] = {{"PartWoodPile",6}};
|
||||
|
||||
};
|
||||
class Crafting3
|
||||
{
|
||||
text = $STR_CRAFTING_SPLINT;
|
||||
Script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemKnife"};
|
||||
output[] = {{"equip_woodensplint",1}};
|
||||
input[] = {{"PartWoodPile",1},{"equip_duct_tape",1},{"equip_string",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -126,7 +144,7 @@ class PartPlankPack: CA_Magazine
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_251;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"sawmill"};
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"PartWoodLumber",3}};
|
||||
input[] = {{"PartPlankPack",1}};
|
||||
@@ -150,7 +168,7 @@ class PartPlywoodPack: CA_Magazine
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_251;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"sawmill"};
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"PartWoodPlywood",3}};
|
||||
input[] = {{"PartPlywoodPack",1}};
|
||||
@@ -173,7 +191,7 @@ class PartWoodLumber: CA_Magazine
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_254;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"sawmill"};
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"PartWoodPlywood",1}};
|
||||
input[] = {{"PartWoodLumber",2}};
|
||||
@@ -196,7 +214,7 @@ class PartWoodLumber: CA_Magazine
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"deer_stand_kit",1}};
|
||||
input[] = {{"PartWoodLumber",8},{"PartWoodPile",2}};
|
||||
input[] = {{"PartWoodLumber",8},{"PartWoodPile",2},{"equip_nails",2}};
|
||||
|
||||
};
|
||||
class Crafting3
|
||||
@@ -206,7 +224,7 @@ class PartWoodLumber: CA_Magazine
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemWoodStairs",1}};
|
||||
input[] = {{"PartWoodLumber",8}};
|
||||
input[] = {{"PartWoodLumber",8},{"equip_nails",2}};
|
||||
|
||||
};
|
||||
class Crafting4
|
||||
@@ -216,14 +234,14 @@ class PartWoodLumber: CA_Magazine
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemWoodLadder",1}};
|
||||
input[] = {{"PartWoodLumber",8}};
|
||||
input[] = {{"PartWoodLumber",8},{"equip_nails",2}};
|
||||
|
||||
};
|
||||
class Crafting5
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_259;
|
||||
Script = ";['Crafting5','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"sawmill"};
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"PartPlankPack",1}};
|
||||
input[] = {{"PartWoodLumber",3}};
|
||||
@@ -235,16 +253,16 @@ class PartWoodLumber: CA_Magazine
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemGunRackKit",1}};
|
||||
input[] = {{"PartWoodLumber",6}};
|
||||
input[] = {{"PartWoodPlywood",1},{"PartWoodLumber",4},{"equip_nails",1}};
|
||||
};
|
||||
class Crafting7
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_304;
|
||||
text = $STR_CRAFTING_SPLINT;
|
||||
Script = ";['Crafting7','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemWoodCrateKit",1}};
|
||||
input[] = {{"PartWoodLumber",6}};
|
||||
requiretools[] = {"ItemKnife"};
|
||||
output[] = {{"equip_woodensplint",1}};
|
||||
input[] = {{"PartWoodLumber",1},{"equip_duct_tape",1},{"equip_string",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -276,7 +294,7 @@ class PartWoodPlywood: CA_Magazine
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"wood_shack_kit",1}};
|
||||
input[] = {{"PartWoodPlywood",4},{"PartWoodLumber",4}};
|
||||
input[] = {{"PartWoodPlywood",4},{"PartWoodLumber",4},{"equip_nails",2}};
|
||||
};
|
||||
class Crafting2
|
||||
{
|
||||
@@ -300,11 +318,20 @@ class PartWoodPlywood: CA_Magazine
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_264;
|
||||
Script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"sawmill"};
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"PartPlywoodPack",1}};
|
||||
input[] = {{"PartWoodPlywood",3}};
|
||||
};
|
||||
class Crafting5
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_304;
|
||||
Script = ";['Crafting5','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemWoodCrateKit",1}};
|
||||
input[] = {{"PartWoodPlywood",4},{"PartWoodLumber",2},{"equip_nails",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -41,6 +41,16 @@ class ItemBandage : CA_Magazine
|
||||
text = $STR_BANDAGE_SELF;
|
||||
script = "spawn player_useMeds;";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_CRAFTING_SEPSISBANDAGE;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {};
|
||||
output[] = {{"ItemSepsisBandage",1}};
|
||||
outputweapons[] = {};
|
||||
input[] = {{"ItemBandage",1},{"equip_comfreyleafs",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -127,6 +137,7 @@ class equip_woodensplint : CA_Magazine {
|
||||
model = "\z\addons\dayz_communityassets\models\woodensplint.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_woodensplint_ca.paa";
|
||||
type = 256;
|
||||
|
||||
class ItemActions {
|
||||
class Use {
|
||||
text = $STR_ACTIONS_BRACE_LEG;
|
||||
@@ -143,6 +154,20 @@ class equip_gauze : CA_Magazine {
|
||||
model = "\z\addons\dayz_communityassets\models\gauze.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_gauze_ca.paa";
|
||||
type = 256;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_269;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemKnife"};
|
||||
output[] = {{"ItemBandage",2}};
|
||||
outputweapons[] = {};
|
||||
input[] = {{"equip_gauze",2},{"equip_rag",1},{"equip_string",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class equip_gauzepackaged : CA_Magazine {
|
||||
@@ -153,6 +178,20 @@ class equip_gauzepackaged : CA_Magazine {
|
||||
model = "\z\addons\dayz_communityassets\models\gauze_package.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_gauze_package_ca.paa";
|
||||
type = 256;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_CRAFTING_PACKAGEGAUZE;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {};
|
||||
output[] = {{"equip_gauze",3}};
|
||||
outputweapons[] = {};
|
||||
input[] = {{"equip_gauzepackaged",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class equip_herb_box : CA_Magazine {
|
||||
@@ -161,5 +200,5 @@ class equip_herb_box : CA_Magazine {
|
||||
displayName = $STR_EQUIP_NAME_HERBBOX;
|
||||
descriptionShort = $STR_EQUIP_DESC_HERBBOX;
|
||||
model = "\z\addons\dayz_communityassets\models\herb_box.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_herb_box_ca.paa";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_herb_box_ca.paa";
|
||||
};
|
||||
@@ -18,7 +18,7 @@ class horde_journal_front_cover
|
||||
controls[] =
|
||||
{
|
||||
"book_page_image",
|
||||
"open_craft",
|
||||
//"open_craft",
|
||||
"open_book",
|
||||
"click_here_to_close_book_1",
|
||||
"click_here_to_close_book_2",
|
||||
@@ -40,7 +40,7 @@ class horde_journal_front_cover
|
||||
};
|
||||
|
||||
// buttons
|
||||
|
||||
/*
|
||||
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_Construction: RscIGUIShortcutButton {
|
||||
idc = -1;
|
||||
x = 0.48 * safezoneW + safezoneX;
|
||||
|
||||
@@ -297,11 +297,7 @@ class CfgWeapons
|
||||
#include "Melee\Machete.hpp"
|
||||
#include "Melee\BaseballBat.hpp"
|
||||
#include "Melee\FishingPole.hpp"
|
||||
#include "Melee\MeleeSledgehammer.hpp"
|
||||
|
||||
|
||||
|
||||
|
||||
#include "Melee\MeleeSledgehammer.hpp"
|
||||
|
||||
/* TOOLS */
|
||||
|
||||
@@ -340,54 +336,4 @@ class CfgWeapons
|
||||
|
||||
#include "Item\ItemKeys.hpp"
|
||||
#include "Item\Documents.hpp"
|
||||
|
||||
|
||||
|
||||
|
||||
/* OTHER */
|
||||
|
||||
/*class ItemFlashlightEmpty : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
displayName = $STR_EQUIP_NAME_5;
|
||||
model = "\dayz_equip\models\flashlight.p3d";
|
||||
picture = "\dayz_equip\textures\equip_flashlight_ca.paa";
|
||||
descriptionShort = $STR_EQUIP_DESC_5;
|
||||
};
|
||||
|
||||
class ItemSodaEmpty : HandGrenade
|
||||
{
|
||||
scope = public;
|
||||
displayName = $STR_EQUIP_NAME_35;
|
||||
model = "\dayz_equip\models\soda_coke_e.p3d";
|
||||
picture = "\dayz_equip\textures\equip_soda_empty_ca.paa";
|
||||
descriptionShort = $STR_EQUIP_DESC_35;
|
||||
ammo = "SodaCan";
|
||||
class ItemActions
|
||||
{
|
||||
class Drink
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = ";[_id] spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class TrashTinCan : HandGrenade
|
||||
{
|
||||
scope = public;
|
||||
displayName = $STR_EQUIP_NAME_33;
|
||||
model = "\dayz_equip\models\trash_tincan.p3d";
|
||||
picture = "\dayz_equip\textures\equip_tincan_ca.paa";
|
||||
descriptionShort = $STR_EQUIP_DESC_33;
|
||||
ammo = "TinCan";
|
||||
class ItemActions
|
||||
{
|
||||
class Drink
|
||||
{
|
||||
text = $STR_ACTIONS_DRINK2;
|
||||
script = ";[_id] spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};*/
|
||||
};
|
||||
@@ -15,6 +15,32 @@ class MeleeBaseBallBat : MeleeWeapon
|
||||
{
|
||||
libTextDesc = $STR_EQUIP_DESC_BASEBALLBAT;
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_CRAFTING_NAILEDBASEBALLBAT;
|
||||
script = ";['Crafting','CfgWeapons', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {};
|
||||
outputweapons[] = {"MeleeBaseBallBatNails"};
|
||||
input[] = {{"equip_nails",1}};
|
||||
inputweapons[] = {"MeleeBaseBallBat"};
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = $STR_CRAFTING_BASEBALLBATBARBED;
|
||||
script = ";['Crafting1','CfgWeapons', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {};
|
||||
outputweapons[] = {"MeleeBaseBallBatBarbed"};
|
||||
input[] = {{"equip_nails",1},{"ItemWire",1}};
|
||||
inputweapons[] = {"MeleeBaseBallBat"};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class MeleeBaseBallBatBarbed : MeleeWeapon
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "RscGroups.hpp"
|
||||
#include "RscDisplayCraftingMenu.hpp"
|
||||
//#include "RscDisplayCraftingMenu.hpp"
|
||||
#include "RscDisplayGear.hpp"
|
||||
#include "RscDisplayGearMinimal.hpp"
|
||||
#include "RscDisplayGenderSelect.hpp"
|
||||
|
||||
Reference in New Issue
Block a user