Add metal pillar

Model made by @Helion4
This commit is contained in:
AirwavesMan
2020-12-04 19:44:18 +01:00
parent 9400e74ec4
commit 10ce6cb2cc
7 changed files with 128 additions and 4 deletions

View File

@@ -20,6 +20,28 @@ class metal_floor_kit: CA_Magazine
};
};
class metal_pillar_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_METALPILLAR;
descriptionShort = $STR_EPOCH_METALPILLAR_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "MetalPillar_DZ";
};
};
};
class half_cinder_wall_kit: CA_Magazine
{
scope = 2;
@@ -1477,3 +1499,4 @@ class door_locked_kit: CA_Magazine
};
};

View File

@@ -118,6 +118,16 @@ class ItemMetalSheet: CA_Magazine
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 Crafting
{
text = $STR_EPOCH_PLAYER_218;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"fire"};
requiretools[] = {"ItemToolbox","ItemCrowbar"};
output[] = {{"ItemCorrugated",1}};
input[] = {{"ItemPole",2},{"ItemMetalSheet",2},{"PartWoodLumber",2}};
};
};
class equip_metal_sheet : CA_Magazine
@@ -129,6 +139,16 @@ class equip_metal_sheet : CA_Magazine
model = "\z\addons\dayz_communityassets\models\metal_sheet_clean.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_metal_sheet.paa";
type = 256;
class Crafting
{
text = $STR_EPOCH_PLAYER_213_1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"fire"};
requiretools[] = {"ItemToolbox","ItemCrowbar"};
output[] = {{"metal_pillar_kit",2}};
input[] = {{"ItemPole",2},{"equip_metal_sheet",4}};
};
};
class equip_metal_sheet_rusted : CA_Magazine