diff --git a/CHANGE LOG 1.0.4.1.txt b/CHANGE LOG 1.0.4.1.txt index 0207e0d7d..8834c84d3 100644 --- a/CHANGE LOG 1.0.4.1.txt +++ b/CHANGE LOG 1.0.4.1.txt @@ -1,10 +1,10 @@ [ADDED] Variable DZE_DamageBeforeMaint to control what damage level is needed for the maintain option to appear. @vbawol [ADDED] Keep safe/lockbox vars server side until needed. This should help with performance. @maca134 -[ADDED] Added SQL Function DeleteNonKeyVehicles run before server start. @maca134 @Fank -[ADDED] SQL event UnlockNonKeyVehicles run once a day. Use one or the other not both. @maca134 @Fank +[ADDED] Added SQL Function DeleteNonKeyVehicles run before server start and SQL event UnlockNonKeyVehicles run once a day. Use one or the other not both. @maca134 @Fank [ADDED] Option to disable R3F weight system. DZE_R3F_WEIGHT = false in init.sqf to disable. @vbawol -[FIXED] DZE_DamageBeforeMaint = 0.09 by defaut should fix issues with maintain option not working when damage is set to 0.1 with SQL event. @vbawol + +[FIXED] DZE_DamageBeforeMaint = 0.09 by default should fix issues with maintain option not working when damage is set to 0.1 with SQL event. @vbawol [FIXED] Fix for Death Messages when attacker is in vehicle. @icomrade @vbawol [FIXED] General cleanup and fixes. @Fank @Skaronator @icomrade @vbawol [FIXED] Issue with Scaffolding being too close and killing player. @Fank diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/BanditAmmunition.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/BanditAmmunition.hpp new file mode 100644 index 000000000..dc0c31372 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/BanditAmmunition.hpp @@ -0,0 +1,27 @@ +class BanditAmmunition { + class 30Rnd_556x45_StanagSD { + type = "trade_items"; + buy[] = {4,"ItemSilverBar10oz"}; + sell[] = {2,"ItemSilverBar10oz"}; + }; + class 5Rnd_86x70_L115A1 { + type = "trade_items"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class 100Rnd_762x51_M240 { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class 20Rnd_762x51_FNFAL { + type = "trade_items"; + buy[] = {4,"ItemSilverBar10oz"}; + sell[] = {2,"ItemSilverBar10oz"}; + }; + class 20Rnd_762x51_SB_SCAR { + type = "trade_items"; + buy[] = {1,"ItemGoldBar"}; + sell[] = {5,"ItemSilverBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/BanditClothing.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/BanditClothing.hpp new file mode 100644 index 000000000..149c1df4d --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/BanditClothing.hpp @@ -0,0 +1,62 @@ +class BanditClothing { + class Skin_Bandit1_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_Bandit2_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_GUE_Commander_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_GUE_Soldier_2_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_GUE_Soldier_CO_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_GUE_Soldier_Crew_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_GUE_Soldier_Sniper_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_Ins_Soldier_GL_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_TK_INS_Soldier_EP1_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_TK_INS_Warlord_EP1_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_BanditW1_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_BanditW2_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/BanditHelicopterArmed.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/BanditHelicopterArmed.hpp new file mode 100644 index 000000000..776c2d7a7 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/BanditHelicopterArmed.hpp @@ -0,0 +1,27 @@ +class BanditHelicopterArmed { + class CH_47F_EP1_DZE { + type = "trade_any_vehicle"; + buy[] = {2,"ItemBriefcase100oz"}; + sell[] = {1,"ItemBriefcase100oz"}; + }; + class UH1H_DZE { + type = "trade_any_vehicle"; + buy[] = {2,"ItemBriefcase100oz"}; + sell[] = {1,"ItemBriefcase100oz"}; + }; + class Mi17_DZE { + type = "trade_any_vehicle"; + buy[] = {1,"ItemBriefcase100oz"}; + sell[] = {5,"ItemGoldBar10oz"}; + }; + class UH60M_EP1_DZE { + type = "trade_any_vehicle"; + buy[] = {2,"ItemBriefcase100oz"}; + sell[] = {1,"ItemBriefcase100oz"}; + }; + class UH1Y_DZE { + type = "trade_any_vehicle"; + buy[] = {2,"ItemBriefcase100oz"}; + sell[] = {1,"ItemBriefcase100oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/BanditMilitaryArmed.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/BanditMilitaryArmed.hpp new file mode 100644 index 000000000..d52f46152 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/BanditMilitaryArmed.hpp @@ -0,0 +1,32 @@ +class BanditMilitaryArmed { + class HMMWV_M998A2_SOV_DES_EP1_DZE { + type = "trade_any_vehicle"; + buy[] = {4,"ItemGoldBar10oz"}; + sell[] = {2,"ItemGoldBar10oz"}; + }; + class HMMWV_M1151_M2_CZ_DES_EP1_DZE { + type = "trade_any_vehicle"; + buy[] = {1,"ItemBriefcase100oz"}; + sell[] = {5,"ItemGoldBar10oz"}; + }; + class LandRover_Special_CZ_EP1_DZE { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class LandRover_MG_TK_EP1_DZE { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class UAZ_MG_TK_EP1_DZE { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class GAZ_Vodnik_DZE { + type = "trade_any_vehicle"; + buy[] = {1,"ItemBriefcase100oz"}; + sell[] = {5,"ItemGoldBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/BanditTrucksArmed.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/BanditTrucksArmed.hpp new file mode 100644 index 000000000..29a565b37 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/BanditTrucksArmed.hpp @@ -0,0 +1,27 @@ +class BanditTrucksArmed { + class Pickup_PK_GUE_DZE { + type = "trade_any_vehicle"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class Pickup_PK_INS_DZE { + type = "trade_any_vehicle"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class ArmoredSUV_PMC_DZE { + type = "trade_any_vehicle"; + buy[] = {2,"ItemBriefcase100oz"}; + sell[] = {1,"ItemBriefcase100oz"}; + }; + class Pickup_PK_TK_GUE_EP1_DZE { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class Offroad_DSHKM_Gue_DZE { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/BanditWeapons.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/BanditWeapons.hpp new file mode 100644 index 000000000..335267f21 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/BanditWeapons.hpp @@ -0,0 +1,42 @@ +class BanditWeapons { + class G36_C_SD_camo { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class M4A1_AIM_SD_camo { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class FN_FAL_ANPVS4 { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class SCAR_H_LNG_Sniper_SD { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class BAF_LRR_scoped { + type = "trade_weapons"; + buy[] = {4,"ItemGoldBar10oz"}; + sell[] = {2,"ItemGoldBar10oz"}; + }; + class FN_FAL { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class Mk_48_DZ { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class M240_DZ { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyAssaultRifle.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyAssaultRifle.hpp new file mode 100644 index 000000000..5b6fc740c --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyAssaultRifle.hpp @@ -0,0 +1,112 @@ +class FriendlyAssaultRifle { + class G36A_camo { + type = "trade_weapons"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; + class G36C { + type = "trade_weapons"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class G36C_camo { + type = "trade_weapons"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; + class G36K_camo { + type = "trade_weapons"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; + class M16A2 { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class M16A2GL { + type = "trade_weapons"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class M16A4_ACG { + type = "trade_weapons"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class M4A1 { + type = "trade_weapons"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class M4A1_HWS_GL_camo { + type = "trade_weapons"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class M4A3_CCO_EP1 { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class M4A1_Aim { + type = "trade_weapons"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class Sa58P_EP1 { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Sa58V_CCO_EP1 { + type = "trade_weapons"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class Sa58V_EP1 { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Sa58V_RCO_EP1 { + type = "trade_weapons"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class AKS_74_kobra { + type = "trade_weapons"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class AKS_74_U { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class AK_47_M { + type = "trade_weapons"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {6,"ItemGoldBar"}; + }; + class AK_74 { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class FN_FAL { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class BAF_L85A2_RIS_SUSAT { + type = "trade_weapons"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; + class BAF_L85A2_RIS_Holo { + type = "trade_weapons"; + buy[] = {9,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyAssaultRifleAmmo.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyAssaultRifleAmmo.hpp new file mode 100644 index 000000000..946f5436a --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyAssaultRifleAmmo.hpp @@ -0,0 +1,27 @@ +class FriendlyAssaultRifleAmmo { + class 30Rnd_556x45_Stanag { + type = "trade_items"; + buy[] = {4,"ItemSilverBar"}; + sell[] = {2,"ItemSilverBar"}; + }; + class 20Rnd_762x51_FNFAL { + type = "trade_items"; + buy[] = {4,"ItemSilverBar10oz"}; + sell[] = {2,"ItemSilverBar10oz"}; + }; + class 30Rnd_545x39_AK { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class 30Rnd_762x39_AK47 { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class 30Rnd_762x39_SA58 { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyBackpacks.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyBackpacks.hpp new file mode 100644 index 000000000..2e935fe71 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyBackpacks.hpp @@ -0,0 +1,57 @@ +class FriendlyBackpacks { + class DZ_Patrol_Pack_EP1 { + type = "trade_backpacks"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class CZ_VestPouch_EP1 { + type = "trade_backpacks"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class DZ_ALICE_Pack_EP1 { + type = "trade_backpacks"; + buy[] = {1,"ItemGoldBar"}; + sell[] = {5,"ItemSilverBar10oz"}; + }; + class DZ_Assault_Pack_EP1 { + type = "trade_backpacks"; + buy[] = {1,"ItemGoldBar"}; + sell[] = {5,"ItemSilverBar10oz"}; + }; + class DZ_Backpack_EP1 { + type = "trade_backpacks"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class DZ_British_ACU { + type = "trade_backpacks"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class DZ_CivilBackpack_EP1 { + type = "trade_backpacks"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class DZ_Czech_Vest_Puch { + type = "trade_backpacks"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class DZ_TK_Assault_Pack_EP1 { + type = "trade_backpacks"; + buy[] = {6,"ItemSilverBar10oz"}; + sell[] = {3,"ItemSilverBar10oz"}; + }; + class DZ_TerminalPack_EP1 { + type = "trade_backpacks"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class DZ_GunBag_EP1 { + type = "trade_backpacks"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyBikesandATV.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyBikesandATV.hpp new file mode 100644 index 000000000..23143f723 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyBikesandATV.hpp @@ -0,0 +1,52 @@ +class FriendlyBikesandATV { + class MMT_Civ { + type = "trade_any_bicycle"; + buy[] = {4,"ItemSilverBar"}; + sell[] = {2,"ItemSilverBar"}; + }; + class Old_bike_TK_INS_EP1 { + type = "trade_any_bicycle"; + buy[] = {4,"ItemSilverBar"}; + sell[] = {2,"ItemSilverBar"}; + }; + class TT650_Civ { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class TT650_Ins { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class TT650_TK_CIV_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class ATV_CZ_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class ATV_US_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class M1030_US_DES_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Old_moto_TK_Civ_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class tractor { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyBuildingSupplies.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyBuildingSupplies.hpp new file mode 100644 index 000000000..b9cbc3f8f --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyBuildingSupplies.hpp @@ -0,0 +1,62 @@ +class FriendlyBuildingSupplies { + class ItemSandbag { + type = "trade_items"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class ItemTankTrap { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class ItemTentOld { + type = "trade_items"; + buy[] = {4,"ItemSilverBar10oz"}; + sell[] = {2,"ItemSilverBar10oz"}; + }; + class ItemVault { + type = "trade_items"; + buy[] = {1,"ItemBriefcase100oz"}; + sell[] = {1,"ItemBriefcase100oz"}; + }; + class ItemWire { + type = "trade_items"; + buy[] = {6,"ItemSilverBar"}; + sell[] = {3,"ItemSilverBar"}; + }; + class 30m_plot_kit { + type = "trade_items"; + buy[] = {6,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar10oz"}; + }; + class ItemCorrugated { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class ItemPole { + type = "trade_items"; + buy[] = {1,"ItemSilverBar10oz"}; + sell[] = {5,"ItemSilverBar"}; + }; + class ItemTentDomed { + type = "trade_items"; + buy[] = {6,"ItemSilverBar10oz"}; + sell[] = {3,"ItemSilverBar10oz"}; + }; + class ItemTentDomed2 { + type = "trade_items"; + buy[] = {6,"ItemSilverBar10oz"}; + sell[] = {3,"ItemSilverBar10oz"}; + }; + class ItemLightBulb { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class ItemGenerator { + type = "trade_items"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyBusesandVans.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyBusesandVans.hpp new file mode 100644 index 000000000..18cabc60b --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyBusesandVans.hpp @@ -0,0 +1,22 @@ +class FriendlyBusesandVans { + class Ikarus { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class Ikarus_TK_CIV_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class S1203_TK_CIV_EP1 { + type = "trade_any_vehicle"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; + class S1203_ambulance_EP1 { + type = "trade_any_vehicle"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyCargoTrucks.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyCargoTrucks.hpp new file mode 100644 index 000000000..1c4774b28 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyCargoTrucks.hpp @@ -0,0 +1,72 @@ +class FriendlyCargoTrucks { + class Ural_CDF { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class Ural_TK_CIV_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class Ural_UN_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class V3S_Open_TK_CIV_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class V3S_Open_TK_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class Kamaz { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class MTVR_DES_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar"}; + }; + class V3S_Civ { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class V3S_RA_TK_GUE_EP1_DZE { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class V3S_TK_EP1_DZE { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class UralCivil_DZE { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class UralCivil2_DZE { + type = "trade_any_vehicle"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class KamazOpen_DZE { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class MTVR { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyChemlitesFlares.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyChemlitesFlares.hpp new file mode 100644 index 000000000..8fd0e1b0b --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyChemlitesFlares.hpp @@ -0,0 +1,32 @@ +class FriendlyChemlitesFlares { + class HandChemBlue { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class HandChemGreen { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class HandChemRed { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class FlareGreen_M203 { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class FlareWhite_M203 { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class HandRoadFlare { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyClothes.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyClothes.hpp new file mode 100644 index 000000000..77743f7a4 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyClothes.hpp @@ -0,0 +1,82 @@ +class FriendlyClothes { + class Skin_Rocker2_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_SurvivorW2_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_Functionary1_EP1_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_Haris_Press_EP1_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_Priest_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_SurvivorWpink_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_SurvivorWurban_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_SurvivorWcombat_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_SurvivorWdesert_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_Survivor2_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_Rocker1_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_Rocker3_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_RU_Policeman_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_Pilot_EP1_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_Rocker4_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_SurvivorW3_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyCookedMeats.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyCookedMeats.hpp new file mode 100644 index 000000000..0c295752a --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyCookedMeats.hpp @@ -0,0 +1,42 @@ +class FriendlyCookedMeats { + class FoodbaconCooked { + type = "trade_items"; + buy[] = {4,"ItemSilverBar"}; + sell[] = {2,"ItemSilverBar"}; + }; + class FoodbeefCooked { + type = "trade_items"; + buy[] = {4,"ItemSilverBar"}; + sell[] = {2,"ItemSilverBar"}; + }; + class FoodchickenCooked { + type = "trade_items"; + buy[] = {4,"ItemSilverBar"}; + sell[] = {2,"ItemSilverBar"}; + }; + class FoodmuttonCooked { + type = "trade_items"; + buy[] = {4,"ItemSilverBar"}; + sell[] = {2,"ItemSilverBar"}; + }; + class FoodrabbitCooked { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class ItemTroutCooked { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class ItemSeaBassCooked { + type = "trade_items"; + buy[] = {3,"ItemGoldBar"}; + sell[] = {2,"ItemSilverBar10oz"}; + }; + class ItemTunaCooked { + type = "trade_items"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyDrinks.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyDrinks.hpp new file mode 100644 index 000000000..cdb7d477f --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyDrinks.hpp @@ -0,0 +1,37 @@ +class FriendlyDrinks { + class ItemSodaCoke { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemSodaPepsi { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemSodaMdew { + type = "trade_items"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; + class ItemSodaR4z0r { + type = "trade_items"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; + class ItemWaterbottleUnfilled { + type = "trade_items"; + buy[] = {3,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemSodaRbull { + type = "trade_items"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; + class ItemSodaOrangeSherbet { + type = "trade_items"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyFuelTrucks.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyFuelTrucks.hpp new file mode 100644 index 000000000..ad02ec35b --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyFuelTrucks.hpp @@ -0,0 +1,27 @@ +class FriendlyFuelTrucks { + class KamazRefuel_DZ { + type = "trade_any_vehicle"; + buy[] = {7,"ItemGoldBar10oz"}; + sell[] = {3,"ItemGoldBar10oz"}; + }; + class MtvrRefuel_DES_EP1_DZ { + type = "trade_any_vehicle"; + buy[] = {7,"ItemGoldBar10oz"}; + sell[] = {3,"ItemGoldBar10oz"}; + }; + class UralRefuel_TK_EP1_DZ { + type = "trade_any_vehicle"; + buy[] = {7,"ItemGoldBar10oz"}; + sell[] = {3,"ItemGoldBar10oz"}; + }; + class V3S_Refuel_TK_GUE_EP1_DZ { + type = "trade_any_vehicle"; + buy[] = {7,"ItemGoldBar10oz"}; + sell[] = {3,"ItemGoldBar10oz"}; + }; + class MtvrRefuel_DZ { + type = "trade_any_vehicle"; + buy[] = {7,"ItemGoldBar10oz"}; + sell[] = {3,"ItemGoldBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyLightMachineGun.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyLightMachineGun.hpp new file mode 100644 index 000000000..77926289c --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyLightMachineGun.hpp @@ -0,0 +1,22 @@ +class FriendlyLightMachineGun { + class M249_EP1_DZ { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar"}; + }; + class M240_DZ { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class Mk_48_DZ { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class Pecheneg_DZ { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyLightMachineGunAmmo.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyLightMachineGunAmmo.hpp new file mode 100644 index 000000000..74ad51cdc --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyLightMachineGunAmmo.hpp @@ -0,0 +1,17 @@ +class FriendlyLightMachineGunAmmo { + class 100Rnd_762x51_M240 { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class 200Rnd_556x45_M249 { + type = "trade_items"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class 100Rnd_762x54_PK { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyMedicalSupplies.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyMedicalSupplies.hpp new file mode 100644 index 000000000..ef0d4a4dd --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyMedicalSupplies.hpp @@ -0,0 +1,37 @@ +class FriendlyMedicalSupplies { + class ItemAntibiotic { + type = "trade_items"; + buy[] = {1,"ItemGoldBar"}; + sell[] = {2,"ItemSilverBar10oz"}; + }; + class ItemBandage { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemBloodbag { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemEpinephrine { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemHeatPack { + type = "trade_items"; + buy[] = {1,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemMorphine { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemPainkiller { + type = "trade_items"; + buy[] = {1,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyMilitaryUnarmed.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyMilitaryUnarmed.hpp new file mode 100644 index 000000000..63aeb3da7 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyMilitaryUnarmed.hpp @@ -0,0 +1,42 @@ +class FriendlyMilitaryUnarmed { + class HMMWV_M1035_DES_EP1 { + type = "trade_any_vehicle"; + buy[] = {4,"ItemGoldBar10oz"}; + sell[] = {2,"ItemGoldBar10oz"}; + }; + class HMMWV_Ambulance { + type = "trade_any_vehicle"; + buy[] = {4,"ItemGoldBar10oz"}; + sell[] = {2,"ItemGoldBar10oz"}; + }; + class HMMWV_Ambulance_CZ_DES_EP1 { + type = "trade_any_vehicle"; + buy[] = {4,"ItemGoldBar10oz"}; + sell[] = {2,"ItemGoldBar10oz"}; + }; + class HMMWV_DES_EP1 { + type = "trade_any_vehicle"; + buy[] = {4,"ItemGoldBar10oz"}; + sell[] = {2,"ItemGoldBar10oz"}; + }; + class GAZ_Vodnik_MedEvac { + type = "trade_any_vehicle"; + buy[] = {9,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar10oz"}; + }; + class HMMWV_DZ { + type = "trade_any_vehicle"; + buy[] = {4,"ItemGoldBar10oz"}; + sell[] = {2,"ItemGoldBar10oz"}; + }; + class LandRover_CZ_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class LandRover_TK_CIV_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyPackagedFood.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyPackagedFood.hpp new file mode 100644 index 000000000..b8bacf809 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyPackagedFood.hpp @@ -0,0 +1,37 @@ +class FriendlyPackagedFood { + class FoodCanBakedBeans { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class FoodCanFrankBeans { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class FoodCanPasta { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class FoodCanSardines { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class FoodMRE { + type = "trade_items"; + buy[] = {1,"ItemSilverBar10oz"}; + sell[] = {5,"ItemSilverBar"}; + }; + class FoodPistachio { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class FoodNutmix { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyPistolAmmo.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyPistolAmmo.hpp new file mode 100644 index 000000000..02ad0a86d --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyPistolAmmo.hpp @@ -0,0 +1,37 @@ +class FriendlyPistolAmmo { + class 15Rnd_9x19_M9 { + type = "trade_items"; + buy[] = {1,"ItemSilverBar10oz"}; + sell[] = {5,"ItemSilverBar"}; + }; + class 15Rnd_9x19_M9SD { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class 17Rnd_9x19_glock17 { + type = "trade_items"; + buy[] = {1,"ItemSilverBar10oz"}; + sell[] = {5,"ItemSilverBar"}; + }; + class 6Rnd_45ACP { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class 7Rnd_45ACP_1911 { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class 8Rnd_9x18_Makarov { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class 8Rnd_9x18_MakarovSD { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyPistols.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyPistols.hpp new file mode 100644 index 000000000..c903fc1c5 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyPistols.hpp @@ -0,0 +1,42 @@ +class FriendlyPistols { + class M9SD { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class glock17_EP1 { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar"}; + sell[] = {5,"ItemSilverBar10oz"}; + }; + class Colt1911 { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class M9 { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar"}; + sell[] = {2,"ItemSilverBar10oz"}; + }; + class MakarovSD { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class revolver_gold_EP1 { + type = "trade_weapons"; + buy[] = {3,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class Makarov { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class revolver_EP1 { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyShotgunsandSingleshot.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyShotgunsandSingleshot.hpp new file mode 100644 index 000000000..22092f3b7 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyShotgunsandSingleshot.hpp @@ -0,0 +1,32 @@ +class FriendlyShotgunsandSingleshot { + class Winchester1866 { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class MR43 { + type = "trade_weapons"; + buy[] = {1,"ItemSilverBar10oz"}; + sell[] = {8,"ItemSilverBar"}; + }; + class Crossbow_DZ { + type = "trade_weapons"; + buy[] = {1,"ItemSilverBar10oz"}; + sell[] = {5,"ItemSilverBar"}; + }; + class M1014 { + type = "trade_weapons"; + buy[] = {3,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class Remington870_lamp { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class LeeEnfield { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyShotgunsandSingleshotAmmo.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyShotgunsandSingleshotAmmo.hpp new file mode 100644 index 000000000..805405d7f --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyShotgunsandSingleshotAmmo.hpp @@ -0,0 +1,37 @@ +class FriendlyShotgunsandSingleshotAmmo { + class 15Rnd_W1866_Slug { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class 2Rnd_shotgun_74Pellets { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class 2Rnd_shotgun_74Slug { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class 8Rnd_B_Beneli_74Slug { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class 8Rnd_B_Beneli_Pellets { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class Quiver { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class 10x_303 { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlySmokeGrenades.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlySmokeGrenades.hpp new file mode 100644 index 000000000..e854b712c --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlySmokeGrenades.hpp @@ -0,0 +1,17 @@ +class FriendlySmokeGrenades { + class SmokeShell { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class SmokeShellGreen { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class SmokeShellRed { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlySniperRifle.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlySniperRifle.hpp new file mode 100644 index 000000000..cb9e92560 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlySniperRifle.hpp @@ -0,0 +1,47 @@ +class FriendlySniperRifle { + class SVD_CAMO { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar"}; + }; + class M40A3 { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar"}; + }; + class M14_EP1 { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class huntingrifle { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class M4SPR { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar"}; + }; + class SVD { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar"}; + }; + class SVD_des_EP1 { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar"}; + }; + class M24 { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar"}; + }; + class M24_des_EP1 { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlySniperRifleAmmo.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlySniperRifleAmmo.hpp new file mode 100644 index 000000000..0479f80fc --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlySniperRifleAmmo.hpp @@ -0,0 +1,22 @@ +class FriendlySniperRifleAmmo { + class 20Rnd_762x51_DMR { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class 10Rnd_762x54_SVD { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class 5Rnd_762x51_M24 { + type = "trade_items"; + buy[] = {1,"ItemSilverBar10oz"}; + sell[] = {5,"ItemSilverBar"}; + }; + class 5x_22_LR_17_HMR { + type = "trade_items"; + buy[] = {1,"ItemGoldBar"}; + sell[] = {5,"ItemSilverBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlySubmachineGunAmmo.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlySubmachineGunAmmo.hpp new file mode 100644 index 000000000..0059a935a --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlySubmachineGunAmmo.hpp @@ -0,0 +1,32 @@ +class FriendlySubmachineGunAmmo { + class 30rnd_9x19_MP5 { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class 30Rnd_9x19_MP5SD { + type = "trade_items"; + buy[] = {4,"ItemSilverBar10oz"}; + sell[] = {2,"ItemSilverBar10oz"}; + }; + class 30Rnd_9x19_UZI { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class 64Rnd_9x19_SD_Bizon { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class 30Rnd_9x19_UZI_SD { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class 20Rnd_B_765x17_Ball { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlySubmachineGuns.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlySubmachineGuns.hpp new file mode 100644 index 000000000..c905b55ff --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlySubmachineGuns.hpp @@ -0,0 +1,32 @@ +class FriendlySubmachineGuns { + class bizon_silenced { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class UZI_EP1 { + type = "trade_weapons"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class Sa61_EP1 { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar"}; + sell[] = {5,"ItemSilverBar10oz"}; + }; + class MP5A5 { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar"}; + sell[] = {2,"ItemSilverBar10oz"}; + }; + class UZI_SD_EP1 { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class MP5SD { + type = "trade_weapons"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyToolbeltItems.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyToolbeltItems.hpp new file mode 100644 index 000000000..d5596a78e --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyToolbeltItems.hpp @@ -0,0 +1,87 @@ +class FriendlyToolbeltItems { + class ItemCompass { + type = "trade_weapons"; + buy[] = {6,"ItemSilverBar"}; + sell[] = {3,"ItemSilverBar"}; + }; + class Binocular { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class Binocular_Vector { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class ItemEtool { + type = "trade_weapons"; + buy[] = {9,"ItemSilverBar10oz"}; + sell[] = {6,"ItemSilverBar10oz"}; + }; + class ItemFlashlight { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemFlashlightRed { + type = "trade_weapons"; + buy[] = {1,"ItemSilverBar10oz"}; + sell[] = {5,"ItemSilverBar"}; + }; + class ItemGPS { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class ItemHatchet_DZE { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemKnife { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemMap { + type = "trade_weapons"; + buy[] = {6,"ItemSilverBar"}; + sell[] = {3,"ItemSilverBar"}; + }; + class ItemMatchbox_DZE { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemToolbox { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemWatch { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class NVGoggles { + type = "trade_weapons"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class ItemCrowbar { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemMachete { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemFishingPole { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyTrucks.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyTrucks.hpp new file mode 100644 index 000000000..592f75c48 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyTrucks.hpp @@ -0,0 +1,32 @@ +class FriendlyTrucks { + class hilux1_civil_3_open_EP1 { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class datsun1_civil_3_open { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class hilux1_civil_1_open { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class datsun1_civil_2_covered { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class datsun1_civil_1_open { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class hilux1_civil_2_covered { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyTrucksUnarmed.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyTrucksUnarmed.hpp new file mode 100644 index 000000000..e1b454eb8 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyTrucksUnarmed.hpp @@ -0,0 +1,32 @@ +class FriendlyTrucksUnarmed { + class hilux1_civil_3_open_EP1 { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class datsun1_civil_3_open { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class hilux1_civil_1_open { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class datsun1_civil_2_covered { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class datsun1_civil_1_open { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class hilux1_civil_2_covered { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyUsedCars.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyUsedCars.hpp new file mode 100644 index 000000000..166b50ed5 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyUsedCars.hpp @@ -0,0 +1,87 @@ +class FriendlyUsedCars { + class Skoda { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class SkodaBlue { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class SkodaGreen { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class SkodaRed { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class VolhaLimo_TK_CIV_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Volha_1_TK_CIV_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Volha_2_TK_CIV_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class VWGolf { + type = "trade_any_vehicle"; + buy[] = {3,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class car_hatchback { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class car_sedan { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class GLT_M300_LT { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class GLT_M300_ST { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Lada1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Lada1_TK_CIV_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Lada2 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Lada2_TK_CIV_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class LadaLM { + type = "trade_any_vehicle"; + buy[] = {3,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyUtilityVehicles.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyUtilityVehicles.hpp new file mode 100644 index 000000000..441c5b4e2 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyUtilityVehicles.hpp @@ -0,0 +1,87 @@ +class FriendlyUtilityVehicles { + class SUV_TK_CIV_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class SUV_Blue { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class SUV_Charcoal { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class SUV_Green { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class SUV_Orange { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class SUV_Pink { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class SUV_Red { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class SUV_Silver { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class SUV_White { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class SUV_Yellow { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class SUV_Camo { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class UAZ_CDF { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class UAZ_INS { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class UAZ_RU { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class UAZ_Unarmed_TK_CIV_EP1 { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class UAZ_Unarmed_TK_EP1 { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class UAZ_Unarmed_UN_EP1 { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyVehicleParts.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyVehicleParts.hpp new file mode 100644 index 000000000..6d2133dda --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyVehicleParts.hpp @@ -0,0 +1,52 @@ +class FriendlyVehicleParts { + class ItemJerrycan { + type = "trade_items"; + buy[] = {4,"ItemSilverBar"}; + sell[] = {2,"ItemSilverBar"}; + }; + class ItemJerrycanEmpty { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class PartEngine { + type = "trade_items"; + buy[] = {5,"ItemGoldBar"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class PartVRotor { + type = "trade_items"; + buy[] = {5,"ItemGoldBar"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class PartWheel { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {2,"ItemSilverBar"}; + }; + class PartGlass { + type = "trade_items"; + buy[] = {1,"ItemGoldBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class PartGeneric { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {6,"ItemSilverBar"}; + }; + class PartFueltank { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {5,"ItemSilverBar"}; + }; + class ItemFuelBarrel { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class ItemFuelBarrelEmpty { + type = "trade_items"; + buy[] = {6,"ItemSilverBar10oz"}; + sell[] = {3,"ItemSilverBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/HeroAmmunition.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/HeroAmmunition.hpp new file mode 100644 index 000000000..9035ae450 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/HeroAmmunition.hpp @@ -0,0 +1,27 @@ +class HeroAmmunition { + class 30Rnd_556x45_StanagSD { + type = "trade_items"; + buy[] = {4,"ItemSilverBar10oz"}; + sell[] = {2,"ItemSilverBar10oz"}; + }; + class 5Rnd_86x70_L115A1 { + type = "trade_items"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class 100Rnd_762x51_M240 { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class 20Rnd_762x51_FNFAL { + type = "trade_items"; + buy[] = {4,"ItemSilverBar10oz"}; + sell[] = {2,"ItemSilverBar10oz"}; + }; + class 20Rnd_762x51_SB_SCAR { + type = "trade_items"; + buy[] = {1,"ItemGoldBar"}; + sell[] = {5,"ItemSilverBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/HeroClothes.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/HeroClothes.hpp new file mode 100644 index 000000000..8975b1354 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/HeroClothes.hpp @@ -0,0 +1,67 @@ +class HeroClothes { + class Skin_CZ_Special_Forces_GL_DES_EP1_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_Drake_Light_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_Soldier_Sniper_PMC_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_FR_OHara_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_FR_Rodriguez_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_CZ_Soldier_Sniper_EP1_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_Graves_Light_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_Soldier_Bodyguard_AA12_PMC_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_Camo1_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_Rocket_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_Sniper1_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_Soldier1_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_Soldier_TL_PMC_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/HeroHelicopterArmed.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/HeroHelicopterArmed.hpp new file mode 100644 index 000000000..bd3b8c2cb --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/HeroHelicopterArmed.hpp @@ -0,0 +1,27 @@ +class HeroHelicopterArmed { + class CH_47F_EP1_DZE { + type = "trade_any_vehicle"; + buy[] = {2,"ItemBriefcase100oz"}; + sell[] = {1,"ItemBriefcase100oz"}; + }; + class UH1H_DZE { + type = "trade_any_vehicle"; + buy[] = {2,"ItemBriefcase100oz"}; + sell[] = {1,"ItemBriefcase100oz"}; + }; + class Mi17_DZE { + type = "trade_any_vehicle"; + buy[] = {1,"ItemBriefcase100oz"}; + sell[] = {5,"ItemGoldBar10oz"}; + }; + class UH60M_EP1_DZE { + type = "trade_any_vehicle"; + buy[] = {2,"ItemBriefcase100oz"}; + sell[] = {1,"ItemBriefcase100oz"}; + }; + class UH1Y_DZE { + type = "trade_any_vehicle"; + buy[] = {2,"ItemBriefcase100oz"}; + sell[] = {1,"ItemBriefcase100oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/HeroMilitaryArmed.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/HeroMilitaryArmed.hpp new file mode 100644 index 000000000..36e452d52 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/HeroMilitaryArmed.hpp @@ -0,0 +1,32 @@ +class HeroMilitaryArmed { + class HMMWV_M998A2_SOV_DES_EP1_DZE { + type = "trade_any_vehicle"; + buy[] = {4,"ItemGoldBar10oz"}; + sell[] = {2,"ItemGoldBar10oz"}; + }; + class HMMWV_M1151_M2_CZ_DES_EP1_DZE { + type = "trade_any_vehicle"; + buy[] = {1,"ItemBriefcase100oz"}; + sell[] = {5,"ItemGoldBar10oz"}; + }; + class LandRover_Special_CZ_EP1_DZE { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class LandRover_MG_TK_EP1_DZE { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class UAZ_MG_TK_EP1_DZE { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class GAZ_Vodnik_DZE { + type = "trade_any_vehicle"; + buy[] = {1,"ItemBriefcase100oz"}; + sell[] = {5,"ItemGoldBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/HeroTrucksArmed.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/HeroTrucksArmed.hpp new file mode 100644 index 000000000..6d9bf899b --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/HeroTrucksArmed.hpp @@ -0,0 +1,27 @@ +class HeroTrucksArmed { + class ArmoredSUV_PMC_DZE { + type = "trade_any_vehicle"; + buy[] = {2,"ItemBriefcase100oz"}; + sell[] = {1,"ItemBriefcase100oz"}; + }; + class Pickup_PK_TK_GUE_EP1_DZE { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class Offroad_DSHKM_Gue_DZE { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class Pickup_PK_GUE_DZE { + type = "trade_any_vehicle"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class Pickup_PK_INS_DZE { + type = "trade_any_vehicle"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/HeroWeapons.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/HeroWeapons.hpp new file mode 100644 index 000000000..64604ae0d --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/HeroWeapons.hpp @@ -0,0 +1,42 @@ +class HeroWeapons { + class G36_C_SD_camo { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class M4A1_AIM_SD_camo { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class FN_FAL_ANPVS4 { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class SCAR_H_LNG_Sniper_SD { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class BAF_LRR_scoped { + type = "trade_weapons"; + buy[] = {4,"ItemGoldBar10oz"}; + sell[] = {2,"ItemGoldBar10oz"}; + }; + class FN_FAL { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class Mk_48_DZ { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class M240_DZ { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralAirplanes.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralAirplanes.hpp new file mode 100644 index 000000000..c4f62fa73 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralAirplanes.hpp @@ -0,0 +1,37 @@ +class NeutralAirplanes { + class AN2_DZ { + type = "trade_any_vehicle"; + buy[] = {4,"ItemGoldBar10oz"}; + sell[] = {2,"ItemGoldBar10oz"}; + }; + class C130J_US_EP1 { + type = "trade_any_vehicle"; + buy[] = {4,"ItemBriefcase100oz"}; + sell[] = {2,"ItemBriefcase100oz"}; + }; + class MV22_DZ { + type = "trade_any_vehicle"; + buy[] = {5,"ItemBriefcase100oz"}; + sell[] = {2,"ItemBriefcase100oz"}; + }; + class GNT_C185U { + type = "trade_any_vehicle"; + buy[] = {4,"ItemGoldBar10oz"}; + sell[] = {2,"ItemGoldBar10oz"}; + }; + class GNT_C185 { + type = "trade_any_vehicle"; + buy[] = {4,"ItemGoldBar10oz"}; + sell[] = {2,"ItemGoldBar10oz"}; + }; + class GNT_C185R { + type = "trade_any_vehicle"; + buy[] = {4,"ItemGoldBar10oz"}; + sell[] = {2,"ItemGoldBar10oz"}; + }; + class GNT_C185C { + type = "trade_any_vehicle"; + buy[] = {4,"ItemGoldBar10oz"}; + sell[] = {2,"ItemGoldBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralAssaultRifle.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralAssaultRifle.hpp new file mode 100644 index 000000000..57fe39e8a --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralAssaultRifle.hpp @@ -0,0 +1,112 @@ +class NeutralAssaultRifle { + class G36A_camo { + type = "trade_weapons"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; + class G36C { + type = "trade_weapons"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class G36C_camo { + type = "trade_weapons"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; + class G36K_camo { + type = "trade_weapons"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; + class M16A2 { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class M16A2GL { + type = "trade_weapons"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class M16A4_ACG { + type = "trade_weapons"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class M4A1 { + type = "trade_weapons"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class M4A1_HWS_GL_camo { + type = "trade_weapons"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class M4A3_CCO_EP1 { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class M4A1_Aim { + type = "trade_weapons"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class Sa58P_EP1 { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Sa58V_CCO_EP1 { + type = "trade_weapons"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class Sa58V_EP1 { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Sa58V_RCO_EP1 { + type = "trade_weapons"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class AKS_74_kobra { + type = "trade_weapons"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class AKS_74_U { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class AK_47_M { + type = "trade_weapons"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {6,"ItemGoldBar"}; + }; + class AK_74 { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class FN_FAL { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class BAF_L85A2_RIS_SUSAT { + type = "trade_weapons"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; + class BAF_L85A2_RIS_Holo { + type = "trade_weapons"; + buy[] = {9,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralAssaultRifleAmmo.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralAssaultRifleAmmo.hpp new file mode 100644 index 000000000..2b13d7cd2 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralAssaultRifleAmmo.hpp @@ -0,0 +1,27 @@ +class NeutralAssaultRifleAmmo { + class 30Rnd_556x45_Stanag { + type = "trade_items"; + buy[] = {4,"ItemSilverBar"}; + sell[] = {2,"ItemSilverBar"}; + }; + class 20Rnd_762x51_FNFAL { + type = "trade_items"; + buy[] = {4,"ItemSilverBar10oz"}; + sell[] = {2,"ItemSilverBar10oz"}; + }; + class 30Rnd_545x39_AK { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class 30Rnd_762x39_AK47 { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class 30Rnd_762x39_SA58 { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralBackpacks.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralBackpacks.hpp new file mode 100644 index 000000000..839c03ce2 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralBackpacks.hpp @@ -0,0 +1,57 @@ +class NeutralBackpacks { + class DZ_Patrol_Pack_EP1 { + type = "trade_backpacks"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class CZ_VestPouch_EP1 { + type = "trade_backpacks"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class DZ_ALICE_Pack_EP1 { + type = "trade_backpacks"; + buy[] = {1,"ItemGoldBar"}; + sell[] = {5,"ItemSilverBar10oz"}; + }; + class DZ_Assault_Pack_EP1 { + type = "trade_backpacks"; + buy[] = {1,"ItemGoldBar"}; + sell[] = {5,"ItemSilverBar10oz"}; + }; + class DZ_Backpack_EP1 { + type = "trade_backpacks"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class DZ_British_ACU { + type = "trade_backpacks"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class DZ_CivilBackpack_EP1 { + type = "trade_backpacks"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class DZ_Czech_Vest_Puch { + type = "trade_backpacks"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class DZ_TK_Assault_Pack_EP1 { + type = "trade_backpacks"; + buy[] = {6,"ItemSilverBar10oz"}; + sell[] = {3,"ItemSilverBar10oz"}; + }; + class DZ_TerminalPack_EP1 { + type = "trade_backpacks"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class DZ_GunBag_EP1 { + type = "trade_backpacks"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralBikesandATV.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralBikesandATV.hpp new file mode 100644 index 000000000..24daa31c8 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralBikesandATV.hpp @@ -0,0 +1,52 @@ +class NeutralBikesandATV { + class MMT_Civ { + type = "trade_any_bicycle"; + buy[] = {4,"ItemSilverBar"}; + sell[] = {2,"ItemSilverBar"}; + }; + class Old_bike_TK_INS_EP1 { + type = "trade_any_bicycle"; + buy[] = {4,"ItemSilverBar"}; + sell[] = {2,"ItemSilverBar"}; + }; + class TT650_Civ { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class TT650_Ins { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class TT650_TK_CIV_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class ATV_CZ_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class ATV_US_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class M1030_US_DES_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Old_moto_TK_Civ_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class tractor { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralBlackMarketAmmo.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralBlackMarketAmmo.hpp new file mode 100644 index 000000000..271f670ff --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralBlackMarketAmmo.hpp @@ -0,0 +1,77 @@ +class NeutralBlackMarketAmmo { + class 20Rnd_9x39_SP5_VSS { + type = "trade_items"; + buy[] = {3,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class 8Rnd_B_Beneli_74Slug { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class 20Rnd_762x51_SB_SCAR { + type = "trade_items"; + buy[] = {1,"ItemGoldBar"}; + sell[] = {5,"ItemSilverBar10oz"}; + }; + class 8Rnd_B_Beneli_Pellets { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class 8Rnd_B_Saiga12_74Slug { + type = "trade_items"; + buy[] = {5,"ItemSilverBar"}; + sell[] = {3,"ItemSilverBar"}; + }; + class 8Rnd_B_Saiga12_Pellets { + type = "trade_items"; + buy[] = {5,"ItemSilverBar"}; + sell[] = {3,"ItemSilverBar"}; + }; + class 20Rnd_B_765x17_Ball { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class 10Rnd_762x54_SVD { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class 5Rnd_762x51_M24 { + type = "trade_items"; + buy[] = {1,"ItemSilverBar10oz"}; + sell[] = {5,"ItemSilverBar"}; + }; + class 30Rnd_556x45_Stanag { + type = "trade_items"; + buy[] = {5,"ItemSilverBar"}; + sell[] = {3,"ItemSilverBar"}; + }; + class 20Rnd_762x51_FNFAL { + type = "trade_items"; + buy[] = {4,"ItemSilverBar10oz"}; + sell[] = {2,"ItemSilverBar10oz"}; + }; + class 100Rnd_556x45_BetaCMag { + type = "trade_items"; + buy[] = {6,"ItemSilverBar10oz"}; + sell[] = {3,"ItemSilverBar10oz"}; + }; + class 75Rnd_545x39_RPK { + type = "trade_items"; + buy[] = {3,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class 64Rnd_9x19_Bizon { + type = "trade_items"; + buy[] = {1,"ItemSilverBar10oz"}; + sell[] = {5,"ItemSilverBar"}; + }; + class 5Rnd_127x108_KSVK { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralBlackMarketWeapons.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralBlackMarketWeapons.hpp new file mode 100644 index 000000000..af1f95e35 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralBlackMarketWeapons.hpp @@ -0,0 +1,97 @@ +class NeutralBlackMarketWeapons { + class Saiga12K { + type = "trade_weapons"; + buy[] = {5,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; + class m8_compact { + type = "trade_weapons"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class m8_sharpshooter { + type = "trade_weapons"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; + class m8_holo_sd { + type = "trade_weapons"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class m8_carbine { + type = "trade_weapons"; + buy[] = {5,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class M24_des_EP1 { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar"}; + }; + class VSS_vintorez { + type = "trade_weapons"; + buy[] = {3,"ItemGoldBar10oz"}; + sell[] = {4,"ItemGoldBar"}; + }; + class SVD_des_EP1 { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar"}; + }; + class SVD { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar"}; + }; + class M8_SAW { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar"}; + }; + class MG36 { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar"}; + }; + class RPK_74 { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar"}; + }; + class M60A4_EP1_DZE { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class m240_scoped_EP1_DZE { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar"}; + }; + class M249_m145_EP1_DZE { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar"}; + }; + class MG36_camo { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar"}; + }; + class bizon { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class M4A1_HWS_GL_SD_Camo { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class KSVK_DZE { + type = "trade_weapons"; + buy[] = {3,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralBoatsArmed.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralBoatsArmed.hpp new file mode 100644 index 000000000..d8d41e1e9 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralBoatsArmed.hpp @@ -0,0 +1,7 @@ +class NeutralBoatsArmed { + class RHIB { + type = "trade_any_boat"; + buy[] = {4,"ItemGoldBar10oz"}; + sell[] = {2,"ItemGoldBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralBoatsUnarmed.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralBoatsUnarmed.hpp new file mode 100644 index 000000000..f5f3b1064 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralBoatsUnarmed.hpp @@ -0,0 +1,47 @@ +class NeutralBoatsUnarmed { + class Smallboat_1 { + type = "trade_any_boat"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class Smallboat_2 { + type = "trade_any_boat"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class Zodiac { + type = "trade_any_boat"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; + class Fishing_Boat { + type = "trade_any_boat"; + buy[] = {4,"ItemGoldBar10oz"}; + sell[] = {2,"ItemGoldBar10oz"}; + }; + class PBX { + type = "trade_any_boat"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; + class JetSkiYanahui_Case_Red { + type = "trade_any_boat"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; + class JetSkiYanahui_Case_Yellow { + type = "trade_any_boat"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; + class JetSkiYanahui_Case_Green { + type = "trade_any_boat"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; + class JetSkiYanahui_Case_Blue { + type = "trade_any_boat"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralBuildingSupplies.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralBuildingSupplies.hpp new file mode 100644 index 000000000..4440bea72 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralBuildingSupplies.hpp @@ -0,0 +1,52 @@ +class NeutralBuildingSupplies { + class ItemSandbag { + type = "trade_items"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class ItemTankTrap { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class ItemTentOld { + type = "trade_items"; + buy[] = {4,"ItemSilverBar10oz"}; + sell[] = {2,"ItemSilverBar10oz"}; + }; + class ItemWire { + type = "trade_items"; + buy[] = {6,"ItemSilverBar"}; + sell[] = {3,"ItemSilverBar"}; + }; + class 30m_plot_kit { + type = "trade_items"; + buy[] = {6,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar10oz"}; + }; + class ItemVault { + type = "trade_items"; + buy[] = {1,"ItemBriefcase100oz"}; + sell[] = {1,"ItemBriefcase100oz"}; + }; + class ItemTentDomed { + type = "trade_items"; + buy[] = {6,"ItemSilverBar10oz"}; + sell[] = {3,"ItemSilverBar10oz"}; + }; + class ItemTentDomed2 { + type = "trade_items"; + buy[] = {6,"ItemSilverBar10oz"}; + sell[] = {3,"ItemSilverBar10oz"}; + }; + class ItemLightBulb { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class ItemGenerator { + type = "trade_items"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralBusesandVans.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralBusesandVans.hpp new file mode 100644 index 000000000..e864a8c9c --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralBusesandVans.hpp @@ -0,0 +1,22 @@ +class NeutralBusesandVans { + class Ikarus { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class Ikarus_TK_CIV_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class S1203_TK_CIV_EP1 { + type = "trade_any_vehicle"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; + class S1203_ambulance_EP1 { + type = "trade_any_vehicle"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralCargoTrucks.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralCargoTrucks.hpp new file mode 100644 index 000000000..28d15237b --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralCargoTrucks.hpp @@ -0,0 +1,72 @@ +class NeutralCargoTrucks { + class Ural_CDF { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class Ural_TK_CIV_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class Ural_UN_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class V3S_Open_TK_CIV_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class V3S_Open_TK_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class Kamaz { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class MTVR_DES_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar"}; + }; + class V3S_Civ { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class V3S_RA_TK_GUE_EP1_DZE { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class V3S_TK_EP1_DZE { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class UralCivil_DZE { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class UralCivil2_DZE { + type = "trade_any_vehicle"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class KamazOpen_DZE { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class MTVR { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralChemlitesFlares.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralChemlitesFlares.hpp new file mode 100644 index 000000000..be1ca6f82 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralChemlitesFlares.hpp @@ -0,0 +1,32 @@ +class NeutralChemlitesFlares { + class HandChemBlue { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class HandChemGreen { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class HandChemRed { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class FlareGreen_M203 { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class FlareWhite_M203 { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class HandRoadFlare { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralClothes.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralClothes.hpp new file mode 100644 index 000000000..baf9020d4 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralClothes.hpp @@ -0,0 +1,82 @@ +class NeutralClothes { + class Skin_Rocker2_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_SurvivorW2_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_Functionary1_EP1_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_Haris_Press_EP1_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_Priest_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_SurvivorWpink_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_SurvivorWurban_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_SurvivorWcombat_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_SurvivorWdesert_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_Survivor2_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_Rocker1_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_Rocker3_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_RU_Policeman_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_Pilot_EP1_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_Rocker4_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Skin_SurvivorW3_DZ { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralCookedMeats.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralCookedMeats.hpp new file mode 100644 index 000000000..44df8e1de --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralCookedMeats.hpp @@ -0,0 +1,42 @@ +class NeutralCookedMeats { + class FoodbaconCooked { + type = "trade_items"; + buy[] = {4,"ItemSilverBar"}; + sell[] = {2,"ItemSilverBar"}; + }; + class FoodbeefCooked { + type = "trade_items"; + buy[] = {4,"ItemSilverBar"}; + sell[] = {2,"ItemSilverBar"}; + }; + class FoodchickenCooked { + type = "trade_items"; + buy[] = {4,"ItemSilverBar"}; + sell[] = {2,"ItemSilverBar"}; + }; + class FoodmuttonCooked { + type = "trade_items"; + buy[] = {4,"ItemSilverBar"}; + sell[] = {2,"ItemSilverBar"}; + }; + class FoodrabbitCooked { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class ItemTroutCooked { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class ItemSeaBassCooked { + type = "trade_items"; + buy[] = {3,"ItemGoldBar"}; + sell[] = {2,"ItemSilverBar10oz"}; + }; + class ItemTunaCooked { + type = "trade_items"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralDrinks.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralDrinks.hpp new file mode 100644 index 000000000..9c9286b7b --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralDrinks.hpp @@ -0,0 +1,37 @@ +class NeutralDrinks { + class ItemSodaCoke { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemSodaPepsi { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemSodaMdew { + type = "trade_items"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; + class ItemSodaR4z0r { + type = "trade_items"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; + class ItemWaterbottleUnfilled { + type = "trade_items"; + buy[] = {3,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemSodaRbull { + type = "trade_items"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; + class ItemSodaOrangeSherbet { + type = "trade_items"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralExplosives.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralExplosives.hpp new file mode 100644 index 000000000..51ca8e02d --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralExplosives.hpp @@ -0,0 +1,22 @@ +class NeutralExplosives { + class HandGrenade_west { + type = "trade_items"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class PipeBomb { + type = "trade_items"; + buy[] = {4,"ItemGoldBar10oz"}; + sell[] = {2,"ItemGoldBar10oz"}; + }; + class 1Rnd_HE_M203 { + type = "trade_items"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class HandGrenade_east { + type = "trade_items"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralFuelTrucks.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralFuelTrucks.hpp new file mode 100644 index 000000000..064554c2b --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralFuelTrucks.hpp @@ -0,0 +1,27 @@ +class NeutralFuelTrucks { + class KamazRefuel_DZ { + type = "trade_any_vehicle"; + buy[] = {7,"ItemGoldBar10oz"}; + sell[] = {3,"ItemGoldBar10oz"}; + }; + class MtvrRefuel_DES_EP1_DZ { + type = "trade_any_vehicle"; + buy[] = {7,"ItemGoldBar10oz"}; + sell[] = {3,"ItemGoldBar10oz"}; + }; + class UralRefuel_TK_EP1_DZ { + type = "trade_any_vehicle"; + buy[] = {7,"ItemGoldBar10oz"}; + sell[] = {3,"ItemGoldBar10oz"}; + }; + class V3S_Refuel_TK_GUE_EP1_DZ { + type = "trade_any_vehicle"; + buy[] = {7,"ItemGoldBar10oz"}; + sell[] = {3,"ItemGoldBar10oz"}; + }; + class MtvrRefuel_DZ { + type = "trade_any_vehicle"; + buy[] = {7,"ItemGoldBar10oz"}; + sell[] = {3,"ItemGoldBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralHelicopterUnarmed.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralHelicopterUnarmed.hpp new file mode 100644 index 000000000..47618f9a0 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralHelicopterUnarmed.hpp @@ -0,0 +1,32 @@ +class NeutralHelicopterUnarmed { + class Mi17_Civilian_DZ { + type = "trade_any_vehicle"; + buy[] = {4,"ItemGoldBar10oz"}; + sell[] = {2,"ItemGoldBar10oz"}; + }; + class AH6X_DZ { + type = "trade_any_vehicle"; + buy[] = {6,"ItemGoldBar10oz"}; + sell[] = {3,"ItemGoldBar10oz"}; + }; + class MH6J_DZ { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar10oz"}; + sell[] = {4,"ItemGoldBar10oz"}; + }; + class CSJ_GyroC { + type = "trade_any_vehicle"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class CSJ_GyroCover { + type = "trade_any_vehicle"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class CSJ_GyroP { + type = "trade_any_vehicle"; + buy[] = {5,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralLightMachineGun.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralLightMachineGun.hpp new file mode 100644 index 000000000..e017e9df7 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralLightMachineGun.hpp @@ -0,0 +1,22 @@ +class NeutralLightMachineGun { + class M249_EP1_DZ { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar"}; + }; + class M240_DZ { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class Mk_48_DZ { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class Pecheneg_DZ { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralLightMachineGunAmmo.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralLightMachineGunAmmo.hpp new file mode 100644 index 000000000..20091f56f --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralLightMachineGunAmmo.hpp @@ -0,0 +1,17 @@ +class NeutralLightMachineGunAmmo { + class 100Rnd_762x51_M240 { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class 200Rnd_556x45_M249 { + type = "trade_items"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class 100Rnd_762x54_PK { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralMedicalSupplies.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralMedicalSupplies.hpp new file mode 100644 index 000000000..29144f728 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralMedicalSupplies.hpp @@ -0,0 +1,37 @@ +class NeutralMedicalSupplies { + class ItemAntibiotic { + type = "trade_items"; + buy[] = {1,"ItemGoldBar"}; + sell[] = {2,"ItemSilverBar10oz"}; + }; + class ItemBandage { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemBloodbag { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemEpinephrine { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemHeatPack { + type = "trade_items"; + buy[] = {1,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemMorphine { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemPainkiller { + type = "trade_items"; + buy[] = {1,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralMilitaryUnarmed.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralMilitaryUnarmed.hpp new file mode 100644 index 000000000..4df75de50 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralMilitaryUnarmed.hpp @@ -0,0 +1,42 @@ +class NeutralMilitaryUnarmed { + class HMMWV_M1035_DES_EP1 { + type = "trade_any_vehicle"; + buy[] = {4,"ItemGoldBar10oz"}; + sell[] = {2,"ItemGoldBar10oz"}; + }; + class HMMWV_Ambulance { + type = "trade_any_vehicle"; + buy[] = {4,"ItemGoldBar10oz"}; + sell[] = {2,"ItemGoldBar10oz"}; + }; + class HMMWV_Ambulance_CZ_DES_EP1 { + type = "trade_any_vehicle"; + buy[] = {4,"ItemGoldBar10oz"}; + sell[] = {2,"ItemGoldBar10oz"}; + }; + class HMMWV_DES_EP1 { + type = "trade_any_vehicle"; + buy[] = {4,"ItemGoldBar10oz"}; + sell[] = {2,"ItemGoldBar10oz"}; + }; + class GAZ_Vodnik_MedEvac { + type = "trade_any_vehicle"; + buy[] = {9,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar10oz"}; + }; + class HMMWV_DZ { + type = "trade_any_vehicle"; + buy[] = {4,"ItemGoldBar10oz"}; + sell[] = {2,"ItemGoldBar10oz"}; + }; + class LandRover_CZ_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class LandRover_TK_CIV_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralPackagedFood.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralPackagedFood.hpp new file mode 100644 index 000000000..4d8434a7e --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralPackagedFood.hpp @@ -0,0 +1,37 @@ +class NeutralPackagedFood { + class FoodCanBakedBeans { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class FoodCanFrankBeans { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class FoodCanPasta { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class FoodCanSardines { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class FoodMRE { + type = "trade_items"; + buy[] = {1,"ItemSilverBar10oz"}; + sell[] = {5,"ItemSilverBar"}; + }; + class FoodPistachio { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class FoodNutmix { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralPistolAmmo.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralPistolAmmo.hpp new file mode 100644 index 000000000..7c9743107 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralPistolAmmo.hpp @@ -0,0 +1,37 @@ +class NeutralPistolAmmo { + class 15Rnd_9x19_M9 { + type = "trade_items"; + buy[] = {1,"ItemSilverBar10oz"}; + sell[] = {5,"ItemSilverBar"}; + }; + class 15Rnd_9x19_M9SD { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class 17Rnd_9x19_glock17 { + type = "trade_items"; + buy[] = {1,"ItemSilverBar10oz"}; + sell[] = {5,"ItemSilverBar"}; + }; + class 6Rnd_45ACP { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class 7Rnd_45ACP_1911 { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class 8Rnd_9x18_Makarov { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class 8Rnd_9x18_MakarovSD { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralPistols.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralPistols.hpp new file mode 100644 index 000000000..9615d0af3 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralPistols.hpp @@ -0,0 +1,42 @@ +class NeutralPistols { + class M9SD { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class glock17_EP1 { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar"}; + sell[] = {5,"ItemSilverBar10oz"}; + }; + class Colt1911 { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class M9 { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar"}; + sell[] = {2,"ItemSilverBar10oz"}; + }; + class MakarovSD { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class revolver_gold_EP1 { + type = "trade_weapons"; + buy[] = {3,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class Makarov { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class revolver_EP1 { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralShotgunsandSingleshot.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralShotgunsandSingleshot.hpp new file mode 100644 index 000000000..6c977ced3 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralShotgunsandSingleshot.hpp @@ -0,0 +1,32 @@ +class NeutralShotgunsandSingleshot { + class Winchester1866 { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class MR43 { + type = "trade_weapons"; + buy[] = {1,"ItemSilverBar10oz"}; + sell[] = {8,"ItemSilverBar"}; + }; + class Crossbow_DZ { + type = "trade_weapons"; + buy[] = {1,"ItemSilverBar10oz"}; + sell[] = {5,"ItemSilverBar"}; + }; + class M1014 { + type = "trade_weapons"; + buy[] = {3,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class Remington870_lamp { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class LeeEnfield { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralShotgunsandSingleshotAmmo.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralShotgunsandSingleshotAmmo.hpp new file mode 100644 index 000000000..a6a69d93a --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralShotgunsandSingleshotAmmo.hpp @@ -0,0 +1,42 @@ +class NeutralShotgunsandSingleshotAmmo { + class 15Rnd_W1866_Slug { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class 2Rnd_shotgun_74Pellets { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class 2Rnd_shotgun_74Slug { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class 8Rnd_B_Beneli_74Slug { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class 8Rnd_B_Beneli_Pellets { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class WoodenArrow { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class Quiver { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class 10x_303 { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralSmokeGrenades.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralSmokeGrenades.hpp new file mode 100644 index 000000000..60685d18f --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralSmokeGrenades.hpp @@ -0,0 +1,17 @@ +class NeutralSmokeGrenades { + class SmokeShell { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class SmokeShellGreen { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class SmokeShellRed { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralSniperRifle.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralSniperRifle.hpp new file mode 100644 index 000000000..f36838dc4 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralSniperRifle.hpp @@ -0,0 +1,47 @@ +class NeutralSniperRifle { + class SVD_CAMO { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar"}; + }; + class M40A3 { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar"}; + }; + class M14_EP1 { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class huntingrifle { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class M4SPR { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar"}; + }; + class SVD { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar"}; + }; + class SVD_des_EP1 { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar"}; + }; + class M24 { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar"}; + }; + class M24_des_EP1 { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {6,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralSniperRifleAmmo.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralSniperRifleAmmo.hpp new file mode 100644 index 000000000..b908d1b99 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralSniperRifleAmmo.hpp @@ -0,0 +1,22 @@ +class NeutralSniperRifleAmmo { + class 20Rnd_762x51_DMR { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class 10Rnd_762x54_SVD { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class 5Rnd_762x51_M24 { + type = "trade_items"; + buy[] = {1,"ItemSilverBar10oz"}; + sell[] = {5,"ItemSilverBar"}; + }; + class 5x_22_LR_17_HMR { + type = "trade_items"; + buy[] = {1,"ItemGoldBar"}; + sell[] = {5,"ItemSilverBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralSubmachineGunAmmo.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralSubmachineGunAmmo.hpp new file mode 100644 index 000000000..86e2d8455 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralSubmachineGunAmmo.hpp @@ -0,0 +1,32 @@ +class NeutralSubmachineGunAmmo { + class 30rnd_9x19_MP5 { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class 30Rnd_9x19_MP5SD { + type = "trade_items"; + buy[] = {4,"ItemSilverBar10oz"}; + sell[] = {2,"ItemSilverBar10oz"}; + }; + class 30Rnd_9x19_UZI { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class 64Rnd_9x19_SD_Bizon { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class 30Rnd_9x19_UZI_SD { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class 20Rnd_B_765x17_Ball { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralSubmachineGuns.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralSubmachineGuns.hpp new file mode 100644 index 000000000..2502af6ef --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralSubmachineGuns.hpp @@ -0,0 +1,32 @@ +class NeutralSubmachineGuns { + class bizon_silenced { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class UZI_EP1 { + type = "trade_weapons"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class Sa61_EP1 { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar"}; + sell[] = {5,"ItemSilverBar10oz"}; + }; + class MP5A5 { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar"}; + sell[] = {2,"ItemSilverBar10oz"}; + }; + class UZI_SD_EP1 { + type = "trade_weapons"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class MP5SD { + type = "trade_weapons"; + buy[] = {6,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralToolbeltItems.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralToolbeltItems.hpp new file mode 100644 index 000000000..b73ff78a9 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralToolbeltItems.hpp @@ -0,0 +1,87 @@ +class NeutralToolbeltItems { + class ItemCompass { + type = "trade_weapons"; + buy[] = {6,"ItemSilverBar"}; + sell[] = {3,"ItemSilverBar"}; + }; + class Binocular { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class Binocular_Vector { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class ItemEtool { + type = "trade_weapons"; + buy[] = {9,"ItemSilverBar10oz"}; + sell[] = {6,"ItemSilverBar10oz"}; + }; + class ItemFlashlight { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemFlashlightRed { + type = "trade_weapons"; + buy[] = {1,"ItemSilverBar10oz"}; + sell[] = {5,"ItemSilverBar"}; + }; + class ItemGPS { + type = "trade_weapons"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class ItemHatchet_DZE { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemKnife { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemMap { + type = "trade_weapons"; + buy[] = {6,"ItemSilverBar"}; + sell[] = {3,"ItemSilverBar"}; + }; + class ItemMatchbox_DZE { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemToolbox { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemWatch { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class NVGoggles { + type = "trade_weapons"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class ItemCrowbar { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemMachete { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class ItemFishingPole { + type = "trade_weapons"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralTrucks.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralTrucks.hpp new file mode 100644 index 000000000..c10de8536 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralTrucks.hpp @@ -0,0 +1,32 @@ +class NeutralTrucks { + class hilux1_civil_3_open_EP1 { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class datsun1_civil_3_open { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class hilux1_civil_1_open { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class datsun1_civil_2_covered { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class datsun1_civil_1_open { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class hilux1_civil_2_covered { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralUsedCars.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralUsedCars.hpp new file mode 100644 index 000000000..9bbfd8885 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralUsedCars.hpp @@ -0,0 +1,87 @@ +class NeutralUsedCars { + class Skoda { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class SkodaBlue { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class SkodaGreen { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class SkodaRed { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class VolhaLimo_TK_CIV_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Volha_1_TK_CIV_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Volha_2_TK_CIV_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class VWGolf { + type = "trade_any_vehicle"; + buy[] = {3,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class car_hatchback { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class car_sedan { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class GLT_M300_LT { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class GLT_M300_ST { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Lada1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Lada1_TK_CIV_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Lada2 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class Lada2_TK_CIV_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class LadaLM { + type = "trade_any_vehicle"; + buy[] = {3,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralUtilityVehicles.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralUtilityVehicles.hpp new file mode 100644 index 000000000..522ba4775 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralUtilityVehicles.hpp @@ -0,0 +1,87 @@ +class NeutralUtilityVehicles { + class SUV_TK_CIV_EP1 { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class SUV_Blue { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class SUV_Charcoal { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class SUV_Green { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class SUV_Orange { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class SUV_Pink { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class SUV_Red { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class SUV_Silver { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class SUV_White { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class SUV_Yellow { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class SUV_Camo { + type = "trade_any_vehicle"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; + }; + class UAZ_CDF { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class UAZ_INS { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class UAZ_RU { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class UAZ_Unarmed_TK_CIV_EP1 { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class UAZ_Unarmed_TK_EP1 { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; + class UAZ_Unarmed_UN_EP1 { + type = "trade_any_vehicle"; + buy[] = {8,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralVehicleParts.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralVehicleParts.hpp new file mode 100644 index 000000000..619743571 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralVehicleParts.hpp @@ -0,0 +1,52 @@ +class NeutralVehicleParts { + class ItemJerrycan { + type = "trade_items"; + buy[] = {4,"ItemSilverBar"}; + sell[] = {2,"ItemSilverBar"}; + }; + class ItemJerrycanEmpty { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class PartEngine { + type = "trade_items"; + buy[] = {5,"ItemGoldBar"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class PartVRotor { + type = "trade_items"; + buy[] = {5,"ItemGoldBar"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class PartWheel { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {2,"ItemSilverBar"}; + }; + class PartGlass { + type = "trade_items"; + buy[] = {1,"ItemGoldBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class PartGeneric { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {6,"ItemSilverBar"}; + }; + class PartFueltank { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {5,"ItemSilverBar"}; + }; + class ItemFuelBarrel { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class ItemFuelBarrelEmpty { + type = "trade_items"; + buy[] = {6,"ItemSilverBar10oz"}; + sell[] = {3,"ItemSilverBar10oz"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralWholesale.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralWholesale.hpp new file mode 100644 index 000000000..49138861c --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralWholesale.hpp @@ -0,0 +1,62 @@ +class NeutralWholesale { + class bulk_15Rnd_9x19_M9SD { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class bulk_17Rnd_9x19_glock17 { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class bulk_30Rnd_556x45_StanagSD { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class bulk_30Rnd_9x19_MP5SD { + type = "trade_items"; + buy[] = {2,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class bulk_ItemSandbag { + type = "trade_items"; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {2,"ItemGoldBar10oz"}; + }; + class bulk_ItemTankTrap { + type = "trade_items"; + buy[] = {1,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; + }; + class bulk_ItemWire { + type = "trade_items"; + buy[] = {3,"ItemSilverBar10oz"}; + sell[] = {3,"ItemSilverBar10oz"}; + }; + class bulk_PartGeneric { + type = "trade_items"; + buy[] = {6,"ItemSilverBar10oz"}; + sell[] = {6,"ItemSilverBar10oz"}; + }; + class CinderBlocks { + type = "trade_items"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class PartPlywoodPack { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class MortarBucket { + type = "trade_items"; + buy[] = {1,"ItemGoldBar10oz"}; + sell[] = {5,"ItemGoldBar"}; + }; + class PartPlankPack { + type = "trade_items"; + buy[] = {1,"ItemSilverBar10oz"}; + sell[] = {5,"ItemSilverBar"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/CfgServerTrader.hpp b/SQF/dayz_code/Configs/CfgServerTrader/CfgServerTrader.hpp deleted file mode 100644 index b53a336c3..000000000 --- a/SQF/dayz_code/Configs/CfgServerTrader/CfgServerTrader.hpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "TraderCategory.hpp" - -class CfgServerTrader { - - //Hero Trader for Example - class RU_Functionary1 { //Classname of the person - humanity = "hero"; //If Hero, normal or bandit - category[] = { //{"DisplayName","LinkedCategory"} - {"Ammunition","ammunition_1"}, - {"Clothes","clothes_1"}, - {"Helicopter Armed","heliarmed_1"}, - {"Military Armed","militaryarmed_1"}, - {"Trucks Armed","truckarmed_1"}, - {"Weapons","weapons_1"} - }; - }; -}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Trader/TraderBandit.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Trader/TraderBandit.hpp new file mode 100644 index 000000000..4a8dc6b3f --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Trader/TraderBandit.hpp @@ -0,0 +1,11 @@ +class GUE_Soldier_MG { + humanity = "hostile"; + category[] = { + {"Ammunition","BanditAmmunition"} + {"Clothing","BanditClothing"} + {"Helicopter Armed","BanditHelicopterArmed"} + {"Military Armed","BanditMilitaryArmed"} + {"Trucks Armed","BanditTrucksArmed"} + {"Weapons","BanditWeapons"} + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/TraderCategory.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Trader/TraderCategory.hpp similarity index 100% rename from SQF/dayz_code/Configs/CfgServerTrader/TraderCategory.hpp rename to SQF/dayz_code/Configs/CfgServerTrader/Trader/TraderCategory.hpp diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Trader/TraderFriendly.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Trader/TraderFriendly.hpp new file mode 100644 index 000000000..790481831 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Trader/TraderFriendly.hpp @@ -0,0 +1,74 @@ +class Profiteer4 { + humanity = "friendly"; + category[] = { + {"Bikes and ATV","FriendlyBikesandATV"} + {"Buses and Vans","FriendlyBusesandVans"} + {"Cargo Trucks","FriendlyCargoTrucks"} + {"Fuel Trucks","FriendlyFuelTrucks"} + {"Military Unarmed","FriendlyMilitaryUnarmed"} + {"Trucks","FriendlyTrucks"} + {"Used Cars","FriendlyUsedCars"} + {"Utility Vehicles","FriendlyUtilityVehicles"} + }; +}; +class RU_WorkWoman1 { + humanity = "friendly"; + category[] = { + {"Backpacks","FriendlyBackpacks"} + {"Clothes","FriendlyClothes"} + {"Cooked Meats","FriendlyCookedMeats"} + {"Drinks","FriendlyDrinks"} + {"Packaged Food","FriendlyPackagedFood"} + }; +}; +class UN_CDF_Soldier_Pilot_EP1 { + humanity = "friendly"; + category[] = { + {"Bikes and ATV","FriendlyBikesandATV"} + {"Buses and Vans","FriendlyBusesandVans"} + {"Cargo Trucks","FriendlyCargoTrucks"} + {"Fuel Trucks","FriendlyFuelTrucks"} + {"Military Unarmed","FriendlyMilitaryUnarmed"} + {"Trucks Unarmed","FriendlyTrucksUnarmed"} + {"Used Cars","FriendlyUsedCars"} + {"Utility Vehicles","FriendlyUtilityVehicles"} + }; +}; +class Rocker4 { + humanity = "friendly"; + category[] = { + {"Assault Rifle","FriendlyAssaultRifle"} + {"Light Machine Gun","FriendlyLightMachineGun"} + {"Pistols","FriendlyPistols"} + {"Shotguns and Single-shot","FriendlyShotgunsandSingleshot"} + {"Sniper Rifle","FriendlySniperRifle"} + {"Submachine Guns","FriendlySubmachineGuns"} + }; +}; +class RU_Citizen3 { + humanity = "friendly"; + category[] = { + {"Assault Rifle Ammo","FriendlyAssaultRifleAmmo"} + {"Light Machine Gun Ammo","FriendlyLightMachineGunAmmo"} + {"Pistol Ammo","FriendlyPistolAmmo"} + {"Shotguns and Single-shot Ammo","FriendlyShotgunsandSingleshotAmmo"} + {"Sniper Rifle Ammo","FriendlySniperRifleAmmo"} + {"Submachine Gun Ammo","FriendlySubmachineGunAmmo"} + }; +}; +class Woodlander1 { + humanity = "friendly"; + category[] = { + {"Building Supplies","FriendlyBuildingSupplies"} + {"Toolbelt Items","FriendlyToolbeltItems"} + {"Vehicle Parts","FriendlyVehicleParts"} + }; +}; +class Dr_Annie_Baker_EP1 { + humanity = "friendly"; + category[] = { + {"Chem-lites/Flares","FriendlyChemlitesFlares"} + {"Medical Supplies","FriendlyMedicalSupplies"} + {"Smoke Grenades","FriendlySmokeGrenades"} + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Trader/TraderHero.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Trader/TraderHero.hpp new file mode 100644 index 000000000..6372d869c --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Trader/TraderHero.hpp @@ -0,0 +1,11 @@ +class RU_Functionary1 { + humanity = "hero"; + category[] = { + {"Ammunition","HeroAmmunition"} + {"Clothes","HeroClothes"} + {"Helicopter Armed","HeroHelicopterArmed"} + {"Military Armed","HeroMilitaryArmed"} + {"Trucks Armed","HeroTrucksArmed"} + {"Weapons","HeroWeapons"} + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Trader/TraderNeutral.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Trader/TraderNeutral.hpp new file mode 100644 index 000000000..98661dadc --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/Trader/TraderNeutral.hpp @@ -0,0 +1,171 @@ +class Doctor { + humanity = "neutral"; + category[] = { + {"Chem-lites/Flares","NeutralChemlitesFlares"} + {"Medical Supplies","NeutralMedicalSupplies"} + {"Smoke Grenades","NeutralSmokeGrenades"} + }; +}; +class HouseWife1 { + humanity = "neutral"; + category[] = { + {"Boats Armed","NeutralBoatsArmed"} + {"Boats Unarmed","NeutralBoatsUnarmed"} + }; +}; +class TK_GUE_Soldier_5_EP1 { + humanity = "neutral"; + category[] = { + {"Building Supplies","NeutralBuildingSupplies"} + {"Toolbelt Items","NeutralToolbeltItems"} + {"Vehicle Parts","NeutralVehicleParts"} + }; +}; +class RU_Citizen4 { + humanity = "neutral"; + category[] = { + {"Wholesale","NeutralWholesale"} + }; +}; +class Worker3 { + humanity = "neutral"; + category[] = { + {"Bikes and ATV","NeutralBikesandATV"} + {"Buses and Vans","NeutralBusesandVans"} + {"Cargo Trucks","NeutralCargoTrucks"} + {"Fuel Trucks","NeutralFuelTrucks"} + {"Military Unarmed","NeutralMilitaryUnarmed"} + {"Trucks","NeutralTrucks"} + {"Used Cars","NeutralUsedCars"} + {"Utility Vehicles","NeutralUtilityVehicles"} + }; +}; +class Dr_Hladik_EP1 { + humanity = "neutral"; + category[] = { + {"Chem-lites/Flares","NeutralChemlitesFlares"} + {"Medical Supplies","NeutralMedicalSupplies"} + {"Smoke Grenades","NeutralSmokeGrenades"} + }; +}; +class RU_Villager3 { + humanity = "neutral"; + category[] = { + {"Boats Armed","NeutralBoatsArmed"} + {"Boats Unarmed","NeutralBoatsUnarmed"} + }; +}; +class Worker2 { + humanity = "neutral"; + category[] = { + {"Airplanes","NeutralAirplanes"} + {"Helicopter Unarmed","NeutralHelicopterUnarmed"} + }; +}; +class GUE_Woodlander2 { + humanity = "neutral"; + category[] = { + {"Black Market Ammo","NeutralBlackMarketAmmo"} + {"Black Market Weapons","NeutralBlackMarketWeapons"} + {"Explosives","NeutralExplosives"} + }; +}; +class Rita_Ensler_EP1 { + humanity = "neutral"; + category[] = { + {"Backpacks","NeutralBackpacks"} + {"Clothes","NeutralClothes"} + {"Cooked Meats","NeutralCookedMeats"} + {"Drinks","NeutralDrinks"} + {"Packaged Food","NeutralPackagedFood"} + }; +}; +class Woodlander3 { + humanity = "neutral"; + category[] = { + {"Building Supplies","NeutralBuildingSupplies"} + {"Toolbelt Items","NeutralToolbeltItems"} + {"Vehicle Parts","NeutralVehicleParts"} + }; +}; +class RU_Citizen1 { + humanity = "neutral"; + category[] = { + {"Wholesale","NeutralWholesale"} + }; +}; +class Pilot_EP1 { + humanity = "neutral"; + category[] = { + {"Assault Rifle Ammo","NeutralAssaultRifleAmmo"} + {"Light Machine Gun Ammo","NeutralLightMachineGunAmmo"} + {"Pistol Ammo","NeutralPistolAmmo"} + {"Shotguns and Single-shot Ammo","NeutralShotgunsandSingleshotAmmo"} + {"Sniper Rifle Ammo","NeutralSniperRifleAmmo"} + {"Submachine Gun Ammo","NeutralSubmachineGunAmmo"} + }; +}; +class RU_Profiteer4 { + humanity = "neutral"; + category[] = { + {"Bikes and ATV","NeutralBikesandATV"} + {"Buses and Vans","NeutralBusesandVans"} + {"Cargo Trucks","NeutralCargoTrucks"} + {"Fuel Trucks","NeutralFuelTrucks"} + {"Military Unarmed","NeutralMilitaryUnarmed"} + {"Trucks","NeutralTrucks"} + {"Used Cars","NeutralUsedCars"} + {"Utility Vehicles","NeutralUtilityVehicles"} + }; +}; +class Soldier_GL_M16A2_PMC { + humanity = "neutral"; + category[] = { + {"Black Market Ammo","NeutralBlackMarketAmmo"} + {"Black Market Weapons","NeutralBlackMarketWeapons"} + {"Explosives","NeutralExplosives"} + }; +}; +class CIV_EuroMan01_EP1 { + humanity = "neutral"; + category[] = { + {"Assault Rifle","NeutralAssaultRifle"} + {"Light Machine Gun","NeutralLightMachineGun"} + {"Pistols","NeutralPistols"} + {"Shotguns and Single-shot","NeutralShotgunsandSingleshot"} + {"Sniper Rifle","NeutralSniperRifle"} + {"Submachine Guns","NeutralSubmachineGuns"} + }; +}; +class RU_WorkWoman5 { + humanity = "neutral"; + category[] = { + {"Backpacks","NeutralBackpacks"} + {"Clothes","NeutralClothes"} + {"Cooked Meats","NeutralCookedMeats"} + {"Drinks","NeutralDrinks"} + {"Packaged Food","NeutralPackagedFood"} + }; +}; +class TK_CIV_Takistani04_EP1 { + humanity = "neutral"; + category[] = { + {"Assault Rifle","NeutralAssaultRifle"} + {"Light Machine Gun","NeutralLightMachineGun"} + {"Pistols","NeutralPistols"} + {"Shotguns and Single-shot","NeutralShotgunsandSingleshot"} + {"Sniper Rifle","NeutralSniperRifle"} + {"Submachine Guns","NeutralSubmachineGuns"} + }; +}; +class CIV_EuroMan02_EP1 { + humanity = "neutral"; + category[] = { + {"Assault Rifle Ammo","NeutralAssaultRifleAmmo"} + {"Light Machine Gun Ammo","NeutralLightMachineGunAmmo"} + {"Pistol Ammo","NeutralPistolAmmo"} + {"Shotguns and Single-shot Ammo","NeutralShotgunsandSingleshotAmmo"} + {"Sniper Rifle Ammo","NeutralSniperRifleAmmo"} + {"Submachine Gun Ammo","NeutralSubmachineGunAmmo"} + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/cfgServerTrader.hpp b/SQF/dayz_code/Configs/CfgServerTrader/cfgServerTrader.hpp new file mode 100644 index 000000000..95b3e190c --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTrader/cfgServerTrader.hpp @@ -0,0 +1,92 @@ +class CfgServerTrader { + #include "Trader\TraderHero.hpp" + #include "Trader\TraderFriendly.hpp" + #include "Trader\TraderNeutral.hpp" + #include "Trader\TraderBandit.hpp" +}; + +class CfgTraderCategory { + #include "Category\BanditAmmunition.hpp" + #include "Category\BanditClothing.hpp" + #include "Category\BanditHelicopterArmed.hpp" + #include "Category\BanditMilitaryArmed.hpp" + #include "Category\BanditTrucksArmed.hpp" + #include "Category\BanditWeapons.hpp" + #include "Category\FriendlyAssaultRifle.hpp" + #include "Category\FriendlyAssaultRifleAmmo.hpp" + #include "Category\FriendlyBackpacks.hpp" + #include "Category\FriendlyBikesandATV.hpp" + #include "Category\FriendlyBuildingSupplies.hpp" + #include "Category\FriendlyBusesandVans.hpp" + #include "Category\FriendlyCargoTrucks.hpp" + #include "Category\FriendlyChemlitesFlares.hpp" + #include "Category\FriendlyClothes.hpp" + #include "Category\FriendlyCookedMeats.hpp" + #include "Category\FriendlyDrinks.hpp" + #include "Category\FriendlyFuelTrucks.hpp" + #include "Category\FriendlyLightMachineGun.hpp" + #include "Category\FriendlyLightMachineGunAmmo.hpp" + #include "Category\FriendlyMedicalSupplies.hpp" + #include "Category\FriendlyMilitaryUnarmed.hpp" + #include "Category\FriendlyPackagedFood.hpp" + #include "Category\FriendlyPistolAmmo.hpp" + #include "Category\FriendlyPistols.hpp" + #include "Category\FriendlyShotgunsandSingleshot.hpp" + #include "Category\FriendlyShotgunsandSingleshotAmmo.hpp" + #include "Category\FriendlySmokeGrenades.hpp" + #include "Category\FriendlySniperRifle.hpp" + #include "Category\FriendlySniperRifleAmmo.hpp" + #include "Category\FriendlySubmachineGunAmmo.hpp" + #include "Category\FriendlySubmachineGuns.hpp" + #include "Category\FriendlyToolbeltItems.hpp" + #include "Category\FriendlyTrucks.hpp" + #include "Category\FriendlyTrucksUnarmed.hpp" + #include "Category\FriendlyUsedCars.hpp" + #include "Category\FriendlyUtilityVehicles.hpp" + #include "Category\FriendlyVehicleParts.hpp" + #include "Category\HeroAmmunition.hpp" + #include "Category\HeroClothes.hpp" + #include "Category\HeroHelicopterArmed.hpp" + #include "Category\HeroMilitaryArmed.hpp" + #include "Category\HeroTrucksArmed.hpp" + #include "Category\HeroWeapons.hpp" + #include "Category\NeutralAirplanes.hpp" + #include "Category\NeutralAssaultRifle.hpp" + #include "Category\NeutralAssaultRifleAmmo.hpp" + #include "Category\NeutralBackpacks.hpp" + #include "Category\NeutralBikesandATV.hpp" + #include "Category\NeutralBlackMarketAmmo.hpp" + #include "Category\NeutralBlackMarketWeapons.hpp" + #include "Category\NeutralBoatsArmed.hpp" + #include "Category\NeutralBoatsUnarmed.hpp" + #include "Category\NeutralBuildingSupplies.hpp" + #include "Category\NeutralBusesandVans.hpp" + #include "Category\NeutralCargoTrucks.hpp" + #include "Category\NeutralChemlitesFlares.hpp" + #include "Category\NeutralClothes.hpp" + #include "Category\NeutralCookedMeats.hpp" + #include "Category\NeutralDrinks.hpp" + #include "Category\NeutralExplosives.hpp" + #include "Category\NeutralFuelTrucks.hpp" + #include "Category\NeutralHelicopterUnarmed.hpp" + #include "Category\NeutralLightMachineGun.hpp" + #include "Category\NeutralLightMachineGunAmmo.hpp" + #include "Category\NeutralMedicalSupplies.hpp" + #include "Category\NeutralMilitaryUnarmed.hpp" + #include "Category\NeutralPackagedFood.hpp" + #include "Category\NeutralPistolAmmo.hpp" + #include "Category\NeutralPistols.hpp" + #include "Category\NeutralShotgunsandSingleshot.hpp" + #include "Category\NeutralShotgunsandSingleshotAmmo.hpp" + #include "Category\NeutralSmokeGrenades.hpp" + #include "Category\NeutralSniperRifle.hpp" + #include "Category\NeutralSniperRifleAmmo.hpp" + #include "Category\NeutralSubmachineGunAmmo.hpp" + #include "Category\NeutralSubmachineGuns.hpp" + #include "Category\NeutralToolbeltItems.hpp" + #include "Category\NeutralTrucks.hpp" + #include "Category\NeutralUsedCars.hpp" + #include "Category\NeutralUtilityVehicles.hpp" + #include "Category\NeutralVehicleParts.hpp" + #include "Category\NeutralWholesale.hpp" +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/deathboards.hpp b/SQF/dayz_code/Configs/RscDisplay/deathboards.hpp similarity index 100% rename from SQF/dayz_code/Configs/deathboards.hpp rename to SQF/dayz_code/Configs/RscDisplay/deathboards.hpp diff --git a/SQF/dayz_code/Configs/dialog.hpp b/SQF/dayz_code/Configs/RscDisplay/dialog.hpp similarity index 100% rename from SQF/dayz_code/Configs/dialog.hpp rename to SQF/dayz_code/Configs/RscDisplay/dialog.hpp diff --git a/SQF/dayz_code/Configs/safegui.hpp b/SQF/dayz_code/Configs/RscDisplay/safegui.hpp similarity index 100% rename from SQF/dayz_code/Configs/safegui.hpp rename to SQF/dayz_code/Configs/RscDisplay/safegui.hpp diff --git a/SQF/dayz_code/config.cpp b/SQF/dayz_code/config.cpp index 06b319e87..317ccddb5 100644 --- a/SQF/dayz_code/config.cpp +++ b/SQF/dayz_code/config.cpp @@ -113,9 +113,9 @@ class RscStructuredTextGUI: RscStructuredText #include "Configs\cfgMoves.hpp" #include "Configs\rscTitles.hpp" -#include "Configs\safegui.hpp" -#include "Configs\dialog.hpp" -#include "Configs\deathboards.hpp" +#include "Configs\RscDisplay\safegui.hpp" +#include "Configs\RscDisplay\dialog.hpp" +#include "Configs\RscDisplay\deathboards.hpp" #include "Configs\CfgVehicles.hpp" #include "Configs\CfgWeapons.hpp" diff --git a/SQF/dayz_code/init/variables.sqf b/SQF/dayz_code/init/variables.sqf index 7e7e87564..aa9e9670b 100644 --- a/SQF/dayz_code/init/variables.sqf +++ b/SQF/dayz_code/init/variables.sqf @@ -542,7 +542,7 @@ DZE_isNewStorage = ["VaultStorage","OutHouse_DZ","Wooden_shed_DZ","WoodShack_DZ" // These work with just a running generator dayz_fuelpumparray = ["FuelPump_DZ","Land_A_FuelStation_Feed","Land_Ind_FuelStation_Feed_EP1","Land_FuelStation_Feed_PMC","FuelStation","Land_ibr_FuelStation_Feed","Land_fuelstation_army","Land_fuelstation","land_fuelstation_w","Land_benzina_schnell"]; -DZE_fueltruckarray = ["KamazRefuel_DZ","UralRefuel_TK_EP1_DZ","MtvrRefuel_DES_EP1_DZ","V3S_Refuel_TK_GUE_EP1_DZ","MtvrRefuel_DZ"]; +DZE_fueltruckarray = ["KamazRefuel_DZ","UralRefuel_TK_EP1_DZ","MtvrRefuel_DES_EP1_DZ","V3S_Refuel_TK_GUE_EP1_DZ","MtvrRefuel_DZ","KamazRefuel_DZE","UralRefuel_TK_EP1_DZE","MtvrRefuel_DES_EP1_DZE","V3S_Refuel_TK_GUE_EP1_DZE","MtvrRefuel_DZE"]; // Standard Fuel sources dayz_fuelsources = ["Land_Ind_TankSmall","Land_fuel_tank_big","Land_fuel_tank_stairs","Land_fuel_tank_stairs_ep1","Land_wagon_tanker","Land_fuelstation","Land_fuelstation_army","land_fuelstation_w","Land_benzina_schnell"]; diff --git a/SQF/dayz_epoch_b/stringtable.xml b/SQF/dayz_epoch_b/stringtable.xml index bb2b6e72f..fd1392df9 100644 --- a/SQF/dayz_epoch_b/stringtable.xml +++ b/SQF/dayz_epoch_b/stringtable.xml @@ -6869,22 +6869,22 @@ %1 | Weight carried : %2 lb %1 | Weight carried : %2 lb - %1 | Getragenes Gewicht : %2 lb + %1 | Getragenes Gewicht : %2 Kg %1 | Переносимый вес : %2 Кг - %1 | Weight carried : %2 lb - %1 | Weight carried : %2 lb + %1 | Weight carried : %2 Kg + %1 | Dragend gewicht : %2 Kg %1 | Poids transporté : %2 Kg - %1 | Nesená váha : %2 lb + %1 | Nesená váha : %2 Kg lb lb - lb + Kg Кг - lb + Kg Kg Kg - lb + Kg Login timed out!\nDisconnect and try again! diff --git a/Server Files/MPMissions/DayZ_Epoch_24.Napf/mission.sqm b/Server Files/MPMissions/DayZ_Epoch_24.Napf/mission.sqm index a3a3192b9..67253c6d6 100644 --- a/Server Files/MPMissions/DayZ_Epoch_24.Napf/mission.sqm +++ b/Server Files/MPMissions/DayZ_Epoch_24.Napf/mission.sqm @@ -1334,7 +1334,7 @@ class Mission }; class Sensors { - items=9; + items=10; class Item0 { position[]={8246.3184,15.544708,15485.867}; @@ -1474,6 +1474,21 @@ class Mission { }; }; + class Item9 + { + position[]={15128.379,19.974716,16421.879}; + activationBy="WEST"; + repeating=1; + interruptable=1; + age="UNKNOWN"; + name="AWOL"; + expCond="(player distance awol) < 75;"; + expActiv="TitleText[""Now Entering Aircraft Vendor"",""PLAIN DOWN""]; canbuild = false;"; + expDesactiv="TitleText[""Now Leaving Aircraft Vendor"",""PLAIN DOWN""]; canbuild = true;"; + class Effects + { + }; + }; }; }; class Intro diff --git a/Tools/TraderMigration/serverTraders2cfg.pl b/Tools/TraderMigration/serverTraders2cfg.pl new file mode 100644 index 000000000..c7306843a --- /dev/null +++ b/Tools/TraderMigration/serverTraders2cfg.pl @@ -0,0 +1,141 @@ +#!/usr/bin/perl -w +use strict; +use warnings; +use DBI; +use JSON; +use Data::Dumper; + +my $pathServerTradersSQF = '..\..\Server Files\MPMissions\DayZ_Epoch_11.Chernarus\server_traders.sqf'; +my $pathServerTradersCfg = '..\..\SQF\dayz_code\Configs\CfgServerTrader\\'; +my $pathServerTraderCategoriesCfg = '..\..\SQF\dayz_code\Configs\CfgServerTraderCategories\\'; +my $MySQL = DBI->connect('DBI:mysql:host=localhost;database=test2', 'root', 'root'); + +open(TRADERSQF, '<', $pathServerTradersSQF) or die $!; +my $trader = ''; +my $isTrader = 0; +my @traders; +my $traderCategories = {}; +while () { + if (/^menu_(\w+)\s*=\s*\[/) { + $trader = '{"'.$1.'":['; + $isTrader = 1; + } + elsif (/\];/ && $isTrader) { + $trader .= ']}'; + $trader =~ s/\r|\n|\t//g; + push(@traders, JSON->new()->decode($trader)); + } + elsif ($isTrader) { + $trader .= $_; + } +} +close(TRADERSQF); + +$trader = {}; +my $traderHumanity = { + Hero => {} + ,Friendly => {} + ,Neutral => {} + ,Bandit => {} +}; +foreach my $trad (@traders) { + my $name = (keys %{$trad})[0]; + $trader->{$name} = { + Humanity => @{$trad->{$name}}[2] + ,Categories => @{$trad->{$name}}[0] + ,Special => @{$trad->{$name}}[1] + }; + + if ($trader->{$name}->{Humanity} =~ /hero/) { + $traderHumanity->{Hero}->{$name} = $trader->{$name}; + } + elsif ($trader->{$name}->{Humanity} =~ /friendly/) { + $traderHumanity->{Friendly}->{$name} = $trader->{$name}; + } + elsif ($trader->{$name}->{Humanity} =~ /neutral/) { + $traderHumanity->{Neutral}->{$name} = $trader->{$name}; + } + elsif ($trader->{$name}->{Humanity} =~ /hostile/) { + $traderHumanity->{Bandit}->{$name} = $trader->{$name}; + } +} + +foreach my $traderhuman (keys $traderHumanity) { + my $cfg = ''; + foreach my $class (keys %{$traderHumanity->{$traderhuman}}) { + $cfg .= "class ".$class." {\n"; + $cfg .= "\thumanity = \"".$traderHumanity->{$traderhuman}->{$class}->{Humanity}."\";\n"; + $cfg .= "\tcategory[] = {\n"; + foreach my $cat (@{$traderHumanity->{$traderhuman}->{$class}->{Categories}}) { + my $catName = ''; + my $sth = $MySQL->prepare(q~ + SELECT + name AS CatName + FROM + trader_tids + WHERE + id = ? + ~); + $sth->execute( + $cat->[1] + ); + while (my $row = $sth->fetchrow_hashref()) { + $catName = $traderhuman.$row->{CatName}; + } + $sth->finish(); + $catName =~ s~ |-|/~~g; + + $cfg .= "\t\t{\"".$cat->[0]."\",\"".$catName."\"}\n"; + $traderCategories->{$catName} = $cat->[1]; + } + $cfg .= "\t};\n"; + $cfg .= "};\n" + } + + open(CFG, '>', $pathServerTradersCfg.'Trader'.$traderhuman.'.hpp') or die $!; + print CFG $cfg; + close(CFG); +} + +foreach my $traderCategory (keys $traderCategories) { + my $cfg = ''; + + $cfg .= "class ".$traderCategory." {\n"; + #$cfg .= "\ttid = ".$traderCategories->{$traderCategory}.";\n"; + my $sth = $MySQL->prepare(q~ + SELECT + item AS Item + ,buy AS Buy + ,sell AS Sell + ,afile AS aFile + FROM + traders_data + WHERE + tid = ? + ~); + $sth->execute($traderCategories->{$traderCategory}); + while (my $row = $sth->fetchrow_hashref()) { + if ($row->{Item} =~ /^\["([^"]+)",\d+\]$/) { + $row->{Item} = $1; + } + else {next;} + if ($row->{Buy} =~ s/^\[(\d+),"([^"]+)",(\d+)\]$/{$1,"$2",$3}/) {} + else {next;} + if ($row->{Sell} =~ s/^\[(\d+),"([^"]+)",(\d+)\]$/{$1,"$2",$3}/) {} + else {next;} + + $cfg .= "\tclass ".$row->{Item}." {\n"; + $cfg .= "\t\ttype = \"".$row->{aFile}."\";\n"; + $cfg .= "\t\tbuy[] = ".$row->{Buy}.";\n"; + $cfg .= "\t\tsell[] = ".$row->{Sell}.";\n"; + $cfg .= "\t};\n"; + } + $sth->finish(); + $cfg .= "};\n"; + + open(CFG, '>', $pathServerTraderCategoriesCfg.$traderCategory.'.hpp') or die $!; + print CFG $cfg; + close(CFG); +} + +exit(0); \ No newline at end of file