Merge pull request #705 from dayz10k/master

Craftable GunRack Fluff Storage
This commit is contained in:
dayz10k
2013-11-15 14:03:08 -08:00
3 changed files with 60 additions and 11 deletions

View File

@@ -1276,7 +1276,27 @@ class CfgMagazines {
};
};
class ItemGunRackKit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = "Gun Rack Kit";
descriptionShort = "A Gun Rack for 20 weapons";
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 20;
class ItemActions
{
class Build
{
text = "$STR_ACTIONS_BUILD";
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "GunRack_DZ";
};
};
};
class ItemOilBarrel: CA_Magazine
{
scope = 2;
@@ -1328,7 +1348,7 @@ class CfgMagazines {
descriptionShort = "Fire Barrel";
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 25;
weight = 45;
class ItemActions
{
class Build
@@ -3168,6 +3188,15 @@ class CfgMagazines {
output[] = {{"PartPlankPack",1}};
input[] = {{"PartWoodLumber",3}};
};
class Crafting6
{
text = $STR_EPOCH_PLAYER_277;
Script = ";['Crafting5','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox"};
output[] = {{"ItemGunRackKit",1}};
input[] = {{"PartWoodLumber",6}};
};
};
};
class PartWoodPlywood: CA_Magazine

View File

@@ -1942,7 +1942,17 @@ class CfgVehicles {
constructioncount = 3;
removeoutput[] = {{"ItemFuelBarrelEmpty",1}};
};
class Gunrack1;
class GunRack_DZ: Gunrack1
{
armor = 200;
scope = 2;
displayName = "Gun Rack";
vehicleClass = "Fortifications";
transportMaxWeapons = 20;
offset[] = {0,2.5,0};
removeoutput[] = {{"ItemGunRackKit",1}};
};
// modular
class MetalFloor_DZ: ModularItems
{

View File

@@ -5284,5 +5284,15 @@
<French></French>
<Czech></Czech>
</Key>
<Key ID="STR_EPOCH_PLAYER_277">
<Original>Craft Gun Rack</Original>
<English>Craft Gun Rack</English>
<German></German>
<Russian></Russian>
<Spanish></Spanish>
<Dutch></Dutch>
<French></French>
<Czech></Czech>
</Key>
</Package>
</Project>