mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Add documents to loot and traders
This commit is contained in:
@@ -1,15 +1,15 @@
|
|||||||
#include "Groups\Buildings\Boat.hpp"
|
#include "Groups\Buildings\Boat.hpp"
|
||||||
#include "Groups\Buildings\Castle.hpp"
|
#include "Groups\Buildings\Castle.hpp"
|
||||||
#include "Groups\Buildings\Church.hpp"
|
#include "Groups\Buildings\Church.hpp"
|
||||||
#include "Groups\Buildings\Construction.hpp"
|
#include "Groups\Buildings\Construction.hpp"
|
||||||
#include "Groups\Buildings\Farm.hpp"
|
#include "Groups\Buildings\Farm.hpp"
|
||||||
#include "Groups\Buildings\Hospital.hpp"
|
#include "Groups\Buildings\Hospital.hpp"
|
||||||
#include "Groups\Buildings\Hunting.hpp"
|
#include "Groups\Buildings\Hunting.hpp"
|
||||||
#include "Groups\Buildings\Industrial.hpp"
|
#include "Groups\Buildings\Industrial.hpp"
|
||||||
#include "Groups\Buildings\Military.hpp"
|
#include "Groups\Buildings\Military.hpp"
|
||||||
#include "Groups\Buildings\MilitaryIndustrial.hpp"
|
#include "Groups\Buildings\MilitaryIndustrial.hpp"
|
||||||
#include "Groups\Buildings\Office.hpp"
|
#include "Groups\Buildings\Office.hpp"
|
||||||
#include "Groups\Buildings\Residential.hpp"
|
#include "Groups\Buildings\Residential.hpp"
|
||||||
#include "Groups\Buildings\ResidentialRuins.hpp"
|
#include "Groups\Buildings\ResidentialRuins.hpp"
|
||||||
#include "Groups\Buildings\Supermarket.hpp"
|
#include "Groups\Buildings\Supermarket.hpp"
|
||||||
#include "Groups\Buildings\Toilet.hpp"
|
#include "Groups\Buildings\Toilet.hpp"
|
||||||
|
|||||||
@@ -3,8 +3,7 @@
|
|||||||
class CfgLoot
|
class CfgLoot
|
||||||
{
|
{
|
||||||
class Groups
|
class Groups
|
||||||
{
|
{
|
||||||
|
|
||||||
// General groups
|
// General groups
|
||||||
#include "Groups\Ammo.hpp"
|
#include "Groups\Ammo.hpp"
|
||||||
#include "Groups\AmmoBox.hpp"
|
#include "Groups\AmmoBox.hpp"
|
||||||
@@ -16,13 +15,13 @@ class CfgLoot
|
|||||||
#include "Groups\ConsumableItems.hpp"
|
#include "Groups\ConsumableItems.hpp"
|
||||||
#include "Groups\Fuel.hpp"
|
#include "Groups\Fuel.hpp"
|
||||||
#include "Groups\Parts.hpp"
|
#include "Groups\Parts.hpp"
|
||||||
//DZE
|
|
||||||
#include "Groups\Weapons.hpp"
|
#include "Groups\Weapons.hpp"
|
||||||
#include "Groups\Clothes.hpp"
|
#include "Groups\Clothes.hpp"
|
||||||
#include "Groups\Backpacks.hpp"
|
#include "Groups\Backpacks.hpp"
|
||||||
#include "Groups\Wrecks.hpp"
|
#include "Groups\Wrecks.hpp"
|
||||||
#include "Groups\Vanilla.hpp"
|
#include "Groups\Vanilla.hpp"
|
||||||
#include "Groups\Tools.hpp"
|
#include "Groups\Tools.hpp"
|
||||||
|
#include "Groups\Documents.hpp"
|
||||||
|
|
||||||
// Points of interest
|
// Points of interest
|
||||||
#include "Groups\CrashSite.hpp"
|
#include "Groups\CrashSite.hpp"
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ Industrial[] =
|
|||||||
{Loot_PILE, 3, Consumable, 1, 2},
|
{Loot_PILE, 3, Consumable, 1, 2},
|
||||||
{Loot_GROUP, 4, JerryCan},
|
{Loot_GROUP, 4, JerryCan},
|
||||||
{Loot_GROUP, 3, FuelBarrel},
|
{Loot_GROUP, 3, FuelBarrel},
|
||||||
|
{Loot_GROUP, 3, VehicleDocuments},
|
||||||
{Loot_GROUP, 5, Generic}
|
{Loot_GROUP, 5, Generic}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
30
SQF/dayz_code/Configs/CfgLoot/Groups/Documents.hpp
Normal file
30
SQF/dayz_code/Configs/CfgLoot/Groups/Documents.hpp
Normal 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}
|
||||||
|
};
|
||||||
@@ -12,7 +12,7 @@ Generic[] =
|
|||||||
{Loot_MAGAZINE, 2, 8Rnd_9x18_Makarov},
|
{Loot_MAGAZINE, 2, 8Rnd_9x18_Makarov},
|
||||||
{Loot_MAGAZINE, 2, 7Rnd_45ACP_1911},
|
{Loot_MAGAZINE, 2, 7Rnd_45ACP_1911},
|
||||||
{Loot_MAGAZINE, 2, 6Rnd_45ACP},
|
{Loot_MAGAZINE, 2, 6Rnd_45ACP},
|
||||||
{Loot_MAGAZINE, 1, ItemDocument},
|
{Loot_GROUP, 1, GenericDocuments},
|
||||||
{Loot_GROUP, 1, FuelCan}
|
{Loot_GROUP, 1, FuelCan}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -43,9 +43,6 @@ Trash[] =
|
|||||||
{Loot_MAGAZINE, 2, TrashTinCan},
|
{Loot_MAGAZINE, 2, TrashTinCan},
|
||||||
{Loot_MAGAZINE, 2, TrashJackDaniels},
|
{Loot_MAGAZINE, 2, TrashJackDaniels},
|
||||||
{Loot_MAGAZINE, 3, ItemSodaEmpty},
|
{Loot_MAGAZINE, 3, ItemSodaEmpty},
|
||||||
// {Loot_MAGAZINE, 1, equip_string},
|
|
||||||
{Loot_MAGAZINE, 1, ItemTrashPaper},
|
|
||||||
{Loot_MAGAZINE, 1, ItemTrashPaperMusic},
|
|
||||||
{Loot_MAGAZINE, 1, ItemTrashToiletpaper},
|
{Loot_MAGAZINE, 1, ItemTrashToiletpaper},
|
||||||
{Loot_MAGAZINE, 1, ItemTrashRazor},
|
{Loot_MAGAZINE, 1, ItemTrashRazor},
|
||||||
{Loot_MAGAZINE, 1, ItemCards}
|
{Loot_MAGAZINE, 1, ItemCards}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ class ItemDocument: CA_Magazine
|
|||||||
neednearby[] = {};
|
neednearby[] = {};
|
||||||
requiretools[] = {};
|
requiretools[] = {};
|
||||||
randomOutput = 1;
|
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}};
|
input[] = {{"ItemDocument",1}};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -233,5 +233,13 @@ class Category_32 {
|
|||||||
class ItemAVE {type = "trade_items";buy[] = {-1,"ItemSilverBar"};sell[] = {5,"ItemGoldBar"};};
|
class ItemAVE {type = "trade_items";buy[] = {-1,"ItemSilverBar"};sell[] = {5,"ItemGoldBar"};};
|
||||||
class ItemLRK {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 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"};};
|
class ItemPlotDeed {type = "trade_items";buy[] = {-1,"ItemSilverBar"};sell[] = {5,"ItemGoldBar"};};
|
||||||
};
|
};
|
||||||
@@ -233,5 +233,13 @@ class Category_32 {
|
|||||||
class ItemAVE {type = "trade_items";buy[] = {-1,"worth"};sell[] = {500,"worth"};};
|
class ItemAVE {type = "trade_items";buy[] = {-1,"worth"};sell[] = {500,"worth"};};
|
||||||
class ItemLRK {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 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"};};
|
class ItemPlotDeed {type = "trade_items";buy[] = {-1,"worth"};sell[] = {500,"worth"};};
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user