mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Add many new buildable fortifications
Mady by @Victor-the-Cleaner Also change some base building baseclasses to work better with the new upcoming modular_build changes and snapping.
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
class PartGeneric : CA_Magazine
|
||||
class PartGeneric: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
type = 256;
|
||||
model = "\dayz_equip\models\genericparts.p3d";
|
||||
picture = "\dayz_equip\textures\equip_genericparts_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_SCRAP_METAL;
|
||||
descriptionShort = $STR_EQUIP_DESC_SCRAP_METAL;
|
||||
|
||||
class ItemActions
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_213;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
@@ -19,7 +19,7 @@ class PartGeneric : CA_Magazine
|
||||
output[] = {{"ItemPole",1}};
|
||||
input[] = {{"PartGeneric",2}};
|
||||
};
|
||||
class Crafting1
|
||||
class Crafting1
|
||||
{
|
||||
text = $STR_CRAFTING_NAILS;
|
||||
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
|
||||
@@ -27,8 +27,8 @@ class PartGeneric : CA_Magazine
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"equip_nails",4}};
|
||||
input[] = {{"PartGeneric",2}};
|
||||
};
|
||||
class Crafting2
|
||||
};
|
||||
class Crafting2
|
||||
{
|
||||
text = $STR_CRAFTING_CORRUGATEDSHEETS;
|
||||
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
|
||||
@@ -37,7 +37,7 @@ class PartGeneric : CA_Magazine
|
||||
output[] = {{"ItemMetalSheet",1}};
|
||||
input[] = {{"PartGeneric",3}};
|
||||
};
|
||||
class Crafting3
|
||||
class Crafting3
|
||||
{
|
||||
text = $STR_CRAFTING_METALSHEET;
|
||||
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
|
||||
@@ -45,8 +45,8 @@ class PartGeneric : CA_Magazine
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar","ItemSledge"};
|
||||
output[] = {{"equip_metal_sheet",1}};
|
||||
input[] = {{"PartGeneric",2},{"ItemTankTrap",2}};
|
||||
};
|
||||
class Crafting4
|
||||
};
|
||||
class Crafting4
|
||||
{
|
||||
text = $STR_EPOCH_ACTION_METAL_DOORWAY;
|
||||
script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;";
|
||||
@@ -54,7 +54,7 @@ class PartGeneric : CA_Magazine
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"door_frame_kit",1}};
|
||||
input[] = {{"ItemPole",4},{"ItemTankTrap",4},{"PartGeneric",2}};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -67,7 +67,7 @@ class ItemPole: CA_Magazine
|
||||
model = "\z\addons\dayz_epoch\models\pipe.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_pipe_CA.paa";
|
||||
descriptionShort = $STR_EPOCH_METALPOLE_DESC;
|
||||
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
@@ -97,7 +97,7 @@ class ItemPole: CA_Magazine
|
||||
output[] = {{"metal_panel_kit",1}};
|
||||
input[] = {{"ItemPole",4},{"ItemTankTrap",4}};
|
||||
};
|
||||
class Crafting3
|
||||
class Crafting3
|
||||
{
|
||||
text = $STR_EPOCH_ACTION_METAL_DOORWAY;
|
||||
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
|
||||
@@ -105,8 +105,8 @@ class ItemPole: CA_Magazine
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"door_frame_kit",1}};
|
||||
input[] = {{"ItemPole",4},{"ItemTankTrap",4},{"PartGeneric",2}};
|
||||
};
|
||||
class Crafting4
|
||||
};
|
||||
class Crafting4
|
||||
{
|
||||
text = $STR_EPOCH_ACTION_GLASS_FLOOR_QUARTER;
|
||||
script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;";
|
||||
@@ -114,7 +114,7 @@ class ItemPole: CA_Magazine
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"glass_floor_quarter_kit",1}};
|
||||
input[] = {{"ItemPole",8},{"PartGlass",4}};
|
||||
};
|
||||
};
|
||||
class Crafting5
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_228_2;
|
||||
@@ -123,7 +123,16 @@ class ItemPole: CA_Magazine
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar","ItemSledge"};
|
||||
output[] = {{"metal_floor_quarter_kit",1}};
|
||||
input[] = {{"ItemPole",4},{"equip_metal_sheet",4}};
|
||||
};
|
||||
};
|
||||
class Crafting6
|
||||
{
|
||||
text = $STR_EPOCH_ACTION_CRAFT_BARBED_GATE;
|
||||
script = ";['Crafting6','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"barbed_gate_kit",1}};
|
||||
input[] = {{"ItemWire",1},{"ItemTankTrap",2},{"ItemPole",2}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -132,13 +141,13 @@ class ItemMetalSheet: CA_Magazine
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_ItemMetalSheet;//"Corrugated Sheet"
|
||||
displayName = $STR_BLD_name_ItemMetalSheet; //"Corrugated Sheet"
|
||||
picture = "\z\addons\dayz_buildings\equip\item_sheetmetal.paa";
|
||||
model = "z\addons\dayz_buildings\models\sheet_metal.p3d";
|
||||
descriptionShort = $STR_BLD_desc_ItemMetalSheet;//"Metal Sheeting"
|
||||
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_218;
|
||||
@@ -147,22 +156,22 @@ class ItemMetalSheet: CA_Magazine
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"ItemCorrugated",1}};
|
||||
input[] = {{"ItemPole",2},{"ItemMetalSheet",2},{"PartWoodLumber",2}};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class equip_metal_sheet : CA_Magazine
|
||||
class equip_metal_sheet: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_ITEM_NAME_equip_metal_sheet;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_metal_sheet;
|
||||
model = "\z\addons\dayz_communityassets\models\metal_sheet_clean.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_metal_sheet.paa";
|
||||
type = 256;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_213_1;
|
||||
@@ -171,7 +180,7 @@ class equip_metal_sheet : CA_Magazine
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"metal_pillar_kit",2}};
|
||||
input[] = {{"ItemPole",2},{"equip_metal_sheet",4}};
|
||||
};
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_228_2;
|
||||
@@ -184,15 +193,28 @@ class equip_metal_sheet : CA_Magazine
|
||||
};
|
||||
};
|
||||
|
||||
class equip_metal_sheet_rusted : CA_Magazine
|
||||
class equip_metal_sheet_rusted: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_ITEM_NAME_equip_metal_sheet_rusted;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_metal_sheet_rusted;
|
||||
model = "\z\addons\dayz_communityassets\models\metal_sheet_rusted.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_metal_sheet_rusted.paa";
|
||||
type = 256;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_ACTION_CRAFT_METAL_SHEET;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop","fire"};
|
||||
requiretools[] = {"ItemToolbox","ItemSledge"};
|
||||
output[] = {{"equip_metal_sheet",1}};
|
||||
input[] = {{"equip_metal_sheet_rusted",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemRSJ: CA_Magazine
|
||||
@@ -204,9 +226,9 @@ class ItemRSJ: CA_Magazine
|
||||
picture = "\z\addons\dayz_buildings\equip\item_rsj.paa";
|
||||
model = "z\addons\dayz_buildings\models\rsj.p3d";
|
||||
descriptionShort = $STR_BLD_desc_ItemRSJ;//"Steel RSJ Support Beam"
|
||||
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_ACTION_CRAFT_BRIDGE;
|
||||
@@ -216,44 +238,30 @@ class ItemRSJ: CA_Magazine
|
||||
output[] = {{"metal_drawbridge_kit",1}};
|
||||
input[] = {{"ItemRSJ",6},{"metal_floor_kit",2}};
|
||||
};
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_265; // Craft Scrap Metal
|
||||
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop","fire"};
|
||||
requiretools[] = {"ItemToolbox","ItemSledge"};
|
||||
output[] = {{"PartGeneric",6}};
|
||||
input[] = {{"ItemRSJ",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class equip_1inch_metal_pipe : CA_Magazine
|
||||
class equip_1inch_metal_pipe: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_ITEM_NAME_equip_1inch_metal_pipe;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_1inch_metal_pipe;
|
||||
model = "\z\addons\dayz_communityassets\models\1in_pipe.p3d";
|
||||
model = "\z\addons\dayz_communityassets\models\1in_pipe.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_1inch_metal_pipe_ca.paa";
|
||||
type = 256;
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_305;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"ItemScaffoldingKit",1}};
|
||||
input[] = {{"equip_2inch_metal_pipe",4},{"equip_1inch_metal_pipe",2},{"PartWoodLumber",4}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class equip_2inch_metal_pipe : CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_equip_2inch_metal_pipe;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_2inch_metal_pipe;
|
||||
model = "\z\addons\dayz_communityassets\models\2in_pipe.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_2inch_metal_pipe.paa";
|
||||
type = 256;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_305;
|
||||
@@ -263,21 +271,45 @@ class equip_2inch_metal_pipe : CA_Magazine
|
||||
output[] = {{"ItemScaffoldingKit",1}};
|
||||
input[] = {{"equip_2inch_metal_pipe",4},{"equip_1inch_metal_pipe",2},{"PartWoodLumber",4}};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class equip_tent_poles : CA_Magazine
|
||||
class equip_2inch_metal_pipe: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_ITEM_NAME_equip_2inch_metal_pipe;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_2inch_metal_pipe;
|
||||
model = "\z\addons\dayz_communityassets\models\2in_pipe.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_2inch_metal_pipe.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_305;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"ItemScaffoldingKit",1}};
|
||||
input[] = {{"equip_2inch_metal_pipe",4},{"equip_1inch_metal_pipe",2},{"PartWoodLumber",4}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class equip_tent_poles: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_ITEM_NAME_equip_tent_poles;
|
||||
descriptionShort = $STR_ITEM_DESC_equip_tent_poles;
|
||||
model = "z\addons\dayz_communityassets\models\1m_pole_6.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_1m_pole_6_ca.paa";
|
||||
type = 256;
|
||||
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_190;
|
||||
@@ -305,5 +337,5 @@ class equip_tent_poles : CA_Magazine
|
||||
output[] = {{"ItemDomeTent",1}};
|
||||
input[] = {{"ItemCanvas",3},{"equip_tent_poles",2}};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user