Update tents

equip_tent_poles are now in the loot tables and can be used for tent crafting.
The recipe for crafting tents and nettings has changed a bit. Instead of poles, tent poles are needed now.
The string for equip_tent_poles is confusing if the requirements are 6 Tent Poles but meant is 1x (6 Tent Poles).
This commit is contained in:
A Man
2019-12-17 11:10:51 +01:00
parent 8af0f2a03a
commit 73289a69a6
6 changed files with 14 additions and 17 deletions

View File

@@ -26,6 +26,7 @@ Castle[] =
{Loot_MAGAZINE, 4, PartWoodPile},
{Loot_MAGAZINE, 2, ItemComboLock},
{Loot_MAGAZINE, 1, ItemTent},
{Loot_MAGAZINE, 1, equip_tent_poles},
{Loot_MAGAZINE, 1, forest_net_kit},
//Groups

View File

@@ -11,6 +11,7 @@ Farm[] =
{Loot_WEAPON, 5, ItemKnife},
//Items
{Loot_MAGAZINE, 1, equip_tent_poles},
{Loot_MAGAZINE, 4, ItemSandbag},
{Loot_MAGAZINE, 1, TrapBear},
{Loot_MAGAZINE, 8, PartWoodPile},

View File

@@ -29,6 +29,7 @@ Hunting[] =
//Other
{Loot_MAGAZINE, 2, ItemTent},
{Loot_MAGAZINE, 1, equip_tent_poles},
{Loot_MAGAZINE, 2, ItemBandage},
{Loot_MAGAZINE, 1, ItemDomeTent},
{Loot_MAGAZINE, 3, TrapBear},

View File

@@ -16,7 +16,7 @@ class ItemCanvas: CA_Magazine
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"ItemTent",1}};
input[] = {{"ItemCanvas",2},{"ItemPole",2}};
input[] = {{"ItemCanvas",2},{"equip_tent_poles",2}};
};
class Crafting1
{
@@ -25,7 +25,7 @@ class ItemCanvas: CA_Magazine
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"ItemDesertTent",1}};
input[] = {{"ItemCanvas",3},{"ItemPole",3}};
input[] = {{"ItemCanvas",3},{"equip_tent_poles",2}};
};
class Crafting2
{
@@ -34,7 +34,7 @@ class ItemCanvas: CA_Magazine
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"ItemDomeTent",1}};
input[] = {{"ItemCanvas",3},{"ItemPole",3}};
input[] = {{"ItemCanvas",3},{"equip_tent_poles",2}};
};
class Crafting3
{
@@ -124,7 +124,6 @@ class ItemComboLock: CA_Magazine
model = "\z\addons\dayz_epoch\models\combo_lock_mag.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_combolock_ca.paa";
descriptionShort = $STR_EPOCH_COMBINATIONLOCK_DESC;
};
class ItemCorrugated : CA_Magazine

View File

@@ -15,9 +15,7 @@ class ItemTent : CA_Magazine
text = $STR_PITCH_TENT;
script = "spawn player_build;";
require[] = {};
consume[] = {"ItemTent"};
create = "TentStorage";
//ghost = "TentStorage_Ghost";
//Bypass collision test
bypassCollision = "true";
};
@@ -28,7 +26,7 @@ class ItemTent : CA_Magazine
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"desert_net_kit",1}};
input[] = {{"ItemTent",2},{"ItemPole",2}};
input[] = {{"ItemTent",2},{"equip_tent_poles",2}};
};
class Crafting1
{
@@ -37,7 +35,7 @@ class ItemTent : CA_Magazine
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"forest_net_kit",1}};
input[] = {{"ItemTent",2},{"ItemPole",2}};
input[] = {{"ItemTent",2},{"equip_tent_poles",2}};
};
};
};
@@ -60,9 +58,7 @@ class ItemDomeTent : CA_Magazine
text = $STR_PITCH_DOME_TENT;
script = "spawn player_build;";
require[] = {};
consume[] = {"ItemDomeTent"};
create = "DomeTentStorage";
//ghost = "DomeTentStorage_Ghost";
//Bypass collision test
bypassCollision = "true";
};
@@ -73,7 +69,7 @@ class ItemDomeTent : CA_Magazine
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"forest_net_kit",1}};
input[] = {{"ItemDomeTent",2},{"ItemPole",2}};
input[] = {{"ItemDomeTent",2},{"equip_tent_poles",2}};
};
};
};
@@ -97,7 +93,6 @@ class ItemDesertTent : CA_Magazine
text = $STR_PITCH_DESERT_TENT;
script = "spawn player_build;";
require[] = {};
consume[] = {"ItemDesertTent"};
create = "DesertTentStorage";
};
class Crafting
@@ -107,7 +102,7 @@ class ItemDesertTent : CA_Magazine
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"desert_net_kit",1}};
input[] = {{"ItemDesertTent",2},{"ItemPole",2}};
input[] = {{"ItemDesertTent",2},{"equip_tent_poles",2}};
};
};
};