mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-15 20:52:56 +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}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user