Add documents to loot and traders

This commit is contained in:
AirwavesMan
2020-09-10 11:29:24 +02:00
parent 6de0ed5dfe
commit 2fae1e414f
9 changed files with 65 additions and 22 deletions

View File

@@ -4,7 +4,6 @@ class CfgLoot
{
class Groups
{
// General groups
#include "Groups\Ammo.hpp"
#include "Groups\AmmoBox.hpp"
@@ -16,13 +15,13 @@ class CfgLoot
#include "Groups\ConsumableItems.hpp"
#include "Groups\Fuel.hpp"
#include "Groups\Parts.hpp"
//DZE
#include "Groups\Weapons.hpp"
#include "Groups\Clothes.hpp"
#include "Groups\Backpacks.hpp"
#include "Groups\Wrecks.hpp"
#include "Groups\Vanilla.hpp"
#include "Groups\Tools.hpp"
#include "Groups\Documents.hpp"
// Points of interest
#include "Groups\CrashSite.hpp"

View File

@@ -18,6 +18,7 @@ Industrial[] =
{Loot_PILE, 3, Consumable, 1, 2},
{Loot_GROUP, 4, JerryCan},
{Loot_GROUP, 3, FuelBarrel},
{Loot_GROUP, 3, VehicleDocuments},
{Loot_GROUP, 5, Generic}
};

View File

@@ -0,0 +1,30 @@
VehicleDocuments[] = {
{Loot_MAGAZINE, 1, ItemORP},
{Loot_MAGAZINE, 1, ItemAVE},
{Loot_MAGAZINE, 1, ItemLRK},
{Loot_MAGAZINE, 1, ItemTNK},
{Loot_MAGAZINE, 1, ItemARM},
{Loot_MAGAZINE, 1, ItemTruckORP},
{Loot_MAGAZINE, 1, ItemTruckAVE},
{Loot_MAGAZINE, 1, ItemTruckLRK},
{Loot_MAGAZINE, 1, ItemTruckTNK},
{Loot_MAGAZINE, 1, ItemTruckARM},
{Loot_MAGAZINE, 1, ItemHeliAVE},
{Loot_MAGAZINE, 1, ItemHeliLRK},
{Loot_MAGAZINE, 1, ItemHeliTNK}
};
GenericDocuments[] = {
{Loot_MAGAZINE, 1, ItemDocument},
{Loot_MAGAZINE, 1, ItemPlotDeed},
{Loot_MAGAZINE, 1, ItemLetter},
{Loot_MAGAZINE, 1, ItemBook1},
{Loot_MAGAZINE, 1, ItemBook2},
{Loot_MAGAZINE, 1, ItemBook3},
{Loot_MAGAZINE, 1, ItemBook4},
{Loot_MAGAZINE, 1, ItemNewspaper},
{Loot_MAGAZINE, 1, ItemDocumentRamp},
{Loot_MAGAZINE, 1, ItemBookBible},
{Loot_MAGAZINE, 1, ItemTrashPaper},
{Loot_MAGAZINE, 1, ItemTrashPaperMusic}
};

View File

@@ -12,7 +12,7 @@ Generic[] =
{Loot_MAGAZINE, 2, 8Rnd_9x18_Makarov},
{Loot_MAGAZINE, 2, 7Rnd_45ACP_1911},
{Loot_MAGAZINE, 2, 6Rnd_45ACP},
{Loot_MAGAZINE, 1, ItemDocument},
{Loot_GROUP, 1, GenericDocuments},
{Loot_GROUP, 1, FuelCan}
};

View File

@@ -43,9 +43,6 @@ Trash[] =
{Loot_MAGAZINE, 2, TrashTinCan},
{Loot_MAGAZINE, 2, TrashJackDaniels},
{Loot_MAGAZINE, 3, ItemSodaEmpty},
// {Loot_MAGAZINE, 1, equip_string},
{Loot_MAGAZINE, 1, ItemTrashPaper},
{Loot_MAGAZINE, 1, ItemTrashPaperMusic},
{Loot_MAGAZINE, 1, ItemTrashToiletpaper},
{Loot_MAGAZINE, 1, ItemTrashRazor},
{Loot_MAGAZINE, 1, ItemCards}

View File

