mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 04:23:13 +03:00
Add a camo storage crate with camo net
Model made by @Helion4
This commit is contained in:
@@ -864,4 +864,26 @@ class storage_crate_kit: CA_Magazine
|
||||
create = "StorageCrate_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class camo_storage_crate_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EPOCH_CAMO_STORAGE_CRATE;
|
||||
descriptionShort = $STR_EPOCH_CAMO_STORAGE_CRATE_DESC;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "CamoStorageCrate_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -121,7 +121,16 @@ class ItemPlank : CA_Magazine
|
||||
requiretools[] = {"ItemToolbox","Handsaw_DZE","Hammer_DZE"};
|
||||
output[] = {{"storage_crate_kit",1}};
|
||||
input[] = {{"ItemPlank",6},{"equip_nails",1}};
|
||||
};
|
||||
};
|
||||
class Crafting5
|
||||
{
|
||||
text = $STR_EPOCH_ACTION_CRAFT_CAMO_STORAGE_CRATE;
|
||||
script = ";['Crafting5','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","Handsaw_DZE","Hammer_DZE"};
|
||||
output[] = {{"camo_storage_crate_kit",1}};
|
||||
input[] = {{"ItemPlank",2},{"PartWoodLumber",6},{"forest_net_kit",1},{"equip_nails",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -88,7 +88,8 @@ class StorageShed_DZ: Land_Shed_M01
|
||||
transportMaxMagazines = 400;
|
||||
transportMaxWeapons = 40;
|
||||
transportMaxBackpacks = 20;
|
||||
constructioncount = 6;
|
||||
constructioncount = 6;
|
||||
GhostPreview = "StorageShed_Preview_DZ";
|
||||
|
||||
upgradeBuilding[] = {"StorageShed2_DZ",{"ItemToolbox","ItemCrowbar","ItemSledge"},{{"equip_metal_sheet",4},{"ItemMetalSheet",2},{"ItemScrews",2}}};
|
||||
};
|
||||
@@ -102,7 +103,8 @@ class StorageShed2_DZ: Land_Shed_M01
|
||||
transportMaxMagazines = 600;
|
||||
transportMaxWeapons = 60;
|
||||
transportMaxBackpacks = 30;
|
||||
constructioncount = 12;
|
||||
constructioncount = 12;
|
||||
GhostPreview = "StorageShed_Preview_DZ";
|
||||
};
|
||||
|
||||
class Land_kulna;
|
||||
@@ -416,4 +418,21 @@ class StorageCrate_DZ: BuiltItems
|
||||
transportmaxbackpacks = 1;
|
||||
removeoutput[] = {{"storage_crate_kit",1}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
};
|
||||
|
||||
class CamoStorageCrate_DZ: BuiltItems
|
||||
{
|
||||
scope = 2;
|
||||
model = "\z\addons\dayz_epoch_v\base_building\storage\dze_camo_ammobednaX.p3d";
|
||||
displayName = $STR_EPOCH_CAMO_STORAGE_CRATE;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
constructioncount = 3;
|
||||
offset[] = {0,3,0};
|
||||
transportMaxWeapons = 15;
|
||||
transportMaxMagazines = 55;
|
||||
transportmaxbackpacks = 6;
|
||||
requireplot = 0;
|
||||
removeoutput[] = {{"camo_storage_crate_kit",1}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
};
|
||||
Reference in New Issue
Block a user