mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-20 10:26:28 +03:00
@@ -836,54 +836,6 @@ class ItemLockbox: CA_Magazine
|
||||
};
|
||||
};
|
||||
|
||||
class PartWoodPile: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EQUIP_NAME_40;
|
||||
model = "\dayz_equip\models\woodPile.p3d";
|
||||
picture = "\dayz_equip\textures\equip_woodPile_ca.paa";
|
||||
descriptionShort = $STR_EQUIP_DESC_40;
|
||||
class ItemActions {
|
||||
class Build {
|
||||
text = $STR_EPOCH_PLAYER_241;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemMatchbox_DZE"};
|
||||
create = "Land_Fire_DZ";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_242;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem; r_action_count = r_action_count + 1;";
|
||||
neednearby[] = {"sawmill"};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"PartWoodLumber",1}};
|
||||
input[] = {{"PartWoodPile",2}};
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_243;
|
||||
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem; r_action_count = r_action_count + 1;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemKnife"};
|
||||
output[] = {{"WoodenArrow",3}};
|
||||
input[] = {{"PartWoodPile",1},{"ItemTrashRazor",1}};
|
||||
|
||||
};
|
||||
class Crafting2
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_244;
|
||||
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem; r_action_count = r_action_count + 1;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"stick_fence_kit",1}};
|
||||
input[] = {{"PartWoodPile",6}};
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
class PartPlankPack: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
|
||||
@@ -45,7 +45,7 @@ class ItemPlank : CA_Magazine
|
||||
};
|
||||
};
|
||||
};
|
||||
/* Redifined in DZE/Misc
|
||||
|
||||
class PartWoodPile : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
@@ -56,4 +56,41 @@ class PartWoodPile : CA_Magazine
|
||||
picture = "\dayz_equip\textures\equip_woodPile_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_40;
|
||||
descriptionShort = $STR_EQUIP_DESC_40;
|
||||
}; */
|
||||
class ItemActions {
|
||||
class Build {
|
||||
text = $STR_EPOCH_PLAYER_241;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemMatchbox_DZE"};
|
||||
create = "Land_Fire_DZ";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_242;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem; r_action_count = r_action_count + 1;";
|
||||
neednearby[] = {"sawmill"};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"PartWoodLumber",1}};
|
||||
input[] = {{"PartWoodPile",2}};
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_243;
|
||||
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem; r_action_count = r_action_count + 1;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemKnife"};
|
||||
output[] = {{"WoodenArrow",3}};
|
||||
input[] = {{"PartWoodPile",1},{"ItemTrashRazor",1}};
|
||||
|
||||
};
|
||||
class Crafting2
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_244;
|
||||
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem; r_action_count = r_action_count + 1;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"stick_fence_kit",1}};
|
||||
input[] = {{"PartWoodPile",6}};
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -59,25 +59,6 @@ class 2Rnd_12Gauge_Slug : 8Rnd_12Gauge_Slug
|
||||
};
|
||||
};
|
||||
};
|
||||
class 2Rnd_shotgun_74Slug: 2Rnd_12Gauge_Slug {
|
||||
count=2;
|
||||
class ItemActions {
|
||||
class ReloadMag {
|
||||
text="Combine to 8 rounds";
|
||||
script="spawn player_reloadMag;";
|
||||
use[]= {
|
||||
"2Rnd_shotgun_74Slug",
|
||||
"2Rnd_shotgun_74Slug",
|
||||
"2Rnd_shotgun_74Slug",
|
||||
"2Rnd_shotgun_74Slug"
|
||||
};
|
||||
output[]= {
|
||||
"8Rnd_12Gauge_Slug" //USE THIS AMMO TYPE INSTEAD OF 8Rnd_B_Beneli_74Slug
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
/* Buckshot */
|
||||
|
||||
@@ -137,23 +118,4 @@ class 2Rnd_12Gauge_Buck : 8Rnd_12Gauge_Buck
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
class 2Rnd_shotgun_74Pellets: 2Rnd_12Gauge_Buck {
|
||||
displayName="2Rnd. Pellets";
|
||||
count=2;
|
||||
class ItemActions {
|
||||
class ReloadMag {
|
||||
text="Combine to 8 rounds";
|
||||
script="spawn player_reloadMag;";
|
||||
use[]= {
|
||||
"2Rnd_shotgun_74Pellets",
|
||||
"2Rnd_shotgun_74Pellets",
|
||||
"2Rnd_shotgun_74Pellets",
|
||||
"2Rnd_shotgun_74Pellets"
|
||||
};
|
||||
output[]= {
|
||||
"8Rnd_12Gauge_Buck" //USE THIS TYPE INSTEAD OF 8Rnd_B_Beneli_Pellets
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user