mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-04 07:12:55 +03:00
Update buildings configs
This commit is contained in:
@@ -42,6 +42,29 @@ class workbench_kit: CA_Magazine
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// DayZ Mod workbench
|
||||||
|
class ItemWorkBench_DZE : CA_Magazine
|
||||||
|
{
|
||||||
|
scope = 2;
|
||||||
|
count = 1;
|
||||||
|
type = 256;
|
||||||
|
displayName = $STR_BLD_name_ItemWorkBench;
|
||||||
|
model = "z\addons\dayz_buildings\models\workbench_flat.p3d";
|
||||||
|
picture = "\z\addons\dayz_buildings\equip\item_workbench.paa";
|
||||||
|
descriptionShort = $STR_BLD_desc_ItemWorkBench;
|
||||||
|
|
||||||
|
class ItemActions
|
||||||
|
{
|
||||||
|
class Build
|
||||||
|
{
|
||||||
|
text = $STR_ACTIONS_BUILD;
|
||||||
|
script = "spawn player_build;";
|
||||||
|
require[] = {"ItemToolbox"};
|
||||||
|
create = "WorkBench_DZE";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
// DayZ Mod workbench
|
// DayZ Mod workbench
|
||||||
class ItemWorkBench: CA_Magazine
|
class ItemWorkBench: CA_Magazine
|
||||||
{
|
{
|
||||||
@@ -52,13 +75,12 @@ class ItemWorkBench: CA_Magazine
|
|||||||
model = "z\addons\dayz_buildings\models\workbench_flat.p3d";
|
model = "z\addons\dayz_buildings\models\workbench_flat.p3d";
|
||||||
picture = "\z\addons\dayz_buildings\equip\item_workbench.paa";
|
picture = "\z\addons\dayz_buildings\equip\item_workbench.paa";
|
||||||
descriptionShort = $STR_BLD_desc_ItemWorkBench;
|
descriptionShort = $STR_BLD_desc_ItemWorkBench;
|
||||||
sfx = "tentunpack";
|
|
||||||
|
|
||||||
class ItemActions
|
class ItemActions
|
||||||
{
|
{
|
||||||
class Build
|
class Build
|
||||||
{
|
{
|
||||||
text = $STR_BLD_build_ItemWorkBench;
|
text = $STR_ACTIONS_BUILD;
|
||||||
script = "spawn player_build;";
|
script = "spawn player_build;";
|
||||||
require[] = {"ItemToolbox"};
|
require[] = {"ItemToolbox"};
|
||||||
create = "WorkBench";
|
create = "WorkBench";
|
||||||
|
|||||||
@@ -20,28 +20,6 @@ class advanced_workBench_kit: CA_Magazine
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
class ItemWorkBench_DZE : CA_Magazine
|
|
||||||
{
|
|
||||||
scope = 2;
|
|
||||||
count = 1;
|
|
||||||
type = 256;
|
|
||||||
displayName = $STR_BLD_name_ItemWorkBench;
|
|
||||||
model = "z\addons\dayz_buildings\models\workbench_flat.p3d";
|
|
||||||
picture = "\z\addons\dayz_buildings\equip\item_workbench.paa";
|
|
||||||
descriptionShort = $STR_BLD_desc_ItemWorkBench;
|
|
||||||
|
|
||||||
class ItemActions
|
|
||||||
{
|
|
||||||
class Build
|
|
||||||
{
|
|
||||||
text = $STR_ACTIONS_BUILD;
|
|
||||||
script = "spawn player_build;";
|
|
||||||
require[] = {"ItemToolbox"};
|
|
||||||
create = "WorkBench_DZE";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
class outhouse_kit: CA_Magazine
|
class outhouse_kit: CA_Magazine
|
||||||
{
|
{
|
||||||
scope = 2;
|
scope = 2;
|
||||||
|
|||||||
@@ -225,24 +225,24 @@ class Wooden_shed2_DZ: Land_Shed_wooden
|
|||||||
|
|
||||||
class WorkBench_DZE : BuiltItems
|
class WorkBench_DZE : BuiltItems
|
||||||
{
|
{
|
||||||
scope = 2;
|
scope = 2;
|
||||||
destrType = "DestructTree";
|
destrType = "DestructTree";
|
||||||
cost = 100;
|
cost = 100;
|
||||||
offset[] = {0,2,0.5};
|
offset[] = {0,2,-0.05};
|
||||||
model = "z\addons\dayz_buildings\models\workbench.p3d";
|
model = "z\addons\dayz_buildings\models\workbench.p3d";
|
||||||
icon = "\ca\data\data\Unknown_object.paa";
|
icon = "\ca\data\data\Unknown_object.paa";
|
||||||
mapSize = 2;
|
mapSize = 2;
|
||||||
armor = 400;
|
armor = 400;
|
||||||
displayName = $STR_EPOCH_WORKBENCH;
|
displayName = $STR_EPOCH_WORKBENCH;
|
||||||
vehicleClass = "DayZ Epoch Buildables";
|
vehicleClass = "DayZ Epoch Buildables";
|
||||||
maintainBuilding[] = {{"PartWoodLumber",1}};
|
maintainBuilding[] = {{"PartWoodLumber",1}};
|
||||||
constructioncount = 1;
|
constructioncount = 1;
|
||||||
removeoutput[] = {{"PartWoodPlywood",1},{"PartWoodLumber",2}};
|
removeoutput[] = {{"ItemWorkBench_DZE",1}};
|
||||||
requireplot = 0;
|
requireplot = 0;
|
||||||
nounderground = 0;
|
nounderground = 0;
|
||||||
transportMaxWeapons = 10;
|
transportMaxWeapons = 10;
|
||||||
transportMaxMagazines = 25;
|
transportMaxMagazines = 25;
|
||||||
transportMaxBackpacks = 1;
|
transportMaxBackpacks = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
class Advanced_WorkBench_DZ: BuiltItems
|
class Advanced_WorkBench_DZ: BuiltItems
|
||||||
|
|||||||
Reference in New Issue
Block a user