Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgMagazines/Items/Tent.hpp
oiad 497b065663 Localization changes/additions. (#1787)
* Localization changes/additions.

Fixes a few localizations, extends range for removing camo nets from
toolbox by 10m, I have found that 5m is just not enough.

* Toolbox change

Update camonet removal to 10m instead of 5m

* Safe zone no building near/blacklisted buildings no building near

Adds a check in dze_buildChecks to disallow building within a certain
distance of a safezone or a blacklisted object name.

* typo

fix typo

* Safezone/blacklisted changes

As per requests.

* Rework

Rework

* Remove unused variables

as per subject

* Misc changes

Fix unprivated var in calcfreespace
Made single currency buy/sell reporting more englishery
Localization cleanup of extra spaces

* rework

rework
2016-11-04 12:08:47 -04:00

111 lines
2.7 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[] = {};
consume[] = {"ItemTent"};
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},{"ItemPole",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},{"ItemPole",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[] = {};
consume[] = {"ItemDomeTent"};
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},{"ItemPole",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[] = {};
consume[] = {"ItemDesertTent"};
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},{"ItemPole",2}};
};
};
};