From e5f8555890f5885eec4519712f7ff992f22b6834 Mon Sep 17 00:00:00 2001 From: A Man Date: Wed, 27 May 2020 14:17:25 +0200 Subject: [PATCH] Update loot tables and traders for new used items --- .../CfgLoot/Groups/Buildings/Castle.hpp | 3 ++- .../CfgLoot/Groups/Buildings/Hunting.hpp | 2 ++ .../CfgLoot/Groups/Buildings/Industrial.hpp | 2 +- .../Groups/Buildings/MilitaryIndustrial.hpp | 12 ++++++---- .../Configs/CfgLoot/Groups/Vanilla.hpp | 22 +++++++++---------- .../CfgServerTrader/Category/Parts.hpp | 2 ++ 6 files changed, 25 insertions(+), 18 deletions(-) diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Castle.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Castle.hpp index 7c2f144ef..95b823b30 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Castle.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Castle.hpp @@ -12,7 +12,8 @@ Castle[] = //Items {Loot_MAGAZINE, 4, ItemSandbag}, -// {Loot_MAGAZINE, 1, equip_Crossbow_Kit}, //not functional yet + {Loot_MAGAZINE, 2, equip_Crossbow_Kit}, + {Loot_MAGAZINE, 2, equip_crossbow_stock}, {Loot_MAGAZINE, 2, ItemComboLock}, {Loot_MAGAZINE, 1, equip_tent_poles}, {Loot_MAGAZINE, 1, forest_net_kit}, diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Hunting.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Hunting.hpp index 4f5105489..7df722e4d 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Hunting.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Hunting.hpp @@ -29,6 +29,8 @@ Hunting[] = {Loot_MAGAZINE, 2, 1Rnd_Bolt_Tranquilizer}, {Loot_MAGAZINE, 1, 1Rnd_Bolt_Explosive}, {Loot_MAGAZINE, 1, 20Rnd_762x51_DMR}, + {Loot_MAGAZINE, 6, equip_Crossbow_Kit}, + {Loot_MAGAZINE, 6, equip_crossbow_stock}, {Loot_PILE, 10, AmmoCivilian, 1, 3}, {Loot_PILE, 10, Consumable, 1, 3}, diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Industrial.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Industrial.hpp index 629a1e0b7..9fb5e7bee 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Industrial.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Industrial.hpp @@ -12,7 +12,7 @@ Industrial[] = //Other {Loot_GROUP, 15, Parts}, - {Loot_GROUP, 3, VanillaConstruction}, + {Loot_GROUP, 6, VanillaConstruction}, {Loot_PILE, 10, Trash, 1, 3}, {Loot_PILE, 3, Consumable, 1, 2}, {Loot_GROUP, 4, JerryCan}, diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/MilitaryIndustrial.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/MilitaryIndustrial.hpp index 1c40f3fd4..2da315e39 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/MilitaryIndustrial.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/MilitaryIndustrial.hpp @@ -20,7 +20,8 @@ MilitaryIndustrialRU[] = { {Loot_MAGAZINE, 1, ItemWire}, {Loot_PILE, 5, Trash, 1, 2}, {Loot_PILE, 3, Consumable, 1, 2}, - {Loot_GROUP, 10, MilitaryRU} + {Loot_GROUP, 10, MilitaryRU}, + {Loot_MAGAZINE, 4, ItemScrews} }; MilitaryIndustrialSmallRU[] = { @@ -39,7 +40,8 @@ MilitaryIndustrialUS[] = { {Loot_MAGAZINE, 1, ItemWire}, {Loot_PILE, 5, Trash, 1, 2}, {Loot_PILE, 3, Consumable, 1, 2}, - {Loot_GROUP, 10, MilitaryUS} + {Loot_GROUP, 10, MilitaryUS}, + {Loot_MAGAZINE, 4, ItemScrews} }; MilitaryIndustrialSmallUS[] = { @@ -58,7 +60,8 @@ MilitaryIndustrialEU[] = { {Loot_MAGAZINE, 1, ItemWire}, {Loot_PILE, 5, Trash, 1, 2}, {Loot_PILE, 3, Consumable, 1, 2}, - {Loot_GROUP, 10, MilitaryEU} + {Loot_GROUP, 10, MilitaryEU}, + {Loot_MAGAZINE, 4, ItemScrews} }; MilitaryIndustrialSmallEU[] = { @@ -77,7 +80,8 @@ MilitaryIndustrialCZ[] = { {Loot_MAGAZINE, 1, ItemWire}, {Loot_PILE, 5, Trash, 1, 2}, {Loot_PILE, 3, Consumable, 1, 2}, - {Loot_GROUP, 10, MilitaryCZ} + {Loot_GROUP, 10, MilitaryCZ}, + {Loot_MAGAZINE, 4, ItemScrews} }; MilitaryIndustrialSmallCZ[] = { diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Vanilla.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Vanilla.hpp index 7072264b8..b430a378d 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Vanilla.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Vanilla.hpp @@ -6,13 +6,12 @@ VanillaSurvival[] = { // {Loot_MAGAZINE, 1, equip_pvc_box}, // Unused // {Loot_MAGAZINE, 1, ItemBookBible}, // Novelty church item - added directly to church loot -// {Loot_MAGAZINE, 1, PartWoodPile}, // Build a fire - In Epoch these can be easily harvested from trees -// {Loot_MAGAZINE, 1, equip_rope}, // Only appears to be used to craft string - {Loot_MAGAZINE, 1, equip_rag}, // Used to craft bandages and makeshift backpack + {Loot_MAGAZINE, 1, equip_rope}, //Used for upgrade tents + {Loot_MAGAZINE, 1, equip_rag}, // Used to craft bandages {Loot_MAGAZINE, 1, equip_string}, // Used in multiple crafting recipes {Loot_MAGAZINE, 1, equip_duct_tape}, // Repair broken stuff - craft a sling {Loot_MAGAZINE, 1, equip_herb_box}, // Combine with ItemWaterBottle to make Herbal Tea - {Loot_MAGAZINE, 1, equip_nails}, // Combine with baseball bat - Vanilla base building + {Loot_MAGAZINE, 1, equip_nails}, // Combine with baseball bat, upgrade storage buildings {Loot_MAGAZINE, 1, equip_hose} // Need this to siphon gas with fuel container - very useful }; @@ -21,19 +20,18 @@ VanillaConstruction[] = // {Loot_MAGAZINE, 1, equip_scrapelectronics}, // Unused // {Loot_MAGAZINE, 2, equip_1inch_metal_pipe}, // Unused // {Loot_MAGAZINE, 2, equip_2inch_metal_pipe}, // Unused -// {Loot_WEAPON, 2, ItemShovel}, // Has no function in Epoch // {Loot_WEAPON, 1, WeaponHolder_ItemPickaxe}, // Get ItemStone from rocks on the map - no function in Epoch. // {Loot_WEAPON, 2, WeaponHolder_ItemPickaxeBroken}, -// {Loot_MAGAZINE, 9, equip_metal_sheet}, // Vanilla base building -// {Loot_MAGAZINE, 9, equip_metal_sheet_rusted}, // Unused -// {Loot_MAGAZINE, 4, ItemScrews}, // Vanilla base building // {Loot_MAGAZINE, 5, ItemStone}, // Vanilla base building - foundations // {Loot_WEAPON, 1, ItemDIY_wood}, // Vanilla base building // {Loot_WEAPON, 1, ItemDIY_Gate} // Vanilla base building +// {Loot_MAGAZINE, 9, equip_metal_sheet_rusted}, // Unused + {Loot_MAGAZINE, 9, ItemMetalSheet}, //Used for upgrade storage buildings + {Loot_MAGAZINE, 9, equip_metal_sheet}, //Used for upgrade storage buildings + {Loot_MAGAZINE, 4, ItemScrews}, //Used for upgrade storage buildings {Loot_MAGAZINE, 1, equip_hose}, // Need this to siphon gas with fuel container - very useful {Loot_MAGAZINE, 1, equip_lever}, // Repair broken handles if dayz_toolBreaking enabled - {Loot_MAGAZINE, 1, ItemPlank}, // Vanilla base building - craft a sling - {Loot_MAGAZINE, 1, equip_nails}, // Combine with baseball bat - Vanilla base building - {Loot_MAGAZINE, 1, equip_brick}, // Used to sharpen tools if dayz_knifeDulling enabled - {Loot_MAGAZINE, 1, ItemLog} // Make a fire, make ItemPlank + {Loot_MAGAZINE, 1, ItemPlank}, // Used for upgrade storage buildings - craft a sling + {Loot_MAGAZINE, 1, equip_nails}, // Combine with baseball bat, upgrade storage buildings + {Loot_MAGAZINE, 1, equip_brick} // Used to sharpen tools if dayz_knifeDulling enabled }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/Parts.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/Parts.hpp index 6484c4bc3..6a6f9a4f6 100644 --- a/SQF/dayz_code/Configs/CfgServerTrader/Category/Parts.hpp +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/Parts.hpp @@ -52,6 +52,7 @@ class Category_35 { class equip_hose {type = "trade_items";buy[] = {6,"ItemSilverBar"};sell[] = {3,"ItemSilverBar"};}; class equip_lever {type = "trade_items";buy[] = {6,"ItemSilverBar"};sell[] = {3,"ItemSilverBar"};}; class equip_nails {type = "trade_items";buy[] = {2,"ItemSilverBar"};sell[] = {1,"ItemSilverBar"};}; + class ItemScrews {type = "trade_items";buy[] = {4,"ItemSilverBar10oz"};sell[] = {2,"ItemSilverBar10oz"};}; class equip_scrapelectronics {type = "trade_items";buy[] = {-4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};}; class equip_floppywire {type = "trade_items";buy[] = {-4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};}; class equip_metal_sheet {type = "trade_items";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};}; @@ -62,6 +63,7 @@ class Category_35 { class ItemSandbag {type = "trade_items";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};}; class ItemTankTrap {type = "trade_items";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};}; class ItemPole {type = "trade_items";buy[] = {1,"ItemSilverBar10oz"};sell[] = {5,"ItemSilverBar"};}; + class ItemMetalSheet {type = "trade_items";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};}; class ItemCorrugated {type = "trade_items";buy[] = {2,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};}; class plot_pole_kit {type = "trade_items";buy[] = {6,"ItemGoldBar10oz"};sell[] = {6,"ItemGoldBar10oz"};}; class ItemComboLock {type = "trade_items";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};