Added buildable scaffolding

This commit is contained in:
Florian Kinder
2014-01-20 00:00:10 +01:00
parent 9062ac5f95
commit f7e880dc29
2 changed files with 41 additions and 2 deletions

View File

@@ -1463,7 +1463,15 @@ class CfgMagazines {
output[] = {{"metal_panel_kit",1}};
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
@@ -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
class ItemVault: CA_Magazine
{

View File

@@ -5765,7 +5765,17 @@
<!-- <Dutch></Dutch> -->
<!-- <French></French> -->
<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">
<Original>Repair Vehicle</Original>
<English>Repair Vehicle</English>