Add a buildable storage crate

This commit is contained in:
AirwavesMan
2021-01-07 16:51:05 +01:00
parent 068a0b81e0
commit 58d342ca07
6 changed files with 88 additions and 7 deletions

View File

@@ -842,4 +842,26 @@ class vendmachine2_kit: CA_Magazine
create = "Vendmachine2_DZ";
};
};
};
class storage_crate_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_STORAGECRATE;
descriptionShort = $STR_EPOCH_STORAGECRATE_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 = "StorageCrate_DZ";
};
};
};