Update door kits

This commit is contained in:
AirwavesMan
2020-11-30 18:02:15 +01:00
parent 6cd9542659
commit fb407679f8
4 changed files with 25 additions and 3 deletions

View File

@@ -1217,7 +1217,7 @@ class ItemWoodGateFrame: CA_Magazine
text = $STR_EPOCH_PLAYER_239_1_1;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {};
requiretools[] = {"ItemToolbox"};
output[] = {{"ItemWoodGate",1}};
input[] = {{"ItemWoodGateFrame",1},{"PartWoodPlywood",8},{"PartWoodLumber",2},{"equip_nails",1}};
};

View File

@@ -37,6 +37,15 @@ class PartGeneric : CA_Magazine
output[] = {{"ItemMetalSheet",1}};
input[] = {{"PartGeneric",3}};
};
class Crafting3
{
text = $STR_EPOCH_ACTION_METAL_DOORWAY;
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"fire"};
requiretools[] = {"ItemToolbox","ItemCrowbar"};
output[] = {{"door_frame_kit",1}};
input[] = {{"ItemPole",4},{"ItemTankTrap",4},{"PartGeneric",2}};
};
};
};
@@ -88,6 +97,15 @@ class ItemPole: CA_Magazine
output[] = {{"ItemScaffoldingKit",1}};
input[] = {{"ItemPole",4},{"ItemTankTrap",2},{"PartWoodLumber",4}};
};
class Crafting4
{
text = $STR_EPOCH_ACTION_METAL_DOORWAY;
script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"fire"};
requiretools[] = {"ItemToolbox","ItemCrowbar"};
output[] = {{"door_frame_kit",1}};
input[] = {{"ItemPole",4},{"ItemTankTrap",4},{"PartGeneric",2}};
};
};
};

View File

@@ -19,8 +19,8 @@ class MetalFloor_DZ: ModularItems {
class DoorFrame_DZ: ModularItems {
scope = 2;
offset[] = {0,2,0};
armor = 3000;
offset[] = {0,1.5,0};
armor = 1200;
model = "\z\addons\dayz_epoch\models\Steel_door_frame_single.p3d";
displayName = $STR_EPOCH_DOORWAY;
GhostPreview = "DoorFrame_Preview_DZ";

View File

@@ -31021,6 +31021,10 @@
<English>Craft Pillar</English>
<German>Säule herstellen</German>
</Key>
<Key ID="STR_EPOCH_ACTION_METAL_DOORWAY">
<English>Craft Doorway</English>
<German>Türdurchgang herstellen</German>
</Key>
<Key ID="STR_BLD_ACTIONS_OPEN_GATE">
<English>Open Gate</English>
<German>Tor öffnen</German>