mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Added DayZ workbench as a buildable object for epoch
Added in for admins to use as an alternative or upgrade to the normal epoch workbench.
This commit is contained in:
@@ -90,6 +90,27 @@ class ItemWorkBench: CA_Magazine
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class ItemWorkBench_DZE : CA_Magazine
|
||||||
|
{
|
||||||
|
scope = 2;
|
||||||
|
count = 1;
|
||||||
|
type = 256;
|
||||||
|
displayName = $STR_BLD_name_ItemWorkBench;//"Work Bench (Packed)"
|
||||||
|
model = "z\addons\dayz_buildings\models\workbench_flat.p3d";
|
||||||
|
picture = "\z\addons\dayz_buildings\equip\item_workbench.paa"; // add to PBO
|
||||||
|
descriptionShort = $STR_BLD_desc_ItemWorkBench;//"A Folded Workbench, required for House Building and Some Crafting"
|
||||||
|
|
||||||
|
class ItemActions
|
||||||
|
{
|
||||||
|
class Build
|
||||||
|
{
|
||||||
|
text = $STR_ACTIONS_BUILD;
|
||||||
|
script = "spawn player_build;";
|
||||||
|
require[] = {"ItemToolbox"};
|
||||||
|
create = "WorkBench_DZE";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
class wood_ramp_kit: CA_Magazine
|
class wood_ramp_kit: CA_Magazine
|
||||||
{
|
{
|
||||||
scope = 2;
|
scope = 2;
|
||||||
|
|||||||
@@ -27,6 +27,28 @@ class WorkBench_DZ: ModularItems
|
|||||||
nounderground = 0;
|
nounderground = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class WorkBench_DZE : BuiltItems
|
||||||
|
{
|
||||||
|
scope = 2;
|
||||||
|
destrType = "DestructTree";
|
||||||
|
cost = 100;
|
||||||
|
offset[] = {0,2,0.5};
|
||||||
|
model = "z\addons\dayz_buildings\models\workbench.p3d";
|
||||||
|
icon = "\ca\data\data\Unknown_object.paa";
|
||||||
|
mapSize = 2;
|
||||||
|
armor = 400;
|
||||||
|
displayName = $STR_EPOCH_WORKBENCH;
|
||||||
|
vehicleClass = "DayZ Epoch Buildables";
|
||||||
|
maintainBuilding[] = {{"PartWoodLumber",1}};
|
||||||
|
constructioncount = 1;
|
||||||
|
removeoutput[] = {{"PartWoodPlywood",1},{"PartWoodLumber",2}};
|
||||||
|
requireplot = 0;
|
||||||
|
nounderground = 0;
|
||||||
|
transportMaxWeapons = 10;
|
||||||
|
transportMaxMagazines = 25;
|
||||||
|
transportMaxBackpacks = 1;
|
||||||
|
};
|
||||||
|
|
||||||
class FuelPump_DZ: BuiltItems
|
class FuelPump_DZ: BuiltItems
|
||||||
{
|
{
|
||||||
scope = 2;
|
scope = 2;
|
||||||
|
|||||||
Reference in New Issue
Block a user