@@ -18,7 +18,7 @@ class ItemDocument: CA_Magazine
neednearby[] = {};
requiretools[] = {};
randomOutput = 1;
output[] = {{"ItemLetter",1},{"ItemDocumentRamp",1},{"ItemBook1",1},{"ItemBook2",1},{"ItemBook3",1},{"ItemBook4",1},{"ItemNewspaper",1},{"ItemORP",1},{"ItemAVE",1},{"ItemLRK",1},{"ItemTNK",1},{"ItemPlotDeed",1}};
output[] = {{"ItemLetter",1},{"ItemDocumentRamp",1},{"ItemBook1",1},{"ItemBook2",1},{"ItemBook3",1},{"ItemBook4",1},{"ItemNewspaper",1},{"ItemORP",1},{"ItemAVE",1},{"ItemLRK",1},{"ItemTNK",1},{"ItemARM",1},{"ItemTruckORP",1},{"ItemTruckAVE",1},{"ItemTruckLRK",1},{"ItemTruckTNK",1},{"ItemTruckARM",1},{"ItemHeliAVE",1},{"ItemHeliLRK",1},{"ItemHeliTNK",1},{"ItemPlotDeed",1}};
input[] = {{"ItemDocument",1}};
};
};

View File

@@ -233,5 +233,13 @@ class Category_32 {
class ItemAVE {type = "trade_items";buy[] = {-1,"ItemSilverBar"};sell[] = {5,"ItemGoldBar"};};
class ItemLRK {type = "trade_items";buy[] = {-1,"ItemSilverBar"};sell[] = {5,"ItemGoldBar"};};
class ItemTNK {type = "trade_items";buy[] = {-1,"ItemSilverBar"};sell[] = {5,"ItemGoldBar"};};
class ItemTruckORP {type = "trade_items";buy[] = {-1,"ItemSilverBar"};sell[] = {5,"ItemGoldBar"};};
class ItemTruckARM {type = "trade_items";buy[] = {-1,"ItemSilverBar"};sell[] = {5,"ItemGoldBar"};};
class ItemTruckAVE {type = "trade_items";buy[] = {-1,"ItemSilverBar"};sell[] = {5,"ItemGoldBar"};};
class ItemTruckLRK {type = "trade_items";buy[] = {-1,"ItemSilverBar"};sell[] = {5,"ItemGoldBar"};};
class ItemTruckTNK {type = "trade_items";buy[] = {-1,"ItemSilverBar"};sell[] = {5,"ItemGoldBar"};};
class ItemHeliAVE {type = "trade_items";buy[] = {-1,"ItemSilverBar"};sell[] = {5,"ItemGoldBar"};};
class ItemHeliLRK {type = "trade_items";buy[] = {-1,"ItemSilverBar"};sell[] = {5,"ItemGoldBar"};};
class ItemHeliTNK {type = "trade_items";buy[] = {-1,"ItemSilverBar"};sell[] = {5,"ItemGoldBar"};};
class ItemPlotDeed {type = "trade_items";buy[] = {-1,"ItemSilverBar"};sell[] = {5,"ItemGoldBar"};};
};

View File

@@ -233,5 +233,13 @@ class Category_32 {
class ItemAVE {type = "trade_items";buy[] = {-1,"worth"};sell[] = {500,"worth"};};
class ItemLRK {type = "trade_items";buy[] = {-1,"worth"};sell[] = {500,"worth"};};
class ItemTNK {type = "trade_items";buy[] = {-1,"worth"};sell[] = {500,"worth"};};
class ItemTruckORP {type = "trade_items";buy[] = {-1,"worth"};sell[] = {500,"worth"};};
class ItemTruckARM {type = "trade_items";buy[] = {-1,"worth"};sell[] = {500,"worth"};};
class ItemTruckAVE {type = "trade_items";buy[] = {-1,"worth"};sell[] = {500,"worth"};};
class ItemTruckLRK {type = "trade_items";buy[] = {-1,"worth"};sell[] = {500,"worth"};};
class ItemTruckTNK {type = "trade_items";buy[] = {-1,"worth"};sell[] = {500,"worth"};};
class ItemHeliAVE {type = "trade_items";buy[] = {-1,"worth"};sell[] = {500,"worth"};};
class ItemHeliLRK {type = "trade_items";buy[] = {-1,"worth"};sell[] = {500,"worth"};};
class ItemHeliTNK {type = "trade_items";buy[] = {-1,"worth"};sell[] = {500,"worth"};};
class ItemPlotDeed {type = "trade_items";buy[] = {-1,"worth"};sell[] = {500,"worth"};};
};