mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-20 18:36:29 +03:00
Add winter camo tents
Models made by @Helion4
This commit is contained in:
@@ -18,18 +18,9 @@ class ItemTent : CA_Magazine
|
||||
create = "TentStorage";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_270;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"desert_net_kit",1}};
|
||||
input[] = {{"ItemTent",2},{"equip_tent_poles",2}};
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_271;
|
||||
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"forest_net_kit",1}};
|
||||
@@ -38,6 +29,37 @@ class ItemTent : CA_Magazine
|
||||
};
|
||||
};
|
||||
|
||||
class ItemTentWinter : CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
model = "\dayz_equip\models\tentbag_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_tentbag_ca.paa";
|
||||
displayName = $STR_VEH_NAME_TENTWINTER;
|
||||
descriptionShort = $STR_EQUIP_DESC_20;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_PITCH_TENT;
|
||||
script = "spawn player_build;";
|
||||
require[] = {};
|
||||
create = "TentStorageWinter";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_272;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"winter_net_kit",1}};
|
||||
input[] = {{"ItemTentWinter",2},{"equip_tent_poles",2}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemDomeTent : CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
@@ -69,6 +91,37 @@ class ItemDomeTent : CA_Magazine
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWinterDomeTent : CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
model = "\dayz_equip\models\tentbag_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_tentbag_ca.paa";
|
||||
displayName = $STR_VEH_NAME_WINTER_DOME_TENT;
|
||||
descriptionShort = $STR_EQUIP_DESC_20;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_PITCH_TENT;
|
||||
script = "spawn player_build;";
|
||||
require[] = {};
|
||||
create = "WinterDomeTentStorage";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_272;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"winter_net_kit",1}};
|
||||
input[] = {{"ItemWinterDomeTent",2},{"equip_tent_poles",2}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemDesertTent : CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
|
||||
Reference in New Issue
Block a user