mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Added buildable scaffolding
This commit is contained in:
@@ -1463,7 +1463,15 @@ class CfgMagazines {
|
|||||||
output[] = {{"metal_panel_kit",1}};
|
output[] = {{"metal_panel_kit",1}};
|
||||||
input[] = {{"ItemPole",4},{"ItemTankTrap",4}};
|
input[] = {{"ItemPole",4},{"ItemTankTrap",4}};
|
||||||
};
|
};
|
||||||
|
class Crafting3
|
||||||
|
{
|
||||||
|
text = $STR_EPOCH_PLAYER_305;
|
||||||
|
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
|
||||||
|
neednearby[] = {"workshop"};
|
||||||
|
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||||
|
output[] = {{"ItemScaffoldingKit",1}};
|
||||||
|
input[] = {{"ItemPole",4},{"ItemTankTrap",2},{"PartWoodLumber",4}};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
class ItemGunRackKit: CA_Magazine
|
class ItemGunRackKit: CA_Magazine
|
||||||
@@ -2670,6 +2678,27 @@ class CfgMagazines {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
class ItemScaffoldingKit: CA_Magazine
|
||||||
|
{
|
||||||
|
scope = 2;
|
||||||
|
count = 1;
|
||||||
|
type = 256;
|
||||||
|
displayName = "Scaffolding";
|
||||||
|
descriptionShort = "";
|
||||||
|
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||||
|
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||||
|
weight = 80;
|
||||||
|
class ItemActions
|
||||||
|
{
|
||||||
|
class Build
|
||||||
|
{
|
||||||
|
text = $STR_ACTIONS_BUILD;
|
||||||
|
script = "spawn player_build;";
|
||||||
|
require[] = {"ItemEtool","ItemToolbox"};
|
||||||
|
create = "Scaffolding_DZ";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
// Custom player vault
|
// Custom player vault
|
||||||
class ItemVault: CA_Magazine
|
class ItemVault: CA_Magazine
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -5766,6 +5766,16 @@
|
|||||||
<!-- <French></French> -->
|
<!-- <French></French> -->
|
||||||
<Czech>Vytvořit Dřevěnou bednu</Czech>
|
<Czech>Vytvořit Dřevěnou bednu</Czech>
|
||||||
</Key>
|
</Key>
|
||||||
|
<Key ID="STR_EPOCH_PLAYER_305">
|
||||||
|
<Original>Craft Scaffolding</Original>
|
||||||
|
<English>Craft Scaffolding</English>
|
||||||
|
<!-- <German></German> -->
|
||||||
|
<!-- <Russian></Russian> -->
|
||||||
|
<!-- <Spanish></Spanish> -->
|
||||||
|
<!-- <Dutch></Dutch> -->
|
||||||
|
<!-- <French></French> -->
|
||||||
|
<Czech>Vytvořit Dřevěnou bednu</Czech>
|
||||||
|
</Key>
|
||||||
<Key ID="STR_EPOCH_PLAYER_REPAIRV">
|
<Key ID="STR_EPOCH_PLAYER_REPAIRV">
|
||||||
<Original>Repair Vehicle</Original>
|
<Original>Repair Vehicle</Original>
|
||||||
<English>Repair Vehicle</English>
|
<English>Repair Vehicle</English>
|
||||||
|
|||||||
Reference in New Issue
Block a user