mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Add wooden triangle wall
Model made by @Helion4
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user