Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgMagazines/Buildings/Tent.hpp
A Man 69408ab39f Clean up, change strings for better mod compatibility
Also streamlining the names of certain items like fuel cans, fish, meat with a status indicator behind the name.

Fix some wrong description strings.

Add blunt hatchet and wet matches.
2021-05-12 19:13:02 +02:00

154 lines
3.7 KiB
C++

class ItemTent : 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_EQUIP_NAME_CAMPING_TENT;
descriptionShort = $STR_EQUIP_DESC_CAMPING_TENT;
class ItemActions
{
class Build
{
text = $STR_PITCH_TENT;
script = "spawn player_build;";
require[] = {};
create = "TentStorage";
};
class Crafting
{
text = $STR_EPOCH_PLAYER_271;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"forest_net_kit",1}};
input[] = {{"ItemTent",2},{"equip_tent_poles",2}};
};
};
};
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_CAMPING_TENT;
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;
count = 1;
type = 256;
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_CAMPING_TENT;
class ItemActions
{
class Build
{
text = $STR_PITCH_DOME_TENT;
script = "spawn player_build;";
require[] = {};
create = "DomeTentStorage";
};
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}};
};
};
};
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_CAMPING_TENT;
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;
count = 1;
type = 256;
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_CAMPING_TENT;
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}};
};
};
};