mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-17 21:52:56 +03:00
Add concrete bunker
Models made by @Helion4
This commit is contained in:
@@ -48,7 +48,7 @@ class metal_floor_half_kit: CA_Magazine
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EPOCH_METALFLOORHALF;
|
||||
descriptionShort = $STR_EPOCH_METALFLOORHALF
|
||||
descriptionShort = $STR_EPOCH_METALFLOORHALF;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
@@ -622,6 +622,59 @@ class cinder_gate_kit_locked: CA_Magazine
|
||||
};
|
||||
};
|
||||
|
||||
class cinder_bunker_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EPOCH_CINDERBUNKER;
|
||||
descriptionShort = $STR_EPOCH_CINDERBUNKER_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 = "Concrete_Bunker_DZ";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_239_1_2;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {};
|
||||
output[] = {{"cinder_bunker_kit_locked",1}};
|
||||
input[] = {{"cinder_bunker_kit",1},{"ItemComboLock",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class cinder_bunker_kit_locked: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EPOCH_CINDERBUNKERLOCKED;
|
||||
descriptionShort = $STR_EPOCH_CINDERBUNKER_LOCKED_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 = "Concrete_Bunker_Locked_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class metal_drawbridge_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
@@ -1445,7 +1498,6 @@ class ItemWoodGateFrame: CA_Magazine
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
class ItemWoodGate: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
@@ -1581,6 +1633,4 @@ class door_locked_kit: CA_Magazine
|
||||
create = "DoorLocked_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
};
|
||||
@@ -12,31 +12,31 @@ class ItemStone: CA_Magazine
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_BLD_name_WoodenFence_1_foundation;
|
||||
text = $STR_EPOCH_ACTION_CONCRETE_BLOCK;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemEtool"};
|
||||
output[] = {{"ItemConcreteBlock",1}};
|
||||
input[] = {{"ItemStone",6},{"CementBag",1}};
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = $STR_BLD_name_WoodenFence_1_foundation;
|
||||
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"woodfence_foundation_kit",1}};
|
||||
input[] = {{"ItemStone",8},{"MortarBucket",1},{"ItemPlank",1}};
|
||||
};
|
||||
class Crafting1
|
||||
class Crafting2
|
||||
{
|
||||
text = $STR_BLD_name_MetalFence_1_foundation;
|
||||
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
|
||||
script = ";['Crafting2','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_WoodenGate_Foundation;
|
||||
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"woodfence_gate_foundation_kit",1}};
|
||||
input[] = {{"ItemLog",4}};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -49,6 +49,19 @@ class ItemConcreteBlock: CA_Magazine
|
||||
picture = "\z\addons\dayz_buildings\equip\concreteblock.paa";
|
||||
model = "z\addons\dayz_buildings\models\concreteblock.p3d";
|
||||
descriptionShort = $STR_BLD_desc_ItemConcreteBlock;//"Concrete Block"
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_ACTION_CONCRETE_BUNKER;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"cinder_bunker_kit",1}};
|
||||
input[] = {{"full_cinder_wall_kit",3},{"ItemConcreteBlock",5},{"equip_metal_sheet",3},{"ItemScrews",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class CinderBlocks: CA_Magazine
|
||||
@@ -157,4 +170,17 @@ class CementBag: CA_Magazine
|
||||
descriptionShort = $STR_ITEM_DESC_CEMENT_BAG;
|
||||
picture = "\dayz_epoch_c\icons\equipment\ItemCementBag.paa";
|
||||
model = "\z\addons\dayz_epoch_w\items\cement_bag.p3d";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_ACTION_CONCRETE_BLOCK;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemEtool"};
|
||||
output[] = {{"ItemConcreteBlock",1}};
|
||||
input[] = {{"ItemStone",6},{"CementBag",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -52,6 +52,15 @@ class ItemLog : CA_Magazine
|
||||
requiretools[] = {"ItemToolbox","ItemHatchet","ItemCrowbar"};
|
||||
output[] = {{"deer_stand_kit",1}};
|
||||
input[] = {{"ItemLog",8},{"ItemPlank",2},{"equip_nails",2}};
|
||||
};
|
||||
class Crafting4
|
||||
{
|
||||
text = $STR_BLD_name_WoodenGate_Foundation;
|
||||
script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"woodfence_gate_foundation_kit",1}};
|
||||
input[] = {{"ItemLog",6}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user