mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-08 17:22:54 +03:00
Add advanced WorkBench
Model made by @Helion4
This commit is contained in:
@@ -42,6 +42,28 @@ class workbench_kit: CA_Magazine
|
||||
};
|
||||
};
|
||||
|
||||
class advanced_workBench_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EPOCH_WORKBENCH_ADVANCED;
|
||||
descriptionShort = $STR_EPOCH_WORKBENCH_ADVANCED_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 = "Advanced_WorkBench_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
// DayZ Mod workbench
|
||||
class ItemWorkBench : CA_Magazine
|
||||
{
|
||||
@@ -452,27 +474,25 @@ class ItemScaffoldingKit: CA_Magazine
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
class cook_tripod_kit: CA_Magazine
|
||||
class office_chair_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
displayName = $STR_ITEM_NAME_COOKINGTRIPOD;
|
||||
descriptionShort = $STR_ITEM_DESC_COOKINGTRIPOD;
|
||||
type = 256;
|
||||
displayName = $STR_EPOCH_WOODBENCH;
|
||||
descriptionShort = $STR_EPOCH_WOODBENCH;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {};
|
||||
create = "CookTripod_DZ";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "ParkBench_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
*/
|
||||
@@ -103,6 +103,15 @@ class ItemPlank : CA_Magazine
|
||||
requiretools[] = {"ItemToolbox","Handsaw_DZE"};
|
||||
output[] = {{"bulk_empty",1}};
|
||||
input[] = {{"ItemPlank",2},{"PartGeneric",1}};
|
||||
};
|
||||
class Crafting3
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_260_1;
|
||||
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","Handsaw_DZE","Hammer_DZE"};
|
||||
output[] = {{"advanced_workBench_kit",1}};
|
||||
input[] = {{"ItemPlank",4},{"PartWoodPlywood",4},{"equip_nails",2}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user