mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-18 22:22:57 +03:00
Add a buildable storage crate
This commit is contained in:
@@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user