mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Rearrange CfgMagazines
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.
This commit is contained in:
108
SQF/dayz_code/Configs/CfgMagazines/Buildings/Tent.hpp
Normal file
108
SQF/dayz_code/Configs/CfgMagazines/Buildings/Tent.hpp
Normal file
@@ -0,0 +1,108 @@
|
||||
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}};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user