mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-28 02:31:51 +03:00
Add DayZ Mod fences and gates
Epoch has its own DayZ Mod fence versions now. The old fences can still be used. The new fences have a full upgrade and snap support. all gates work with the door management too.
This commit is contained in:
615
SQF/dayz_code/Configs/CfgMagazines/Buildings/Fences.hpp
Normal file
615
SQF/dayz_code/Configs/CfgMagazines/Buildings/Fences.hpp
Normal file
@@ -0,0 +1,615 @@
|
||||
class woodfence_foundation_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenFence_1_foundation;
|
||||
descriptionShort = $STR_BLD_name_WoodenFence_1_foundation;
|
||||
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","ItemEtool"};
|
||||
create = "WoodenFence_1_foundation_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_frame_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenFence_1_frame;
|
||||
descriptionShort = $STR_BLD_name_WoodenFence_1_frame;
|
||||
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","ItemEtool"};
|
||||
create = "WoodenFence_1_frame_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_quaterpanel_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenFence_quaterpanel;
|
||||
descriptionShort = $STR_BLD_name_WoodenFence_quaterpanel;
|
||||
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","ItemEtool"};
|
||||
create = "WoodenFence_quaterpanel_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_halfpanel_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenFence_halfpanel;
|
||||
descriptionShort = $STR_BLD_name_WoodenFence_halfpanel;
|
||||
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","ItemEtool"};
|
||||
create = "WoodenFence_halfpanel_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_thirdpanel_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenFence_thirdpanel;
|
||||
descriptionShort = $STR_BLD_name_WoodenFence_thirdpanel;
|
||||
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","ItemEtool"};
|
||||
create = "WoodenFence_thirdpanel_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_1_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenFence_1;
|
||||
descriptionShort = $STR_BLD_name_WoodenFence_1;
|
||||
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","ItemEtool"};
|
||||
create = "WoodenFence_1_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_2_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenFence_2;
|
||||
descriptionShort = $STR_BLD_name_WoodenFence_2;
|
||||
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","ItemEtool"};
|
||||
create = "WoodenFence_2_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_3_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenFence_3;
|
||||
descriptionShort = $STR_BLD_name_WoodenFence_3;
|
||||
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","ItemEtool"};
|
||||
create = "WoodenFence_3_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_4_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenFence_4;
|
||||
descriptionShort = $STR_BLD_name_WoodenFence_4;
|
||||
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","ItemEtool"};
|
||||
create = "WoodenFence_4_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_5_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenFence_5;
|
||||
descriptionShort = $STR_BLD_name_WoodenFence_5;
|
||||
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","ItemEtool"};
|
||||
create = "WoodenFence_5_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_6_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenFence_6;
|
||||
descriptionShort = $STR_BLD_name_WoodenFence_6;
|
||||
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","ItemEtool"};
|
||||
create = "WoodenFence_6_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_7_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenFence_7;
|
||||
descriptionShort = $STR_BLD_name_WoodenFence_7;
|
||||
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","ItemEtool"};
|
||||
create = "WoodenFence_7_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class metalfence_foundation_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_MetalFence_1_foundation;
|
||||
descriptionShort = $STR_BLD_name_MetalFence_1_foundation;
|
||||
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","ItemEtool"};
|
||||
create = "MetalFence_1_foundation_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class metalfence_frame_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_MetalFence_1_frame;
|
||||
descriptionShort = $STR_BLD_name_MetalFence_1_frame;
|
||||
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","ItemEtool"};
|
||||
create = "MetalFence_1_frame_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class metalfence_halfpanel_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_MetalFence_halfpanel;
|
||||
descriptionShort = $STR_BLD_name_MetalFence_halfpanel;
|
||||
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","ItemEtool"};
|
||||
create = "MetalFence_halfpanel_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class metalfence_thirdpanel_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_MetalFence_thirdpanel;
|
||||
descriptionShort = $STR_BLD_name_MetalFence_thirdpanel;
|
||||
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","ItemEtool"};
|
||||
create = "MetalFence_thirdpanel_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class metalfence_1_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_MetalFence_1;
|
||||
descriptionShort = $STR_BLD_name_MetalFence_1;
|
||||
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","ItemEtool"};
|
||||
create = "MetalFence_1_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class metalfence_2_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_MetalFence_2;
|
||||
descriptionShort = $STR_BLD_name_MetalFence_2;
|
||||
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","ItemEtool"};
|
||||
create = "MetalFence_2_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class metalfence_3_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_MetalFence_3;
|
||||
descriptionShort = $STR_BLD_name_MetalFence_3;
|
||||
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","ItemEtool"};
|
||||
create = "MetalFence_3_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class metalfence_4_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_MetalFence_4;
|
||||
descriptionShort = $STR_BLD_name_MetalFence_4;
|
||||
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","ItemEtool"};
|
||||
create = "MetalFence_4_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class metalfence_5_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_MetalFence_5;
|
||||
descriptionShort = $STR_BLD_name_MetalFence_5;
|
||||
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","ItemEtool"};
|
||||
create = "MetalFence_5_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class metalfence_6_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_MetalFence_6;
|
||||
descriptionShort = $STR_BLD_name_MetalFence_6;
|
||||
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","ItemEtool"};
|
||||
create = "MetalFence_6_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class metalfence_7_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_MetalFence_7;
|
||||
descriptionShort = $STR_BLD_name_MetalFence_7;
|
||||
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","ItemEtool"};
|
||||
create = "MetalFence_7_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_gate_foundation_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenGate_Foundation;
|
||||
descriptionShort = $STR_BLD_name_WoodenGate_Foundation;
|
||||
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","ItemEtool"};
|
||||
create = "WoodenGate_foundation_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_gate_1_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenGate_1;
|
||||
descriptionShort = $STR_BLD_name_WoodenGate_1;
|
||||
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","ItemEtool"};
|
||||
create = "WoodenGate_1_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_gate_2_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenGate_2;
|
||||
descriptionShort = $STR_BLD_name_WoodenGate_2;
|
||||
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","ItemEtool"};
|
||||
create = "WoodenGate_2_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_gate_3_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenGate_3;
|
||||
descriptionShort = $STR_BLD_name_WoodenGate_3;
|
||||
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","ItemEtool"};
|
||||
create = "WoodenGate_3_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_gate_4_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenGate_4;
|
||||
descriptionShort = $STR_BLD_name_WoodenGate_4;
|
||||
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","ItemEtool"};
|
||||
create = "WoodenGate_4_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -59,6 +59,7 @@ class CfgMagazines
|
||||
#include "Buildings\Camonets.hpp"
|
||||
#include "Buildings\Sandbag.hpp"
|
||||
#include "Buildings\ModularBuilding.hpp"
|
||||
#include "Buildings\Fences.hpp"
|
||||
#include "Buildings\Storage.hpp"
|
||||
#include "Buildings\Tent.hpp"
|
||||
#include "Buildings\Misc.hpp"
|
||||
|
||||
@@ -7,9 +7,40 @@ class ItemStone: CA_Magazine
|
||||
picture = "\z\addons\dayz_buildings\equip\rocks.paa";
|
||||
model = "z\addons\dayz_buildings\models\rocks.p3d";
|
||||
descriptionShort = $STR_BLD_desc_ItemStone;//"Rough Stone"
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_BLD_name_WoodenFence_1_foundation;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"woodfence_foundation_kit",1}};
|
||||
input[] = {{"ItemStone",8},{"MortarBucket",1},{"ItemPlank",1}};
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = $STR_BLD_name_MetalFence_1_foundation;
|
||||
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"metalfence_foundation_kit",1}};
|
||||
input[] = {{"ItemStone",8},{"MortarBucket",1},{"ItemRSJ",1}};
|
||||
};
|
||||
class Crafting2
|
||||
{
|
||||
text = $STR_BLD_name_WoodenFence_1_foundation;
|
||||
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"woodfence_gate_foundation_kit",1}};
|
||||
input[] = {{"ItemLog",4}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemConcreteBlock: CA_Magazine //Construection,indestrial
|
||||
class ItemConcreteBlock: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
|
||||
Reference in New Issue
Block a user