Add wooden triangle wall

Model made by @Helion4
This commit is contained in:
AirwavesMan
2020-11-29 19:23:55 +01:00
parent 5e281cfc7b
commit 8f68065b14
5 changed files with 85 additions and 6 deletions

View File

@@ -314,6 +314,15 @@ class ItemWoodFloorHalf: CA_Magazine
output[] = {{"ItemWoodFloor",1}};
input[] = {{"ItemWoodFloorHalf",2}};
};
class Crafting1
{
text = $STR_EPOCH_ACTION_WOODENTRIANGLEWALL;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox"};
output[] = {{"ItemTriangleWoodWall",1}};
input[] = {{"ItemWoodFloorQuarter",1},{"ItemWoodFloorHalf",1}};
};
};
};
@@ -345,6 +354,15 @@ class ItemWoodFloorQuarter: CA_Magazine
output[] = {{"ItemWoodFloorHalf",1}};
input[] = {{"ItemWoodFloorQuarter",2}};
};
class Crafting1
{
text = $STR_EPOCH_ACTION_WOODENTRIANGLEWALL;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox"};
output[] = {{"ItemTriangleWoodWall",1}};
input[] = {{"ItemWoodFloorQuarter",1},{"ItemWoodFloorHalf",1}};
};
};
};
@@ -472,6 +490,28 @@ class ItemWoodWall: CA_Magazine
};
};
class ItemTriangleWoodWall: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_TRIANGLE_WOODWALL;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
descriptionShort = $STR_EPOCH_TRIANGLE_WOODWALL_DESC;
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "WoodTriangleWall_DZ";
};
};
};
class ItemWoodWallThird: CA_Magazine
{
scope = 2;