mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
This commit rearranges the complete CfgMagazines structure. We no longer have seperated folders for DayZ Mod and Epoch. All items got merged and grouped together. Unused items got moved into a folder called Not used under items.
108 lines
2.6 KiB
C++
108 lines
2.6 KiB
C++
class ItemTent : CA_Magazine
|
|
{
|
|
scope = public;
|
|
count = 1;
|
|
type = WeaponSlotItem;
|
|
|
|
model = "\dayz_equip\models\tentbag_gear.p3d";
|
|
picture = "\dayz_equip\textures\equip_tentbag_ca.paa";
|
|
displayName = $STR_EQUIP_NAME_20;
|
|
descriptionShort = $STR_EQUIP_DESC_20;
|
|
class ItemActions
|
|
{
|
|
class Build
|
|
{
|
|
text = $STR_PITCH_TENT;
|
|
script = "spawn player_build;";
|
|
require[] = {};
|
|
create = "TentStorage";
|
|
//Bypass collision test
|
|
bypassCollision = "true";
|
|
};
|
|
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;";
|
|
neednearby[] = {"workshop"};
|
|
requiretools[] = {"ItemToolbox","ItemKnife"};
|
|
output[] = {{"forest_net_kit",1}};
|
|
input[] = {{"ItemTent",2},{"equip_tent_poles",2}};
|
|
};
|
|
};
|
|
};
|
|
|
|
class ItemDomeTent : CA_Magazine
|
|
{
|
|
scope = public;
|
|
count = 1;
|
|
type = WeaponSlotItem;
|
|
|
|
model = "\dayz_equip\models\tentbag_gear.p3d";
|
|
picture = "\dayz_equip\textures\equip_tentbag_ca.paa";
|
|
displayName = $STR_VEH_NAME_DOME_TENT;
|
|
descriptionShort = $STR_EQUIP_DESC_20;
|
|
|
|
class ItemActions
|
|
{
|
|
class Build
|
|
{
|
|
text = $STR_PITCH_DOME_TENT;
|
|
script = "spawn player_build;";
|
|
require[] = {};
|
|
create = "DomeTentStorage";
|
|
//Bypass collision test
|
|
bypassCollision = "true";
|
|
};
|
|
class Crafting1
|
|
{
|
|
text = $STR_EPOCH_PLAYER_271;
|
|
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {"workshop"};
|
|
requiretools[] = {"ItemToolbox","ItemKnife"};
|
|
output[] = {{"forest_net_kit",1}};
|
|
input[] = {{"ItemDomeTent",2},{"equip_tent_poles",2}};
|
|
};
|
|
};
|
|
};
|
|
|
|
// EPOCH ADDITION
|
|
|
|
class ItemDesertTent : CA_Magazine
|
|
{
|
|
scope = public;
|
|
count = 1;
|
|
type = WeaponSlotItem;
|
|
model = "\dayz_equip\models\tentbag_gear.p3d";
|
|
picture = "\dayz_equip\textures\equip_tentbag_ca.paa";
|
|
displayName = $STR_VEH_NAME_DESERT_TENT;
|
|
descriptionShort = $STR_EQUIP_DESC_20;
|
|
|
|
class ItemActions
|
|
{
|
|
class Build
|
|
{
|
|
text = $STR_PITCH_DESERT_TENT;
|
|
script = "spawn player_build;";
|
|
require[] = {};
|
|
create = "DesertTentStorage";
|
|
};
|
|
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[] = {{"ItemDesertTent",2},{"equip_tent_poles",2}};
|
|
};
|
|
};
|
|
}; |