mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Merge pull request #705 from dayz10k/master
Craftable GunRack Fluff Storage
This commit is contained in:
@@ -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
|
class ItemOilBarrel: CA_Magazine
|
||||||
{
|
{
|
||||||
scope = 2;
|
scope = 2;
|
||||||
@@ -1328,7 +1348,7 @@ class CfgMagazines {
|
|||||||
descriptionShort = "Fire Barrel";
|
descriptionShort = "Fire Barrel";
|
||||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||||
weight = 25;
|
weight = 45;
|
||||||
class ItemActions
|
class ItemActions
|
||||||
{
|
{
|
||||||
class Build
|
class Build
|
||||||
@@ -3160,14 +3180,23 @@ class CfgMagazines {
|
|||||||
|
|
||||||
};
|
};
|
||||||
class Crafting5
|
class Crafting5
|
||||||
{
|
{
|
||||||
text = $STR_EPOCH_PLAYER_259;
|
text = $STR_EPOCH_PLAYER_259;
|
||||||
Script = ";['Crafting5','CfgMagazines', _id] spawn player_craftItem;";
|
Script = ";['Crafting5','CfgMagazines', _id] spawn player_craftItem;";
|
||||||
neednearby[] = {"workshop"};
|
neednearby[] = {"workshop"};
|
||||||
requiretools[] = {"ItemToolbox"};
|
requiretools[] = {"ItemToolbox"};
|
||||||
output[] = {{"PartPlankPack",1}};
|
output[] = {{"PartPlankPack",1}};
|
||||||
input[] = {{"PartWoodLumber",3}};
|
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
|
class PartWoodPlywood: CA_Magazine
|
||||||
|
|||||||
@@ -1942,7 +1942,17 @@ class CfgVehicles {
|
|||||||
constructioncount = 3;
|
constructioncount = 3;
|
||||||
removeoutput[] = {{"ItemFuelBarrelEmpty",1}};
|
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
|
// modular
|
||||||
class MetalFloor_DZ: ModularItems
|
class MetalFloor_DZ: ModularItems
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -5284,5 +5284,15 @@
|
|||||||
<French></French>
|
<French></French>
|
||||||
<Czech></Czech>
|
<Czech></Czech>
|
||||||
</Key>
|
</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>
|
</Package>
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
Reference in New Issue
Block a user