mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Added buildable scaffolding
This commit is contained in:
@@ -1463,7 +1463,15 @@ class CfgMagazines {
|
||||
output[] = {{"metal_panel_kit",1}};
|
||||
input[] = {{"ItemPole",4},{"ItemTankTrap",4}};
|
||||
};
|
||||
|
||||
class Crafting3
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_305;
|
||||
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"ItemScaffoldingKit",1}};
|
||||
input[] = {{"ItemPole",4},{"ItemTankTrap",2},{"PartWoodLumber",4}};
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemGunRackKit: CA_Magazine
|
||||
@@ -2670,6 +2678,27 @@ class CfgMagazines {
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemScaffoldingKit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Scaffolding";
|
||||
descriptionShort = "";
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
weight = 80;
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "Scaffolding_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
// Custom player vault
|
||||
class ItemVault: CA_Magazine
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user