diff --git a/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/AirVehicles.hpp b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/AirVehicles.hpp new file mode 100644 index 000000000..6687661f9 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/AirVehicles.hpp @@ -0,0 +1,41 @@ +//Planes +class Category_46 { + class GNT_C185U_DZ {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};}; + class GNT_C185_DZ {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};}; + class GNT_C185R_DZ {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};}; + class GNT_C185C_DZ {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};}; + //Green + class AN2_DZ {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};}; + //Red and white + class AN2_2_DZ {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};}; + //Green and white + class An2_2_TK_CIV_EP1_DZ {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};}; + class C130J_US_EP1_DZ {type = "trade_any_vehicle";buy[] = {40000,"worth"};sell[] = {20000,"worth"};}; + class MV22_DZ {type = "trade_any_vehicle";buy[] = {50000,"worth"};sell[] = {20000,"worth"};}; +}; + +//Helicopters +class Category_47 { + class CSJ_GyroC_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class CSJ_GyroC_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class CSJ_GyroC {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class CSJ_GyroCover {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class CSJ_GyroP {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class AH6X_DZ {type = "trade_any_vehicle";buy[] = {6000,"worth"};sell[] = {3000,"worth"};}; + class MH6J_DZ {type = "trade_any_vehicle";buy[] = {8000,"worth"};sell[] = {4000,"worth"};}; + class pook_H13_civ_DZE {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {6000,"worth"};}; + class pook_H13_civ_white_DZE {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {6000,"worth"};}; + class pook_H13_civ_slate_DZE {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {6000,"worth"};}; + class pook_H13_civ_black_DZE {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {6000,"worth"};}; + class pook_H13_civ_yellow_DZE {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {6000,"worth"};}; + class pook_medevac_DZE {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {6000,"worth"};}; + class pook_medevac_CDF_DZE {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {6000,"worth"};}; + class pook_medevac_CIV_DZE {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {6000,"worth"};}; + class Mi17_Civilian_DZ {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class Mi17_medevac_CDF_DZ {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class Mi17_medevac_Ins_DZ {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class Mi17_medevac_RU_DZ {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class UH60M_MEV_EP1_DZ {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class BAF_Merlin_DZE {type = "trade_any_vehicle";buy[] = {30000,"worth"};sell[] = {10000,"worth"};}; + class CH53_DZE {type = "trade_any_vehicle";buy[] = {40000,"worth"};sell[] = {20000,"worth"};}; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Ammunition.hpp b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Ammunition.hpp new file mode 100644 index 000000000..4e5921863 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Ammunition.hpp @@ -0,0 +1,163 @@ +//Pistol Ammo +class Category_19 { + class 7Rnd_9x17_PPK {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class 8Rnd_9x18_Makarov {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class 8Rnd_9x18_MakarovSD {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class 20Rnd_9x18_APS {type = "trade_items";buy[] = {8,"worth"};sell[] = {4,"worth"};}; + class 20Rnd_9x18_APSSD {type = "trade_items";buy[] = {80,"worth"};sell[] = {40,"worth"};}; + class 8Rnd_762x25_TT33 {type = "trade_items";buy[] = {6,"worth"};sell[] = {3,"worth"};}; + class 8Rnd_9x19_P38 {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class 13Rnd_9x19_BHP {type = "trade_items";buy[] = {8,"worth"};sell[] = {4,"worth"};}; + class 15Rnd_9x19_P226 {type = "trade_items";buy[] = {10,"worth"};sell[] = {5,"worth"};}; + class 8Rnd_9x19_MK22 {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class 8Rnd_9x19_MK22SD {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class 15Rnd_9x19_M9 {type = "trade_items";buy[] = {10,"worth"};sell[] = {5,"worth"};}; + class 15Rnd_9x19_M9SD {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class 17Rnd_9x19_glock17 {type = "trade_items";buy[] = {10,"worth"};sell[] = {5,"worth"};}; + class 17Rnd_9x19_glock17SD {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class 18Rnd_9x19_Phantom {type = "trade_items";buy[] = {10,"worth"};sell[] = {5,"worth"};}; + class 18Rnd_9x19_PhantomSD {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class 20Rnd_9x19_M93R {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class 32Rnd_9x19_TEC9 {type = "trade_items";buy[] = {30,"worth"};sell[] = {10,"worth"};}; + class 33Rnd_9x19_G18 {type = "trade_items";buy[] = {30,"worth"};sell[] = {10,"worth"};}; + class 15Rnd_10x22_p99 {type = "trade_items";buy[] = {10,"worth"};sell[] = {5,"worth"};}; + class 15Rnd_10x22_p99_sd {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class 7Rnd_45ACP_1911 {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class 7Rnd_45ACP_1911SD {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class 15Rnd_45ACP_USP {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class 15Rnd_45ACP_USPSD {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class 7Rnd_50AE_Deagle {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class 6Rnd_45ACP {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class 6Rnd_44Magnum {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class 6Rnd_357Magnum {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; +}; + +//Submachine Gun Ammo +class Category_20 { + class 20Rnd_B_765x17_Ball {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class 30Rnd_9x19_UZI {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class 30Rnd_9x19_UZI_SD {type = "trade_items";buy[] = {40,"worth"};sell[] = {20,"worth"};}; + class 30Rnd_9x19_MP5 {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class 30Rnd_9x19_MP5SD {type = "trade_items";buy[] = {40,"worth"};sell[] = {20,"worth"};}; + class 30Rnd_9x19_TMP {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class 30Rnd_9x19_TMPSD {type = "trade_items";buy[] = {40,"worth"};sell[] = {20,"worth"};}; + class 32Rnd_9x19_STEN {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class 32Rnd_9x19_MAT49 {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class 70Rnd_9x19_M31 {type = "trade_items";buy[] = {40,"worth"};sell[] = {20,"worth"};}; + class 64Rnd_9x19_Bizon {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class 64Rnd_9x19_SD_Bizon {type = "trade_items";buy[] = {40,"worth"};sell[] = {20,"worth"};}; + class 40Rnd_46x30_mp7 {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class 40Rnd_46x30_sd_mp7 {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class 33Rnd_45ACP_KRISS {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class 33Rnd_45ACP_KRISSSD {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class 25Rnd_45ACP_UMP {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class 25Rnd_45ACP_UMPSD {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class 50Rnd_57x28_P90 {type = "trade_items";buy[] = {40,"worth"};sell[] = {20,"worth"};}; + class 50Rnd_57x28_P90SD {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; +}; + +//Single-shot/Shotgun Ammo +class Category_21 { + class 1Rnd_Bolt_Tranquilizer {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class 12Rnd_Quiver_Wood {type = "trade_items";buy[] = {4,"worth"};sell[] = {2,"worth"};}; + class 350Rnd_BB_Magazine {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class 2Rnd_12Gauge_Buck {type = "trade_items";buy[] = {1,"worth"};sell[] = {1,"worth"};}; + class 2Rnd_12Gauge_Slug {type = "trade_items";buy[] = {1,"worth"};sell[] = {1,"worth"};}; + class 8Rnd_12Gauge_Slug {type = "trade_items";buy[] = {4,"worth"};sell[] = {4,"worth"};}; + class 8Rnd_12Gauge_Buck {type = "trade_items";buy[] = {4,"worth"};sell[] = {4,"worth"};}; + class 15Rnd_W1866_Slug {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class 10Rnd_303British {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class 5Rnd_762x54_Mosin {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; +}; + +//Assault Rifle Ammo +class Category_22 { + class 30Rnd_6x35_KAC {type = "trade_items";buy[] = {4,"worth"};sell[] = {2,"worth"};}; + class 30Rnd_556x45_Aug {type = "trade_items";buy[] = {4,"worth"};sell[] = {2,"worth"};}; + class 30Rnd_556x45_Stanag {type = "trade_items";buy[] = {4,"worth"};sell[] = {2,"worth"};}; + class 30Rnd_556x45_StanagSD {type = "trade_items";buy[] = {40,"worth"};sell[] = {20,"worth"};}; + class 30Rnd_556x45_G36 {type = "trade_items";buy[] = {4,"worth"};sell[] = {2,"worth"};}; + class 30Rnd_556x45_G36SD {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class 30Rnd_545x39_AK {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class 30Rnd_545x39_AKSD {type = "trade_items";buy[] = {30,"worth"};sell[] = {10,"worth"};}; + class 30Rnd_762x39_AK47 {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class 30Rnd_762x39_SA58 {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class 30Rnd_762x39_RK95 {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class 30Rnd_762x39_RK95SD {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class 30Rnd_762x39_Groza1 {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class 30Rnd_762x39_Groza1SD {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class 20Rnd_9x39_Groza9 {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class 20Rnd_9x39_Groza9SD {type = "trade_items";buy[] = {300,"worth"};sell[] = {100,"worth"};}; + class 20Rnd_9x39_SP5_VSS {type = "trade_items";buy[] = {300,"worth"};sell[] = {100,"worth"};}; + class 20Rnd_762x51_FNFAL {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class 20Rnd_762x51_G3 {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class ACR_30Rnd_680x43 {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class ACR_30Rnd_680x43_SD {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class 20Rnd_762x51_DMR {type = "trade_items";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class 20Rnd_762x51_DMRSD {type = "trade_items";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; + class 20Rnd_762x51_B_SCAR {type = "trade_items";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class 20Rnd_762x51_SB_SCAR {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class 20Rnd_762x51_HK417 {type = "trade_items";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class 20Rnd_762x51_HK417SD {type = "trade_items";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; +}; + +//Sniper Rifle Ammo +class Category_23 { + class 5Rnd_17HMR {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class 20Rnd_9x39_SP5_VSS {type = "trade_items";buy[] = {300,"worth"};sell[] = {100,"worth"};}; + class 10Rnd_762x54_SVD {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class 5Rnd_762x51_M24 {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class 10Rnd_762x51_CZ750 {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class 20Rnd_762x51_DMR {type = "trade_items";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class 20Rnd_762x51_B_SCAR {type = "trade_items";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class 20Rnd_762x51_SB_SCAR {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};}; +}; + +//Light Machine Gun Ammo +class Category_24 { + class 100Rnd_556x45_BetaCMag {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class 100Rnd_556x45_M249 {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class 200Rnd_556x45_M249 {type = "trade_items";buy[] = {-1,"worth"};sell[] = {200,"worth"};}; + class 200Rnd_556x45_L110A1 {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class 100Rnd_762x51_M240 {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class 200Rnd_762x51_M240 {type = "trade_items";buy[] = {-1,"worth"};sell[] = {100,"worth"};}; + class 50Rnd_762x54_UK59 {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class 75Rnd_545x39_RPK {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class 75Rnd_762x39_RPK {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class 100Rnd_762x54_PK {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; +}; + +//Smoke Grenades +class Category_25 { + class SmokeShell {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class SmokeShellGreen {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class SmokeShellRed {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class SmokeShellYellow {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class SmokeShellPurple {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class SmokeShellBlue {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class SmokeShellOrange {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class 1Rnd_Smoke_M203 {type = "trade_items";buy[] = {4,"worth"};sell[] = {2,"worth"};}; + class 1Rnd_SmokeYellow_M203 {type = "trade_items";buy[] = {4,"worth"};sell[] = {2,"worth"};}; + class 1Rnd_SmokeGreen_M203 {type = "trade_items";buy[] = {4,"worth"};sell[] = {2,"worth"};}; + class 1Rnd_SmokeRed_M203 {type = "trade_items";buy[] = {4,"worth"};sell[] = {2,"worth"};}; + class 1Rnd_Smoke_GP25 {type = "trade_items";buy[] = {4,"worth"};sell[] = {2,"worth"};}; + class 1Rnd_SmokeRed_GP25 {type = "trade_items";buy[] = {4,"worth"};sell[] = {2,"worth"};}; + class 1Rnd_SmokeYellow_GP25 {type = "trade_items";buy[] = {4,"worth"};sell[] = {2,"worth"};}; + class 1Rnd_SmokeGreen_GP25 {type = "trade_items";buy[] = {4,"worth"};sell[] = {2,"worth"};}; +}; + +//Chem-lites/Flares +class Category_26 { + class HandRoadFlare {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class HandChemBlue {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class HandChemGreen {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class HandChemRed {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FlareGreen_M203 {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FlareWhite_M203 {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FlareYellow_M203 {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FlareRed_M203 {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FlareWhite_GP25 {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FlareGreen_GP25 {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FlareRed_GP25 {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FlareYellow_GP25 {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Bandit.hpp b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Bandit.hpp new file mode 100644 index 000000000..5fefd9ff7 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Bandit.hpp @@ -0,0 +1,271 @@ +//Air Vehicles +class Category_6 { + class pook_transport_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class pook_transport_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class pook_transport_CDF_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class pook_transport_CDF_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class pook_gunship_DZE {type = "trade_any_vehicle";buy[] = {40000,"worth"};sell[] = {10000,"worth"};}; + class pook_gunship_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class pook_gunship_CDF_DZE {type = "trade_any_vehicle";buy[] = {40000,"worth"};sell[] = {10000,"worth"};}; + class pook_gunship_CDF_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class AH6J_EP1_DZE {type = "trade_any_vehicle";buy[] = {30000,"worth"};sell[] = {10000,"worth"};}; + class AH6J_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class UH1H_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class UH1H_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class UH1H_CDF_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class UH1H_CDF_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class UH1H_WD_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class UH1H_WD_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class UH1H_2_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class UH1H_2_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class UH1H_DES_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class UH1H_DES_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class UH1H_GREY_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class UH1H_GREY_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class UH1H_BLACK_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class UH1H_BLACK_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class UH1H_SAR_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class UH1H_SAR_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class Mi17_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class Mi17_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class Mi17_TK_EP1_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class Mi17_TK_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class Mi17_UN_CDF_EP1_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class Mi17_UN_CDF_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class Mi17_CDF_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class Mi17_CDF_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class Mi17_DES_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class Mi17_DES_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class Mi17_GREEN_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class Mi17_GREEN_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class Mi17_BLUE_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class Mi17_BLUE_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class Mi17_BLACK_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class Mi17_BLACK_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class Mi171Sh_CZ_EP1_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class Mi171Sh_CZ_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class MH60S_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class MH60S_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class Ka60_GL_PMC_DZE {type = "trade_any_vehicle";buy[] = {30000,"worth"};sell[] = {10000,"worth"};}; + class Ka60_GL_PMC_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class AW159_Lynx_BAF_DZE {type = "trade_any_vehicle";buy[] = {30000,"worth"};sell[] = {10000,"worth"};}; + class AW159_Lynx_BAF_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class UH60M_EP1_DZE {type = "trade_any_vehicle";buy[] = {40000,"worth"};sell[] = {10000,"worth"};}; + class UH60M_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class UH1Y_DZE {type = "trade_any_vehicle";buy[] = {40000,"worth"};sell[] = {10000,"worth"};}; + class UH1Y_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class CH_47F_EP1_DZE {type = "trade_any_vehicle";buy[] = {50000,"worth"};sell[] = {20000,"worth"};}; + class CH_47F_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {20000,"worth"};}; + class CH_47F_EP1_Black_DZE {type = "trade_any_vehicle";buy[] = {50000,"worth"};sell[] = {20000,"worth"};}; + class CH_47F_EP1_Black_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {20000,"worth"};}; + class CH_47F_EP1_GREY_DZE {type = "trade_any_vehicle";buy[] = {50000,"worth"};sell[] = {20000,"worth"};}; + class CH_47F_EP1_GREY_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {20000,"worth"};}; + class CH_47F_EP1_DES_DZE {type = "trade_any_vehicle";buy[] = {50000,"worth"};sell[] = {20000,"worth"};}; + class CH_47F_EP1_DES_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {20000,"worth"};}; +}; + +//Ground Vehicles +class Category_7 { + class Pickup_PK_TK_GUE_EP1_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class Pickup_PK_TK_GUE_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class Pickup_PK_GUE_DZE {type = "trade_any_vehicle";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; + class Pickup_PK_GUE_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class Pickup_PK_INS_DZE {type = "trade_any_vehicle";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; + class Pickup_PK_INS_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class Offroad_DSHKM_Gue_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class Offroad_DSHKM_Gue_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class ArmoredSUV_PMC_DZE {type = "trade_any_vehicle";buy[] = {30000,"worth"};sell[] = {10000,"worth"};}; + class ArmoredSUV_PMC_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class LandRover_MG_TK_EP1_DZE {type = "trade_any_vehicle";buy[] = {6000,"worth"};sell[] = {3000,"worth"};}; + class LandRover_MG_TK_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {3000,"worth"};}; + class LandRover_Special_CZ_EP1_DZE {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {5000,"worth"};}; + class LandRover_Special_CZ_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {5000,"worth"};}; + class UAZ_MG_TK_EP1_DZE {type = "trade_any_vehicle";buy[] = {6000,"worth"};sell[] = {3000,"worth"};}; + class UAZ_MG_TK_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {3000,"worth"};}; + class BAF_Jackal2_L2A1_D_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class BAF_Jackal2_L2A1_D_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class BAF_Jackal2_L2A1_W_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class BAF_Jackal2_L2A1_W_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class BAF_Jackal2_GMG_D_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class BAF_Jackal2_GMG_D_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class BAF_Jackal2_GMG_W_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class BAF_Jackal2_GMG_W_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class BTR40_MG_TK_GUE_EP1_DZE {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {5000,"worth"};}; + class BTR40_MG_TK_GUE_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {5000,"worth"};}; + class BTR40_MG_TK_INS_EP1_DZE {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {5000,"worth"};}; + class BTR40_MG_TK_INS_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {5000,"worth"};}; + class GAZ_Vodnik_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class GAZ_Vodnik_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class BRDM2_HQ_TK_GUE_EP1_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class BRDM2_HQ_TK_GUE_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class HMMWV_Armored_DZE {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {5000,"worth"};}; + class HMMWV_Armored_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {5000,"worth"};}; + class HMMWV_M2_DZE {type = "trade_any_vehicle";buy[] = {30000,"worth"};sell[] = {10000,"worth"};}; + class HMMWV_M2_DZ_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class HMMWV_M998A2_SOV_DES_EP1_DZE {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {5000,"worth"};}; + class HMMWV_M998A2_SOV_DES_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {5000,"worth"};}; + class HMMWV_M1151_M2_CZ_DES_EP1_DZE {type = "trade_any_vehicle";buy[] = {40000,"worth"};sell[] = {10000,"worth"};}; + class HMMWV_M1151_M2_CZ_DES_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class T810A_PKT_ACR_DZE {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {5000,"worth"};}; + class T810A_PKT_ACR_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {5000,"worth"};}; + class T810A_PKT_DES_ACR_DZE {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {5000,"worth"};}; + class T810A_PKT_DES_ACR_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {5000,"worth"};}; +}; + +//Weapons +class Category_8 { + //Holo SD desert camo + class G36C_Camo_Holo_SD_DZ {type = "trade_weapons";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; + class G36A_Camo_DZ {type = "trade_weapons";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class G36A_Camo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class G36K_Camo_DZ {type = "trade_weapons";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class G36K_Camo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + //CCO green camo + class M4A1_Camo_CCO_DZ {type = "trade_weapons";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class M4A1_Camo_CCO_SD_DZ {type = "trade_weapons";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; + //GL Holo Green Camo + class M4A1_Camo_Holo_GL_DZ {type = "trade_weapons";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class M4A1_Camo_Holo_GL_SD_DZ {type = "trade_weapons";buy[] = {1200,"worth"};sell[] = {600,"worth"};}; + //Camo + class M4A3_Camo_DZ {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + //ACOG Camo + class M4A3_Camo_ACOG_DZ {type = "trade_weapons";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + //CCO FL Desert Camo + class M4A3_DES_CCO_DZ {type = "trade_weapons";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + //ACOG GL Grey + class M4A3_ACOG_GL_DZ {type = "trade_weapons";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; + class FNFAL_ANPVS4_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + // FN_FAL_ANPVS4_DZE has toggleable night vision, attachment support + class FN_FAL_ANPVS4_DZE {type = "trade_weapons";buy[] = {3000,"worth"};sell[] = {1000,"worth"};}; + class Mk43_DZ {type = "trade_weapons";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class MK43_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class MK43_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class M240_DZ {type = "trade_weapons";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class M240_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class M240_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class Mk48_DZ {type = "trade_weapons";buy[] = {3000,"worth"};sell[] = {1000,"worth"};}; + class Mk48_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class Mk48_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class Mk48_DES_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class M249_m145_EP1_DZE {type = "trade_weapons";buy[] = {5000,"worth"};sell[] = {2000,"worth"};}; + class MK43_M145_DZ {type = "trade_weapons";buy[] = {5000,"worth"};sell[] = {2000,"worth"};}; + class m240_scoped_EP1_DZE {type = "trade_weapons";buy[] = {5000,"worth"};sell[] = {2000,"worth"};}; + class Pecheneg_DZ {type = "trade_weapons";buy[] = {5000,"worth"};sell[] = {2000,"worth"};}; + class WA2000_DZ {type = "trade_weapons";buy[] = {4000,"worth"};sell[] = {2000,"worth"};}; + class MK17_Sniper_DZ {type = "trade_weapons";buy[] = {6000,"worth"};sell[] = {3000,"worth"};}; + class MK17_Sniper_SD_DZ {type = "trade_weapons";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class M110_NV_DZ {type = "trade_weapons";buy[] = {7000,"worth"};sell[] = {4000,"worth"};}; + class RSASS_DZ {type = "trade_weapons";buy[] = {6000,"worth"};sell[] = {3000,"worth"};}; + class RSASS_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {3000,"worth"};}; + class HK417_Sniper_DZ {type = "trade_weapons";buy[] = {6000,"worth"};sell[] = {3000,"worth"};}; + class HK417_Sniper_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {3000,"worth"};}; + class MK14_Sniper_DZ {type = "trade_weapons";buy[] = {6000,"worth"};sell[] = {3000,"worth"};}; + class MK14_Sniper_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {3000,"worth"};}; + class DMR_DZ {type = "trade_weapons";buy[] = {6000,"worth"};sell[] = {3000,"worth"};}; + class DMR_Gh_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {3100,"worth"};}; + class M21_DZ {type = "trade_weapons";buy[] = {5000,"worth"};sell[] = {3000,"worth"};}; + class XM2010_DZ {type = "trade_weapons";buy[] = {8000,"worth"};sell[] = {4000,"worth"};}; + class XM2010_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {5000,"worth"};}; + class BAF_LRR_scoped {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {5000,"worth"};}; + class BAF_LRR_scoped_W {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {5000,"worth"};}; + //Tan Lapua // DayZ Mod version + class L115A3_DZ {type = "trade_weapons";buy[] = {10000,"worth"};sell[] = {5000,"worth"};}; + //Green Lapua // DayZ Mod version + class L115A3_2_DZ {type = "trade_weapons";buy[] = {10000,"worth"};sell[] = {5000,"worth"};}; + class MSR_DZ {type = "trade_weapons";buy[] = {10000,"worth"};sell[] = {5000,"worth"};}; + class MSR_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {5000,"worth"};}; + class Barrett_MRAD_Iron_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {5000,"worth"};}; + class Barrett_MRAD_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {5200,"worth"};}; + class Barrett_MRAD_Sniper_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {6000,"worth"};}; + class m107_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {6000,"worth"};}; + class Anzio_20_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {8000,"worth"};}; + class BAF_AS50_scoped_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {8000,"worth"};}; + class M200_CheyTac_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {8000,"worth"};}; + class KSVK_DZE {type = "trade_weapons";buy[] = {10000,"worth"};sell[] = {6000,"worth"};}; + class BAF_L85A2_RIS_TWS_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {8000,"worth"};}; +}; + +//Ammunition +class Category_9 { + class 30Rnd_556x45_StanagSD {type = "trade_items";buy[] = {40,"worth"};sell[] = {20,"worth"};}; + class 6Rnd_762x51_WA2000 {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class 20Rnd_762x51_B_SCAR {type = "trade_items";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class 20Rnd_762x51_SB_SCAR {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class 20Rnd_762x51_FNFAL {type = "trade_items";buy[] = {40,"worth"};sell[] = {20,"worth"};}; + class 20Rnd_762x51_DMR {type = "trade_items";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class 20Rnd_762x51_RSASS {type = "trade_items";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class 20Rnd_762x51_RSASS_SD {type = "trade_items";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class 5Rnd_762x67_XM2010 {type = "trade_items";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class 5Rnd_762x67_XM2010_SD {type = "trade_items";buy[] = {-1,"worth"};sell[] = {300,"worth"};}; + class 5Rnd_86x70_L115A1 {type = "trade_items";buy[] = {600,"worth"};sell[] = {200,"worth"};}; + class 7Rnd_86x70_MSR {type = "trade_items";buy[] = {700,"worth"};sell[] = {300,"worth"};}; + class 7Rnd_86x70_MSR_SD {type = "trade_items";buy[] = {-1,"worth"};sell[] = {300,"worth"};}; + class 10Rnd_86x70_MRAD {type = "trade_items";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class 10Rnd_127x99_M107 {type = "trade_items";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class 3rnd_Anzio_20x102mm {type = "trade_items";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class 5Rnd_127x99_AS50 {type = "trade_items";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class 5Rnd_127x99_as50_CP {type = "trade_items";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class 5Rnd_127x108_KSVK {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class 5Rnd_408_CheyTac {type = "trade_items";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class 200Rnd_556x45_M249 {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class 100Rnd_762x51_M240 {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class 100Rnd_762x54_PK {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; +}; + +//Clothes +class Category_10 { + class Skin_Bandit1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Bandit2_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_BanditW1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_BanditW2_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_GUE_Commander_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_GUE_Soldier_2_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_GUE_Soldier_CO_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_GUE_Soldier_Crew_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_GUE_Soldier_Sniper_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Ins_Soldier_GL_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_TK_INS_Soldier_EP1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_TK_INS_Warlord_EP1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_RU_Soldier_Crew_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_TK_INS_Soldier_AR_EP1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_TK_GUE_Soldier_EP1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_RU_Soldier_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_RU_Soldier_Officer_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_RUS_Soldier1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_RUS_Commander_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_MVD_Soldier_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Ins_Soldier_2_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Ins_Commander_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Ins_Soldier_Crew_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_CDF_Soldier_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + + //Hero Skins sell only + class Skin_CZ_Special_Forces_GL_DES_EP1_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_Drake_Light_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_Soldier_Sniper_PMC_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_FR_OHara_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_FR_Rodriguez_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_CZ_Soldier_Sniper_EP1_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_Graves_Light_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_Soldier_Bodyguard_AA12_PMC_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_Camo1_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_Rocket_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_Sniper1_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_Soldier1_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_Soldier_TL_PMC_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_USMC_Soldier_Officer_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_USMC_Soldier_MG_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_USMC_Soldier_Pilot_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_FR_TL_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_FR_R_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_FR_Sapper_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_FR_Marksman_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_FR_Assault_R_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_CZ_Soldier_SL_DES_EP1_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_US_Soldier_EP1_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_UN_CDF_Soldier_Guard_EP1_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_UN_CDF_Soldier_EP1_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_GER_Soldier_TL_EP1_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_BAF_Soldier_Officer_MTP_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_BAF_Soldier_N_MTP_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/BlackMarket.hpp b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/BlackMarket.hpp new file mode 100644 index 000000000..b1f6ce46e --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/BlackMarket.hpp @@ -0,0 +1,45 @@ +class Category_11 { + class MeleeBaseBallBat {type = "trade_weapons";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class MeleeBaseballbatBarbed {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {2,"worth"};}; + class MeleeBaseballbatNails {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {2,"worth"};}; + class Saiga12K_DZ {type = "trade_weapons";buy[] = {300,"worth"};sell[] = {100,"worth"};}; + class AA12_PMC {type = "trade_weapons";buy[] = {800,"worth"};sell[] = {500,"worth"};}; + class USAS12_DZ {type = "trade_weapons";buy[] = {700,"worth"};sell[] = {400,"worth"};}; + class revolver_gold_EP1 {type = "trade_weapons";buy[] = {5000,"worth"};sell[] = {2000,"worth"};}; + class Colt_Anaconda_Gold_DZ {type = "trade_weapons";buy[] = {9000,"worth"};sell[] = {5000,"worth"};}; + class SVD_Gold_DZ {type = "trade_weapons";buy[] = {10000,"worth"};sell[] = {5000,"worth"};}; + class AKS_GOLD {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {4000,"worth"};}; + class AKS_Gold_DZ {type = "trade_weapons";buy[] = {8000,"worth"};sell[] = {4000,"worth"};}; + class AKS_Silver_DZ {type = "trade_weapons";buy[] = {4000,"worth"};sell[] = {2000,"worth"};}; + class MAAWS {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {4000,"worth"};}; + class 8Rnd_B_Saiga12_74Slug {type = "trade_items";buy[] = {5,"worth"};sell[] = {3,"worth"};}; + class 8Rnd_B_Saiga12_Pellets {type = "trade_items";buy[] = {5,"worth"};sell[] = {3,"worth"};}; + class 20Rnd_B_Usas12_74Slug {type = "trade_items";buy[] = {8,"worth"};sell[] = {5,"worth"};}; + class 20Rnd_B_Usas12_Pellets {type = "trade_items";buy[] = {8,"worth"};sell[] = {5,"worth"};}; + class 20Rnd_B_AA12_Pellets {type = "trade_items";buy[] = {8,"worth"};sell[] = {5,"worth"};}; + class 20Rnd_B_AA12_74Slug {type = "trade_items";buy[] = {8,"worth"};sell[] = {5,"worth"};}; + class 1Rnd_Bolt_Explosive {type = "trade_items";buy[] = {4,"worth"};sell[] = {2,"worth"};}; + class HandGrenade_west {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class HandGrenade_east {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class 1Rnd_HE_M203 {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class 1Rnd_HE_GP25 {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class MAAWS_HEAT {type = "trade_items";buy[] = {-1,"worth"};sell[] = {2000,"worth"};}; + class PipeBomb {type = "trade_items";buy[] = {40000,"worth"};sell[] = {2000,"worth"};}; + class ItemHotwireKit {type = "trade_items";buy[] = {-1,"worth"};sell[] = {2000,"worth"};}; + class ItemC4Charge {type = "trade_items";buy[] = {-1,"worth"};sell[] = {2000,"worth"};}; + + //Vehicle Ammo + class 200Rnd_762x51_M240 {type = "trade_items";buy[] = {-1,"worth"};sell[] = {100,"worth"};}; + class pook_12Rnd_Grenade_Camel {type = "trade_items";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class pook_1300Rnd_762x51_M60 {type = "trade_items";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class 3Rnd_GyroGrenade {type = "trade_items";buy[] = {-1,"worth"};sell[] = {300,"worth"};}; + class 2000Rnd_762x51_M134 {type = "trade_items";buy[] = {-1,"worth"};sell[] = {2000,"worth"};}; + class 29Rnd_30mm_AGS30 {type = "trade_items";buy[] = {-1,"worth"};sell[] = {2000,"worth"};}; + class 50Rnd_127x107_DSHKM {type = "trade_items";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class 150Rnd_127x107_DSHKM {type = "trade_items";buy[] = {-1,"worth"};sell[] = {2000,"worth"};}; + class 48Rnd_40mm_MK19 {type = "trade_items";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class pook_250Rnd_762x51 {type = "trade_items";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class 100Rnd_127x99_M2 {type = "trade_items";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + // Weed Seeds + class ItemHempSeed {type = "trade_items";buy[] = {-1,"worth"};sell[] = {20,"worth"};}; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Boats.hpp b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Boats.hpp new file mode 100644 index 000000000..a0576cb45 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Boats.hpp @@ -0,0 +1,20 @@ +//Armed Boats +class Category_48 { + class RHIB_DZE {type = "trade_any_boat";buy[] = {4000,"worth"};sell[] = {2000,"worth"};}; + class RHIB_DZ {type = "trade_any_boat";buy[] = {-1,"worth"};sell[] = {2000,"worth"};}; + class RHIB2Turret_DZE {type = "trade_any_boat";buy[] = {8000,"worth"};sell[] = {4000,"worth"};}; + class RHIB2Turret_DZ {type = "trade_any_boat";buy[] = {-1,"worth"};sell[] = {4000,"worth"};}; +}; + +//Unarmed Boats +class Category_49 { + class Smallboat_1_DZE {type = "trade_any_boat";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class Smallboat_2_DZE {type = "trade_any_boat";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class Fishing_Boat_DZE {type = "trade_any_boat";buy[] = {4000,"worth"};sell[] = {2000,"worth"};}; + class PBX_DZE {type = "trade_any_boat";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class Zodiac_DZE {type = "trade_any_boat";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class JetSkiYanahui_Case_Red {type = "trade_any_boat";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class JetSkiYanahui_Case_Yellow {type = "trade_any_boat";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class JetSkiYanahui_Case_Green {type = "trade_any_boat";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class JetSkiYanahui_Case_Blue {type = "trade_any_boat";buy[] = {600,"worth"};sell[] = {300,"worth"};}; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Currency.hpp b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Currency.hpp new file mode 100644 index 000000000..f3218cd09 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Currency.hpp @@ -0,0 +1,237 @@ +class Category_51 { + class ItemSilverBar { + type = "trade_items"; + buy[] = {1,"worth"}; + sell[] = {1,"worth"}; + }; + class ItemSilverBar2oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {2,"worth"}; + }; + class ItemSilverBar3oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {3,"worth"}; + }; + class ItemSilverBar4oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {4,"worth"}; + }; + class ItemSilverBar5oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {5,"worth"}; + }; + class ItemSilverBar6oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {6,"worth"}; + }; + class ItemSilverBar7oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {7,"worth"}; + }; + class ItemSilverBar8oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {8,"worth"}; + }; + class ItemSilverBar9oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {9,"worth"}; + }; + class ItemSilverBar10oz { + type = "trade_items"; + buy[] = {10,"worth"}; + sell[] = {10,"worth"}; + }; + class ItemBriefcaseS10oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {10,"worth"}; + }; + class ItemBriefcaseS20oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {20,"worth"}; + }; + class ItemBriefcaseS30oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {30,"worth"}; + }; + class ItemBriefcaseS40oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {40,"worth"}; + }; + class ItemBriefcaseS50oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {50,"worth"}; + }; + class ItemBriefcaseS60oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {60,"worth"}; + }; + class ItemBriefcaseS70oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {70,"worth"}; + }; + class ItemBriefcaseS80oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {80,"worth"}; + }; + class ItemBriefcaseS90oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {90,"worth"}; + }; + class ItemBriefcaseS100oz { + type = "trade_items"; + buy[] = {100,"worth"}; + sell[] = {100,"worth"}; + }; + class ItemGoldBar { + type = "trade_items"; + buy[] = {100,"worth"}; + sell[] = {100,"worth"}; + }; + class ItemGoldBar2oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {200,"worth"}; + }; + class ItemGoldBar3oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {300,"worth"}; + }; + class ItemGoldBar4oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {400,"worth"}; + }; + class ItemGoldBar5oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {500,"worth"}; + }; + class ItemGoldBar6oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {600,"worth"}; + }; + class ItemGoldBar7oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {700,"worth"}; + }; + class ItemGoldBar8oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {800,"worth"}; + }; + class ItemGoldBar9oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {900,"worth"}; + }; + class ItemGoldBar10oz { + type = "trade_items"; + buy[] = {1000,"worth"}; + sell[] = {1000,"worth"}; + }; + class ItemBriefcase10oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {1000,"worth"}; + }; + class ItemBriefcase20oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {2000,"worth"}; + }; + class ItemBriefcase30oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {3000,"worth"}; + }; + class ItemBriefcase40oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {4000,"worth"}; + }; + class ItemBriefcase50oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {5000,"worth"}; + }; + class ItemBriefcase60oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {6000,"worth"}; + }; + class ItemBriefcase70oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {7000,"worth"}; + }; + class ItemBriefcase80oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {8000,"worth"}; + }; + class ItemBriefcase90oz { + type = "trade_items"; + buy[] = {-1,"worth"}; + sell[] = {9000,"worth"}; + }; + class ItemBriefcase100oz { + type = "trade_items"; + buy[] = {10000,"worth"}; + sell[] = {10000,"worth"}; + }; + class ItemTopaz { + type = "trade_items"; + buy[] = {15000,"worth"}; + sell[] = {15000,"worth"}; + }; + class ItemObsidian { + type = "trade_items"; + buy[] = {20000,"worth"}; + sell[] = {20000,"worth"}; + }; + class ItemSapphire { + type = "trade_items"; + buy[] = {25000,"worth"}; + sell[] = {25000,"worth"}; + }; + class ItemAmethyst { + type = "trade_items"; + buy[] = {30000,"worth"}; + sell[] = {30000,"worth"}; + }; + class ItemEmerald { + type = "trade_items"; + buy[] = {35000,"worth"}; + sell[] = {35000,"worth"}; + }; + class ItemCitrine { + type = "trade_items"; + buy[] = {40000,"worth"}; + sell[] = {40000,"worth"}; + }; + class ItemRuby { + type = "trade_items"; + buy[] = {45000,"worth"}; + sell[] = {45000,"worth"}; + }; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/GeneralStore.hpp b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/GeneralStore.hpp new file mode 100644 index 000000000..5671e692f --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/GeneralStore.hpp @@ -0,0 +1,236 @@ +//Packaged Food +class Category_27 { + class FoodCanBakedBeans {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCanFrankBeans {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCanPasta {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCanSardines {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCanBeef {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCanPotatoes {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCanGriff {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCanBadguy {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCanBoneboy {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCanCorn {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCanCurgon {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCanDemon {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCanFraggleos {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCanHerpy {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCanDerpy {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCanOrlok {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCanPowell {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCanTylers {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCanUnlabeled {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCanRusUnlabeled {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCanRusStew {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCanRusPork {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCanRusPeas {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCanRusMilk {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCanRusCorn {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodChipsSulahoops {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodChipsMysticales {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodChipsChocolate {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCandyChubby {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCandyAnders {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCandyLegacys {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCakeCremeCakeClean {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodCandyMintception {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodPistachio {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodNutmix {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class FoodMRE {type = "trade_items";buy[] = {-1,"worth"};sell[] = {5,"worth"};}; +}; + +//Cooked Meats +class Category_28 { + class FoodbaconCooked {type = "trade_items";buy[] = {4,"worth"};sell[] = {2,"worth"};}; + class FoodbeefCooked {type = "trade_items";buy[] = {4,"worth"};sell[] = {2,"worth"};}; + class FoodchickenCooked {type = "trade_items";buy[] = {4,"worth"};sell[] = {2,"worth"};}; + class FoodGoatCooked {type = "trade_items";buy[] = {4,"worth"};sell[] = {2,"worth"};}; + class FoodmuttonCooked {type = "trade_items";buy[] = {4,"worth"};sell[] = {2,"worth"};}; + class FoodrabbitCooked {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + // most common + class FishCookedTrout {type = "trade_items";buy[] = {200,"worth"};sell[] = {10,"worth"};}; + // less common + class FishCookedSeaBass {type = "trade_items";buy[] = {300,"worth"};sell[] = {20,"worth"};}; + // rarest + class FishCookedTuna {type = "trade_items";buy[] = {400,"worth"};sell[] = {100,"worth"};}; +}; + +//Drinks +class Category_29 { + class ItemWaterbottleUnfilled {type = "trade_items";buy[] = {3,"worth"};sell[] = {1,"worth"};}; + class ItemPlasticWaterbottleUnfilled {type = "trade_items";buy[] = {3,"worth"};sell[] = {1,"worth"};}; + class ItemSodaCoke {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class ItemSodaPepsi {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class ItemSodaMdew {type = "trade_items";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class ItemSodaMtngreen {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class ItemSodaR4z0r {type = "trade_items";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class ItemSodaClays {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class ItemSodaSmasht {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class ItemSodaDrwaste {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class ItemSodaFranka {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class ItemSodaLemonade {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class ItemSodaLirik {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class ItemSodaLvg {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class ItemSodaMzly {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class ItemSodaPeppsy {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class ItemSodaRabbit {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class ItemSodaSacrite {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class ItemSodaRocketFuel {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class ItemSodaGrapeDrink {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class ItemSherbet {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class ItemSodaRbull {type = "trade_items";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class ItemSodaOrangeSherbet {type = "trade_items";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class ItemWaterbottle {type = "trade_items";buy[] = {-1,"worth"};sell[] = {2,"worth"};}; + class ItemWaterBottleInfected {type = "trade_items";buy[] = {-1,"worth"};sell[] = {2,"worth"};}; + class ItemWaterBottleSafe {type = "trade_items";buy[] = {-1,"worth"};sell[] = {2,"worth"};}; + class ItemWaterBottleBoiled {type = "trade_items";buy[] = {-1,"worth"};sell[] = {3,"worth"};}; + class ItemWaterBottleHerbal {type = "trade_items";buy[] = {-1,"worth"};sell[] = {50,"worth"};}; + class ItemPlasticWaterbottle {type = "trade_items";buy[] = {-1,"worth"};sell[] = {2,"worth"};}; + class ItemPlasticWaterBottleInfected {type = "trade_items";buy[] = {-1,"worth"};sell[] = {2,"worth"};}; + class ItemPlasticWaterBottleSafe {type = "trade_items";buy[] = {-1,"worth"};sell[] = {2,"worth"};}; + class ItemPlasticWaterBottleBoiled {type = "trade_items";buy[] = {-1,"worth"};sell[] = {3,"worth"};}; + class ItemPlasticWaterBottleHerbal {type = "trade_items";buy[] = {-1,"worth"};sell[] = {50,"worth"};}; +}; + +//Clothes +class Category_30 { + class Skin_Rocker2_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_SurvivorW2_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Functionary1_EP1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Haris_Press_EP1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Priest_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_SurvivorWpink_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_SurvivorWurban_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_SurvivorWcombat_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_SurvivorWdesert_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Survivor2_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Rocker1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Rocker3_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_RU_Policeman_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_RU_Policeman2_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Pilot_EP1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Rocker4_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_SurvivorW3_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_INS_Lopotev_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Doctor_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Assistant_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Worker1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Worker3_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Worker4_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_TK_CIV_Takistani01_EP1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_TK_CIV_Takistani03_EP1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_TK_CIV_Takistani04_EP1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_TK_CIV_Takistani06_EP1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Firefighter1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Firefighter2_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Firefighter3_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Firefighter4_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Firefighter5_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Firefighter_Officer1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Firefighter_Officer2_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Postman1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Postman2_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Postman3_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Postman4_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Hunter_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Gardener_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_SchoolTeacher_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Civilian1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Civilian2_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Civilian3_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Civilian4_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Civilian5_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Civilian6_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Civilian7_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Civilian8_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Civilian9_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Civilian10_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Civilian11_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Civilian12_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Civilian13_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Civilian14_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Prisoner1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Prisoner2_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Prisoner3_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Reporter_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_MafiaBoss_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Dealer_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_BusinessMan_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; +}; + +//Backpacks +class Category_31 { + /* New Backpacks */ + class Patrol_Pack_DZE1 {type = "trade_backpacks";buy[] = {8,"worth"};sell[] = {4,"worth"};}; + class Czech_Vest_Pouch_DZE1 {type = "trade_backpacks";buy[] = {10,"worth"};sell[] = {5,"worth"};}; + class Assault_Pack_DZE1 {type = "trade_backpacks";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class TerminalPack_DZE1 {type = "trade_backpacks";buy[] = {40,"worth"};sell[] = {20,"worth"};}; + class TinyPack_DZE1 {type = "trade_backpacks";buy[] = {60,"worth"};sell[] = {30,"worth"};}; + class ALICE_Pack_DZE1 {type = "trade_backpacks";buy[] = {80,"worth"};sell[] = {40,"worth"};}; + class TK_Assault_Pack_DZE1 {type = "trade_backpacks";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class CompactPack_DZE1 {type = "trade_backpacks";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class British_ACU_DZE1 {type = "trade_backpacks";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class GunBag_DZE1 {type = "trade_backpacks";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class NightPack_DZE1 {type = "trade_backpacks";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class SurvivorPack_DZE1 {type = "trade_backpacks";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; + class CzechBackpack_DZE1 {type = "trade_backpacks";buy[] = {1200,"worth"};sell[] = {600,"worth"};}; + class CzechBackpack_OD_DZE1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class CzechBackpack_DES_DZE1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class CzechBackpack_3DES_DZE1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class CzechBackpack_WDL_DZE1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class CzechBackpack_MAR_DZE1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class CzechBackpack_DMAR_DZE1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class CzechBackpack_UCP_DZE1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class CzechBackpack_6DES_DZE1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class CzechBackpack_TAK_DZE1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class CzechBackpack_NVG_DZE1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class CzechBackpack_BLK_DZE1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class CzechBackpack_DPM_DZE1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class CzechBackpack_FIN_DZE1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class CzechBackpack_MTC_DZE1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class CzechBackpack_NOR_DZE1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class CzechBackpack_WIN_DZE1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class CzechBackpack_ATC_DZE1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class CzechBackpack_MTL_DZE1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class CzechBackpack_FTN_DZE1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class WandererBackpack_DZE1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class LegendBackpack_DZE1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class CoyoteBackpack_DZE1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {900,"worth"};}; + class CoyoteBackpackDes_DZE1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {900,"worth"};}; + class CoyoteBackpackWdl_DZE1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {900,"worth"};}; + class LargeGunBag_DZE1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + /* Old Backpacks - sell only */ + class DZ_Czech_Vest_Pouch {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {2,"worth"};}; + class DZ_Patrol_Pack_EP1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {4,"worth"};}; + class DZ_Assault_Pack_EP1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {5,"worth"};}; + class DZ_TerminalPack_EP1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {10,"worth"};}; + class DZ_ALICE_Pack_EP1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {30,"worth"};}; + class DZ_TK_Assault_Pack_EP1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {40,"worth"};}; + class DZ_CompactPack_EP1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {50,"worth"};}; + class DZ_British_ACU {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {200,"worth"};}; + class DZ_GunBag_EP1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {300,"worth"};}; + class DZ_CivilBackpack_EP1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class DZ_Backpack_EP1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class DZ_LargeGunBag_EP1 {type = "trade_backpacks";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; +}; + +//Miscellaneous +class Category_32 { + class ItemKosmosSmokes {type = "trade_items";buy[] = {40,"worth"};sell[] = {20,"worth"};}; + class ItemKosmosSmokesOpen {type = "trade_items";buy[] = {-1,"worth"};sell[] = {10,"worth"};}; + class ItemNewspaper {type = "trade_items";buy[] = {-1,"worth"};sell[] = {1,"worth"};}; + class ItemBookBible {type = "trade_items";buy[] = {10,"worth"};sell[] = {5,"worth"};}; + class ItemBook1 {type = "trade_items";buy[] = {-1,"worth"};sell[] = {5,"worth"};}; + class ItemBook2 {type = "trade_items";buy[] = {-1,"worth"};sell[] = {5,"worth"};}; + class ItemBook3 {type = "trade_items";buy[] = {-1,"worth"};sell[] = {5,"worth"};}; + class ItemBook4 {type = "trade_items";buy[] = {-1,"worth"};sell[] = {5,"worth"};}; + class ItemTrashPaperMusic {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class ItemTrashPaper {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class ItemLetter {type = "trade_items";buy[] = {-1,"worth"};sell[] = {50,"worth"};}; + class ItemCards {type = "trade_items";buy[] = {4,"worth"};sell[] = {2,"worth"};}; + class ItemORP {type = "trade_items";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class ItemARM {type = "trade_items";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class ItemAVE {type = "trade_items";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class ItemLRK {type = "trade_items";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class ItemTNK {type = "trade_items";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class ItemPlotDeed {type = "trade_items";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Hero.hpp b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Hero.hpp new file mode 100644 index 000000000..843a1318e --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Hero.hpp @@ -0,0 +1,271 @@ +//Air Vehicles +class Category_1 { + class pook_transport_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class pook_transport_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class pook_transport_CDF_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class pook_transport_CDF_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class pook_gunship_DZE {type = "trade_any_vehicle";buy[] = {40000,"worth"};sell[] = {10000,"worth"};}; + class pook_gunship_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class pook_gunship_CDF_DZE {type = "trade_any_vehicle";buy[] = {40000,"worth"};sell[] = {10000,"worth"};}; + class pook_gunship_CDF_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class AH6J_EP1_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class AH6J_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class UH1H_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class UH1H_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class UH1H_CDF_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class UH1H_CDF_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class UH1H_WD_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class UH1H_WD_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class UH1H_2_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class UH1H_2_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class UH1H_DES_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class UH1H_DES_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class UH1H_GREY_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class UH1H_GREY_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class UH1H_BLACK_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class UH1H_BLACK_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class UH1H_SAR_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class UH1H_SAR_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class Mi17_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class Mi17_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class Mi17_TK_EP1_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class Mi17_TK_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class Mi17_UN_CDF_EP1_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class Mi17_UN_CDF_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class Mi17_CDF_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class Mi17_CDF_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class Mi17_DES_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class Mi17_DES_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class Mi17_GREEN_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class Mi17_GREEN_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class Mi17_BLUE_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class Mi17_BLUE_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class Mi17_BLACK_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class Mi17_BLACK_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class Mi171Sh_CZ_EP1_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class Mi171Sh_CZ_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class MH60S_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class MH60S_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class Ka60_GL_PMC_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class Ka60_GL_PMC_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class AW159_Lynx_BAF_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class AW159_Lynx_BAF_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class UH60M_EP1_DZE {type = "trade_any_vehicle";buy[] = {30000,"worth"};sell[] = {10000,"worth"};}; + class UH60M_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class UH1Y_DZE {type = "trade_any_vehicle";buy[] = {30000,"worth"};sell[] = {10000,"worth"};}; + class UH1Y_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class CH_47F_EP1_DZE {type = "trade_any_vehicle";buy[] = {40000,"worth"};sell[] = {20000,"worth"};}; + class CH_47F_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {20000,"worth"};}; + class CH_47F_EP1_Black_DZE {type = "trade_any_vehicle";buy[] = {40000,"worth"};sell[] = {20000,"worth"};}; + class CH_47F_EP1_Black_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {20000,"worth"};}; + class CH_47F_EP1_GREY_DZE {type = "trade_any_vehicle";buy[] = {40000,"worth"};sell[] = {20000,"worth"};}; + class CH_47F_EP1_GREY_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {20000,"worth"};}; + class CH_47F_EP1_DES_DZE {type = "trade_any_vehicle";buy[] = {40000,"worth"};sell[] = {20000,"worth"};}; + class CH_47F_EP1_DES_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {20000,"worth"};}; +}; + +//Ground Vehicles +class Category_2 { + class Pickup_PK_TK_GUE_EP1_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class Pickup_PK_TK_GUE_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class Pickup_PK_GUE_DZE {type = "trade_any_vehicle";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; + class Pickup_PK_GUE_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class Pickup_PK_INS_DZE {type = "trade_any_vehicle";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; + class Pickup_PK_INS_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class Offroad_DSHKM_Gue_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class Offroad_DSHKM_Gue_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class ArmoredSUV_PMC_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class ArmoredSUV_PMC_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class LandRover_MG_TK_EP1_DZE {type = "trade_any_vehicle";buy[] = {6000,"worth"};sell[] = {3000,"worth"};}; + class LandRover_MG_TK_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {3000,"worth"};}; + class LandRover_Special_CZ_EP1_DZE {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {5000,"worth"};}; + class LandRover_Special_CZ_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {5000,"worth"};}; + class UAZ_MG_TK_EP1_DZE {type = "trade_any_vehicle";buy[] = {6000,"worth"};sell[] = {3000,"worth"};}; + class UAZ_MG_TK_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {3000,"worth"};}; + class BAF_Jackal2_L2A1_D_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class BAF_Jackal2_L2A1_D_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class BAF_Jackal2_L2A1_W_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class BAF_Jackal2_L2A1_W_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class BAF_Jackal2_GMG_D_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class BAF_Jackal2_GMG_D_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class BAF_Jackal2_GMG_W_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class BAF_Jackal2_GMG_W_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class BTR40_MG_TK_GUE_EP1_DZE {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {5000,"worth"};}; + class BTR40_MG_TK_GUE_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {5000,"worth"};}; + class BTR40_MG_TK_INS_EP1_DZE {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {5000,"worth"};}; + class BTR40_MG_TK_INS_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {5000,"worth"};}; + class GAZ_Vodnik_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class GAZ_Vodnik_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class BRDM2_HQ_TK_GUE_EP1_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class BRDM2_HQ_TK_GUE_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class HMMWV_Armored_DZE {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {5000,"worth"};}; + class HMMWV_Armored_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {5000,"worth"};}; + class HMMWV_M2_DZE {type = "trade_any_vehicle";buy[] = {20000,"worth"};sell[] = {10000,"worth"};}; + class HMMWV_M2_DZ_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class HMMWV_M998A2_SOV_DES_EP1_DZE {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {5000,"worth"};}; + class HMMWV_M998A2_SOV_DES_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {5000,"worth"};}; + class HMMWV_M1151_M2_CZ_DES_EP1_DZE {type = "trade_any_vehicle";buy[] = {40000,"worth"};sell[] = {10000,"worth"};}; + class HMMWV_M1151_M2_CZ_DES_EP1_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {10000,"worth"};}; + class T810A_PKT_ACR_DZE {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {5000,"worth"};}; + class T810A_PKT_ACR_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {5000,"worth"};}; + class T810A_PKT_DES_ACR_DZE {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {5000,"worth"};}; + class T810A_PKT_DES_ACR_DZ {type = "trade_any_vehicle";buy[] = {-1,"worth"};sell[] = {5000,"worth"};}; +}; + +//Weapons +class Category_3 { + //Holo SD desert camo + class G36C_Camo_Holo_SD_DZ {type = "trade_weapons";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; + class G36A_Camo_DZ {type = "trade_weapons";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class G36A_Camo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class G36K_Camo_DZ {type = "trade_weapons";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class G36K_Camo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + //CCO green camo + class M4A1_Camo_CCO_DZ {type = "trade_weapons";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class M4A1_Camo_CCO_SD_DZ {type = "trade_weapons";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; + //GL Holo Green Camo + class M4A1_Camo_Holo_GL_DZ {type = "trade_weapons";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class M4A1_Camo_Holo_GL_SD_DZ {type = "trade_weapons";buy[] = {1200,"worth"};sell[] = {600,"worth"};}; + //CCO FL Desert Camo + class M4A3_DES_CCO_DZ {type = "trade_weapons";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + //Camo + class M4A3_Camo_DZ {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + //ACOG Camo + class M4A3_Camo_ACOG_DZ {type = "trade_weapons";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + //ACOG GL Grey + class M4A3_ACOG_GL_DZ {type = "trade_weapons";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; + class FNFAL_ANPVS4_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + // FN_FAL_ANPVS4_DZE has toggleable night vision, attachment support + class FN_FAL_ANPVS4_DZE {type = "trade_weapons";buy[] = {3000,"worth"};sell[] = {1000,"worth"};}; + class Mk43_DZ {type = "trade_weapons";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class MK43_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class MK43_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class M240_DZ {type = "trade_weapons";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class M240_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class M240_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class Mk48_DZ {type = "trade_weapons";buy[] = {3000,"worth"};sell[] = {1000,"worth"};}; + class Mk48_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class Mk48_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class Mk48_DES_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class M249_m145_EP1_DZE {type = "trade_weapons";buy[] = {5000,"worth"};sell[] = {2000,"worth"};}; + class MK43_M145_DZ {type = "trade_weapons";buy[] = {5000,"worth"};sell[] = {2000,"worth"};}; + class m240_scoped_EP1_DZE {type = "trade_weapons";buy[] = {5000,"worth"};sell[] = {2000,"worth"};}; + class Pecheneg_DZ {type = "trade_weapons";buy[] = {5000,"worth"};sell[] = {2000,"worth"};}; + class WA2000_DZ {type = "trade_weapons";buy[] = {4000,"worth"};sell[] = {2000,"worth"};}; + class MK17_Sniper_DZ {type = "trade_weapons";buy[] = {6000,"worth"};sell[] = {3000,"worth"};}; + class MK17_Sniper_SD_DZ {type = "trade_weapons";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class M110_NV_DZ {type = "trade_weapons";buy[] = {7000,"worth"};sell[] = {4000,"worth"};}; + class RSASS_DZ {type = "trade_weapons";buy[] = {6000,"worth"};sell[] = {3000,"worth"};}; + class RSASS_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {3000,"worth"};}; + class HK417_Sniper_DZ {type = "trade_weapons";buy[] = {6000,"worth"};sell[] = {3000,"worth"};}; + class HK417_Sniper_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {3000,"worth"};}; + class MK14_Sniper_DZ {type = "trade_weapons";buy[] = {6000,"worth"};sell[] = {3000,"worth"};}; + class MK14_Sniper_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {3000,"worth"};}; + class DMR_DZ {type = "trade_weapons";buy[] = {6000,"worth"};sell[] = {3000,"worth"};}; + class DMR_Gh_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {3100,"worth"};}; + class M21_DZ {type = "trade_weapons";buy[] = {5000,"worth"};sell[] = {3000,"worth"};}; + class XM2010_DZ {type = "trade_weapons";buy[] = {8000,"worth"};sell[] = {4000,"worth"};}; + class XM2010_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {5000,"worth"};}; + class BAF_LRR_scoped {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {5000,"worth"};}; + class BAF_LRR_scoped_W {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {5000,"worth"};}; + //Tan Lapua // DayZ Mod version + class L115A3_DZ {type = "trade_weapons";buy[] = {10000,"worth"};sell[] = {5000,"worth"};}; + //Green Lapua // DayZ Mod version + class L115A3_2_DZ {type = "trade_weapons";buy[] = {10000,"worth"};sell[] = {5000,"worth"};}; + class MSR_DZ {type = "trade_weapons";buy[] = {10000,"worth"};sell[] = {5000,"worth"};}; + class MSR_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {5000,"worth"};}; + class Barrett_MRAD_Iron_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {5000,"worth"};}; + class Barrett_MRAD_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {5200,"worth"};}; + class Barrett_MRAD_Sniper_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {6000,"worth"};}; + class m107_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {6000,"worth"};}; + class Anzio_20_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {8000,"worth"};}; + class BAF_AS50_scoped_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {8000,"worth"};}; + class M200_CheyTac_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {8000,"worth"};}; + class KSVK_DZE {type = "trade_weapons";buy[] = {10000,"worth"};sell[] = {6000,"worth"};}; + class BAF_L85A2_RIS_TWS_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {8000,"worth"};}; +}; + +//Ammunition +class Category_4 { + class 30Rnd_556x45_StanagSD {type = "trade_items";buy[] = {40,"worth"};sell[] = {20,"worth"};}; + class 6Rnd_762x51_WA2000 {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class 20Rnd_762x51_B_SCAR {type = "trade_items";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class 20Rnd_762x51_SB_SCAR {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class 20Rnd_762x51_FNFAL {type = "trade_items";buy[] = {40,"worth"};sell[] = {20,"worth"};}; + class 20Rnd_762x51_DMR {type = "trade_items";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class 20Rnd_762x51_RSASS {type = "trade_items";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class 20Rnd_762x51_RSASS_SD {type = "trade_items";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class 5Rnd_762x67_XM2010 {type = "trade_items";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class 5Rnd_762x67_XM2010_SD {type = "trade_items";buy[] = {-1,"worth"};sell[] = {300,"worth"};}; + class 5Rnd_86x70_L115A1 {type = "trade_items";buy[] = {600,"worth"};sell[] = {200,"worth"};}; + class 7Rnd_86x70_MSR {type = "trade_items";buy[] = {700,"worth"};sell[] = {300,"worth"};}; + class 7Rnd_86x70_MSR_SD {type = "trade_items";buy[] = {-1,"worth"};sell[] = {300,"worth"};}; + class 10Rnd_86x70_MRAD {type = "trade_items";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class 10Rnd_127x99_M107 {type = "trade_items";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class 3rnd_Anzio_20x102mm {type = "trade_items";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class 5Rnd_127x99_AS50 {type = "trade_items";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class 5Rnd_127x99_as50_CP {type = "trade_items";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class 5Rnd_127x108_KSVK {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class 5Rnd_408_CheyTac {type = "trade_items";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class 200Rnd_556x45_M249 {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class 100Rnd_762x51_M240 {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class 100Rnd_762x54_PK {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; +}; + +//Clothes +class Category_5 { + class Skin_CZ_Special_Forces_GL_DES_EP1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Drake_Light_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Soldier_Sniper_PMC_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_FR_OHara_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_FR_Rodriguez_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_CZ_Soldier_Sniper_EP1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Graves_Light_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Soldier_Bodyguard_AA12_PMC_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Camo1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Rocket_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Sniper1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Soldier1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_Soldier_TL_PMC_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_USMC_Soldier_Officer_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_USMC_Soldier_MG_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_USMC_Soldier_Pilot_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_FR_TL_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_FR_R_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_FR_Sapper_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_FR_Marksman_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_FR_Assault_R_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_CZ_Soldier_SL_DES_EP1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_US_Soldier_EP1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_UN_CDF_Soldier_Guard_EP1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_UN_CDF_Soldier_EP1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_GER_Soldier_TL_EP1_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_BAF_Soldier_Officer_MTP_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skin_BAF_Soldier_N_MTP_DZ {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + + //Bandit Skins sell only + class Skin_Bandit1_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_Bandit2_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_BanditW1_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_BanditW2_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_GUE_Commander_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_GUE_Soldier_2_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_GUE_Soldier_CO_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_GUE_Soldier_Crew_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_GUE_Soldier_Sniper_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_Ins_Soldier_GL_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_TK_INS_Soldier_EP1_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_TK_INS_Warlord_EP1_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_RU_Soldier_Crew_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_TK_INS_Soldier_AR_EP1_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_TK_GUE_Soldier_EP1_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_RU_Soldier_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_RU_Soldier_Officer_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_RUS_Soldier1_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_RUS_Commander_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_MVD_Soldier_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_Ins_Soldier_2_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_Ins_Commander_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_Ins_Soldier_Crew_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; + class Skin_CDF_Soldier_DZ {type = "trade_items";buy[] = {-1,"worth"};sell[] = {70,"worth"};}; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/MedicalSupplies.hpp b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/MedicalSupplies.hpp new file mode 100644 index 000000000..e1d3f8aae --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/MedicalSupplies.hpp @@ -0,0 +1,29 @@ +class Category_33 { + class ItemAntibiotic {type = "trade_items";buy[] = {400,"worth"};sell[] = {100,"worth"};}; + class ItemBandage {type = "trade_items";buy[] = {10,"worth"};sell[] = {5,"worth"};}; + class ItemSepsisBandage {type = "trade_items";buy[] = {-1,"worth"};sell[] = {20,"worth"};}; + class ItemAntibacterialWipe {type = "trade_items";buy[] = {10,"worth"};sell[] = {5,"worth"};}; + // bloodBagONEG is automatically swapped with ItemBloodbag if dayz_classicBloodBagSystem = true; Other typed bags and bloodTester are ignored. + class bloodBagONEG {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class bloodBagANEG {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class bloodBagAPOS {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class bloodBagBNEG {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class bloodBagBPOS {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class bloodBagABNEG {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class bloodBagABPOS {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class bloodBagOPOS {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class bloodTester {type = "trade_items";buy[] = {10,"worth"};sell[] = {5,"worth"};}; + class transfusionKit {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class emptyBloodBag {type = "trade_items";buy[] = {10,"worth"};sell[] = {5,"worth"};}; + class ItemEpinephrine {type = "trade_items";buy[] = {10,"worth"};sell[] = {5,"worth"};}; + class ItemHeatPack {type = "trade_items";buy[] = {10,"worth"};sell[] = {5,"worth"};}; + class ItemMorphine {type = "trade_items";buy[] = {10,"worth"};sell[] = {5,"worth"};}; + class equip_woodensplint {type = "trade_items";buy[] = {-1,"worth"};sell[] = {5,"worth"};}; + class ItemPainkiller {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class equip_gauze {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class equip_gauzepackaged {type = "trade_items";buy[] = {4,"worth"};sell[] = {2,"worth"};}; + class equip_rag {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class equip_string {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class equip_herb_box {type = "trade_items";buy[] = {-1,"worth"};sell[] = {5,"worth"};}; + class ItemKiloHemp {type = "trade_items";buy[] = {-1,"worth"};sell[] = {100,"worth"};}; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Parts.hpp b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Parts.hpp new file mode 100644 index 000000000..2acab0c29 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Parts.hpp @@ -0,0 +1,87 @@ +//Tools +class Category_34 { + class ItemWatch {type = "trade_weapons";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class ItemCompass {type = "trade_weapons";buy[] = {6,"worth"};sell[] = {3,"worth"};}; + class ItemMap {type = "trade_weapons";buy[] = {6,"worth"};sell[] = {3,"worth"};}; + class ItemGPS {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {100,"worth"};}; + class ItemRadio {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {100,"worth"};}; + class Binocular {type = "trade_weapons";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class Binocular_Vector {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {100,"worth"};}; + class NVGoggles {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {100,"worth"};}; + class NVGoggles_DZE {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {300,"worth"};}; + class ItemFlashlight {type = "trade_weapons";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class MeleeFlashlight {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1,"worth"};}; + class ItemFlashlightRed {type = "trade_weapons";buy[] = {10,"worth"};sell[] = {5,"worth"};}; + class MeleeFlashlightRed {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {5,"worth"};}; + class ItemMatchbox {type = "trade_weapons";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class ItemEtool {type = "trade_weapons";buy[] = {90,"worth"};sell[] = {60,"worth"};}; + class ItemShovel {type = "trade_weapons";buy[] = {90,"worth"};sell[] = {60,"worth"};}; + class ItemHatchet {type = "trade_weapons";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class MeleeHatchet {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1,"worth"};}; + class ItemKnife {type = "trade_weapons";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class ItemToolbox {type = "trade_weapons";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class ItemCrowbar {type = "trade_weapons";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class MeleeCrowbar {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1,"worth"};}; + class ItemMachete {type = "trade_weapons";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class MeleeMachete {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1,"worth"};}; + class ItemFishingPole {type = "trade_weapons";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class MeleeFishingPole {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {10,"worth"};}; + class ItemPickaxe {type = "trade_weapons";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class ItemSledge {type = "trade_weapons";buy[] = {80,"worth"};sell[] = {40,"worth"};}; + class MeleeSledge {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {40,"worth"};}; + class ItemKeyKit {type = "trade_weapons";buy[] = {100,"worth"};sell[] = {100,"worth"};}; + class ChainSaw {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {100,"worth"};}; + class ChainSawB {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {100,"worth"};}; + class ChainSawG {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {100,"worth"};}; + class ChainSawP {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {100,"worth"};}; + class ChainSawR {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {100,"worth"};}; +}; + +//Building Supplies +class Category_35 { + class TrapBear {type = "trade_items";buy[] = {-1,"worth"};sell[] = {60,"worth"};}; + class equip_tent_poles {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class ItemDesertTent {type = "trade_items";buy[] = {60,"worth"};sell[] = {30,"worth"};}; + class ItemDomeTent {type = "trade_items";buy[] = {60,"worth"};sell[] = {30,"worth"};}; + class ItemTent {type = "trade_items";buy[] = {40,"worth"};sell[] = {20,"worth"};}; + class ItemLightBulb {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class ItemGenerator {type = "trade_items";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class equip_brick {type = "trade_items";buy[] = {4,"worth"};sell[] = {2,"worth"};}; + class equip_duct_tape {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class equip_rope {type = "trade_items";buy[] = {4,"worth"};sell[] = {2,"worth"};}; + class equip_hose {type = "trade_items";buy[] = {6,"worth"};sell[] = {3,"worth"};}; + class equip_lever {type = "trade_items";buy[] = {6,"worth"};sell[] = {3,"worth"};}; + class equip_nails {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class ItemScrews {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class equip_scrapelectronics {type = "trade_items";buy[] = {-1,"worth"};sell[] = {200,"worth"};}; + class equip_floppywire {type = "trade_items";buy[] = {-1,"worth"};sell[] = {200,"worth"};}; + class equip_metal_sheet {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class equip_1inch_metal_pipe {type = "trade_items";buy[] = {6,"worth"};sell[] = {3,"worth"};}; + class equip_2inch_metal_pipe {type = "trade_items";buy[] = {8,"worth"};sell[] = {4,"worth"};}; + class ItemWire {type = "trade_items";buy[] = {6,"worth"};sell[] = {3,"worth"};}; + class ItemSandbag {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class ItemTankTrap {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class ItemPole {type = "trade_items";buy[] = {10,"worth"};sell[] = {5,"worth"};}; + class ItemMetalSheet {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class ItemCorrugated {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class plot_pole_kit {type = "trade_items";buy[] = {6000,"worth"};sell[] = {6000,"worth"};}; + class ItemComboLock {type = "trade_items";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class ItemLockbox {type = "trade_items";buy[] = {-100,"worth"};sell[] = {4000,"worth"};}; + class ItemVault {type = "trade_items";buy[] = {10000,"worth"};sell[] = {10000,"worth"};}; + class ItemMixOil {type = "trade_items";buy[] = {8,"worth"};sell[] = {4,"worth"};}; +}; + +//Vehicle Parts +class Category_36 { + class PartGeneric {type = "trade_items";buy[] = {200,"worth"};sell[] = {6,"worth"};}; + class PartWheel {type = "trade_items";buy[] = {200,"worth"};sell[] = {2,"worth"};}; + class PartGlass {type = "trade_items";buy[] = {100,"worth"};sell[] = {1,"worth"};}; + class PartEngine {type = "trade_items";buy[] = {500,"worth"};sell[] = {10,"worth"};}; + class PartVRotor {type = "trade_items";buy[] = {500,"worth"};sell[] = {10,"worth"};}; + class PartFueltank {type = "trade_items";buy[] = {200,"worth"};sell[] = {5,"worth"};}; + class ItemFuelcan {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; + class ItemFuelcanEmpty {type = "trade_items";buy[] = {1,"worth"};sell[] = {1,"worth"};}; + class ItemJerrycan {type = "trade_items";buy[] = {4,"worth"};sell[] = {2,"worth"};}; + class ItemJerrycanEmpty {type = "trade_items";buy[] = {2,"worth"};sell[] = {1,"worth"};}; +}; + diff --git a/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Vehicles.hpp b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Vehicles.hpp new file mode 100644 index 000000000..dbe0ec910 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Vehicles.hpp @@ -0,0 +1,157 @@ +//Bikes/ATV +class Category_37 { + class MMT_Civ_DZE {type = "trade_any_bicycle";buy[] = {4,"worth"};sell[] = {2,"worth"};}; + class Old_bike_TK_CIV_EP1_DZE {type = "trade_any_bicycle";buy[] = {4,"worth"};sell[] = {2,"worth"};}; + class Old_moto_TK_Civ_EP1_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class M1030_US_DES_EP1_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class TT650_Civ_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class TT650_Ins_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class TT650_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class ATV_CZ_EP1_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class ATV_CIV_CP_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class ATV_CIV_Grey_CP_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class ATV_CIV_Red_CP_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class ATV_CIV_Green_CP_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class BAF_ATV_W_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class ATV_CIV_Blue_CP_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class ATV_CIV_Yellow_CP_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class ATV_CIV_Purple_CP_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class ATV_CIV_Black_CP_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; +}; + +//Cars +class Category_38 { + class Octavia_ACR_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Skoda_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class SkodaBlue_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class SkodaGreen_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class SkodaRed_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class VolhaLimo_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Volha_1_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Volha_2_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class VWGolf_DZE {type = "trade_any_vehicle";buy[] = {300,"worth"};sell[] = {200,"worth"};}; + class car_hatchback_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class car_hatchback_red_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class car_sedan_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class GLT_M300_ST_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class GLT_M300_LT_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Lada1_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Lada1_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Lada2_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Lada2_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class LadaLM_DZE {type = "trade_any_vehicle";buy[] = {300,"worth"};sell[] = {200,"worth"};}; +}; + +//Pick-ups +class Category_39 { + class datsun1_civil_3_open_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class datsun1_civil_1_open_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class datsun1_green_open_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class datsun1_civil_2_covered_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class datsun1_red_covered_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class hilux1_civil_1_open_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class hilux1_civil_3_open_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class hilux1_civil_2_covered_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};}; +}; + +//UAZs +class Category_40 { + class UAZ_CDF_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class UAZ_INS_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class UAZ_RU_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class UAZ_Unarmed_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class UAZ_Unarmed_TK_EP1_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class UAZ_Unarmed_UN_EP1_DZE {type = "trade_any_vehicle";buy[] = {800,"worth"};sell[] = {400,"worth"};}; +}; + +//SUVs +class Category_41 { + class SUV_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {500,"worth"};}; + class SUV_Blue {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {500,"worth"};}; + class SUV_Charcoal {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {500,"worth"};}; + class SUV_Green {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {500,"worth"};}; + class SUV_Orange {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {500,"worth"};}; + class SUV_Pink {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {500,"worth"};}; + class SUV_Red {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {500,"worth"};}; + class SUV_Silver {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {500,"worth"};}; + class SUV_White {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {500,"worth"};}; + class SUV_Yellow {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {500,"worth"};}; + class SUV_Camo {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; +}; + +//Cargo Trucks +class Category_42 { + class Ural_INS_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class Ural_CDF_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class UralOpen_CDF_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class Ural_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class Ural_UN_EP1_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class UralCivil_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class UralCivil2_DZE {type = "trade_any_vehicle";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; + class UralSupply_TK_EP1_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class UralReammo_CDF_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class UralRepair_CDF_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class V3S_Open_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class V3S_Open_TK_EP1_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class V3S_Civ_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class V3S_RA_TK_GUE_EP1_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class V3S_TK_EP1_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class Kamaz_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class KamazOpen_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class KamazRepair_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class KamazReammo_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class MTVR_DES_EP1_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class MTVR_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class MtvrRepair_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class MtvrReammo_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class T810A_ACR_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class T810A_ACR_DES_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class T810A_ACR_OPEN_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class T810A_ACR_DES_OPEN_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class T810_ACR_REAMMO_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class T810_ACR_REAMMO_DES_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class T810_ACR_REPAIR_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class T810_ACR_REPAIR_DES_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; +}; + +//Fuel Trucks +class Category_43 { + class UralRefuel_TK_EP1_DZ {type = "trade_any_vehicle";buy[] = {7000,"worth"};sell[] = {3000,"worth"};}; + class V3S_Refuel_TK_GUE_EP1_DZ {type = "trade_any_vehicle";buy[] = {7000,"worth"};sell[] = {3000,"worth"};}; + class KamazRefuel_DZ {type = "trade_any_vehicle";buy[] = {7000,"worth"};sell[] = {3000,"worth"};}; + class MtvrRefuel_DES_EP1_DZ {type = "trade_any_vehicle";buy[] = {7000,"worth"};sell[] = {3000,"worth"};}; + class MtvrRefuel_DZ {type = "trade_any_vehicle";buy[] = {7000,"worth"};sell[] = {3000,"worth"};}; + class T810A_ACR_REFUEL_DZE {type = "trade_any_vehicle";buy[] = {7000,"worth"};sell[] = {3000,"worth"};}; + class T810A_ACR_REFUEL_DES_DZE {type = "trade_any_vehicle";buy[] = {7000,"worth"};sell[] = {3000,"worth"};}; +}; + +//Military Unarmed +class Category_44 { + class LandRover_CZ_EP1_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class LandRover_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class LandRover_ACR_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class BAF_Offroad_D_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class BAF_Offroad_W_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class LandRover_Ambulance_ACR_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class LandRover_Ambulance_Des_ACR_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class BTR40_TK_INS_EP1_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};}; + class BTR40_TK_GUE_EP1_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};}; + class GAZ_Vodnik_MedEvac_DZE {type = "trade_any_vehicle";buy[] = {10000,"worth"};sell[] = {5000,"worth"};}; + class HMMWV_M1035_DES_EP1_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};}; + class HMMWV_Ambulance_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};}; + class HMMWV_Ambulance_CZ_DES_EP1_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};}; + class HMMWV_DES_EP1_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};}; + class HMMWV_DZ {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};}; + class Hummer_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};}; +}; + +//Miscellaneous +class Category_45 { + class Ikarus_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class Ikarus_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class Ikarus_White_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class S1203_TK_CIV_EP1_DZE {type = "trade_any_vehicle";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class S1203_ambulance_EP1_DZE {type = "trade_any_vehicle";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class tractor_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class TractorOld_DZE {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Weapons.hpp b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Weapons.hpp new file mode 100644 index 000000000..e13fdc8c1 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Weapons.hpp @@ -0,0 +1,694 @@ +//Attachments +class Category_12 { + class Attachment_BELT {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class Attachment_SA58RIS {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class Attachment_Ghillie {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Attachment_Ghillie_Desert {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Attachment_FL_Pist {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Attachment_MFL_Pist {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class Attachment_FL {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Attachment_MFL {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class Attachment_CCO {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class Attachment_Holo {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class Attachment_Kobra {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class Attachment_SCOPED {type = "trade_items";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class Attachment_ACOG {type = "trade_items";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class Attachment_ANPVS4 {type = "trade_items";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; + class Attachment_Tws {type = "trade_items";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class Attachment_PSO1 {type = "trade_items";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class Attachment_NSPU {type = "trade_items";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class Attachment_Sup9 {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class Attachment_Sup10 {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class Attachment_Sup45 {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class Attachment_Sup545 {type = "trade_items";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class Attachment_Sup556 {type = "trade_items";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class Attachment_Sup762 {type = "trade_items";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; + class Attachment_Sup68 {type = "trade_items";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class Attachment_Sup939 {type = "trade_items";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class Attachment_Sup57 {type = "trade_items";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class Attachment_GP25 {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class Attachment_M203 {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};}; +}; + +//Pistols +class Category_13 { + class Revolver_DZ {type = "trade_weapons";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class Colt_Revolver_DZ {type = "trade_weapons";buy[] = {40,"worth"};sell[] = {20,"worth"};}; + class Colt_Anaconda_DZ {type = "trade_weapons";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class Colt_Bull_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class Colt_Python_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {2000,"worth"};}; + class DesertEagle_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {2000,"worth"};}; + class M1911_DZ {type = "trade_weapons";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class M1911_2_DZ {type = "trade_weapons";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class Kimber_M1911_DZ {type = "trade_weapons";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class Kimber_M1911_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {250,"worth"};}; + class USP_DZ {type = "trade_weapons";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class USP_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {300,"worth"};}; + class PPK_DZ {type = "trade_weapons";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class Tokarew_TT33_DZ {type = "trade_weapons";buy[] = {30,"worth"};sell[] = {10,"worth"};}; + class Makarov_DZ {type = "trade_weapons";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class Makarov_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {210,"worth"};}; + class APS_DZ {type = "trade_weapons";buy[] = {40,"worth"};sell[] = {20,"worth"};}; + class APS_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {210,"worth"};}; + class P38_DZ {type = "trade_weapons";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class BrowningHP_DZ {type = "trade_weapons";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class MK22_DZ {type = "trade_weapons";buy[] = {60,"worth"};sell[] = {30,"worth"};}; + class MK22_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {230,"worth"};}; + class MK22_2_DZ {type = "trade_weapons";buy[] = {60,"worth"};sell[] = {30,"worth"};}; + class MK22_2_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {230,"worth"};}; + class P226_DZ {type = "trade_weapons";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class P226_Silver_DZ {type = "trade_weapons";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class M9_DZ {type = "trade_weapons";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class M9_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {250,"worth"};}; + class M9_Camo_DZ {type = "trade_weapons";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class M9_Camo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {250,"worth"};}; + class M93R_DZ {type = "trade_weapons";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class CZ75P_DZ {type = "trade_weapons";buy[] = {50,"worth"};sell[] = {20,"worth"};}; + class CZ75D_DZ {type = "trade_weapons";buy[] = {50,"worth"};sell[] = {20,"worth"};}; + class CZ75SP_DZ {type = "trade_weapons";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class CZ75SP_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {250,"worth"};}; + class G17_DZ {type = "trade_weapons";buy[] = {50,"worth"};sell[] = {20,"worth"};}; + class G17_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {120,"worth"};}; + class G17_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {220,"worth"};}; + class G17_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {220,"worth"};}; + class G17_SD_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {320,"worth"};}; + class G17_SD_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {420,"worth"};}; + class G18_DZ {type = "trade_weapons";buy[] = {80,"worth"};sell[] = {40,"worth"};}; + class P99_Black_DZ {type = "trade_weapons";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class P99_Black_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {250,"worth"};}; + class P99_Green_DZ {type = "trade_weapons";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class P99_Green_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {250,"worth"};}; + class P99_Silver_DZ {type = "trade_weapons";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class P99_Silver_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {250,"worth"};}; +}; + +//Submachine Guns +class Category_14 { + class Sa61_EP1 {type = "trade_weapons";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class Mac10_DZ {type = "trade_weapons";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class TEC9_DZ {type = "trade_weapons";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class PDW_DZ {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class PDW_SD_DZ {type = "trade_weapons";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; + class MP5_DZ {type = "trade_weapons";buy[] = {100,"worth"};sell[] = {20,"worth"};}; + class MP5_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {220,"worth"};}; + class Scorpion_Evo3_DZ {type = "trade_weapons";buy[] = {100,"worth"};sell[] = {20,"worth"};}; + class Scorpion_Evo3_CCO_DZ {type = "trade_weapons";buy[] = {100,"worth"};sell[] = {20,"worth"};}; + class Scorpion_Evo3_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {220,"worth"};}; + class Bizon_DZ {type = "trade_weapons";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class Bizon_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class Bizon_Kobra_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class Bizon_Kobra_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class Sten_MK_DZ {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class MAT49_DZ {type = "trade_weapons";buy[] = {300,"worth"};sell[] = {100,"worth"};}; + class M31_DZ {type = "trade_weapons";buy[] = {700,"worth"};sell[] = {300,"worth"};}; + class MP7_DZ {type = "trade_weapons";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class MP7_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class MP7_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class MP7_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class MP7_SD_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {900,"worth"};}; + class MP7_SD_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class MP7_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class MP7_CCO_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class MP7_CCO_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class MP7_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class MP7_CCO_SD_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1100,"worth"};}; + class MP7_CCO_SD_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class MP7_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class MP7_Holo_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class MP7_Holo_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class MP7_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class MP7_Holo_SD_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1100,"worth"};}; + class MP7_Holo_SD_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class MP7_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class MP7_ACOG_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class MP7_ACOG_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class MP7_ACOG_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class MP7_ACOG_SD_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1100,"worth"};}; + class MP7_ACOG_SD_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class Kriss_DZ {type = "trade_weapons";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class Kriss_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class Kriss_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class Kriss_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class Kriss_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class Kriss_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class TMP_DZ {type = "trade_weapons";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class TMP_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class TMP_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class TMP_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class TMP_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class TMP_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class UMP_DZ {type = "trade_weapons";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class UMP_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class UMP_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class UMP_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class UMP_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class UMP_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class P90_DZ {type = "trade_weapons";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class P90_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class P90_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class P90_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class P90_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class P90_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; +}; + +//Single-shot/Shotguns +class Category_15 { + class Crossbow_DZ {type = "trade_weapons";buy[] = {10,"worth"};sell[] = {5,"ItemSilverBar"};}; + class Crossbow_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {200,"worth"};}; + class Crossbow_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {100,"worth"};}; + class Crossbow_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {200,"worth"};}; + class Crossbow_Scope_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {300,"worth"};}; + class Crossbow_CCO_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {300,"worth"};}; + class Crossbow_Scope_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class Crossbow_CCO_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class Crossbow_Scope_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class RedRyder {type = "trade_weapons";buy[] = {10,"worth"};sell[] = {5,"ItemSilverBar"};}; + class MR43_DZ {type = "trade_weapons";buy[] = {10,"worth"};sell[] = {8,"ItemSilverBar"};}; + class Winchester1866_DZ {type = "trade_weapons";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class M1014_DZ {type = "trade_weapons";buy[] = {300,"worth"};sell[] = {200,"worth"};}; + class M1014_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class M1014_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class Remington870_DZ {type = "trade_weapons";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class Remington870_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {200,"worth"};}; + class Remington870_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {300,"worth"};}; + class LeeEnfield_DZ {type = "trade_weapons";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class Mosin_DZ {type = "trade_weapons";buy[] = {40,"worth"};sell[] = {20,"worth"};}; + class Mosin_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {120,"worth"};}; + class Mosin_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {220,"worth"};}; + class Mosin_Belt_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {220,"worth"};}; + class Mosin_Belt_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {320,"worth"};}; + class Mosin_Belt_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {420,"worth"};}; + class Mosin_PU_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {320,"worth"};}; + class Mosin_PU_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {420,"worth"};}; + class Mosin_PU_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {520,"worth"};}; + class Mosin_PU_Belt_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {520,"worth"};}; + class Mosin_PU_Belt_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {620,"worth"};}; + class Mosin_PU_Belt_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {720,"worth"};}; +}; + +//Assault Rifles +class Category_16 { + class KAC_PDW_DZ {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class KAC_PDW_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class KAC_PDW_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class KAC_PDW_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class CTAR21_DZ {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class CTAR21_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class CTAR21_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class XM8_Compact_DZ {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class XM8_DES_Compact_DZ {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class XM8_GREY_Compact_DZ {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class XM8_GREY_2_Compact_DZ {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class XM8_DZ {type = "trade_weapons";buy[] = {500,"worth"};sell[] = {200,"worth"};}; + class XM8_DES_DZ {type = "trade_weapons";buy[] = {500,"worth"};sell[] = {200,"worth"};}; + class XM8_GREY_DZ {type = "trade_weapons";buy[] = {500,"worth"};sell[] = {200,"worth"};}; + class XM8_GREY_2_DZ {type = "trade_weapons";buy[] = {500,"worth"};sell[] = {200,"worth"};}; + class XM8_GL_DZ {type = "trade_weapons";buy[] = {900,"worth"};sell[] = {400,"worth"};}; + class XM8_DES_GL_DZ {type = "trade_weapons";buy[] = {900,"worth"};sell[] = {400,"worth"};}; + class XM8_GREY_GL_DZ {type = "trade_weapons";buy[] = {900,"worth"};sell[] = {400,"worth"};}; + class XM8_Sharpsh_DZ {type = "trade_weapons";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; + class XM8_DES_Sharpsh_DZ {type = "trade_weapons";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; + class XM8_GREY_Sharpsh_DZ {type = "trade_weapons";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; + class XM8_SD_DZ {type = "trade_weapons";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class CZ805_A1_DZ {type = "trade_weapons";buy[] = {500,"worth"};sell[] = {200,"worth"};}; + class CZ805_A1_GL_DZ {type = "trade_weapons";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class CZ805_A2_DZ {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class CZ805_A2_SD_DZ {type = "trade_weapons";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class HK53A3_DZ {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class HK53A3_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class HK53A3_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class Masada_DZ {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class Masada_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class Masada_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class Masada_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class Masada_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class Masada_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class Masada_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class Masada_ACOG_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class Masada_BL_DZ {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class Masada_BL_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class Masada_BL_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class Masada_BL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class Masada_BL_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class Masada_BL_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class Masada_BL_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class Masada_BL_ACOG_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class PDR_DZ {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class PDR_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class PDR_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class Famas_DZ {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class Famas_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class Famas_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class Famas_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class Famas_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class Famas_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class SteyrAug_A3_Green_DZ {type = "trade_weapons";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class SteyrAug_A3_Black_DZ {type = "trade_weapons";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class SteyrAug_A3_Blue_DZ {type = "trade_weapons";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class SteyrAug_A3_Holo_Green_DZ {type = "trade_weapons";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class SteyrAug_A3_Holo_Black_DZ {type = "trade_weapons";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class SteyrAug_A3_Holo_Blue_DZ {type = "trade_weapons";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class SteyrAug_A3_ACOG_Green_DZ {type = "trade_weapons";buy[] = {1200,"worth"};sell[] = {600,"worth"};}; + class SteyrAug_A3_ACOG_Black_DZ {type = "trade_weapons";buy[] = {1200,"worth"};sell[] = {600,"worth"};}; + class SteyrAug_A3_ACOG_Blue_DZ {type = "trade_weapons";buy[] = {1200,"worth"};sell[] = {600,"worth"};}; + class SteyrAug_A3_GL_Green_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class SteyrAug_A3_GL_Black_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class SteyrAug_A3_GL_Blue_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class SteyrAug_A3_Holo_GL_Green_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class SteyrAug_A3_Holo_GL_Black_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class SteyrAug_A3_Holo_GL_Blue_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class SteyrAug_A3_ACOG_GL_Green_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class SteyrAug_A3_ACOG_GL_Black_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class SteyrAug_A3_ACOG_GL_Blue_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class G36C_DZ {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class G36C_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class G36C_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class G36C_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class G36C_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class G36C_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class G36C_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class G36C_ACOG_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + //Iron sight desert camo + class G36C_Camo_DZ {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class M16A2_DZ {type = "trade_weapons";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class M16A2_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {300,"worth"};}; + class M16A4_DZ {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class M16A4_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class M16A4_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class M16A4_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class M16A4_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class M16A4_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {300,"worth"};}; + class M16A4_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class M16A4_CCO_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class M16A4_Holo_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class M16A4_ACOG_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class M16A4_GL_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class M16A4_CCO_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class M16A4_Holo_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class M16A4_ACOG_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class M16A4_GL_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class M16A4_GL_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class M16A4_GL_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class M16A4_GL_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class M16A4_GL_CCO_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class M16A4_GL_Holo_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class M16A4_GL_ACOG_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {900,"worth"};}; + class M16A4_GL_CCO_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class M16A4_GL_Holo_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class M16A4_GL_ACOG_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class M4A1_DZ {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class M4A1_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {300,"worth"};}; + class M4A1_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class M4A1_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class M4A1_SD_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class M4A1_SD_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class M4A1_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class M4A1_CCO_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class M4A1_CCO_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class M4A1_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class M4A1_CCO_SD_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {900,"worth"};}; + class M4A1_CCO_SD_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class M4A1_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class M4A1_Holo_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class M4A1_Holo_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class M4A1_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class M4A1_Holo_SD_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {900,"worth"};}; + class M4A1_Holo_SD_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class M4A1_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class M4A1_ACOG_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class M4A1_ACOG_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class M4A1_ACOG_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class M4A1_ACOG_SD_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1100,"worth"};}; + class M4A1_ACOG_SD_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class M4A1_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class M4A1_GL_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class M4A1_GL_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class M4A1_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class M4A1_GL_SD_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {900,"worth"};}; + class M4A1_GL_SD_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class M4A1_GL_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class M4A1_GL_CCO_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class M4A1_GL_CCO_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class M4A1_GL_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class M4A1_GL_CCO_SD_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1100,"worth"};}; + class M4A1_GL_CCO_SD_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class M4A1_GL_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class M4A1_GL_Holo_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class M4A1_GL_Holo_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class M4A1_GL_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class M4A1_GL_Holo_SD_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1100,"worth"};}; + class M4A1_GL_Holo_SD_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class M4A1_GL_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class M4A1_GL_ACOG_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {900,"worth"};}; + class M4A1_GL_ACOG_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class M4A1_GL_ACOG_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class M4A1_GL_ACOG_SD_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1300,"worth"};}; + class M4A1_GL_ACOG_SD_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class HK416_DZ {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class HK416_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class HK416_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class HK416_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class HK416_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class HK416_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class HK416_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class HK416_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class HK416_GL_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class HK416_GL_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class HK416_GL_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class HK416_GL_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class HK416C_DZ {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class HK416C_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class HK416C_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class HK416C_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class HK416C_GL_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class HK416C_GL_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class HK416C_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class HK416C_GL_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class MK16_DZ {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class MK16_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class MK16_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class MK16_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class MK16_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class MK16_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class MK16_GL_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class MK16_GL_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class MK16_GL_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class MK16_GL_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class MK16_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class MK16_GL_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class MK16_ACOG_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class MK16_GL_ACOG_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class L85A2_DZ {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + class L85A2_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {300,"worth"};}; + class L85A2_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class L85A2_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class L85A2_SD_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class L85A2_SD_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class L85A2_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class L85A2_CCO_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class L85A2_CCO_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class L85A2_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class L85A2_CCO_SD_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {900,"worth"};}; + class L85A2_CCO_SD_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class L85A2_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class L85A2_Holo_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class L85A2_Holo_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class L85A2_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class L85A2_Holo_SD_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {900,"worth"};}; + class L85A2_Holo_SD_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class L85A2_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class L85A2_ACOG_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class L85A2_ACOG_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class L85A2_ACOG_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class L85A2_ACOG_SD_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1100,"worth"};}; + class L85A2_ACOG_SD_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class SA58_DZ {type = "trade_weapons";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class SA58_RIS_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {300,"worth"};}; + class SA58_RIS_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class SA58_RIS_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class SA58_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class SA58_CCO_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class SA58_CCO_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class SA58_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class SA58_Holo_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class SA58_Holo_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class SA58_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class SA58_ACOG_FL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class SA58_ACOG_MFL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {900,"worth"};}; + //Desert camo no attachment support + class Sa58V_Camo_CCO_DZ {type = "trade_weapons";buy[] = {400,"worth"};sell[] = {200,"worth"};}; + //Desert camo no attachment support + class Sa58V_Camo_ACOG_DZ {type = "trade_weapons";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class AKM_DZ {type = "trade_weapons";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class AKM_Kobra_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class AKM_PSO1_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class RK95_DZ {type = "trade_weapons";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class RK95_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class RK95_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class RK95_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {100,"worth"};}; + class RK95_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {900,"worth"};}; + class RK95_ACOG_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1100,"worth"};}; + class Groza1_DZ {type = "trade_weapons";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class Groza1_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class Groza1_Sniper_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1300,"worth"};}; + class Groza1_Sniper_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1800,"worth"};}; + class Groza9_DZ {type = "trade_weapons";buy[] = {800,"worth"};sell[] = {400,"worth"};}; + class Groza9_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class Groza9_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class Groza9_Sniper_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1500,"worth"};}; + class Groza9_GL_Sniper_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {2000,"worth"};}; + class Groza9_Sniper_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {2000,"worth"};}; + class VAL_DZ {type = "trade_weapons";buy[] = {3000,"worth"};sell[] = {1000,"worth"};}; + class VAL_Kobra_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class VAL_POS1_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class AKS74U_DZ {type = "trade_weapons";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class AKS74U_Kobra_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {300,"worth"};}; + class AKS74U_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class AKS74U_Kobra_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class AK74_DZ {type = "trade_weapons";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class AK74_Kobra_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {300,"worth"};}; + class AK74_PSO1_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class AK74_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {300,"worth"};}; + class AK74_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {400,"worth"};}; + class AK74_Kobra_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class AK74_PSO1_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class AK74_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {600,"worth"};}; + class AK74_GL_Kobra_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class AK74_GL_PSO1_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class AK74_GL_Kobra_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class AK74_GL_PSO1_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class AK107_DZ {type = "trade_weapons";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class AK107_Kobra_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {300,"worth"};}; + class AK107_PSO1_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class AK107_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {300,"worth"};}; + class AK107_GL_Kobra_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {500,"worth"};}; + class AK107_GL_PSO1_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class AN94_DZ {type = "trade_weapons";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class AN94_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {300,"worth"};}; + class G3_DZ {type = "trade_weapons";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class FNFAL_DZ {type = "trade_weapons";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class FNFAL_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class FNFAL_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class M14_DZ {type = "trade_weapons";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class M14_Gh_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1100,"worth"};}; + class M14_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class M14_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class M14_CCO_Gh_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1300,"worth"};}; + class M14_Holo_Gh_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1300,"worth"};}; + class MK14_DZ {type = "trade_weapons";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class MK14_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class MK14_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class MK14_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1500,"worth"};}; + class MK14_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1700,"worth"};}; + class MK14_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1700,"worth"};}; + class MK14_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class MK14_ACOG_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1900,"worth"};}; + class M1A_SC16_BL_DZ {type = "trade_weapons";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class M1A_SC16_BL_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class M1A_SC16_BL_HOLO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class M1A_SC16_BL_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class M1A_SC16_BL_PU_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1800,"worth"};}; + class M1A_SC16_BL_Sniper_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {2000,"worth"};}; + class M1A_SC16_TAN_DZ {type = "trade_weapons";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class M1A_SC16_TAN_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class M1A_SC16_TAN_HOLO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class M1A_SC16_TAN_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class M1A_SC16_TAN_PU_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1800,"worth"};}; + class M1A_SC16_TAN_Sniper_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {2000,"worth"};}; + class M1A_SC2_BL_DZ {type = "trade_weapons";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class M1A_SC2_BL_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class M1A_SC2_BL_HOLO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class M1A_SC2_BL_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class M1A_SC2_BL_PU_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1800,"worth"};}; + class M1A_SC2_BL_Sniper_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {2000,"worth"};}; + class MK17_DZ {type = "trade_weapons";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class MK17_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class MK17_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class MK17_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + class MK17_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + class MK17_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class MK17_GL_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class MK17_GL_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1800,"worth"};}; + class MK17_GL_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class MK17_GL_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1800,"worth"};}; + class MK17_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class MK17_GL_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + class MK17_ACOG_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1800,"worth"};}; + class CZ805_B_GL_DZ {type = "trade_weapons";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class HK417_DZ {type = "trade_weapons";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class HK417_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class HK417_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class HK417_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1500,"worth"};}; + class HK417_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1700,"worth"};}; + class HK417_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1700,"worth"};}; + class HK417_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class HK417_ACOG_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1900,"worth"};}; + class HK417C_DZ {type = "trade_weapons";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class HK417C_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class HK417C_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class HK417C_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class HK417C_GL_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class HK417C_GL_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class HK417C_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class HK417C_GL_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + //ACR Woodland + class ACR_WDL_DZ {type = "trade_weapons";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class ACR_WDL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class ACR_WDL_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class ACR_WDL_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + class ACR_WDL_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class ACR_WDL_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + class ACR_WDL_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class ACR_WDL_ACOG_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1800,"worth"};}; + class ACR_WDL_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class ACR_WDL_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + class ACR_WDL_CCO_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class ACR_WDL_CCO_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1800,"worth"};}; + class ACR_WDL_Holo_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class ACR_WDL_Holo_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1800,"worth"};}; + class ACR_WDL_ACOG_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + class ACR_WDL_ACOG_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {2000,"worth"};}; + class ACR_WDL_TWS_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class ACR_WDL_TWS_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + class ACR_WDL_TWS_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1800,"worth"};}; + class ACR_WDL_TWS_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {2000,"worth"};}; + class ACR_WDL_NV_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class ACR_WDL_NV_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + class ACR_WDL_NV_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1800,"worth"};}; + class ACR_WDL_NV_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {2000,"worth"};}; + //ACR Black + class ACR_BL_DZ {type = "trade_weapons";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class ACR_BL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class ACR_BL_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class ACR_BL_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + class ACR_BL_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class ACR_BL_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + class ACR_BL_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class ACR_BL_ACOG_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1800,"worth"};}; + class ACR_BL_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class ACR_BL_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + class ACR_BL_CCO_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class ACR_BL_CCO_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1800,"worth"};}; + class ACR_BL_Holo_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class ACR_BL_Holo_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1800,"worth"};}; + class ACR_BL_ACOG_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + class ACR_BL_ACOG_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {2000,"worth"};}; + class ACR_BL_TWS_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class ACR_BL_TWS_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + class ACR_BL_TWS_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1800,"worth"};}; + class ACR_BL_TWS_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {2000,"worth"};}; + class ACR_BL_NV_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class ACR_BL_NV_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + class ACR_BL_NV_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1800,"worth"};}; + class ACR_BL_NV_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {2000,"worth"};}; + //ACR Desert + class ACR_DES_DZ {type = "trade_weapons";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class ACR_DES_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class ACR_DES_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class ACR_DES_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + class ACR_DES_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class ACR_DES_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + class ACR_DES_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class ACR_DES_ACOG_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1800,"worth"};}; + class ACR_DES_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class ACR_DES_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + class ACR_DES_CCO_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class ACR_DES_CCO_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1800,"worth"};}; + class ACR_DES_Holo_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class ACR_DES_Holo_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1800,"worth"};}; + class ACR_DES_ACOG_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + class ACR_DES_ACOG_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {2000,"worth"};}; + class ACR_DES_TWS_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class ACR_DES_TWS_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + class ACR_DES_TWS_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1800,"worth"};}; + class ACR_DES_TWS_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {2000,"worth"};}; + class ACR_DES_NV_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class ACR_DES_NV_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + class ACR_DES_NV_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1800,"worth"};}; + class ACR_DES_NV_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {2000,"worth"};}; + //ACR Snow + class ACR_SNOW_DZ {type = "trade_weapons";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class ACR_SNOW_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class ACR_SNOW_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class ACR_SNOW_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + class ACR_SNOW_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class ACR_SNOW_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + class ACR_SNOW_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class ACR_SNOW_ACOG_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1800,"worth"};}; + class ACR_SNOW_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class ACR_SNOW_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + class ACR_SNOW_CCO_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class ACR_SNOW_CCO_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1800,"worth"};}; + class ACR_SNOW_Holo_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class ACR_SNOW_Holo_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1800,"worth"};}; + class ACR_SNOW_ACOG_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + class ACR_SNOW_ACOG_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {2000,"worth"};}; + class ACR_SNOW_TWS_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class ACR_SNOW_TWS_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + class ACR_SNOW_TWS_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1800,"worth"};}; + class ACR_SNOW_TWS_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {2000,"worth"};}; + class ACR_SNOW_NV_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class ACR_SNOW_NV_GL_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1600,"worth"};}; + class ACR_SNOW_NV_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1800,"worth"};}; + class ACR_SNOW_NV_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {2000,"worth"};}; +}; + +//Sniper Rifles +class Category_17 { + class CZ550_DZ {type = "trade_weapons";buy[] = {600,"worth"};sell[] = {300,"worth"};}; + class M4SPR_DZE {type = "trade_weapons";buy[] = {1000,"worth"};sell[] = {600,"worth"};}; + class CZ750_DZ {type = "trade_weapons";buy[] = {2000,"worth"};sell[] = {600,"worth"};}; + class M24_DZ {type = "trade_weapons";buy[] = {1000,"worth"};sell[] = {600,"worth"};}; + class M24_Gh_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + // desert camo + class M24_des_EP1 {type = "trade_weapons";buy[] = {1000,"worth"};sell[] = {600,"worth"};}; + class M40A3_DZ {type = "trade_weapons";buy[] = {1000,"worth"};sell[] = {600,"worth"};}; + class M40A3_Gh_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class VSS_vintorez_DZE {type = "trade_weapons";buy[] = {3000,"worth"};sell[] = {400,"worth"};}; + // iron sights + class SVD_DZ {type = "trade_weapons";buy[] = {1000,"worth"};sell[] = {600,"worth"};}; + // iron sights and ghillie + class SVD_Gh_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class SVD_PSO1_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class SVD_PSO1_Gh_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1100,"worth"};}; + // desert camo + class SVD_PSO1_Gh_DES_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1100,"worth"};}; + class SVD_NSPU_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class SVU_PSO1_DZ {type = "trade_weapons";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; +}; + +//Light Machine Guns +class Category_18 { + class RPK74_DZ {type = "trade_weapons";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; + class RPK74_Kobra_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class RPK74_PSO1_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {900,"worth"};}; + class RPK_DZ {type = "trade_weapons";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class RPK_Kobra_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class RPK_PSO1_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class UK59_DZ {type = "trade_weapons";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; + class PKM_DZ {type = "trade_weapons";buy[] = {3000,"worth"};sell[] = {1000,"worth"};}; + class XM8_SAW_DZ {type = "trade_weapons";buy[] = {1000,"worth"};sell[] = {600,"worth"};}; + class XM8_DES_SAW_DZ {type = "trade_weapons";buy[] = {1000,"worth"};sell[] = {600,"worth"};}; + class XM8_GREY_SAW_DZ {type = "trade_weapons";buy[] = {1000,"worth"};sell[] = {600,"worth"};}; + class L86A2_LSW_DZ {type = "trade_weapons";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; + class MG36_DZ {type = "trade_weapons";buy[] = {1000,"worth"};sell[] = {600,"worth"};}; + class MG36_Camo_DZ {type = "trade_weapons";buy[] = {1000,"worth"};sell[] = {600,"worth"};}; + class L110A1_DZ {type = "trade_weapons";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; + class L110A1_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class L110A1_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {700,"worth"};}; + class M249_EP1_DZ {type = "trade_weapons";buy[] = {1000,"worth"};sell[] = {600,"worth"};}; + class M249_DZ {type = "trade_weapons";buy[] = {1000,"worth"};sell[] = {600,"worth"};}; + class M249_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class M249_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {800,"worth"};}; + class M60A4_EP1_DZE {type = "trade_weapons";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; + class Mk43_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class MK43_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class MK43_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1400,"worth"};}; + class M240_DZ {type = "trade_weapons";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class M240_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class M240_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class Mk48_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1000,"worth"};}; + class Mk48_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class Mk48_Holo_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; + class Mk48_DES_CCO_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {1200,"worth"};}; +}; diff --git a/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Wholesale.hpp b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Wholesale.hpp new file mode 100644 index 000000000..274fba249 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Wholesale.hpp @@ -0,0 +1,18 @@ +class Category_50 { + class bulk_17Rnd_9x19_glock17 {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class bulk_15Rnd_9x19_M9SD {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; + class bulk_30Rnd_9x19_MP5SD {type = "trade_items";buy[] = {300,"worth"};sell[] = {300,"worth"};}; + class bulk_30Rnd_556x45_StanagSD {type = "trade_items";buy[] = {400,"worth"};sell[] = {400,"worth"};}; + class bulk_ItemSandbag {type = "trade_items";buy[] = {3000,"worth"};sell[] = {3000,"worth"};}; + class bulk_ItemTankTrap {type = "trade_items";buy[] = {200,"worth"};sell[] = {200,"worth"};}; + class bulk_ItemWire {type = "trade_items";buy[] = {50,"worth"};sell[] = {50,"worth"};}; + class bulk_PartGeneric {type = "trade_items";buy[] = {800,"worth"};sell[] = {800,"worth"};}; + class PartPlywoodPack {type = "trade_items";buy[] = {20,"worth"};sell[] = {10,"worth"};}; + class PartPlankPack {type = "trade_items";buy[] = {10,"worth"};sell[] = {5,"worth"};}; + class ItemConcreteBlock {type = "trade_items";buy[] = {-1000,"worth"};sell[] = {500,"worth"};}; + class CinderBlocks {type = "trade_items";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; + class MortarBucket {type = "trade_items";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; + class ItemRSJ {type = "trade_items";buy[] = {1000,"worth"};sell[] = {500,"worth"};}; + class ItemFuelBarrelEmpty {type = "trade_items";buy[] = {100,"worth"};sell[] = {50,"worth"};}; + class ItemFuelBarrel {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};}; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgServerTraderZSC/DayZ Epoch Currency Values.txt b/SQF/dayz_code/Configs/CfgServerTraderZSC/DayZ Epoch Currency Values.txt new file mode 100644 index 000000000..0cde81e05 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTraderZSC/DayZ Epoch Currency Values.txt @@ -0,0 +1,65 @@ +DayZ Epoch Currency Values + +Item Worth +**Silver Bars** +ItemSilverBar 1 +ItemSilverBar2oz 2 +ItemSilverBar3oz 3 +ItemSilverBar4oz 4 +ItemSilverBar5oz 5 +ItemSilverBar6oz 6 +ItemSilverBar7oz 7 +ItemSilverBar8oz 8 +ItemSilverBar9oz 9 +ItemSilverBar10oz 10 + +**Silver Briefcases** +ItemBriefcaseS10oz 10 +ItemBriefcaseS20oz 20 +ItemBriefcaseS30oz 30 +ItemBriefcaseS40oz 40 +ItemBriefcaseS50oz 50 +ItemBriefcaseS60oz 60 +ItemBriefcaseS70oz 70 +ItemBriefcaseS80oz 80 +ItemBriefcaseS90oz 90 +ItemBriefcaseS100oz 100 + +**Gold Bars** +ItemGoldBar 100 +ItemGoldBar2oz 200 +ItemGoldBar3oz 300 +ItemGoldBar4oz 400 +ItemGoldBar5oz 500 +ItemGoldBar6oz 600 +ItemGoldBar7oz 700 +ItemGoldBar8oz 800 +ItemGoldBar9oz 900 +ItemGoldBar10oz 1000 + +**Gold Briefcases** +ItemBriefcase10oz 1000 +ItemBriefcase20oz 2000 +ItemBriefcase30oz 3000 +ItemBriefcase40oz 4000 +ItemBriefcase50oz 5000 +ItemBriefcase60oz 6000 +ItemBriefcase70oz 7000 +ItemBriefcase80oz 8000 +ItemBriefcase90oz 9000 +ItemBriefcase100oz 10000 + +**Gems** +ItemTopaz 15000 +ItemObsidian 20000 +ItemSapphire 25000 +ItemAmethyst 30000 +ItemEmerald 35000 +ItemCitrine 40000 +ItemRuby 45000 + +The values of gems are configurable in DZE_GemWorthArray in configVariables.sqf +Aluminum bars, bronze bars, and copper bars have no assigned worth and are unused in DayZ Epoch. +Tin bars have no assigned worth, but can be used for making spare keys with the key maker's kit. +Tin bars can be smelted from 6 empty tin cans at a fire source. + diff --git a/SQF/dayz_code/Configs/CfgServerTraderZSC/README.txt b/SQF/dayz_code/Configs/CfgServerTraderZSC/README.txt new file mode 100644 index 000000000..9e582bf44 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTraderZSC/README.txt @@ -0,0 +1,6 @@ +To customize config traders copy this CfgServerTrader folder to your mission. + +Then in description.ext replace this line: +#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" +with this: +#include "CfgServerTrader\CfgServerTrader.hpp" \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgServerTraderZSC/cfgServerTrader.hpp b/SQF/dayz_code/Configs/CfgServerTraderZSC/cfgServerTrader.hpp new file mode 100644 index 000000000..9c6b78ed3 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgServerTraderZSC/cfgServerTrader.hpp @@ -0,0 +1,15 @@ +class CfgTraderCategory { + #include "Category\Hero.hpp" + #include "Category\Bandit.hpp" + #include "Category\BlackMarket.hpp" + #include "Category\Weapons.hpp" + #include "Category\Ammunition.hpp" + #include "Category\GeneralStore.hpp" + #include "Category\MedicalSupplies.hpp" + #include "Category\Parts.hpp" + #include "Category\Vehicles.hpp" + #include "Category\AirVehicles.hpp" + #include "Category\Boats.hpp" + #include "Category\Wholesale.hpp" + #include "Category\Currency.hpp" +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgWeapons/Tools/Radio.hpp b/SQF/dayz_code/Configs/CfgWeapons/Tools/Radio.hpp index 52e2e13c5..f7982a16e 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Tools/Radio.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Tools/Radio.hpp @@ -3,6 +3,11 @@ class ItemRadio : ItemCore model = "\nst\ns_dayz\items\radio\radio_dzn.p3d"; class ItemActions { + class Power + { + text = $STR_EPOCH_RADIO_STATE; + script = "call fnc_radioState;"; + }; class Groups { text = $STR_EPOCH_GROUPS_KEY; @@ -33,4 +38,4 @@ class ItemRadioBroken_DZE : ItemCore inputweapons[] = {"ItemRadioBroken_DZE"}; }; }; -}; \ No newline at end of file +}; diff --git a/SQF/dayz_code/Configs/RscDisplay/RscPlayerUI.hpp b/SQF/dayz_code/Configs/RscDisplay/RscPlayerUI.hpp index 97f93b200..5c0ef8626 100644 --- a/SQF/dayz_code/Configs/RscDisplay/RscPlayerUI.hpp +++ b/SQF/dayz_code/Configs/RscDisplay/RscPlayerUI.hpp @@ -883,4 +883,34 @@ class RscTitles class Icon100:Icons {idc = 200;}; }; }; + class ZSC_Money_Display { + idd = -1; + fadeout = 0; + fadein = 0; + duration = 100000; + name= "ZSC_Money_Display"; + onLoad = "uiNamespace setVariable ['ZSC_Money_Display', _this select 0]"; + class controlsBackground { + class ZSC_Status + { + idc = 4900; + type = 13; + size = 0.040; + x = safezoneX + (safezoneW -0.35); + y = safezoneY + 0.43 * safezoneW; + w = 0.35; h = 0.20; + colorText[] = {1,1,1,1}; + lineSpacing = 3; + colorBackground[] = {0,0,0,0}; + text = ""; + style = 0x02; + shadow = 2; + font = "Zeppelin32"; + sizeEx = 0.023; + class Attributes { + align = "right"; + }; + }; + }; + }; }; diff --git a/SQF/dayz_code/Configs/RscDisplay/advancedTrading.hpp b/SQF/dayz_code/Configs/RscDisplay/advancedTrading.hpp index 6a4db922e..37da46973 100644 --- a/SQF/dayz_code/Configs/RscDisplay/advancedTrading.hpp +++ b/SQF/dayz_code/Configs/RscDisplay/advancedTrading.hpp @@ -1,6 +1,8 @@ class AdvancedTrading { idd = 711197; + onload = "player setVariable['isBusy',true,true];"; + onUnload = "player setVariable['isBusy',false,true];"; class Controls { class RscText_ATBackground1 { diff --git a/SQF/dayz_code/Configs/RscDisplay/zscDialogs.hpp b/SQF/dayz_code/Configs/RscDisplay/zscDialogs.hpp new file mode 100644 index 000000000..102545fda --- /dev/null +++ b/SQF/dayz_code/Configs/RscDisplay/zscDialogs.hpp @@ -0,0 +1,360 @@ +class GivePlayerDialog +{ + idd = -1; + movingenable = 0; + enableSimulation = true; + onLoad = "uiNamespace setVariable ['zsc_dialogs', _this select 0]"; + onUnload = "player setVariable['isBusy',false,true];"; + + class controlsBackground { + class ZSC_RscTitleBackground2:ZSC_RscText { + colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"}; + idc = -1; + x = 0.35; + y = 0.2; + w = 0.3; + h = (1 / 25); + }; + class MainBackground2:ZSC_RscText { + colorBackground[] = {0, 0, 0, 0.7}; + idc = -1; + x = 0.35; + y = 0.2 + (11 / 250); + w = 0.3; + h = 0.6 - (22 / 250); + }; + }; + + class Controls { + + class CashTitle5 : ZSC_RscStructuredText + { + idc = 2710; + text = $STR_CL_ZSC_YOU; + colorText[] = {0.8784,0.8471,0.651,1}; + x = 0.39; + y = 0.26; + w = 0.3; + h = 0.2; + }; + class RscTextT_10052 : ZSC_RscText + { + idc = 14001; + text = ""; + colorText[] = {1,1,1,1}; + x = 0.39; + y = 0.27; + w = 0.6; + h = 0.2; + }; + class moneyEdit2 : ZSC_RscEdit { + + idc = 14000; + colorText[] = {0.8784,0.8471,0.651,1}; + text = ""; + sizeEx = 0.030; + x = 0.4; y = 0.41; + w = 0.2; h = 0.03; + + }; + class Title2 : ZSC_RscTitle { + colorBackground[] = {0, 0, 0, 0}; + idc = 14002; + text = ""; + colorText[] = {1,1,1,1}; + x = 0.35; + y = 0.2; + w = 0.6; + h = (1 / 25); + }; + class DepositButton2 : ZSC_RscButtonMenu + { + idc = -1; + text = $STR_CL_ZSC_GIVE; + colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; + onButtonClick = "[(ctrlText 14000)] spawn GivePlayerAmount; closeDialog 0;"; + colorText[] = {0.8784,0.8471,0.651,1}; + x = 0.432; + y = 0.512; + w = (6 / 40); + h = (1 / 25); + }; + class RscTextT_10005 : ZSC_RscText + { + idc = 14003; + text = ""; + colorText[] = {0.8784,0.8471,0.651,1}; + x = 0.39; + y = 0.58; + w = 0.3; + h = 0.2; + }; + class CloseButtonKey2 : ZSC_RscButtonMenu { + idc = -1; + text = $STR_UI_CLOSE; + onButtonClick = "closeDialog 0;"; + x = 0.35; + y = 0.8 - (1 / 25); + w = (6.25 / 40); + h = (1 / 25); + }; + }; +}; + +class BankDialog +{ + idd = -1; + movingenable = 0; + enableSimulation = true; + onUnload = "ZSC_CurrentStorage setVariable['isBusy',false,true];player setVariable['isBusy',false,true];"; + + class controlsBackground { + class ZSC_RscTitleBackground:ZSC_RscText { + colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"}; + idc = -1; + x = 0.35; + y = 0.2; + w = 0.4; + h = (1 / 25); + }; + + class MainBackground:ZSC_RscText { + colorBackground[] = {0, 0, 0, 0.7}; + idc = -1; + x = 0.35; + y = 0.2 + (11 / 250); + w = 0.4; + h = 0.6 - (22 / 250); + }; + }; + + class Controls { + + class CashTitle : ZSC_RscText + { + idc = 2701; + text = $STR_CL_ZSC_STORAGE; + colorText[] = {0.8784,0.8471,0.651,1}; + x = 0.36; + y = 0.26; + w = 0.3; + h = 0.1; + }; + + class RscTextT_1005 : ZSC_RscText + { + idc = 13002; + text = ""; + colorText[] = {1,1,1,1}; + x = 0.39; + y = 0.27; + w = 0.6; + h = 0.2; + }; + + class moneyEdit : ZSC_RscEdit { + + idc = 2702; + colorText[] = {0.8784,0.8471,0.651,1}; + text = ""; + sizeEx = 0.030; + x = 0.4; y = 0.41; + w = 0.2; h = 0.03; + + }; + + class Title : ZSC_RscTitle { + colorBackground[] = {0, 0, 0, 0}; + idc = -1; + text = $STR_CL_ZSC_STORAGE; + colorText[] = {1,1,1,1}; + x = 0.35; + y = 0.2; + w = 0.6; + h = (1 / 25); + }; + + class WithdrawButton : ZSC_RscButtonMenu + { + idc = -1; + text = $STR_CL_ZSC_WITHDRAW; + colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; + onButtonClick = "[(ctrlText 2702)] spawn BankDialogWithdrawAmount; closeDialog 0;"; + colorText[] = {0.8784,0.8471,0.651,1}; + x = 0.432; + y = 0.46; + w = (6 / 40); + h = (1 / 25); + }; + + class DepositButton : ZSC_RscButtonMenu + { + idc = -1; + text = $STR_CL_ZSC_DEPOSIT; + colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; + onButtonClick = "[(ctrlText 2702)] spawn BankDialogDepositAmount; closeDialog 0;"; + colorText[] = {0.8784,0.8471,0.651,1}; + x = 0.432; + y = 0.512; + w = (6 / 40); + h = (1 / 25); + }; + + class CashTitle3 : ZSC_RscStructuredText + { + idc = 2703; + text = $STR_CL_ZSC_YOU; + colorText[] = {0.8784,0.8471,0.651,1}; + x = 0.36; + y = 0.58; + w = 0.3; + h = 0.1; + }; + + class RscTextT_1004 : ZSC_RscText + { + idc = 13001; + text = ""; + colorText[] = {1,1,1,1}; + x = 0.39; + y = 0.59; + w = 0.6; + h = 0.2; + }; + + class CloseButtonKey : ZSC_RscButtonMenu { + idc = -1; + text = $STR_UI_CLOSE; + onButtonClick = "closeDialog 0;"; + x = 0.35; + y = 0.8 - (1 / 25); + w = (6.25 / 40); + h = (1 / 25); + }; + }; +}; + +class ATMDialog { + idd = -1; + movingenable = 0; + enableSimulation = true; + + onUnload = "player setVariable['isBusy',false,true];"; + + class controlsBackground { + class ATM_RscTitleBackground:ZSC_RscText { + colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"}; + idc = -1; + x = 0.35; + y = 0.2; + w = 0.3; + h = (1 / 25); + }; + + class MainBackground:ZSC_RscText { + colorBackground[] = {0, 0, 0, 0.7}; + idc = -1; + x = 0.35; + y = 0.2 + (11 / 250); + w = 0.3; + h = 0.6 - (22 / 250); + }; + }; + + class Controls { + class CashTitle : ZSC_RscStructuredText { + idc = 3701; + text = $STR_CL_ZSC_GLOBAL_BANK; + colorText[] = {0.8784,0.8471,0.651,1}; + x = 0.39; + y = 0.26; + w = 0.3; + h = 0.2; + }; + + class RscTextT_1005 : ZSC_RscText { + idc = 23002; + text = ""; + colorText[] = {1,1,1,1}; + x = 0.39; + y = 0.27; + w = 0.6; + h = 0.2; + }; + + class moneyEdit : ZSC_RscEdit { + + idc = 3702; + colorText[] = {0.8784,0.8471,0.651,1}; + text = ""; + sizeEx = 0.030; + x = 0.4; y = 0.41; + w = 0.2; h = 0.03; + }; + + class Title : ZSC_RscTitle { + colorBackground[] = {0, 0, 0, 0}; + idc = -1; + text = $STR_CL_ZSC_GLOBAL_BANKING; + colorText[] = {1,1,1,1}; + x = 0.35; + y = 0.2; + w = 0.6; + h = (1 / 25); + }; + + class WithdrawButton : ZSC_RscButtonMenu { + idc = -1; + text = $STR_CL_ZSC_WITHDRAW; + colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; + onButtonClick = "[(ctrlText 3702)] spawn AtmDialogWithdrawAmount; closeDialog 0;"; + colorText[] = {0.8784,0.8471,0.651,1}; + x = 0.432; + y = 0.46; + w = (6 / 40); + h = (1 / 25); + }; + + class DepositButton : ZSC_RscButtonMenu { + idc = -1; + text = $STR_CL_ZSC_DEPOSIT; + colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; + onButtonClick = "[(ctrlText 3702)] spawn AtmDialogDepositAmount; closeDialog 0;"; + colorText[] = {0.8784,0.8471,0.651,1}; + x = 0.432; + y = 0.512; + w = (6 / 40); + h = (1 / 25); + }; + + class CashTitle3 : ZSC_RscStructuredText { + idc = 3703; + text = $STR_CL_ZSC_YOU; + colorText[] = {0.8784,0.8471,0.651,1}; + x = 0.39; + y = 0.58; + w = 0.3; + h = 0.2; + }; + + class RscTextT_1004 : ZSC_RscText { + idc = 23001; + text = ""; + colorText[] = {1,1,1,1}; + x = 0.39; + y = 0.59; + w = 0.6; + h = 0.2; + }; + + class CloseButtonKey : ZSC_RscButtonMenu { + idc = -1; + text = $STR_UI_CLOSE; + onButtonClick = "closeDialog 0;"; + x = 0.35; + y = 0.8 - (1 / 25); + w = (6.25 / 40); + h = (1 / 25); + }; + }; +}; diff --git a/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_buyItems.sqf b/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_buyItems.sqf index bf00d5c6c..a8791466d 100644 --- a/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_buyItems.sqf +++ b/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_buyItems.sqf @@ -96,7 +96,7 @@ if (Z_SingleCurrency) then { _canBuy = [_weaponsToBuy,[_pistolMagsToBuy,_regularMagsToBuy],_backpacksToBuy,_toolsToBuy,_sidearmToBuy,_primaryToBuy,_vehiclesToBuy,_toolClasses,_toolAmounts] call Z_allowBuying; if (!_canBuy) exitWith {}; // Keep systemChat reasons for failure in Z_allowBuying for sanity -_wealth = player getVariable[Z_MoneyVariable,0]; +_wealth = player getVariable[(["cashMoney","globalMoney"] select Z_persistentMoney),0]; _enoughMoney = false; @@ -255,7 +255,7 @@ if (_enoughMoney) then { if (_success) then { if (Z_SingleCurrency) then { - player setVariable[Z_MoneyVariable,(_wealth - _priceToBuy),true]; + player setVariable[(["cashMoney","globalMoney"] select Z_persistentMoney),(_wealth - _priceToBuy),true]; systemChat format[localize "STR_EPOCH_TRADE_SUCCESS_COINS",[_priceToBuy] call BIS_fnc_numberText,CurrencyName]; } else { _tCost = ""; diff --git a/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_sellItems.sqf b/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_sellItems.sqf index f78a1f767..cff1fa0b4 100644 --- a/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_sellItems.sqf +++ b/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_sellItems.sqf @@ -215,8 +215,8 @@ if (Z_SingleCurrency) then { if (typeName _money == "SCALAR") then { if (Z_SingleCurrency) then { - _wealth = player getVariable[Z_MoneyVariable,0]; - player setVariable[Z_MoneyVariable,(_wealth + _money),true]; + _wealth = player getVariable[(["cashMoney","globalMoney"] select Z_persistentMoney),0]; + player setVariable[(["cashMoney","globalMoney"] select Z_persistentMoney),(_wealth + _money),true]; systemChat format[localize "STR_EPOCH_TRADE_SUCCESS_CHANGE",[_money] call BIS_fnc_numberText,CurrencyName]; } else { _success = [_money,0,false,0,[],[],false] call Z_returnChange; @@ -233,4 +233,4 @@ if (typeName _money == "SCALAR") then { } else { systemChat localize "STR_EPOCH_TRADE_DEBUG"; diag_log "Money is not a number. Something went wrong."; -}; \ No newline at end of file +}; diff --git a/SQF/dayz_code/actions/maintain_area.sqf b/SQF/dayz_code/actions/maintain_area.sqf index cd015a3c5..a4f2fd353 100644 --- a/SQF/dayz_code/actions/maintain_area.sqf +++ b/SQF/dayz_code/actions/maintain_area.sqf @@ -61,7 +61,7 @@ _maintain = { _enoughMoney = false; _moneyInfo = [false, [], [], [], 0]; - _wealth = player getVariable[Z_MoneyVariable,0]; + _wealth = player getVariable[(["cashMoney","globalMoney"] select Z_persistentMoney),0]; if (Z_SingleCurrency) then { _enoughMoney = (_wealth >= _amount); @@ -84,7 +84,7 @@ _maintain = { systemChat format[localize "STR_EPOCH_ACTIONS_4",_count]; if (Z_SingleCurrency) then { - player setVariable[Z_MoneyVariable,(_wealth - _amount),true]; + player setVariable[(["cashMoney","globalMoney"] select Z_persistentMoney),(_wealth - _amount),true]; _message1 = format [localize "STR_EPOCH_PLOTMANAGEMENT_OBJECTS_MAINTAINED_SUCCESS",_count,[_amount] call BIS_fnc_numberText,_itemText]; } else { _message1 = format [localize "STR_EPOCH_PLOTMANAGEMENT_OBJECTS_MAINTAINED_SUCCESS",_count,_itemText,""]; diff --git a/SQF/dayz_code/actions/radioState.sqf b/SQF/dayz_code/actions/radioState.sqf new file mode 100644 index 000000000..52bda4ff8 --- /dev/null +++ b/SQF/dayz_code/actions/radioState.sqf @@ -0,0 +1,11 @@ +// This function simulates turning "ItemRadio" on and off to accept or deny local messaging of type "radio". + +if(player getVariable["radiostate",true]) then { + localize "str_actions_radio_off" call dayz_rollingMessages; + player setVariable["radiostate",false]; + playSound "Switch_On_Off"; +} else { + localize "str_actions_radio_on" call dayz_rollingMessages; + player setVariable["radiostate",true]; + playSound "Switch_On_Off"; +}; \ No newline at end of file diff --git a/SQF/dayz_code/actions/zsc/atmDialog.sqf b/SQF/dayz_code/actions/zsc/atmDialog.sqf new file mode 100644 index 000000000..dddc1dee8 --- /dev/null +++ b/SQF/dayz_code/actions/zsc/atmDialog.sqf @@ -0,0 +1,20 @@ +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; + +private ["_typeOf"]; + +player setVariable["isBusy",true,true]; +_typeOf = typeOf (_this select 3); + +if !(_typeOf in ZSC_bankObjects || _typeOf in ZSC_bankTraders) exitWith { + dayz_actionInProgress = false; + player setVariable["isBusy",false,true]; + format[localize "STR_CL_ZSC_BANKING_NOT_AVAIL",_typeOf] call dayz_rollingMessages; +}; + +createDialog "atmDialog"; +call AtmDialogUpdateAmounts; + +waitUntil {!dialog}; + +dayz_actionInProgress = false; diff --git a/SQF/dayz_code/actions/zsc/bankDialog.sqf b/SQF/dayz_code/actions/zsc/bankDialog.sqf new file mode 100644 index 000000000..f58ccfe73 --- /dev/null +++ b/SQF/dayz_code/actions/zsc/bankDialog.sqf @@ -0,0 +1,38 @@ +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; + +private ["_playerNear","_isBusy","_typeOf"]; + +player setVariable["isBusy",true,true]; +_isBusy = true; +ZSC_CurrentStorage = _this select 3; +_typeOf = typeOf ZSC_CurrentStorage; + + +if !(_typeOf in DZE_MoneyStorageClasses) exitWith { + dayz_actionInProgress = false; + player setVariable["isBusy",false,true]; + format[localize "STR_CL_ZSC_BANKING_NOT_AVAIL",_typeOf] call dayz_rollingMessages; +}; + +_playerNear = {isPlayer _x} count ((getPosATL cursortarget) nearEntities ["CAManBase", 10]) > 1; +if (_playerNear) exitWith { + dayz_actionInProgress = false; + player setVariable["isBusy",false,true]; + localize "str_pickup_limit_5" call dayz_rollingMessages; +}; + +_isBusy = ZSC_CurrentStorage getVariable["isBusy",false]; +if (_isBusy) exitwith { + dayz_actionInProgress = false; + player setVariable["isBusy",false,true]; + format[localize "STR_CL_ZSC_BANKING_IN_USE",_typeOf] call dayz_rollingMessages; +}; + +ZSC_CurrentStorage setVariable["isBusy",true,true]; +createDialog "BankDialog"; +call BankDialogUpdateAmounts; + +waitUntil {!dialog}; + +dayz_actionInProgress = false; diff --git a/SQF/dayz_code/actions/zsc/checkWallet.sqf b/SQF/dayz_code/actions/zsc/checkWallet.sqf new file mode 100644 index 000000000..151e7fa32 --- /dev/null +++ b/SQF/dayz_code/actions/zsc/checkWallet.sqf @@ -0,0 +1,29 @@ +private ["_body","_playerNear","_name","_hisMoney","_myMoney"]; + +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; + +_body = _this select 3; + +if (isNull _body) exitWith {dayz_actionInProgress = false; systemChat "cursorTarget isNull!";}; + +_playerNear = {isPlayer _x} count ((getPosATL _body) nearEntities ["CAManBase", 10]) > 1; +if (_playerNear) exitWith {dayz_actionInProgress = false;localize "str_pickup_limit_5" call dayz_rollingMessages;}; + +_name = _body getVariable ["bodyName","unknown"]; +_hisMoney = _body getVariable ["cashMoney",0]; + +if (isNil "_hisMoney") then {_hisMoney = 0;}; +if (!(typeName _hisMoney == "SCALAR") || {_hisMoney < 1}) exitWith {dayz_actionInProgress = false; format[localize "STR_CL_ZSC_NO_COINS",_name,CurrencyName] call dayz_rollingMessages}; + +_myMoney = player getVariable [(["cashMoney","globalMoney"] select Z_persistentMoney),0]; +_myMoney = _myMoney + _hisMoney; + +_body setVariable ["cashMoney",0,true]; +player setVariable [(["cashMoney","globalMoney"] select Z_persistentMoney),_myMoney,true]; + +systemChat format[localize "STR_CL_ZSC_TAKE_COINS",[_hisMoney] call BIS_fnc_numberText,CurrencyName,_name]; + +player playActionNow "PutDown"; + +dayz_actionInProgress = false; diff --git a/SQF/dayz_code/actions/zsc/givePlayer.sqf b/SQF/dayz_code/actions/zsc/givePlayer.sqf new file mode 100644 index 000000000..a4bd096e1 --- /dev/null +++ b/SQF/dayz_code/actions/zsc/givePlayer.sqf @@ -0,0 +1,30 @@ +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; + +disableSerialization; +private ["_display","_isBusy"]; + +_isBusy = true; +player setVariable["isBusy",true,true]; + +if (isPlayer cursorTarget) then { + ZSC_GiveMoneyTarget = cursorTarget; + _isBusy = ZSC_GiveMoneyTarget getVariable["isBusy",false]; + if (_isBusy) exitWith { + player setVariable ["isBusy",false,true]; + format[localize "STR_CL_ZSC_ALREADY_TRADING",name ZSC_GiveMoneyTarget] call dayz_rollingMessages; + }; + if (!_isBusy) then { + player setVariable["isBusy",true,true]; + createDialog "GivePlayerDialog"; + _display = uiNamespace getVariable["zsc_dialogs", displayNull]; + _display displayCtrl 14002 ctrlSetText(format[localize "STR_CL_ZSC_TRANSFER_COINS",CurrencyName]); + call GivePlayerDialogAmounts; + }; +} else { + localize "STR_CL_ZSC_NOT_PLAYER" call dayz_rollingMessages; +}; + +waitUntil {!dialog}; + +dayz_actionInProgress = false; diff --git a/SQF/dayz_code/actions/zsc/vehDialog.sqf b/SQF/dayz_code/actions/zsc/vehDialog.sqf new file mode 100644 index 000000000..764ddb558 --- /dev/null +++ b/SQF/dayz_code/actions/zsc/vehDialog.sqf @@ -0,0 +1,38 @@ +if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; +dayz_actionInProgress = true; + +private ["_playerNear","_isBusy","_typeOf"]; + +player setVariable["isBusy",true,true]; +_isBusy = true; +ZSC_CurrentStorage = _this select 3; +_typeOf = typeOf ZSC_CurrentStorage; + + +if !(ZSC_CurrentStorage isKindOf "AllVehicles") exitWith { + dayz_actionInProgress = false; + player setVariable["isBusy",false,true]; + format[localize "STR_CL_ZSC_BANKING_NOT_AVAIL",_typeOf] call dayz_rollingMessages; +}; + +_playerNear = {isPlayer _x} count ((getPosATL cursortarget) nearEntities ["CAManBase", 10]) > 1; +if (_playerNear) exitWith { + dayz_actionInProgress = false; + player setVariable["isBusy",false,true]; + localize "str_pickup_limit_5" call dayz_rollingMessages; +}; + +_isBusy = ZSC_CurrentStorage getVariable["isBusy",false]; +if (_isBusy) exitwith { + dayz_actionInProgress = false; + player setVariable["isBusy",false,true]; + format[localize "STR_CL_ZSC_BANKING_IN_USE",_typeOf] call dayz_rollingMessages; +}; + +ZSC_CurrentStorage setVariable["isBusy",true,true]; +createDialog "BankDialog"; +call BankDialogUpdateAmounts; + +waitUntil {!dialog}; + +dayz_actionInProgress = false; diff --git a/SQF/dayz_code/actions/zsc/zscFunctions.sqf b/SQF/dayz_code/actions/zsc/zscFunctions.sqf new file mode 100644 index 000000000..3eb8ae100 --- /dev/null +++ b/SQF/dayz_code/actions/zsc/zscFunctions.sqf @@ -0,0 +1,160 @@ +fnc_sanitizeInput = { + private ["_input","_badChars"]; + + _input = _this; + _input = toArray (_input); + _badChars = [60,62,38,123,125,91,93,59,58,39,96,126,44,46,47,63,124,92,34]; + + { + _input = _input - [_x]; + } forEach _badChars; + + _input = parseNumber (toString (_input)); + _input +}; + +BankDialogUpdateAmounts = { + private ["_vehicleType","_displayName","_sizeOfMoney"]; + + _vehicleType = typeOf ZSC_CurrentStorage; + if (isClass(configFile >> "CfgVehicles" >> _vehicleType)) then { + _vehicleMagazines = getNumber (configFile >> "CfgVehicles" >> _vehicleType >> "transportMaxMagazines"); + if (_vehicleMagazines == 0) then {_vehicleMagazines = ZSC_defaultStorageMultiplier}; + _displayName = getText (configFile >> "CfgVehicles" >> _vehicleType >> "displayName"); + _sizeOfMoney = _vehicleMagazines * ZSC_MaxMoneyInStorageMultiplier; + ctrlSetText [2701, format ["%1",_displayName]]; + ctrlSetText [13001,format ["%1 %2",[player getVariable [(["cashMoney","globalMoney"] select Z_persistentMoney),0]] call BIS_fnc_numberText,CurrencyName]]; + ctrlSetText [13002,format ["%1 / %3 %2",[ZSC_CurrentStorage getVariable ["cashMoney",0]] call BIS_fnc_numberText,CurrencyName,[_sizeOfMoney] call BIS_fnc_numberText]]; + } else { + ctrlSetText [13001,localize "STR_CL_ZSC_VEHICLE_CAPACITY"]; + ctrlSetText [13002,localize "STR_CL_ZSC_VEHICLE_CAPACITY"]; + }; +}; + +GivePlayerDialogAmounts = { + ctrlSetText [14001,format ["%1 %2",[player getVariable [(["cashMoney","globalMoney"] select Z_persistentMoney),0]] call BIS_fnc_numberText,CurrencyName]]; + ctrlSetText [14003,format ["%1",name ZSC_GiveMoneyTarget]]; +}; + +BankDialogWithdrawAmount = { + private ["_amount","_bank","_wealth","_vehicleType","_displayName"]; + + _amount = (_this select 0) call fnc_sanitizeInput; + _bank = ZSC_CurrentStorage getVariable ["cashMoney",0]; + _wealth = player getVariable[(["cashMoney","globalMoney"] select Z_persistentMoney),0]; + _vehicleType = typeOf ZSC_CurrentStorage; + _displayName = getText (configFile >> "CfgVehicles" >> _vehicleType >> "displayName"); + + if (!isNull ZSC_CurrentStorage) then { + if ((_amount < 1) or {_amount > _bank}) exitWith {format[localize "STR_CL_ZSC_WITHDRAW_FAIL",CurrencyName,_displayName] call dayz_rollingMessages;}; + + player setVariable[(["cashMoney","globalMoney"] select Z_persistentMoney),(_wealth + _amount),true]; + ZSC_CurrentStorage setVariable["cashMoney",(_bank - _amount),true]; + call player_forceSave; + + PVDZ_veh_Save = [ZSC_CurrentStorage,"coins"]; + publicVariableServer "PVDZ_veh_Save"; + + format[localize "STR_CL_ZSC_WITHDRAW_OK",[_amount] call BIS_fnc_numberText,CurrencyName,_displayName] call dayz_rollingMessages; + } else { + localize "STR_CL_ZSC_UNABLE" call dayz_rollingMessages; + }; +}; + +BankDialogDepositAmount = { + private ["_amount","_bank","_wealth","_maxCap","_vehicleType","_displayName","_vehicleMagazines"]; + + _vehicleType = typeOf ZSC_CurrentStorage; + _maxCap = 0; + _displayName = "Storage"; + if (isClass(configFile >> "CfgVehicles" >> _vehicleType)) then { + _displayName = getText (configFile >> "CfgVehicles" >> _vehicleType >> "displayName"); + _vehicleMagazines = getNumber (configFile >> "CfgVehicles" >> _vehicleType >> "transportMaxMagazines"); + _maxCap = _vehicleMagazines * ZSC_MaxMoneyInStorageMultiplier; + } else { + _displayName = "Unknown"; + }; + + _amount = (_this select 0) call fnc_sanitizeInput; + _bank = ZSC_CurrentStorage getVariable ["cashMoney",0]; + _wealth = player getVariable[(["cashMoney","globalMoney"] select Z_persistentMoney),0]; + + if ((_amount < 1) or {_amount > _wealth}) exitWith {format[localize "STR_CL_ZSC_DEPOSIT_FAIL",CurrencyName] call dayz_rollingMessages;}; + + if ((_bank + _amount) > _maxCap) then { + format[localize "STR_CL_ZSC_STORE_FAIL",[_maxCap] call BIS_fnc_numberText,CurrencyName,_displayName] call dayz_rollingMessages; + } else { + player setVariable[(["cashMoney","globalMoney"] select Z_persistentMoney),(_wealth - _amount),true]; + ZSC_CurrentStorage setVariable["cashMoney",(_bank + _amount),true]; + format[localize "STR_CL_ZSC_DEPOSIT_OK",[_amount] call BIS_fnc_numberText,CurrencyName,_displayName] call dayz_rollingMessages; + }; + + call player_forceSave; + PVDZ_veh_Save = [ZSC_CurrentStorage,"coins"]; + publicVariableServer "PVDZ_veh_Save"; +}; + +GivePlayerAmount = { + private ["_amount","_wealth","_twealth","_isBusy"]; + + _amount = (_this select 0) call fnc_sanitizeInput; + _wealth = player getVariable[(["cashMoney","globalMoney"] select Z_persistentMoney),0]; + _twealth = ZSC_GiveMoneyTarget getVariable[(["cashMoney","globalMoney"] select Z_persistentMoney),0]; + _isBusy = ZSC_GiveMoneyTarget getVariable ["isBusy",false]; + _vehicleType = typeOf ZSC_GiveMoneyTarget; + + if ((_amount < 1) or {_amount > _wealth}) exitWith {format[localize "STR_CL_ZSC_GIVE_FAIL",CurrencyName] call dayz_rollingMessages;}; + + if (!(isPlayer ZSC_GiveMoneyTarget)) exitWith {format[localize "STR_CL_ZSC_GIVE_PLAYER",CurrencyName] call dayz_rollingMessages;}; + + if (_isBusy) exitWith {format[localize "STR_CL_ZSC_ALREADY_TRADING",name ZSC_GiveMoneyTarget] call dayz_rollingMessages;}; + + player setVariable[(["cashMoney","globalMoney"] select Z_persistentMoney),_wealth - _amount,true]; + ZSC_GiveMoneyTarget setVariable[(["cashMoney","globalMoney"] select Z_persistentMoney),_twealth + _amount,true]; + + call player_forceSave; + + format[localize "STR_CL_ZSC_GIVE_OK",name ZSC_GiveMoneyTarget,[_amount] call BIS_fnc_numberText,CurrencyName] call dayz_rollingMessages; +}; + +if (Z_globalBanking) then { + ATMDialogUpdateAmounts = { + ctrlSetText [23001,format["%1 %2",player getVariable [(["cashMoney","globalMoney"] select Z_persistentMoney),0] call BIS_fnc_numberText,CurrencyName]]; + ctrlSetText [23002,format["%1 %2",player getVariable ["bankMoney",0] call BIS_fnc_numberText,CurrencyName]]; + }; + + ATMDialogWithdrawAmount = { + private ["_amount","_bank","_wealth"]; + + _amount = (_this select 0) call fnc_sanitizeInput; + _bank = player getVariable ["bankMoney",0]; + _wealth = player getVariable [(["cashMoney","globalMoney"] select Z_persistentMoney),0]; + + if ((_amount < 1) or {_amount > _bank}) exitWith {format[localize "STR_CL_ZSC_WITHDRAW_FAIL",CurrencyName,toLower (localize "STR_CL_ZSC_GLOBAL_BANK")] call dayz_rollingMessages;}; + + player setVariable [(["cashMoney","globalMoney"] select Z_persistentMoney),(_wealth + _amount),true]; + player setVariable ["bankMoney",(_bank - _amount),true]; + call player_forceSave; + + format[localize "STR_CL_ZSC_GLOBAL_WITHDRAW",[_amount] call BIS_fnc_numberText,CurrencyName] call dayz_rollingMessages; + }; + + ATMDialogDepositAmount = { + private ["_amount","_bank","_wealth"]; + + _amount = (_this select 0) call fnc_sanitizeInput; + _bank = player getVariable ["bankMoney",0]; + _wealth = player getVariable [(["cashMoney","globalMoney"] select Z_persistentMoney),0]; + + if ((_amount < 1) or {_amount > _wealth}) exitWith {format[localize "STR_CL_ZSC_DEPOSIT_FAIL",CurrencyName] call dayz_rollingMessages;}; + + if (ZSC_limitOnBank && {(_bank + _amount) > ZSC_maxBankMoney}) then { + format[localize "STR_CL_ZSC_GLOBAL_DEPOSIT_FAIL", [ZSC_maxBankMoney] call BIS_fnc_numberText,CurrencyName] call dayz_rollingMessages; + } else { + player setVariable [(["cashMoney","globalMoney"] select Z_persistentMoney),(_wealth - _amount),true]; + player setVariable ["bankMoney",(_bank + _amount),true]; + format[localize "STR_CL_ZSC_GLOBAL_DEPOSIT_OK",[_amount] call BIS_fnc_numberText,CurrencyName] call dayz_rollingMessages; + call player_forceSave; + }; + }; +}; diff --git a/SQF/dayz_code/compile/fn_localizeMessage.sqf b/SQF/dayz_code/compile/fn_localizeMessage.sqf new file mode 100644 index 000000000..63d0e63f7 --- /dev/null +++ b/SQF/dayz_code/compile/fn_localizeMessage.sqf @@ -0,0 +1,41 @@ +/* + Function name: fnc_localizeMessage + This function localizes and formats messages that are sent remotely to the client. Used in conjunction with fnc_remote_message. + If a user wants a string to be localized then STR_CL_ should be placed in the string name in stringtable.xml. STR_CL_MYSERVERSIDESCRIPT_ACTION. + The message can also be sent as an array or multi-dimensional array with arguments. Example: _message = ["STR_CL_Localized_String", param1, param2]; +*/ + +_type = _this select 0; +_message = _this select 1; +if (typeName _message == "TEXT") exitWith {_message}; +_multiArray = ["private","dynamic_text","ai_killfeed","hintWithImage","hintNoImage"]; // These messages can be multi-dimensional arrays + +if (_type in _multiArray) then { + { + _index = _forEachIndex; + if (typeName _x == "ARRAY") then { + { + if (["STR_",_x] call fnc_inString) then { + (_message select _index) set [_forEachIndex, localize _x]; + }; + } forEach _x; + _message set [_index, format _x]; + } else { + if (["STR_",_x] call fnc_inString) then { + _message set [_index, localize _x]; + }; + }; + } forEach _message; +} else { + if (typeName _message == "ARRAY") then { + if (["STR_",(_message select 0)] call fnc_inString) then { + _message set [0, localize (_message select 0)]; + }; + _message = format _message; + } else { + if (["STR_",_message] call fnc_inString) then { + _message = localize _message; + }; + }; +}; +_message \ No newline at end of file diff --git a/SQF/dayz_code/compile/fn_remoteMessage.sqf b/SQF/dayz_code/compile/fn_remoteMessage.sqf new file mode 100644 index 000000000..dba8e33d6 --- /dev/null +++ b/SQF/dayz_code/compile/fn_remoteMessage.sqf @@ -0,0 +1,77 @@ +/* + Function name: fnc_remoteMessage + This function accepts messages sent with PublicVariable "RemoteMessage" and displays them on the screen. + It sends the messages to fnc_localizeMessage for localizing and formatting. +*/ + +private "_vars"; + +_type = _this select 0; +_message = _this select 1; +if (count _this > 2) then { + _vars = _this select 2; +}; + +// Checks for localized strings and formats messages that contain parameters +_message = [_type,_message] call fnc_localizeMessage; + +if (_type == "radio") exitWith { + if (player hasWeapon "ItemRadio") then { + if (player getVariable["radiostate",true]) then { + systemChat ("[RADIO] " + _message); + playSound "Radio_Message_Sound"; + }; + }; +}; + +if (_type == "IWAC") exitWith { + if (player hasWeapon "ItemRadio") then { + if (player getVariable["radiostate",true]) then { + _message call dayz_rollingMessages; + playSound "IWAC_Message_Sound"; + }; + }; +}; + +if (_type == "private") exitWith {if(getPlayerUID player == (_message select 0)) then {systemChat (_message select 1);};}; +if (_type == "systemChat") exitWith {systemChat _message;}; +if (_type == "titleCut") exitWith {titleCut [_message,"PLAIN DOWN",3];}; +if (_type == "titleText") exitWith {titleText [_message, "PLAIN DOWN"]; titleFadeOut 10;}; +if (_type == "rollingMessages") exitWith {_message call dayz_rollingMessages;}; +if (_type == "dynamic_text") exitWith { + [ + format["%1
%2",_message select 0,_message select 1,_vars select 0,_vars select 1,_vars select 2,_vars select 3], + (_vars select 4), // X coordinate + (_vars select 5), // Y coordinate + (_vars select 6), // Message duration + (_vars select 7) // fade in + ] spawn BIS_fnc_dynamicText; +}; +if (_type == "hintWithImage") exitWith {hint parseText format["%1

%2", + _message select 0, // Title + _message select 1, // Announcement + _vars select 0, // Image + _vars select 1, // Title Color + _vars select 2, // Title Size + _vars select 3 // Image Size +];}; +if (_type == "hintNoImage") exitWith {hint parseText format["%1
%2", + _message select 0, // Title + _message select 1, // Announcement + _vars select 0, // Title Color + _vars select 1 // Title Size +];}; +if (_type == "ai_killfeed") exitWith { + if (isNil "RM_rscLayer") then {RM_rscLayer = 750}; + [ + format["%1%2
%3",_message select 0,_message select 1,_message select 2,_vars select 0,_vars select 1,_vars select 2], + (_vars select 3), // X coordinate + (_vars select 4), // Y coordinate + (_vars select 5), // Message duration + (_vars select 6), // fade in + -1, + RM_rscLayer + ] spawn BIS_fnc_dynamicText; + RM_rscLayer = RM_rscLayer + 1; + if (RM_rscLayer == 788) then {RM_rscLayer = nil;}; +}; diff --git a/SQF/dayz_code/compile/fn_selfActions.sqf b/SQF/dayz_code/compile/fn_selfActions.sqf index 61918cd58..aa6530f9f 100644 --- a/SQF/dayz_code/compile/fn_selfActions.sqf +++ b/SQF/dayz_code/compile/fn_selfActions.sqf @@ -812,6 +812,63 @@ if (!isNull _cursorTarget && {!_inVehicle} && {!_isPZombie} && {player distance s_player_towing = -1; }; */ + + // ZSC + if (Z_singleCurrency) then { + if (_isMan && !_isAlive && {!(_cursorTarget isKindOf "Animal")}) then { + if (s_player_checkWallet < 0) then { + s_player_checkWallet = player addAction [format["%1",localize "STR_CL_ZSC_CHECK_WALLET"],"\z\addons\dayz_code\actions\zsc\checkWallet.sqf",_cursorTarget,0,false,true]; + }; + } else { + player removeAction s_player_checkWallet; + s_player_checkWallet = -1; + }; + //if (_typeOfCursorTarget in DZE_MoneyStorageClasses && {!_isLocked} && {!(_typeOfCursorTarget in DZE_LockedStorage)}) then { + if (_typeOfCursorTarget in DZE_MoneyStorageClasses && !_isLocked) then { + if (s_bank_dialog < 0) then { + s_bank_dialog = player addAction [format["%1",localize "STR_CL_ZSC_ACCESS_BANK"],"\z\addons\dayz_code\actions\zsc\bankDialog.sqf",_cursorTarget,1,true,true]; + }; + } else { + player removeAction s_bank_dialog; + s_bank_dialog = -1; + }; + if (ZSC_VehicleMoneyStorage) then { + if (_isVehicle && !_isMan && !_isLocked && _isAlive) then { + if (s_bank_dialog3 < 0) then { + s_bank_dialog3 = player addAction [format["%1",localize "STR_CL_ZSC_ACCESS_BANK"],"\z\addons\dayz_code\actions\zsc\vehDialog.sqf",_cursorTarget,1,true,true]; + }; + } else { + player removeAction s_bank_dialog3; + s_bank_dialog3 = -1; + }; + }; + if (_isAlive && {_typeOfCursorTarget in AllPlayers} && {isPlayer _cursorTarget}) then { + if (s_givemoney_dialog < 0) then { + s_givemoney_dialog = player addAction [format["%1",format [localize "STR_CL_ZSC_TRADE_COINS",CurrencyName,name _cursorTarget]],"\z\addons\dayz_code\actions\zsc\givePlayer.sqf",_cursorTarget,3,true,true]; + }; + } else { + player removeAction s_givemoney_dialog; + s_givemoney_dialog = -1; + }; + if (Z_globalBanking) then { + if (_isMan && {!(isPlayer _cursorTarget)} && {_typeOfCursorTarget in ZSC_bankTraders}) then { + if (s_bank_dialog1 < 0) then { + s_bank_dialog1 = player addAction [format["%1",localize "STR_CL_ZSC_BANK_TELLER"],"\z\addons\dayz_code\actions\zsc\atmDialog.sqf",_cursorTarget,3,true,true]; + }; + } else { + player removeAction s_bank_dialog1; + s_bank_dialog1 = -1; + }; + if (_typeOfCursorTarget in ZSC_bankObjects) then { + if (s_bank_dialog2 < 0) then { + s_bank_dialog2 = player addAction [format["%1",localize "STR_CL_ZSC_BANK_ATM"],"\z\addons\dayz_code\actions\zsc\atmDialog.sqf",_cursorTarget,3,true,true]; + }; + } else { + player removeAction s_bank_dialog2; + s_bank_dialog2 = -1; + }; + }; + }; // All Traders if (_isMan && {!(isPlayer _cursorTarget)} && {_typeOfCursorTarget in serverTraders}) then { @@ -1012,6 +1069,18 @@ if (!isNull _cursorTarget && {!_inVehicle} && {!_isPZombie} && {player distance s_player_changeDoorCode = -1; player removeAction s_player_changeVaultCode; s_player_changeVaultCode = -1; + player removeAction s_givemoney_dialog; + s_givemoney_dialog = -1; + player removeAction s_bank_dialog; + s_bank_dialog = -1; + player removeAction s_bank_dialog1; + s_bank_dialog1 = -1; + player removeAction s_bank_dialog2; + s_bank_dialog2 = -1; + player removeAction s_bank_dialog3; + s_bank_dialog3 = -1; + player removeAction s_player_checkWallet; + s_player_checkWallet = -1; }; //Dog actions on player self diff --git a/SQF/dayz_code/compile/player_humanityMorph.sqf b/SQF/dayz_code/compile/player_humanityMorph.sqf index 313bd7400..38abb3bb2 100644 --- a/SQF/dayz_code/compile/player_humanityMorph.sqf +++ b/SQF/dayz_code/compile/player_humanityMorph.sqf @@ -32,9 +32,9 @@ _friendlies = player getVariable ["friendlies",[]]; _tagSetting = player getVariable ["DZE_display_name",false]; if (Z_SingleCurrency) then { - _coins = player getVariable [Z_moneyVariable,0]; - _bankCoins = player getVariable [Z_bankVariable,0]; - _globalCoins = player getVariable [Z_globalVariable,0]; + _coins = player getVariable ["cashMoney",0]; + _bankCoins = player getVariable ["bankMoney",0]; + _globalCoins = player getVariable ["globalMoney",0]; }; //Switch @@ -98,9 +98,9 @@ player setVariable ["friendlies",_friendlies,true]; player setVariable ["DZE_display_name",_tagSetting,true]; if (Z_SingleCurrency) then { - player setVariable [Z_moneyVariable,_coins,true]; - player setVariable [Z_bankVariable,_bankCoins,true]; - player setVariable [Z_globalVariable,_globalCoins,true]; + player setVariable ["cashMoney",_coins,true]; + player setVariable ["bankMoney",_bankCoins,true]; + player setVariable ["globalMoney",_globalCoins,true]; }; //PVDZ_serverStoreVar = [player,"Achievements",_achievements]; @@ -116,4 +116,4 @@ player allowDamage true; uiSleep 0.1; if !(isNull _old) then {deleteVehicle _old;}; -call player_forceSave; \ No newline at end of file +call player_forceSave; diff --git a/SQF/dayz_code/compile/player_updateGui.sqf b/SQF/dayz_code/compile/player_updateGui.sqf index e67127464..cbbdb819b 100644 --- a/SQF/dayz_code/compile/player_updateGui.sqf +++ b/SQF/dayz_code/compile/player_updateGui.sqf @@ -324,3 +324,20 @@ if (dayz_humanitytarget != _string) then { _targetControl ctrlSetStructuredText (parseText _string); dayz_humanitytarget = _string; }; + +// ZSC +if (Z_singleCurrency) then { + _display = uiNameSpace getVariable "ZSC_Money_Display"; + _ctrlZSC = _display displayCtrl 4900; + _string = ""; + if (Z_showCurrencyUI) then { + _cashAmt = player getVariable[(["cashMoney","globalMoney"] select Z_persistentMoney),0]; + _string = format ["%1
",[_cashAmt] call BIS_fnc_numberText]; + }; + if (Z_globalBanking && Z_showBankUI) then { + _bankAmt = player getVariable ["bankMoney",0]; + _string = _string + format ["%1
",[_bankAmt] call BIS_fnc_numberText]; + }; + _ctrlZSC ctrlSetStructuredText parseText _string; + _ctrlZSC ctrlCommit 0; +}; diff --git a/SQF/dayz_code/compile/ui_changeDisplay.sqf b/SQF/dayz_code/compile/ui_changeDisplay.sqf index b78102b52..bf36d4022 100644 --- a/SQF/dayz_code/compile/ui_changeDisplay.sqf +++ b/SQF/dayz_code/compile/ui_changeDisplay.sqf @@ -10,10 +10,12 @@ if !(DZE_UI == 0) then { "playerStatusGUI_legacy"; }; 3 cutRsc [_ui,"PLAIN",0]; + if (Z_singleCurrency) then {16 cutRsc ["ZSC_Money_Display","PLAIN"];}; call player_updateGui; //call ui_initDisplay; // I think this function is old and no longer necessary - JasonTM. //hintSilent ""; // not sure why this is here. } else { 3 cutRsc ["default","PLAIN",0]; + if (Z_singleCurrency) then {16 cutRsc ["default","PLAIN"];}; //hintSilent ""; // or here. }; diff --git a/SQF/dayz_code/compile/ui_selectSlot.sqf b/SQF/dayz_code/compile/ui_selectSlot.sqf index d67f9b7c2..04740e5bf 100644 --- a/SQF/dayz_code/compile/ui_selectSlot.sqf +++ b/SQF/dayz_code/compile/ui_selectSlot.sqf @@ -19,8 +19,7 @@ if (_button == 1) then { _item = gearSlotData _control; if ( //No right click action - (!DZE_SelfTransfuse && {_item in ["ItemBloodbag","wholeBloodBagANEG","wholeBloodBagAPOS","wholeBloodBagBNEG","wholeBloodBagBPOS","wholeBloodBagABNEG","wholeBloodBagABPOS","wholeBloodBagONEG","wholeBloodBagOPOS"]}) or - (!dayz_groupSystem && {_item == "ItemRadio"}) + (!DZE_SelfTransfuse && {_item in ["ItemBloodbag","wholeBloodBagANEG","wholeBloodBagAPOS","wholeBloodBagBNEG","wholeBloodBagBPOS","wholeBloodBagABNEG","wholeBloodBagABPOS","wholeBloodBagONEG","wholeBloodBagOPOS"]}) ) exitWith {}; if (mouseOverCarry) then { @@ -40,7 +39,8 @@ if (_button == 1) then { _cfgActions = _conf >> "ItemActions"; _numActions = (count _cfgActions); _height = 0; - + if (!dayz_groupSystem && {_item == "ItemRadio"}) then {_numActions = 1;}; // Used to bypass the group action when not enabled. + //Populate Menu for "_i" from 0 to (_numActions - 1) do { @@ -77,4 +77,4 @@ if (_button == 1) then { ctrlSetFocus _group; _group ctrlSetPosition _pos; _group ctrlCommit 0; -}; \ No newline at end of file +}; diff --git a/SQF/dayz_code/config.cpp b/SQF/dayz_code/config.cpp index d406ff1bf..0c4d254a5 100644 --- a/SQF/dayz_code/config.cpp +++ b/SQF/dayz_code/config.cpp @@ -130,6 +130,7 @@ class DefaultEventhandlers { #include "external\R3F_Realism\R3F_Weight\R3F_CfgWeight.hpp" #include "Configs\RscDisplay\doorManagement\doorManagement.hpp" #include "Configs\RscDisplay\doorManagement\doorAccess.hpp" +#include "Configs\RscDisplay\zscDialogs.hpp" class CfgTasks { @@ -144,4 +145,4 @@ class CfgTasks destination = ""; resources[] = {}; }; -}; \ No newline at end of file +}; diff --git a/SQF/dayz_code/configVariables.sqf b/SQF/dayz_code/configVariables.sqf index 129d54722..b10860720 100644 --- a/SQF/dayz_code/configVariables.sqf +++ b/SQF/dayz_code/configVariables.sqf @@ -12,7 +12,6 @@ if (isServer) then { MaxAmmoBoxes = 3; // Max number of random Supply_Crate_DZE filled with vehicle ammo to spawn around the map MaxMineVeins = 50; // Max number of random mine veins to spawn around the map DZE_TRADER_SPAWNMODE = false; // Vehicles purchased at traders will be parachuted in - DZE_MoneyStorageClasses = []; // If using single currency this is an array of object classes players can store coins in. EpochEvents = []; // [year,month,day of month, minutes,name of file - .sqf] If minutes is set to -1, the event will run once immediately after server start. MaxDynamicDebris = 100; // Max number of random road blocks to spawn around the map MaxVehicleLimit = 50; // Max number of random vehicles to spawn around the map @@ -91,7 +90,6 @@ if (!isDedicated) then { DZE_keepVehicleKey = false; // Keep the vehicle key when the vehicle is sold? (Useful on servers with the key changer mod) Z_AllowTakingMoneyFromBackpack = true; // Allow traders to take money from backpacks when buying with default currency. Z_AllowTakingMoneyFromVehicle = true; // Allow traders to take money from vehicles when buying with default currency. - CurrencyName = "Coins"; // If using single currency this is the currency display name. // Plot Management and Plot for Life DZE_plotManagementMustBeClose = false; //Players must be within 10m of pole to be added as a plot friend. @@ -167,11 +165,22 @@ DZE_DeathMsgDynamicText = false; // Display death messages as dynamicText in the DZE_DeathMsgRolling = false; // Display death messages as rolling messages in bottom center of screen. // ZSC -Z_SingleCurrency = false; // Does your server use a single currency system? -Z_moneyVariable = "cashMoney"; // If using single currency this is the variable name used to store player wealth. -Z_bankVariable = "moneySpecial"; // If using single currency this is the variable name used to store object bank wealth. -Z_globalVariable = "GlobalMoney"; // If using single currency this is the variable name used to store coins globally. +Z_SingleCurrency = false; // Enable single currency system. +Z_globalBanking = false; // Enable global banking system. +Z_globalBankingTraders = false; // Enable banking NPCs at trader cities. +Z_persistentMoney = false; // Enabling this stores currency to player_data instead of character_data. Currency transfers to a new character after death. For PVE servers only. Formerly called "GlobalMoney". Z_VehicleDistance = 40; // Max distance a vehicle can be sold or accessed from at a trader. +Z_showCurrencyUI = true; // Show the currency icon on the screen when Z_SingleCurrency is enabled. +Z_showBankUI = true; // Show the banking icon on the screen when Z_globalBanking is enabled. +CurrencyName = "Coins"; // If using single currency this is the currency display name. +ZSC_bankObjects = [""]; // Array of objects that are available for banking i.e: ["Suitcase","Info_Board_EP1","Laptop_EP1","SatPhone"] +ZSC_bankTraders = ["Functionary1_EP1_DZ"]; // Array of trader classnames that are available for banking (i.e Functionary1_EP1_DZ) +ZSC_limitOnBank = true; // Have a limit on the bank? (i.e true or false) limits the global banking to the number below. +ZSC_maxBankMoney = 500000; // Default limit for bank objects. +DZE_MoneyStorageClasses = ["VaultStorage","LockboxStorage"]; // If using single currency this is an array of object classes players can store coins in. +ZSC_VehicleMoneyStorage = true; // Allow players to store money in vehicles. If vehicles are destroyed the money is also destroyed. +ZSC_defaultStorageMultiplier = 200; // Default magazine count for bank objects that don't have storage slots i.e: ["Suitcase","Info_Board_EP1","Laptop_EP1","SatPhone"] +ZSC_MaxMoneyInStorageMultiplier = 5000; // Multiplier for how much money a bank object can hold, example: 200 magazine slots in the object (or the default value above ^^) multiplied by the 5000 multiplier is 1 million coin storage. (200 * 5000 = 1,000,000 coins) // Plot Management and Plot for Life DZE_permanentPlot = true; // Plot ownership saves after death. Enables Plot for Life by @RimBlock and Plot Management by @DevZupa. diff --git a/SQF/dayz_code/gui/zsc/bank.paa b/SQF/dayz_code/gui/zsc/bank.paa new file mode 100644 index 000000000..31f46818e Binary files /dev/null and b/SQF/dayz_code/gui/zsc/bank.paa differ diff --git a/SQF/dayz_code/gui/zsc/coins.paa b/SQF/dayz_code/gui/zsc/coins.paa new file mode 100644 index 000000000..777c8da87 Binary files /dev/null and b/SQF/dayz_code/gui/zsc/coins.paa differ diff --git a/SQF/dayz_code/init/compiles.sqf b/SQF/dayz_code/init/compiles.sqf index c122e4d1f..0f152551e 100644 --- a/SQF/dayz_code/init/compiles.sqf +++ b/SQF/dayz_code/init/compiles.sqf @@ -12,6 +12,7 @@ if (!isDedicated) then { call compile preprocessFileLineNumbers "\z\addons\dayz_code\util\compile.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_code\loot\init.sqf"; + if (Z_SingleCurrency) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\zsc\zscFunctions.sqf";}; call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\handleGearFunctions.sqf"; fn_handleGear = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\handleGear.sqf"; @@ -191,6 +192,9 @@ if (!isDedicated) then { MaintainPlot = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\maintain_area.sqf"; FNC_check_access = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_check_access.sqf"; fnc_usec_damageHandler = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_damageHandler.sqf"; //Event handler run on damage + fnc_radioState = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\radioState.sqf"; // Toggle radio on and off + fnc_localizeMessage = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_localizeMessage.sqf"; + fnc_remoteMessage = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_remoteMessage.sqf"; // Weather if (DZE_Weather in [3,4]) then { diff --git a/SQF/dayz_code/init/publicEH.sqf b/SQF/dayz_code/init/publicEH.sqf index 8f5795704..646fe5b09 100644 --- a/SQF/dayz_code/init/publicEH.sqf +++ b/SQF/dayz_code/init/publicEH.sqf @@ -225,5 +225,6 @@ if (!isDedicated) then { call compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\client_flies.sqf"; }; "PVDZE_PingReceived" addPublicVariableEventHandler {DZE_LastPingResp = diag_tickTime;}; - "PVDZE_SetWeather" addPublicVariableEventHandler {(_this select 1) call fnc_setWeather;}; + "PVDZE_SetWeather" addPublicVariableEventHandler {(_this select 1) call fnc_setWeather;}; + "RemoteMessage" addPublicVariableEventHandler {(_this select 1) call fnc_remoteMessage;}; }; diff --git a/SQF/dayz_code/init/variables.sqf b/SQF/dayz_code/init/variables.sqf index 04bdda083..014e1b7bf 100644 --- a/SQF/dayz_code/init/variables.sqf +++ b/SQF/dayz_code/init/variables.sqf @@ -199,6 +199,12 @@ if (!isDedicated) then { s_player_hide_body = -1; s_player_changeDoorCode = -1; s_player_changeVaultCode = -1; + s_givemoney_dialog = -1; + s_bank_dialog = -1; + s_bank_dialog1 = -1; + s_bank_dialog2 = -1; + s_bank_dialog3 = -1; + s_player_checkWallet = -1; }; call dayz_resetSelfActions; diff --git a/SQF/dayz_code/stringtable.xml b/SQF/dayz_code/stringtable.xml index 52c3bfa62..62b418396 100644 --- a/SQF/dayz_code/stringtable.xml +++ b/SQF/dayz_code/stringtable.xml @@ -26,6 +26,12 @@ Posbírat %1 %1 aufsammeln + + Radio is turned on + + + Radio is turned off + Light fire Зажечь огонь @@ -24212,6 +24218,9 @@ Das Objekt befindet sich zu weit entfernt vom Ort, wo es begonnen wurde zu bauen (innerhalb %1 Meter). Объект расположен слишком далеко (%1 м) от места строительства + + Power On/Off + @@ -25067,6 +25076,9 @@ Großhandel Оптовая торговля + + Currency + Trade %1 %2 for %3 %4 %1 %2 für %3 %4 handeln diff --git a/SQF/dayz_code/system/mission/server_traders/caribou.sqf b/SQF/dayz_code/system/mission/server_traders/caribou.sqf index e32851c41..699d0b0b8 100644 --- a/SQF/dayz_code/system/mission/server_traders/caribou.sqf +++ b/SQF/dayz_code/system/mission/server_traders/caribou.sqf @@ -1,16 +1,16 @@ // DayZ Epoch TRADERS for 17 -serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","RU_Villager3","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","RU_WorkWoman5","Doctor","Worker1","TK_CIV_Worker02_EP1","RU_Pilot","HouseWife1","Profiteer2","Profiteer3"]; +serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","RU_Villager3","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","RU_WorkWoman5","Doctor","Worker1","TK_CIV_Worker02_EP1","RU_Pilot","HouseWife1","Profiteer2","Profiteer3","Functionary1_EP1_DZ"]; /***************Hero Vendor*********/ menu_FR_AC = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hero" ]; /***************Bandit Vendor*********/ menu_GUE_Commander = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hostile" ]; @@ -52,7 +52,7 @@ menu_Dr_Hladik_EP1 = [ /***************Building/Parts*********/ menu_Worker2 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "neutral" ]; @@ -101,7 +101,7 @@ menu_Doctor = [ /***************Building/Parts*********/ menu_Worker1 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "neutral" ]; @@ -140,3 +140,10 @@ menu_Profiteer3 = [ [], "neutral" ]; + +/***************Banker*********/ +menu_Functionary1_EP1_DZ = [ + [[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]], + [], + "neutral" +]; diff --git a/SQF/dayz_code/system/mission/server_traders/chernarus11.sqf b/SQF/dayz_code/system/mission/server_traders/chernarus11.sqf index f1bcc8beb..53a076586 100644 --- a/SQF/dayz_code/system/mission/server_traders/chernarus11.sqf +++ b/SQF/dayz_code/system/mission/server_traders/chernarus11.sqf @@ -1,16 +1,16 @@ // DayZ Epoch TRADERS for 11 -serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","RU_WorkWoman5","Doctor","Worker1","TK_CIV_Worker02_EP1","Rocker4","RU_Citizen3","RU_WorkWoman1","Dr_Annie_Baker_EP1","Worker3","RU_Pilot","RU_Villager3","HouseWife1","Profiteer2","Profiteer3"]; +serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","RU_WorkWoman5","Doctor","Worker1","TK_CIV_Worker02_EP1","Rocker4","RU_Citizen3","RU_WorkWoman1","Dr_Annie_Baker_EP1","Worker3","RU_Pilot","RU_Villager3","HouseWife1","Profiteer2","Profiteer3","Functionary1_EP1_DZ"]; /***************Hero Vendor*********/ menu_FR_AC = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hero" ]; /***************Bandit Vendor*********/ menu_GUE_Commander = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hostile" ]; @@ -52,7 +52,7 @@ menu_Dr_Hladik_EP1 = [ /***************Building/Parts*********/ menu_Worker2 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "neutral" ]; @@ -96,7 +96,7 @@ menu_Doctor = [ /***************Building/Parts*********/ menu_Worker1 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "neutral" ]; @@ -139,7 +139,7 @@ menu_Dr_Annie_Baker_EP1 = [ /***************Building/Parts*********/ menu_Worker3 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "friendly" ]; @@ -184,4 +184,11 @@ menu_Profiteer3 = [ [[localize "STR_EPOCH_TRADER_CATEGORY_WHOLESALE",50]], [], "neutral" -]; \ No newline at end of file +]; + +/***************Banker*********/ +menu_Functionary1_EP1_DZ = [ + [[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]], + [], + "neutral" +]; diff --git a/SQF/dayz_code/system/mission/server_traders/chernarus17.sqf b/SQF/dayz_code/system/mission/server_traders/chernarus17.sqf index 4448d8af1..cfed87ed2 100644 --- a/SQF/dayz_code/system/mission/server_traders/chernarus17.sqf +++ b/SQF/dayz_code/system/mission/server_traders/chernarus17.sqf @@ -1,15 +1,15 @@ // DayZ Epoch TRADERS for 17 -serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","RU_WorkWoman5","Doctor","Worker1","TK_CIV_Worker02_EP1","Rocker4","RU_Citizen3","RU_WorkWoman1","Dr_Annie_Baker_EP1","Worker3","RU_Pilot","RU_Villager3","HouseWife1","Profiteer2","Profiteer3"]; +serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","RU_WorkWoman5","Doctor","Worker1","TK_CIV_Worker02_EP1","Rocker4","RU_Citizen3","RU_WorkWoman1","Dr_Annie_Baker_EP1","Worker3","RU_Pilot","RU_Villager3","HouseWife1","Profiteer2","Profiteer3","Functionary1_EP1_DZ"]; /***************Hero Vendor*********/ menu_FR_AC = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hero" ]; /***************Bandit Vendor*********/ menu_GUE_Commander = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hostile" ]; @@ -52,7 +52,7 @@ menu_Dr_Hladik_EP1 = [ /***************Building/Parts*********/ menu_Worker2 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "friendly" ]; @@ -95,7 +95,7 @@ menu_Doctor = [ /***************Building/Parts*********/ menu_Worker1 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "neutral" ]; @@ -138,7 +138,7 @@ menu_Dr_Annie_Baker_EP1 = [ /***************Building/Parts*********/ menu_Worker3 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "friendly" ]; @@ -183,4 +183,11 @@ menu_Profiteer3 = [ [[localize "STR_EPOCH_TRADER_CATEGORY_WHOLESALE",50]], [], "neutral" -]; \ No newline at end of file +]; + +/***************Banker*********/ +menu_Functionary1_EP1_DZ = [ + [[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]], + [], + "neutral" +]; diff --git a/SQF/dayz_code/system/mission/server_traders/cmr_ovaron.sqf b/SQF/dayz_code/system/mission/server_traders/cmr_ovaron.sqf index f21ba4ffb..5657cf6f6 100644 --- a/SQF/dayz_code/system/mission/server_traders/cmr_ovaron.sqf +++ b/SQF/dayz_code/system/mission/server_traders/cmr_ovaron.sqf @@ -1,16 +1,16 @@ // DayZ Epoch TRADERS for 23 -serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","RU_WorkWoman5","Doctor","Worker1","TK_CIV_Worker02_EP1","RU_Pilot","RU_Villager3","HouseWife1","Profiteer2","Profiteer3"]; +serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","RU_WorkWoman5","Doctor","Worker1","TK_CIV_Worker02_EP1","RU_Pilot","RU_Villager3","HouseWife1","Profiteer2","Profiteer3","Functionary1_EP1_DZ"]; /***************Hero Vendor*********/ menu_FR_AC = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hero" ]; /***************Bandit Vendor*********/ menu_GUE_Commander = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hostile" ]; @@ -52,7 +52,7 @@ menu_Dr_Hladik_EP1 = [ /***************Building/Parts*********/ menu_Worker2 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "neutral" ]; @@ -96,7 +96,7 @@ menu_Doctor = [ /***************Building/Parts*********/ menu_Worker1 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "neutral" ]; @@ -142,3 +142,10 @@ menu_Profiteer3 = [ [], "neutral" ]; + +/***************Banker*********/ +menu_Functionary1_EP1_DZ = [ + [[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]], + [], + "neutral" +]; diff --git a/SQF/dayz_code/system/mission/server_traders/fdf_isle1_a.sqf b/SQF/dayz_code/system/mission/server_traders/fdf_isle1_a.sqf index 7cc204239..e2f9cdb9c 100644 --- a/SQF/dayz_code/system/mission/server_traders/fdf_isle1_a.sqf +++ b/SQF/dayz_code/system/mission/server_traders/fdf_isle1_a.sqf @@ -1,16 +1,16 @@ // DayZ Epoch TRADERS for 19 -serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","Rocker4","RU_Citizen3","RU_WorkWoman1","Dr_Annie_Baker_EP1","Worker3","RU_Pilot","RU_Villager3","Profiteer2","Profiteer3"]; +serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","Rocker4","RU_Citizen3","RU_WorkWoman1","Dr_Annie_Baker_EP1","Worker3","RU_Pilot","RU_Villager3","Profiteer2","Profiteer3","Functionary1_EP1_DZ"]; /***************Hero Vendor*********/ menu_FR_AC = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hero" ]; /***************Bandit Vendor*********/ menu_GUE_Commander = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hostile" ]; @@ -53,7 +53,7 @@ menu_Dr_Hladik_EP1 = [ /***************Building/Parts*********/ menu_Worker2 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "neutral" ]; @@ -96,7 +96,7 @@ menu_Dr_Annie_Baker_EP1 = [ /***************Building/Parts*********/ menu_Worker3 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "friendly" ]; @@ -132,4 +132,11 @@ menu_Profiteer3 = [ [[localize "STR_EPOCH_TRADER_CATEGORY_WHOLESALE",50]], [], "neutral" -]; \ No newline at end of file +]; + +/***************Banker*********/ +menu_Functionary1_EP1_DZ = [ + [[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]], + [], + "neutral" +]; diff --git a/SQF/dayz_code/system/mission/server_traders/isladuala.sqf b/SQF/dayz_code/system/mission/server_traders/isladuala.sqf index 96ba4195b..0676cca59 100644 --- a/SQF/dayz_code/system/mission/server_traders/isladuala.sqf +++ b/SQF/dayz_code/system/mission/server_traders/isladuala.sqf @@ -1,16 +1,16 @@ // DayZ Epoch TRADERS for 12 -serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","RU_WorkWoman5","Doctor","Worker1","TK_CIV_Worker02_EP1","Rocker4","RU_Citizen3","RU_WorkWoman1","Dr_Annie_Baker_EP1","Worker3","RU_Pilot","RU_Villager3","HouseWife1","Profiteer2","Profiteer3"]; +serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","RU_WorkWoman5","Doctor","Worker1","TK_CIV_Worker02_EP1","Rocker4","RU_Citizen3","RU_WorkWoman1","Dr_Annie_Baker_EP1","Worker3","RU_Pilot","RU_Villager3","HouseWife1","Profiteer2","Profiteer3","Functionary1_EP1_DZ"]; /***************Hero Vendor*********/ menu_FR_AC = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hero" ]; /***************Bandit Vendor*********/ menu_GUE_Commander = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hostile" ]; @@ -52,7 +52,7 @@ menu_Doctor = [ /***************Building/Parts*********/ menu_Worker1 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "neutral" ]; @@ -95,7 +95,7 @@ menu_Dr_Hladik_EP1 = [ /***************Building/Parts*********/ menu_Worker2 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "neutral" ]; @@ -139,7 +139,7 @@ menu_Dr_Annie_Baker_EP1 = [ /***************Building/Parts*********/ menu_Worker3 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "friendly" ]; @@ -184,4 +184,11 @@ menu_Profiteer3 = [ [[localize "STR_EPOCH_TRADER_CATEGORY_WHOLESALE",50]], [], "neutral" -]; \ No newline at end of file +]; + +/***************Banker*********/ +menu_Functionary1_EP1_DZ = [ + [[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]], + [], + "neutral" +]; diff --git a/SQF/dayz_code/system/mission/server_traders/lingor.sqf b/SQF/dayz_code/system/mission/server_traders/lingor.sqf index 4db297065..92b3690aa 100644 --- a/SQF/dayz_code/system/mission/server_traders/lingor.sqf +++ b/SQF/dayz_code/system/mission/server_traders/lingor.sqf @@ -1,16 +1,16 @@ // DayZ Epoch TRADERS for 6 -serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","RU_WorkWoman5","Doctor","Worker1","TK_CIV_Worker02_EP1","Rocker4","RU_Citizen3","RU_WorkWoman1","Dr_Annie_Baker_EP1","Worker3","RU_Pilot","RU_Villager3","HouseWife1","Profiteer2","Profiteer3"]; +serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","RU_WorkWoman5","Doctor","Worker1","TK_CIV_Worker02_EP1","Rocker4","RU_Citizen3","RU_WorkWoman1","Dr_Annie_Baker_EP1","Worker3","RU_Pilot","RU_Villager3","HouseWife1","Profiteer2","Profiteer3","Functionary1_EP1_DZ"]; /***************Hero Vendor*********/ menu_FR_AC = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hero" ]; /***************Bandit Vendor*********/ menu_GUE_Commander = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hostile" ]; @@ -52,7 +52,7 @@ menu_Dr_Hladik_EP1 = [ /***************Building/Parts*********/ menu_Worker2 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "neutral" ]; @@ -96,7 +96,7 @@ menu_Doctor = [ /***************Building/Parts*********/ menu_Worker1 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "neutral" ]; @@ -139,7 +139,7 @@ menu_Dr_Annie_Baker_EP1 = [ /***************Building/Parts*********/ menu_Worker3 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "friendly" ]; @@ -184,4 +184,11 @@ menu_Profiteer3 = [ [[localize "STR_EPOCH_TRADER_CATEGORY_WHOLESALE",50]], [], "neutral" -]; \ No newline at end of file +]; + +/***************Banker*********/ +menu_Functionary1_EP1_DZ = [ + [[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]], + [], + "neutral" +]; diff --git a/SQF/dayz_code/system/mission/server_traders/namalsk.sqf b/SQF/dayz_code/system/mission/server_traders/namalsk.sqf index 9a3a2f483..6de62ff41 100644 --- a/SQF/dayz_code/system/mission/server_traders/namalsk.sqf +++ b/SQF/dayz_code/system/mission/server_traders/namalsk.sqf @@ -1,16 +1,16 @@ // DayZ Epoch TRADERS for 15 -serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","RU_Pilot","RU_Villager3","Profiteer2"]; +serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","RU_Pilot","RU_Villager3","Profiteer2","Functionary1_EP1_DZ"]; /***************Hero Vendor*********/ menu_FR_AC = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hero" ]; /***************Bandit Vendor*********/ menu_GUE_Commander = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hostile" ]; @@ -52,7 +52,7 @@ menu_Dr_Hladik_EP1 = [ /***************Building/Parts*********/ menu_Worker2 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "neutral" ]; @@ -82,4 +82,11 @@ menu_Profiteer2 = [ [[localize "STR_EPOCH_TRADER_CATEGORY_WHOLESALE",50]], [], "neutral" -]; \ No newline at end of file +]; + +/***************Banker*********/ +menu_Functionary1_EP1_DZ = [ + [[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]], + [], + "neutral" +]; diff --git a/SQF/dayz_code/system/mission/server_traders/napf.sqf b/SQF/dayz_code/system/mission/server_traders/napf.sqf index 9ac85419e..145c329b3 100644 --- a/SQF/dayz_code/system/mission/server_traders/napf.sqf +++ b/SQF/dayz_code/system/mission/server_traders/napf.sqf @@ -1,15 +1,15 @@ // DayZ Epoch TRADERS for 17 -serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","RU_WorkWoman5","Doctor","Worker1","TK_CIV_Worker02_EP1","Rocker4","RU_Citizen3","RU_WorkWoman1","Dr_Annie_Baker_EP1","Worker3","RU_Pilot","RU_Villager3","HouseWife1","Profiteer2","Profiteer3"]; +serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","RU_WorkWoman5","Doctor","Worker1","TK_CIV_Worker02_EP1","Rocker4","RU_Citizen3","RU_WorkWoman1","Dr_Annie_Baker_EP1","Worker3","RU_Pilot","RU_Villager3","HouseWife1","Profiteer2","Profiteer3","Functionary1_EP1_DZ"]; /***************Hero Vendor*********/ menu_FR_AC = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hero" ]; /***************Bandit Vendor*********/ menu_GUE_Commander = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hostile" ]; @@ -50,7 +50,7 @@ menu_Dr_Hladik_EP1 = [ /***************Building/Parts*********/ menu_Worker2 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "neutral" ]; @@ -94,7 +94,7 @@ menu_Doctor = [ /***************Building/Parts*********/ menu_Worker1 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "neutral" ]; @@ -137,7 +137,7 @@ menu_Dr_Annie_Baker_EP1 = [ /***************Building/Parts*********/ menu_Worker3 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "friendly" ]; @@ -182,4 +182,11 @@ menu_Profiteer3 = [ [[localize "STR_EPOCH_TRADER_CATEGORY_WHOLESALE",50]], [], "neutral" -]; \ No newline at end of file +]; + +/***************Banker*********/ +menu_Functionary1_EP1_DZ = [ + [[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]], + [], + "neutral" +]; diff --git a/SQF/dayz_code/system/mission/server_traders/panthera2.sqf b/SQF/dayz_code/system/mission/server_traders/panthera2.sqf index 21612244c..e7e0e4b48 100644 --- a/SQF/dayz_code/system/mission/server_traders/panthera2.sqf +++ b/SQF/dayz_code/system/mission/server_traders/panthera2.sqf @@ -1,16 +1,16 @@ // DayZ Epoch TRADERS for 17 -serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","RU_WorkWoman5","Doctor","Worker1","TK_CIV_Worker02_EP1","Rocker4","RU_Citizen3","RU_WorkWoman1","Dr_Annie_Baker_EP1","Worker3","RU_Pilot","RU_Villager3","HouseWife1","Profiteer2","Profiteer3"]; +serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","RU_WorkWoman5","Doctor","Worker1","TK_CIV_Worker02_EP1","Rocker4","RU_Citizen3","RU_WorkWoman1","Dr_Annie_Baker_EP1","Worker3","RU_Pilot","RU_Villager3","HouseWife1","Profiteer2","Profiteer3","Functionary1_EP1_DZ"]; /***************Hero Vendor*********/ menu_FR_AC = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hero" ]; /***************Bandit Vendor*********/ menu_GUE_Commander = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hostile" ]; @@ -52,7 +52,7 @@ menu_Dr_Hladik_EP1 = [ /***************Building/Parts*********/ menu_Worker2 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "neutral" ]; @@ -96,7 +96,7 @@ menu_Doctor = [ /***************Building/Parts*********/ menu_Worker1 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "neutral" ]; @@ -139,7 +139,7 @@ menu_Dr_Annie_Baker_EP1 = [ /***************Building/Parts*********/ menu_Worker3 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "friendly" ]; @@ -184,4 +184,11 @@ menu_Profiteer3 = [ [[localize "STR_EPOCH_TRADER_CATEGORY_WHOLESALE",50]], [], "neutral" -]; \ No newline at end of file +]; + +/***************Banker*********/ +menu_Functionary1_EP1_DZ = [ + [[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]], + [], + "neutral" +]; diff --git a/SQF/dayz_code/system/mission/server_traders/sauerland.sqf b/SQF/dayz_code/system/mission/server_traders/sauerland.sqf index cefd530b4..93dd038f5 100644 --- a/SQF/dayz_code/system/mission/server_traders/sauerland.sqf +++ b/SQF/dayz_code/system/mission/server_traders/sauerland.sqf @@ -1,16 +1,16 @@ // DayZ Epoch TRADERS for 17 -serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","RU_WorkWoman5","Doctor","Worker1","TK_CIV_Worker02_EP1","Rocker4","RU_Citizen3","RU_WorkWoman1","Dr_Annie_Baker_EP1","Worker3","RU_Pilot","RU_Villager3","Profiteer2","Profiteer3"]; +serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","RU_WorkWoman5","Doctor","Worker1","TK_CIV_Worker02_EP1","Rocker4","RU_Citizen3","RU_WorkWoman1","Dr_Annie_Baker_EP1","Worker3","RU_Pilot","RU_Villager3","Profiteer2","Profiteer3","Functionary1_EP1_DZ"]; /***************Hero Vendor*********/ menu_FR_AC = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hero" ]; /***************Bandit Vendor*********/ menu_GUE_Commander = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hostile" ]; @@ -52,7 +52,7 @@ menu_Dr_Hladik_EP1 = [ /***************Building/Parts*********/ menu_Worker2 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "neutral" ]; @@ -96,7 +96,7 @@ menu_Doctor = [ /***************Building/Parts*********/ menu_Worker1 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "neutral" ]; @@ -139,7 +139,7 @@ menu_Dr_Annie_Baker_EP1 = [ /***************Building/Parts*********/ menu_Worker3 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "friendly" ]; @@ -177,4 +177,11 @@ menu_Profiteer3 = [ [[localize "STR_EPOCH_TRADER_CATEGORY_WHOLESALE",50]], [], "neutral" -]; \ No newline at end of file +]; + +/***************Banker*********/ +menu_Functionary1_EP1_DZ = [ + [[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]], + [], + "neutral" +]; diff --git a/SQF/dayz_code/system/mission/server_traders/smd_sahrani_a2.sqf b/SQF/dayz_code/system/mission/server_traders/smd_sahrani_a2.sqf index 6d6581131..5fac143f6 100644 --- a/SQF/dayz_code/system/mission/server_traders/smd_sahrani_a2.sqf +++ b/SQF/dayz_code/system/mission/server_traders/smd_sahrani_a2.sqf @@ -1,16 +1,16 @@ // DayZ Epoch TRADERS for 22 -serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","RU_WorkWoman5","Doctor","Worker1","TK_CIV_Worker02_EP1","Rocker4","RU_Citizen3","RU_WorkWoman1","Dr_Annie_Baker_EP1","Worker3","RU_Pilot","RU_Villager3","HouseWife1","Profiteer2","Profiteer3"]; +serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","RU_WorkWoman5","Doctor","Worker1","TK_CIV_Worker02_EP1","Rocker4","RU_Citizen3","RU_WorkWoman1","Dr_Annie_Baker_EP1","Worker3","RU_Pilot","RU_Villager3","HouseWife1","Profiteer2","Profiteer3","Functionary1_EP1_DZ"]; /***************Hero Vendor*********/ menu_FR_AC = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hero" ]; /***************Bandit Vendor*********/ menu_GUE_Commander = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hostile" ]; @@ -52,7 +52,7 @@ menu_Dr_Hladik_EP1 = [ /***************Building/Parts*********/ menu_Worker2 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "neutral" ]; @@ -96,7 +96,7 @@ menu_Doctor = [ /***************Building/Parts*********/ menu_Worker1 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "neutral" ]; @@ -139,7 +139,7 @@ menu_Dr_Annie_Baker_EP1 = [ /***************Building/Parts*********/ menu_Worker3 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "friendly" ]; @@ -185,3 +185,10 @@ menu_Profiteer3 = [ [], "neutral" ]; + +/***************Banker*********/ +menu_Functionary1_EP1_DZ = [ + [[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]], + [], + "neutral" +]; diff --git a/SQF/dayz_code/system/mission/server_traders/takistan.sqf b/SQF/dayz_code/system/mission/server_traders/takistan.sqf index 94d801fdb..f82906a68 100644 --- a/SQF/dayz_code/system/mission/server_traders/takistan.sqf +++ b/SQF/dayz_code/system/mission/server_traders/takistan.sqf @@ -1,16 +1,16 @@ // DayZ Epoch TRADERS for 1 -serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","RU_WorkWoman5","Doctor","Worker1","TK_CIV_Worker02_EP1","Rocker4","RU_Citizen3","RU_WorkWoman1","Dr_Annie_Baker_EP1","Worker3","RU_Pilot","Profiteer2","Profiteer3"]; +serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","RU_WorkWoman5","Doctor","Worker1","TK_CIV_Worker02_EP1","Rocker4","RU_Citizen3","RU_WorkWoman1","Dr_Annie_Baker_EP1","Worker3","RU_Pilot","Profiteer2","Profiteer3","Functionary1_EP1_DZ"]; /***************Hero Vendor*********/ menu_FR_AC = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hero" ]; /***************Bandit Vendor*********/ menu_GUE_Commander = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hostile" ]; @@ -52,7 +52,7 @@ menu_Dr_Hladik_EP1 = [ /***************Building/Parts*********/ menu_Worker2 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "neutral" ]; @@ -96,7 +96,7 @@ menu_Doctor = [ /***************Building/Parts*********/ menu_Worker1 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "neutral" ]; @@ -139,7 +139,7 @@ menu_Dr_Annie_Baker_EP1 = [ /***************Building/Parts*********/ menu_Worker3 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "friendly" ]; @@ -170,4 +170,11 @@ menu_Profiteer3 = [ [[localize "STR_EPOCH_TRADER_CATEGORY_WHOLESALE",50]], [], "neutral" -]; \ No newline at end of file +]; + +/***************Banker*********/ +menu_Functionary1_EP1_DZ = [ + [[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]], + [], + "neutral" +]; diff --git a/SQF/dayz_code/system/mission/server_traders/tavi.sqf b/SQF/dayz_code/system/mission/server_traders/tavi.sqf index d9d87dbb0..6973ea573 100644 --- a/SQF/dayz_code/system/mission/server_traders/tavi.sqf +++ b/SQF/dayz_code/system/mission/server_traders/tavi.sqf @@ -1,16 +1,16 @@ // DayZ Epoch TRADERS for 13 -serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","RU_WorkWoman5","Doctor","Worker1","TK_CIV_Worker02_EP1","Rocker4","RU_Citizen3","RU_WorkWoman1","Dr_Annie_Baker_EP1","Worker3","RU_Pilot","RU_Villager3","HouseWife1","Profiteer2","Profiteer3"]; +serverTraders = ["FR_AC","GUE_Commander","GUE_Woodlander2","RU_Citizen4","Profiteer1","Rita_Ensler_EP1","Dr_Hladik_EP1","Worker2","TK_CIV_Worker01_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","RU_WorkWoman5","Doctor","Worker1","TK_CIV_Worker02_EP1","Rocker4","RU_Citizen3","RU_WorkWoman1","Dr_Annie_Baker_EP1","Worker3","RU_Pilot","RU_Villager3","HouseWife1","Profiteer2","Profiteer3","Functionary1_EP1_DZ"]; /***************Hero Vendor*********/ menu_FR_AC = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",1],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",2],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",3],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",4],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",5],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hero" ]; /***************Bandit Vendor*********/ menu_GUE_Commander = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10]], + [[localize "STR_EPOCH_TRADER_CATEGORY_AIRVEHICLES",6],[localize "STR_EPOCH_TRADER_CATEGORY_GROUNDVEHICLES",7],[localize "STR_EPOCH_TRADER_CATEGORY_WEAPONS",8],[localize "STR_EPOCH_TRADER_CATEGORY_AMMUNITION",9],[localize "STR_EPOCH_TRADER_CATEGORY_CLOTHES",10],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "hostile" ]; @@ -52,7 +52,7 @@ menu_Dr_Hladik_EP1 = [ /***************Building/Parts*********/ menu_Worker2 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "neutral" ]; @@ -96,7 +96,7 @@ menu_Doctor = [ /***************Building/Parts*********/ menu_Worker1 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "friendly" ]; @@ -139,7 +139,7 @@ menu_Dr_Annie_Baker_EP1 = [ /***************Building/Parts*********/ menu_Worker3 = [ - [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36]], + [[localize "STR_EPOCH_TRADER_CATEGORY_TOOLS",34],[localize "STR_EPOCH_TRADER_CATEGORY_BUILDINGSUPPLIES",35],[localize "STR_EPOCH_TRADER_CATEGORY_VEHICLEPARTS",36],if (Z_singleCurrency) then {[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]}], [], "neutral" ]; @@ -184,4 +184,11 @@ menu_Profiteer3 = [ [[localize "STR_EPOCH_TRADER_CATEGORY_WHOLESALE",50]], [], "neutral" -]; \ No newline at end of file +]; + +/***************Banker*********/ +menu_Functionary1_EP1_DZ = [ + [[localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY",51]], + [], + "neutral" +]; diff --git a/SQF/dayz_code/system/player_monitor.fsm b/SQF/dayz_code/system/player_monitor.fsm index 288dd255c..86f04a90b 100644 --- a/SQF/dayz_code/system/player_monitor.fsm +++ b/SQF/dayz_code/system/player_monitor.fsm @@ -1170,9 +1170,9 @@ class FSM "r_player_rh = player getVariable [""rh_factor"", false];" \n "" \n "if (Z_SingleCurrency) then {" \n - " player setVariable [Z_MoneyVariable, _characterCoins, true];" \n - " player setVariable [Z_globalVariable, _globalCoins, true];" \n - " player setVariable [Z_BankVariable, _bankCoins, true];" \n + " player setVariable [""cashMoney"", _characterCoins, true];" \n + " player setVariable [""globalMoney"", _globalCoins, true];" \n + " player setVariable [""bankMoney"", _bankCoins, true];" \n "};" \n "dayz_musicH = [] spawn player_music;" \n "dayz_slowCheck = [] spawn player_spawn_2;" \n diff --git a/SQF/dayz_code/system/scheduler/sched_gui.sqf b/SQF/dayz_code/system/scheduler/sched_gui.sqf index 075eb50bd..deafe3ee5 100644 --- a/SQF/dayz_code/system/scheduler/sched_gui.sqf +++ b/SQF/dayz_code/system/scheduler/sched_gui.sqf @@ -16,6 +16,7 @@ sched_gui = { "playerStatusGUI_legacy"; }; 3 cutRsc [_ui,"PLAIN",0]; + if (Z_singleCurrency) then {16 cutRsc ["ZSC_Money_Display","PLAIN"];}; } else { [] spawn {uiSleep 2; systemChat (localize "STR_UI_STATUS_ICONS_TOOLTIP");}; //This can be removed after friendlies system is removed from player_updateGUI diff --git a/SQF/dayz_server/compile/server_changeCode.sqf b/SQF/dayz_server/compile/server_changeCode.sqf index 05a05d8c9..ce17a4b8f 100644 --- a/SQF/dayz_server/compile/server_changeCode.sqf +++ b/SQF/dayz_server/compile/server_changeCode.sqf @@ -38,7 +38,7 @@ server_changeCode = { _weapons = getWeaponCargo _object; _magazines = getMagazineCargo _object; _backpacks = getBackpackCargo _object; - if (Z_singleCurrency) then {_coins = _object getVariable [Z_MoneyVariable,0];}; + if (Z_singleCurrency) then {_coins = _object getVariable ["cashMoney",0];}; [_objectID,_objectUID,_object] call server_deleteObjDirect; @@ -58,7 +58,7 @@ server_changeCode = { _worldSpace = [_dir,_pos]; }; - if (Z_singleCurrency) then {_holder setVariable [Z_MoneyVariable,_coins,true];}; + if (Z_singleCurrency) then {_holder setVariable ["cashMoney",_coins,true];}; _objectUID = _worldSpace call dayz_objectUID2; _holder setVariable ["ObjectUID",_objectUID,true]; diff --git a/SQF/dayz_server/compile/server_handleSafeGear.sqf b/SQF/dayz_server/compile/server_handleSafeGear.sqf index fb8350a87..3c054d7c8 100644 --- a/SQF/dayz_server/compile/server_handleSafeGear.sqf +++ b/SQF/dayz_server/compile/server_handleSafeGear.sqf @@ -1,4 +1,4 @@ -private ["_backpacks","_charID","_clientID","_dir","_holder","_lockCode","_lockedClass","_magazines","_name","_obj","_objectID","_objectUID","_ownerID","_packedClass","_player","_playerUID","_pos","_status","_statusText","_type","_unlockedClass","_vector","_weapons","_message","_suppliedCode","_damage"]; +private ["_backpacks","_charID","_clientID","_dir","_holder","_lockCode","_lockedClass","_magazines","_name","_obj","_objectID","_objectUID","_ownerID","_packedClass","_player","_playerUID","_pos","_status","_statusText","_type","_unlockedClass","_vector","_weapons","_message","_suppliedCode","_damage","_coins","_wealth"]; _player = _this select 0; _obj = _this select 1; @@ -50,6 +50,7 @@ call { _weapons = _obj getVariable ["WeaponCargo",[]]; _magazines = _obj getVariable ["MagazineCargo",[]]; _backpacks = _obj getVariable ["BackpackCargo",[]]; + if (Z_singleCurrency) then {_coins = _obj getVariable ["cashMoney",0];}; _damage = damage _obj; // Create new unlocked safe, then delete old locked safe @@ -64,6 +65,7 @@ call { _holder setVariable ["OEMPos",_pos,true]; _holder setDamage _damage; if (DZE_permanentPlot) then {_holder setVariable ["ownerPUID",_ownerID,true];}; + if (Z_singleCurrency) then {_holder setVariable ["cashMoney",_coins,true];}; deleteVehicle _obj; [_weapons,_magazines,_backpacks,_holder] call fn_addCargo; @@ -76,6 +78,7 @@ call { _weapons = getWeaponCargo _obj; _magazines = getMagazineCargo _obj; _backpacks = getBackpackCargo _obj; + if (Z_singleCurrency) then {_coins = _obj getVariable ["cashMoney",0];}; _damage = damage _obj; // Create new locked safe, then delete old unlocked safe @@ -90,6 +93,7 @@ call { _holder setVariable ["OEMPos",_pos,true]; _holder setDamage _damage; if (DZE_permanentPlot) then {_holder setVariable ["ownerPUID",_ownerID,true];}; + if (Z_singleCurrency) then {_holder setVariable ["cashMoney",_coins,true];}; deleteVehicle _obj; // Local setVariable gear onto new locked safe for easy access on next unlock @@ -104,6 +108,7 @@ call { _weapons = getWeaponCargo _obj; _magazines = getMagazineCargo _obj; _backpacks = getBackpackCargo _obj; + if (Z_singleCurrency) then {_coins = _obj getVariable ["cashMoney",0];}; _holder = _packedClass createVehicle [0,0,0]; deleteVehicle _obj; @@ -111,6 +116,13 @@ call { _holder setPosATL _pos; _holder addMagazineCargoGlobal [getText(configFile >> "CfgVehicles" >> _packedClass >> "seedItem"),1]; [_weapons,_magazines,_backpacks,_holder] call fn_addCargo; + if (Z_singleCurrency && {_coins > 0}) then { + _wealth = _player getVariable [(["cashMoney","globalMoney"] select Z_persistentMoney),0]; + _player setVariable [(["cashMoney","globalMoney"] select Z_persistentMoney),_wealth + _coins,true]; + + RemoteMessage = ["systemChat",["STR_CL_ZSC_PACK_WARNING",_type,[_coins] call BIS_fnc_numberText,CurrencyName]]; + (owner _player) publicVariableClient "RemoteMessage"; + }; // Delete safe from database [_objectID,_objectUID,_obj] call server_deleteObjDirect; diff --git a/SQF/dayz_server/compile/server_playerSync.sqf b/SQF/dayz_server/compile/server_playerSync.sqf index 74e64207c..49eef2ff7 100644 --- a/SQF/dayz_server/compile/server_playerSync.sqf +++ b/SQF/dayz_server/compile/server_playerSync.sqf @@ -38,9 +38,9 @@ _medical = []; _distanceFoot = 0; //all getVariable immediately -_globalCoins = _character getVariable [Z_globalVariable, -1]; -_bankCoins = _character getVariable [Z_BankVariable, -1]; -_coins = _character getVariable [Z_MoneyVariable, -1]; //should getting coins fail set the variable to an invalid value to prevent overwritting the in the DB +_globalCoins = _character getVariable ["globalMoney", -1]; +_bankCoins = _character getVariable ["bankMoney", -1]; +_coins = _character getVariable ["cashMoney", -1]; //should getting coins fail set the variable to an invalid value to prevent overwritting the in the DB _lastPos = _character getVariable ["lastPos",_charPos]; _usec_Dead = _character getVariable ["USEC_isDead",false]; _lastTime = _character getVariable ["lastTime",-1]; diff --git a/SQF/dayz_server/compile/updateObject_functions.sqf b/SQF/dayz_server/compile/updateObject_functions.sqf index 48abd8b80..17c46a08a 100644 --- a/SQF/dayz_server/compile/updateObject_functions.sqf +++ b/SQF/dayz_server/compile/updateObject_functions.sqf @@ -52,7 +52,7 @@ server_obj_inv = { }; if (Z_SingleCurrency) then { - _coins = _object getVariable [Z_MoneyVariable, -1]; //set to invalid value if getVariable fails to prevent overwriting of coins in DB + _coins = _object getVariable ["cashMoney", -1]; //set to invalid value if getVariable fails to prevent overwriting of coins in DB _key = _key + str _coins + ":"; }; diff --git a/SQF/dayz_server/system/server_monitor.sqf b/SQF/dayz_server/system/server_monitor.sqf index 94b0f8180..6bea4c0ba 100644 --- a/SQF/dayz_server/system/server_monitor.sqf +++ b/SQF/dayz_server/system/server_monitor.sqf @@ -200,7 +200,7 @@ if ((playersNumber west + playersNumber civilian) == 0) exitWith { _object setVariable ["ObjectID", _idKey, true]; _object setVariable ["OwnerPUID", _ownerPUID, true]; if (Z_SingleCurrency && {_type in DZE_MoneyStorageClasses}) then { - _object setVariable [Z_MoneyVariable, _storageMoney, true]; + _object setVariable ["cashMoney", _storageMoney, true]; }; dayz_serverIDMonitor set [count dayz_serverIDMonitor,_idKey]; @@ -339,8 +339,8 @@ if ((playersNumber west + playersNumber civilian) == 0) exitWith { // prevent immediate hive write when vehicle parts are set up _object setVariable ["lastUpdate",diag_ticktime]; _object setVariable ["ObjectID", _idKey, true]; - if (Z_SingleCurrency && {_type in DZE_MoneyStorageClasses}) then { - _object setVariable [Z_MoneyVariable, _storageMoney, true]; + if (Z_SingleCurrency && ZSC_VehicleMoneyStorage) then { + _object setVariable ["cashMoney", _storageMoney, true]; }; dayz_serverIDMonitor set [count dayz_serverIDMonitor,_idKey]; diff --git a/SQF/dayz_server/traders/caribou.sqf b/SQF/dayz_server/traders/caribou.sqf index 659fc5515..64a1fee93 100644 --- a/SQF/dayz_server/traders/caribou.sqf +++ b/SQF/dayz_server/traders/caribou.sqf @@ -42,4 +42,14 @@ ["Profiteer2",[1198.43,1902.09,0],68.656], //Wholesaler ["Profiteer3",[4802.38,7338.27,0],175.745] -] call server_spawnTraders; \ No newline at end of file +] call server_spawnTraders; + +// Bankers +if (Z_singleCurrency && Z_globalBanking && Z_globalBankingTraders) then { + [ + //Raven Rock + ["Functionary1_EP1_DZ",[1386.9,6941.33,0],93], + //Raun + ["Functionary1_EP1_DZ",[3946.33,886.11,0],261] + ] call server_spawnTraders; +}; diff --git a/SQF/dayz_server/traders/chernarus11.sqf b/SQF/dayz_server/traders/chernarus11.sqf index 9b11b2362..9eab0ab7d 100644 --- a/SQF/dayz_server/traders/chernarus11.sqf +++ b/SQF/dayz_server/traders/chernarus11.sqf @@ -57,4 +57,16 @@ ["Profiteer2",[13531,6356,0],102], //Wholesaler ["Profiteer3",[4360,2261,0],196] -] call server_spawnTraders; \ No newline at end of file +] call server_spawnTraders; + +// Bankers +if (Z_singleCurrency && Z_globalBanking && Z_globalBankingTraders) then { + [ + //Stary + ["Functionary1_EP1_DZ",[6324.71,7787,0],64], + //Bash + ["Functionary1_EP1_DZ",[4057.35,11662.7,0],47], + //Klen + ["Functionary1_EP1_DZ",[11461,11348.6,0],312] + ] call server_spawnTraders; +}; diff --git a/SQF/dayz_server/traders/chernarus17.sqf b/SQF/dayz_server/traders/chernarus17.sqf index 38b07ef2d..a53f5289e 100644 --- a/SQF/dayz_server/traders/chernarus17.sqf +++ b/SQF/dayz_server/traders/chernarus17.sqf @@ -57,4 +57,16 @@ ["Profiteer2",[1100.26,2854.37,0],179.651], //Wholesaler ["Profiteer3",[13246.2,6071.39,0],5.43464] -] call server_spawnTraders; \ No newline at end of file +] call server_spawnTraders; + +// Bankers +if (Z_singleCurrency && Z_globalBanking && Z_globalBankingTraders) then { + [ + //Stary + ["Functionary1_EP1_DZ",[6324.71,7787,0],64], + //Bash + ["Functionary1_EP1_DZ",[4057.35,11662.7,0],47], + //Klen + ["Functionary1_EP1_DZ",[11461,11348.6,0],312] + ] call server_spawnTraders; +}; diff --git a/SQF/dayz_server/traders/cmr_ovaron.sqf b/SQF/dayz_server/traders/cmr_ovaron.sqf index 612ad80fb..a95148858 100644 --- a/SQF/dayz_server/traders/cmr_ovaron.sqf +++ b/SQF/dayz_server/traders/cmr_ovaron.sqf @@ -46,3 +46,13 @@ //Wholesaler ["Profiteer3",[7132.36,6479.76,0],88] ] call server_spawnTraders; + +// Bankers +if (Z_singleCurrency && Z_globalBanking && Z_globalBankingTraders) then { + [ + //Lissabon + ["Functionary1_EP1_DZ",[4349.68,6725.49,0],179], + //Riad + ["Functionary1_EP1_DZ",[5883.27,3548.17,0],225] + ] call server_spawnTraders; +}; diff --git a/SQF/dayz_server/traders/fdf_isle1_a.sqf b/SQF/dayz_server/traders/fdf_isle1_a.sqf index a31a94135..660c6e0d9 100644 --- a/SQF/dayz_server/traders/fdf_isle1_a.sqf +++ b/SQF/dayz_server/traders/fdf_isle1_a.sqf @@ -41,4 +41,14 @@ ["Profiteer2",[14834.7,7661,0],185.512], //Wholesaler ["Profiteer3",[10033.4,5945.52,0],181.422] -] call server_spawnTraders; \ No newline at end of file +] call server_spawnTraders; + +// Bankers +if (Z_singleCurrency && Z_globalBanking && Z_globalBankingTraders) then { + [ + //Jesco + ["Functionary1_EP1_DZ",[9662.23,10879.8,0],0], + //Berezniki + ["Functionary1_EP1_DZ",[7979.71,10577.8,0.1],292] + ] call server_spawnTraders; +}; diff --git a/SQF/dayz_server/traders/isladuala.sqf b/SQF/dayz_server/traders/isladuala.sqf index 2948bf1e1..8665a6a74 100644 --- a/SQF/dayz_server/traders/isladuala.sqf +++ b/SQF/dayz_server/traders/isladuala.sqf @@ -57,4 +57,16 @@ ["Profiteer2",[6286.28,1298.19,0],251.311], //Wholesaler ["Profiteer3",[8407.63,3378.76,0],106.96] -] call server_spawnTraders; \ No newline at end of file +] call server_spawnTraders; + +// Bankers +if (Z_singleCurrency && Z_globalBanking && Z_globalBankingTraders) then { + [ + //Camara + ["Functionary1_EP1_DZ",[2001.31,1196.58,0],342], + //Nubak + ["Functionary1_EP1_DZ",[4959.47,5117.99,0],11], + //Pinley + ["Functionary1_EP1_DZ",[1286.47,9073.91,0],197] + ] call server_spawnTraders; +}; diff --git a/SQF/dayz_server/traders/lingor.sqf b/SQF/dayz_server/traders/lingor.sqf index 9dae58e9a..7fe518e8d 100644 --- a/SQF/dayz_server/traders/lingor.sqf +++ b/SQF/dayz_server/traders/lingor.sqf @@ -57,4 +57,14 @@ ["Profiteer2",[1431.42, 1173.83,0],0], //Wholesaler ["Profiteer3",[9082.1, 8675.91,0],256.14] -] call server_spawnTraders; \ No newline at end of file +] call server_spawnTraders; + +// Bankers +if (Z_singleCurrency && Z_globalBanking && Z_globalBankingTraders) then { + [ + ["Functionary1_EP1_DZ",[3020.2061,5945.2783,0.23],0], + ["Functionary1_EP1_DZ",[4140.2051,1505.2682,2.3],55], + ["Functionary1_EP1_DZ",[7519.0171,2949.8694,6.2],-177], + ["Functionary1_EP1_DZ",[4239.9063,4841.8989,3.8],94] + ] call server_spawnTraders; +}; diff --git a/SQF/dayz_server/traders/namalsk.sqf b/SQF/dayz_server/traders/namalsk.sqf index dc59dcca3..0070a4d12 100644 --- a/SQF/dayz_server/traders/namalsk.sqf +++ b/SQF/dayz_server/traders/namalsk.sqf @@ -25,4 +25,14 @@ ["RU_Villager3",[6252.9136, 11938.433,0.6],-86.49], //Wholesaler ["Profiteer2",[6237.6626, 11939.934,0],90] -] call server_spawnTraders; \ No newline at end of file +] call server_spawnTraders; + +// Bankers +if (Z_singleCurrency && Z_globalBanking && Z_globalBankingTraders) then { + [ + ["Functionary1_EP1_DZ",[4339.7476,4785.6826,4.529953e-006],-124.0745], + ["Functionary1_EP1_DZ",[4711.7993,8922.0303,-9.5367432e-006],93.216309], + ["Functionary1_EP1_DZ",[5793.0386,10780.646,-1.9073486e-006],95.136726], + ["Functionary1_EP1_DZ",[7322.6367,7988.499,-3.8146973e-005],-65.537285] + ] call server_spawnTraders; +}; diff --git a/SQF/dayz_server/traders/napf.sqf b/SQF/dayz_server/traders/napf.sqf index 16268ab5b..5e1654948 100644 --- a/SQF/dayz_server/traders/napf.sqf +++ b/SQF/dayz_server/traders/napf.sqf @@ -57,4 +57,14 @@ ["Profiteer2",[5371,16091.2,0],0], //Wholesaler ["Profiteer3",[2128.3,7807.78,6.99081],260.566] -] call server_spawnTraders; \ No newline at end of file +] call server_spawnTraders; + +// Bankers +if (Z_singleCurrency && Z_globalBanking && Z_globalBankingTraders) then { + [ + ["Functionary1_EP1_DZ",[12399.83,5054.3413,0.2],52], + ["Functionary1_EP1_DZ",[15529.827,13236.555,2.38],164], + ["Functionary1_EP1_DZ",[8252.4922,15494.612,0.22],24.5], + ["Functionary1_EP1_DZ",[2123.4653,7806.499,0.28],53] + ] call server_spawnTraders; +}; diff --git a/SQF/dayz_server/traders/panthera2.sqf b/SQF/dayz_server/traders/panthera2.sqf index 82abd995a..823258b1c 100644 --- a/SQF/dayz_server/traders/panthera2.sqf +++ b/SQF/dayz_server/traders/panthera2.sqf @@ -57,4 +57,13 @@ ["Profiteer2",[5229.55,8228.82,0],267], //Wholesaler ["Profiteer3",[7222,732.791,0],308.085] -] call server_spawnTraders; \ No newline at end of file +] call server_spawnTraders; + +// Bankers +if (Z_singleCurrency && Z_globalBanking && Z_globalBankingTraders) then { + [ + ["Functionary1_EP1_DZ",[4770.4067,7482.2651,-1.7],0], + ["Functionary1_EP1_DZ",[4431.1997,1616.5604,1.9],-85], + ["Functionary1_EP1_DZ",[8252.4922,15494.612,0.22],93] + ] call server_spawnTraders; +}; diff --git a/SQF/dayz_server/traders/ruegen.sqf b/SQF/dayz_server/traders/ruegen.sqf index e69de29bb..c6df8df1a 100644 --- a/SQF/dayz_server/traders/ruegen.sqf +++ b/SQF/dayz_server/traders/ruegen.sqf @@ -0,0 +1 @@ +diag_log format ["The map this server is running (%1) has no traders defined.",worldName]; diff --git a/SQF/dayz_server/traders/sauerland.sqf b/SQF/dayz_server/traders/sauerland.sqf index 1b986ff98..3f84d3f20 100644 --- a/SQF/dayz_server/traders/sauerland.sqf +++ b/SQF/dayz_server/traders/sauerland.sqf @@ -55,4 +55,16 @@ ["Profiteer2",[223.627,22712.1,0],154], //Wholesaler ["Profiteer3",[2446.07,3899.76,0],262.573] -] call server_spawnTraders; \ No newline at end of file +] call server_spawnTraders; + +// Bankers +if (Z_singleCurrency && Z_globalBanking && Z_globalBankingTraders) then { + [ + //Seedorf + ["Functionary1_EP1_DZ",[15488.6,17014.2,0],172], + //Oberdorf + ["Functionary1_EP1_DZ",[13160.8,6624.8,0],134], + //Oberberg + ["Functionary1_EP1_DZ",[24738.5,21748.2,0],62] + ] call server_spawnTraders; +}; diff --git a/SQF/dayz_server/traders/smd_sahrani_a2.sqf b/SQF/dayz_server/traders/smd_sahrani_a2.sqf index 528beb244..aa27c87d3 100644 --- a/SQF/dayz_server/traders/smd_sahrani_a2.sqf +++ b/SQF/dayz_server/traders/smd_sahrani_a2.sqf @@ -57,4 +57,16 @@ ["Profiteer2",[11453.7,5420.59,0],202.669], //Wholesaler ["Profiteer3",[13558.3,8684.33,0],184.643] -] call server_spawnTraders; \ No newline at end of file +] call server_spawnTraders; + +// Bankers +if (Z_singleCurrency && Z_globalBanking && Z_globalBankingTraders) then { + [ + //Corazol + ["Functionary1_EP1_DZ",[12552.1,8355.03,0],29], + //Bagango + ["Functionary1_EP1_DZ",[14264.6,12431.2,0],97], + //Ixel + ["Functionary1_EP1_DZ",[17189,13596.6,0],160] + ] call server_spawnTraders; +}; diff --git a/SQF/dayz_server/traders/takistan.sqf b/SQF/dayz_server/traders/takistan.sqf index fc3db76dc..7e861acf0 100644 --- a/SQF/dayz_server/traders/takistan.sqf +++ b/SQF/dayz_server/traders/takistan.sqf @@ -53,4 +53,16 @@ ["Profiteer2",[7408.47,96.8015,0],122.687], //Wholesaler ["Profiteer3",[11127.3,12662.9,0],198.318] -] call server_spawnTraders; \ No newline at end of file +] call server_spawnTraders; + +// Bankers +if (Z_singleCurrency && Z_globalBanking && Z_globalBankingTraders) then { + [ + //Nur + ["Functionary1_EP1_DZ",[1964.39,12575,0],200], + //Garmsar + ["Functionary1_EP1_DZ",[10857.6,6325.05,0.44],129], + //Khushab + ["Functionary1_EP1_DZ",[431.039,5574.53,0],84] + ] call server_spawnTraders; +}; diff --git a/SQF/dayz_server/traders/tavi.sqf b/SQF/dayz_server/traders/tavi.sqf index 2f9b27f06..3e7db5166 100644 --- a/SQF/dayz_server/traders/tavi.sqf +++ b/SQF/dayz_server/traders/tavi.sqf @@ -77,4 +77,16 @@ ["Profiteer2",[9864.43,7471.31,0],283.424], //Wholesaler ["Profiteer3",[13340.8,8610.9,0.466263],38.7793] -] call server_spawnTraders; \ No newline at end of file +] call server_spawnTraders; + +// Bankers +if (Z_singleCurrency && Z_globalBanking && Z_globalBankingTraders) then { + [ + ["Functionary1_EP1_DZ",[5461.0132,8762.3438,0.056497198],52], + ["Functionary1_EP1_DZ",[11026.932,842.23804,0.18712912],138.57352], + ["Functionary1_EP1_DZ",[17231.154,7661.1392,0.102005],-202.23622], + ["Functionary1_EP1_DZ",[12643.531,11811.004,100.51027],100.51027], + ["Functionary1_EP1_DZ",[15370.618,16458.928,0.056785069],-188.12981], + ["Functionary1_EP1_DZ",[10167.308,19075.475,0.26185527],-116.41749] + ] call server_spawnTraders; +}; diff --git a/SQF/dayz_sfx/CfgSounds.hpp b/SQF/dayz_sfx/CfgSounds.hpp index 47f8b4608..b3d11f294 100644 --- a/SQF/dayz_sfx/CfgSounds.hpp +++ b/SQF/dayz_sfx/CfgSounds.hpp @@ -826,4 +826,19 @@ class CfgSounds { sound[] = {"\dayz_sfx\effects\blizzard.ogg",0.5,1}; titles[] = {}; }; + class Radio_Message_Sound { + name = ""; + sound[] = {"\dayz_sfx\effects\radio.ogg",0.4,1}; + titles[] = {}; + }; + class IWAC_Message_Sound { + name=""; + sound[] = {"\dayz_sfx\effects\IWACsound.ogg",0.4,1}; + titles[] = {}; + }; + class Switch_On_Off { + name=""; + sound[] = {"\dayz_sfx\effects\switch.ogg",0.5,1}; + titles[] = {}; + }; }; diff --git a/SQF/dayz_sfx/effects/IWACsound.ogg b/SQF/dayz_sfx/effects/IWACsound.ogg new file mode 100644 index 000000000..0877ea2e7 Binary files /dev/null and b/SQF/dayz_sfx/effects/IWACsound.ogg differ diff --git a/SQF/dayz_sfx/effects/radio.ogg b/SQF/dayz_sfx/effects/radio.ogg new file mode 100644 index 000000000..c29715bf8 Binary files /dev/null and b/SQF/dayz_sfx/effects/radio.ogg differ diff --git a/SQF/dayz_sfx/effects/switch.ogg b/SQF/dayz_sfx/effects/switch.ogg new file mode 100644 index 000000000..912fab25c Binary files /dev/null and b/SQF/dayz_sfx/effects/switch.ogg differ diff --git a/Server Files/DZE_Server_Config/BattlEye/scripts.txt b/Server Files/DZE_Server_Config/BattlEye/scripts.txt index e59942f45..602494c63 100644 --- a/Server Files/DZE_Server_Config/BattlEye/scripts.txt +++ b/Server Files/DZE_Server_Config/BattlEye/scripts.txt @@ -16,7 +16,7 @@ 5 closeDisplay !"'closeDisplay'" !"closeDisplay 0" !"closeDisplay 2" !"if (!isNil \"closeDisplay\") then {" 1 compile !"ca\\communityconfiguration" !"ca\\Data\\" !"ca\\missions" !"ca\\modules" !"ca\\ui\\" !"ca\\Warfare2\\" !"scriptName \"Functions\\systems\\fn_inv" !"scriptName \"MP\\data\\script" !"code = compile preprocessFileLineNumbers (BIS_PathMPscriptCommands" !"t = missionConfigFile >> \"onMinimapScript" !="_this call (call compile GetText (configFile >> \"CfgAmmo\" >> _amm >> \"muzzleEffect\"));" !"z\\addons\\dayz_code\\" !"_menu ctrlSetEventHandler [\"ButtonClick\",_compile];\n};\n_pos set [3" !"{ _x set [1, compile (_x select 1)]; }" !"silver_1oz_b);\n\n{ \nif (!isNil {call compile" !"Var = compile format[\"epoch_death_board_record_" 5 createAgent !="_agent = if (_type == \"Pastor\") then {createAgent [_type, _Pos, [], 0, \"NONE\"]} else {createAgent [_type, _Pos, [], 0, \"FORM\"]};" !="_dog = createAgent [_type, _Pos, [], 0, \"NONE\"];" !="\n\n\n_type = _unitTypes call BIS_fnc_selectRandom;\n_agent = createAgent [_type, _position, [], 0, \"CAN_COLLIDE\"];\n_agent setDir (r" -5 createDialog !="_region = createDialog \"RscDisplaySpawnSelecter\";" !="_gender = createDialog 'RscDisplayGenderSelect';" !="_dialog = createDialog \"bloodTest\";" !="createDialog 'RscDisplayCraftingMenu';" !="createDialog \"DAYZ_PADLOCK\";" !"createDialog 'horde_journal_" !"Z_ResetContainer = true;\ncreateDialog \"AdvancedTrading\";" !"createDialog \"DoorManagement\";\ncall DoorNearbyHumans;" !="createDialog \"ComboLockUI\";" !"createdialog \"PlotManagement\";\ncall PlotNearbyHumans;" !"_trader_data = (_this select 3);\n\n_dialog = createdialog \"TraderDialog\";" !"_ok = createDialog \"KeypadUI\";" !"EpochDeathBoardLoad = {\ncreatedialog \"EpochDeathBoardDialog\";" !="if(DZE_doorManagement) then {createdialog \"DoorAccess\";} else {createdialog \"ComboLockUI\";};" !"\ndisableSerialization;\ncreateDialog \"DZ_GroupDialog\";" !"createDialog _dialog;\n\nwaitUntil {!dialog};\n\nif (keypadCancel) exitWith {" +5 createDialog !="_region = createDialog \"RscDisplaySpawnSelecter\";" !="_gender = createDialog 'RscDisplayGenderSelect';" !="_dialog = createDialog \"bloodTest\";" !="createDialog 'RscDisplayCraftingMenu';" !="createDialog \"DAYZ_PADLOCK\";" !"createDialog 'horde_journal_" !"Z_ResetContainer = true;\ncreateDialog \"AdvancedTrading\";" !"createDialog \"DoorManagement\";\ncall DoorNearbyHumans;" !="createDialog \"ComboLockUI\";" !"createdialog \"PlotManagement\";\ncall PlotNearbyHumans;" !"_trader_data = (_this select 3);\n\n_dialog = createdialog \"TraderDialog\";" !"_ok = createDialog \"KeypadUI\";" !"EpochDeathBoardLoad = {\ncreatedialog \"EpochDeathBoardDialog\";" !="if(DZE_doorManagement) then {createdialog \"DoorAccess\";} else {createdialog \"ComboLockUI\";};" !"\ndisableSerialization;\ncreateDialog \"DZ_GroupDialog\";" !"createDialog _dialog;\n\nwaitUntil {!dialog};\n\nif (keypadCancel) exitWith {" !=";\n};\n\nZSC_CurrentStorage setVariable[\"isBusy\",true,true];\ncreateDialog \"BankDialog\";\ncall BankDialogUpdateAmounts;\n\nwaitUntil {!" !="ANKING_NOT_AVAIL\",_typeOf] call dayz_rollingMessages;\n};\n\ncreateDialog \"atmDialog\";\ncall AtmDialogUpdateAmounts;\n\nwaitUntil {!di" !="!_isBusy) then {\nplayer setVariable[\"isBusy\",true,true]; \ncreateDialog \"GivePlayerDialog\";\n_display = uiNamespace getVariable[\"z" 5 createDisplay 5 createMarker !"\"createMarkerLocal\"," !"rcreateMarkerLocal" !"if (isnil 'BIS_GITA_fnc_createMarkers' || false) then {" !"_marker = createMarkerLocal [format[\"groupMember" 5 createUnit !="_newUnit = _group createUnit [_class,respawn_west_original,[],0,\"NONE\"];" !="BIS_MPF_logic = BIS_MPF_dummygroup createUnit [\"Logic\", [1000,10,0], [], 0, \"NONE\"];" @@ -35,7 +35,7 @@ 5 groupIcon 5 HelicopterExplo !"(isNull _who) then {\nif (_ammo != \"\" && _ammo isKindOf \"HelicopterExplo" !"_v = thisTrigger getVariable [\"obj\", objNull];\n" !"_v = thisTrigger getVariable [\"\"obj\"\", objNull];\n" !"\n\n\nremoveallweapons _v;\n\nif (local _v) then {_expl=\"HelicopterExplo" 5 hideObject !rhideObject !"\"hideObject\"" !"(_x select 0) nearestObject (_x select 1);\n_object hideObject" !"_object2 = _ghost2 createVehicleLocal [0,0,0];\nhideObject _object;" -5 hint !", \"_postFix\"" !rhint !rtaskHint !"\"hint\", " !"\"hintC\", " !"\"taskHint\"," !"_controlHintButton ctrlSettext \"Objectives\";" !"hint (localize \"strwf" !"'BIS_fnc_hints'" !sched_planthint !"call ui_initDisplay;\nhintSilent \"\"" !"hintSilent localize \"str_player_low" +5 hint !", \"_postFix\"" !rhint !rtaskHint !"\"hint\", " !"\"hintC\", " !"\"taskHint\"," !"_controlHintButton ctrlSettext \"Objectives\";" !"hint (localize \"strwf" !"'BIS_fnc_hints'" !sched_planthint !"call ui_initDisplay;\nhintSilent \"\"" !"hintSilent localize \"str_player_low" !=" select 1;\n_filter = [\"private\",\"dynamic_text\",\"ai_killfeed\",\"hintWithImage\",\"hintNoImage\"]; \n\nif (typeName _message == \"TEXT\") " !="vars select 7) \n] spawn BIS_fnc_dynamicText;\n};\nif (_type == \"hintWithImage\") exitWith {hint parseText format[\" 0.5) then {\n_killer switchcamera" -5 systemChat !="systemChat format[localize \"str_missing_to_do_this\", _x];" !"systemChat (localize " !"systemChat format[localize \"STR_EPOCH_" !"systemChat localize \"STR_EPOCH_" !"case \"system\": {systemChat _message;};" !"systemchat localize \"STR_CRAFTING_NEEDED_ITEMS\";" !"systemChat format[localize \"STR_CL_" !"systemChat localize \"STR_CL_" +5 systemChat !="systemChat format[localize \"str_missing_to_do_this\", _x];" !"systemChat (localize " !"systemChat format[localize \"STR_EPOCH_" !"systemChat localize \"STR_EPOCH_" !"case \"system\": {systemChat _message;};" !"systemchat localize \"STR_CRAFTING_NEEDED_ITEMS\";" !"systemChat format[localize \"STR_CL_" !"systemChat localize \"STR_CL_" !=") then {\nif (player getVariable[\"radiostate\",true]) then {\nsystemChat (\"[RADIO] \" + _message);\nplaySound \"Radio_Message_Sound\";\n" 5 title !"titleCut [\"\", \"BLACK " !"\"titleCut\", " !"\"titleText\"" !="rtitleCut = 'titleCut'" !"rtitleCutc" !="rtitleText = 'titleText'" !"rtitleTextc" !"(_missionTextListPath >> \"titles\")" !"(_display displayCtrl _titleIDC) ctrlShow false;" !"titleText [format[localize \"str_return_lobby\", _x" !",\"_titleText\"" !"localize 'STR_UI_GENDER_TITLE';\n_timeNem" !="scriptName \"MP\\data\\scriptCommands\\titleText.sqf\";" !_fillTradeTitle !_bldTxtStringTitle !"localize \"str_halo_altitude_speed" -5 toString !"_animCheck = toString ([(_animStateArray select 0),(_animStateArray select 1)" !="_skinToModel = toString (_finalArray);" !="{_textArrayTemp = _textArrayTemp + [tostring [_x]]} foreach _line;" !="_cmpt = toString _cmpt;" !="_objName = toLower(toString(_objName));" !"if (toString _hayArr != _needle) then {" !="_type = toString _typeA;" !="_anim4 = toString _anim4;" !"{(count _stance>17)}) then {toString [_stance select 17]}" !"BIS_fnc_timeToString" !"02, if (typeName _name == \"ARRAY\") then {toString _name} else {_name}];" !="s = true;\n\n_array = toArray (animationState player);\n_str = toString [_array select 5,_array select 6,_array select 7];\n_anim = " +5 toString !"_animCheck = toString ([(_animStateArray select 0),(_animStateArray select 1)" !="_skinToModel = toString (_finalArray);" !="{_textArrayTemp = _textArrayTemp + [tostring [_x]]} foreach _line;" !="_cmpt = toString _cmpt;" !="_objName = toLower(toString(_objName));" !"if (toString _hayArr != _needle) then {" !="_type = toString _typeA;" !="_anim4 = toString _anim4;" !"{(count _stance>17)}) then {toString [_stance select 17]}" !"BIS_fnc_timeToString" !"02, if (typeName _name == \"ARRAY\") then {toString _name} else {_name}];" !="s = true;\n\n_array = toArray (animationState player);\n_str = toString [_array select 5,_array select 6,_array select 7];\n_anim = " !=" _input - [_x];\n} forEach _badChars;\n\n_input = parseNumber (toString (_input));\n_input\n};\n\nBankDialogUpdateAmounts = {\nprivate [" 5 worldTo !="_relPos = _building worldToModel _point;" !"_w2m = _x worldToModel (getPosATL player);\n_bb = (boundingbox _x) select 1;" !="_h = _offset + ((_o worldToModel (getPosATL _o)) select 2);" !"_pos set [2,(_pos select 2) + 1.5];\n_screen = worldToScreen _pos;\n_text = composeText [image" !="\n_pos = _this select 1; \n_offset = 1; \n\n_relPos = _building worldToModel _pos;\n_boundingBox = boundingBox _building;\n\n_min = _bo" diff --git a/Server Files/MPMissions/DayZ_Epoch_1.Takistan/description.ext b/Server Files/MPMissions/DayZ_Epoch_1.Takistan/description.ext index 47ac3a67e..201860353 100644 --- a/Server Files/MPMissions/DayZ_Epoch_1.Takistan/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_1.Takistan/description.ext @@ -32,4 +32,5 @@ diagHit = 1; #include "\z\addons\dayz_code\gui\description.hpp" #include "\z\addons\dayz_code\Configs\CfgLoot\CfgLoot.hpp" -#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" \ No newline at end of file +#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" // Normal traders +//#include "\z\addons\dayz_code\Configs\CfgServerTraderZSC\CfgServerTrader.hpp" // Single currency traders diff --git a/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/description.ext b/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/description.ext index 0af6acba6..5a267670c 100644 --- a/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/description.ext @@ -32,4 +32,5 @@ diagHit = 1; #include "\z\addons\dayz_code\gui\description.hpp" #include "\z\addons\dayz_code\Configs\CfgLoot\CfgLoot.hpp" -#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" \ No newline at end of file +#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" // Normal traders +//#include "\z\addons\dayz_code\Configs\CfgServerTraderZSC\CfgServerTrader.hpp" // Single currency traders diff --git a/Server Files/MPMissions/DayZ_Epoch_12.isladuala/description.ext b/Server Files/MPMissions/DayZ_Epoch_12.isladuala/description.ext index e131c3b2a..130738bc2 100644 --- a/Server Files/MPMissions/DayZ_Epoch_12.isladuala/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_12.isladuala/description.ext @@ -32,4 +32,5 @@ diagHit = 1; #include "\z\addons\dayz_code\gui\description.hpp" #include "\z\addons\dayz_code\Configs\CfgLoot\CfgLoot.hpp" -#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" \ No newline at end of file +#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" // Normal traders +//#include "\z\addons\dayz_code\Configs\CfgServerTraderZSC\CfgServerTrader.hpp" // Single currency traders diff --git a/Server Files/MPMissions/DayZ_Epoch_13.Tavi/description.ext b/Server Files/MPMissions/DayZ_Epoch_13.Tavi/description.ext index f5b0fab59..445cc6f1f 100644 --- a/Server Files/MPMissions/DayZ_Epoch_13.Tavi/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_13.Tavi/description.ext @@ -32,4 +32,5 @@ diagHit = 1; #include "\z\addons\dayz_code\gui\description.hpp" #include "\z\addons\dayz_code\Configs\CfgLoot\CfgLoot.hpp" -#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" \ No newline at end of file +#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" // Normal traders +//#include "\z\addons\dayz_code\Configs\CfgServerTraderZSC\CfgServerTrader.hpp" // Single currency traders diff --git a/Server Files/MPMissions/DayZ_Epoch_15.namalsk/description.ext b/Server Files/MPMissions/DayZ_Epoch_15.namalsk/description.ext index eb62f0fa8..8df18c2c4 100644 --- a/Server Files/MPMissions/DayZ_Epoch_15.namalsk/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_15.namalsk/description.ext @@ -32,4 +32,5 @@ diagHit = 1; #include "\z\addons\dayz_code\gui\description.hpp" #include "\z\addons\dayz_code\Configs\CfgLoot\CfgLoot.hpp" -#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" \ No newline at end of file +#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" // Normal traders +//#include "\z\addons\dayz_code\Configs\CfgServerTraderZSC\CfgServerTrader.hpp" // Single currency traders diff --git a/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/description.ext b/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/description.ext index a820271e2..c81f24d79 100644 --- a/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/description.ext @@ -32,4 +32,5 @@ diagHit = 1; #include "\z\addons\dayz_code\gui\description.hpp" #include "\z\addons\dayz_code\Configs\CfgLoot\CfgLoot.hpp" -#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" \ No newline at end of file +#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" // Normal traders +//#include "\z\addons\dayz_code\Configs\CfgServerTraderZSC\CfgServerTrader.hpp" // Single currency traders diff --git a/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/description.ext b/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/description.ext index e0c9f93f6..09c96c57b 100644 --- a/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/description.ext @@ -32,4 +32,5 @@ diagHit = 1; #include "\z\addons\dayz_code\gui\description.hpp" #include "\z\addons\dayz_code\Configs\CfgLoot\CfgLoot.hpp" -#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" \ No newline at end of file +#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" // Normal traders +//#include "\z\addons\dayz_code\Configs\CfgServerTraderZSC\CfgServerTrader.hpp" // Single currency traders diff --git a/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/description.ext b/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/description.ext index 801cde396..13da47fa5 100644 --- a/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/description.ext @@ -32,4 +32,5 @@ diagHit = 1; #include "\z\addons\dayz_code\gui\description.hpp" #include "\z\addons\dayz_code\Configs\CfgLoot\CfgLoot.hpp" -#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" \ No newline at end of file +#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" // Normal traders +//#include "\z\addons\dayz_code\Configs\CfgServerTraderZSC\CfgServerTrader.hpp" // Single currency traders diff --git a/Server Files/MPMissions/DayZ_Epoch_2.Chernarus_Winter/description.ext b/Server Files/MPMissions/DayZ_Epoch_2.Chernarus_Winter/description.ext index f5f083f49..495f61976 100644 --- a/Server Files/MPMissions/DayZ_Epoch_2.Chernarus_Winter/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_2.Chernarus_Winter/description.ext @@ -32,4 +32,5 @@ diagHit = 1; #include "\z\addons\dayz_code\gui\description.hpp" #include "\z\addons\dayz_code\Configs\CfgLoot\CfgLoot.hpp" -#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" \ No newline at end of file +#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" // Normal traders +//#include "\z\addons\dayz_code\Configs\CfgServerTraderZSC\CfgServerTrader.hpp" // Single currency traders diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/description.ext b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/description.ext index cc071c10c..b90f1d8a4 100644 --- a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/description.ext @@ -32,4 +32,5 @@ diagHit = 1; #include "\z\addons\dayz_code\gui\description.hpp" #include "\z\addons\dayz_code\Configs\CfgLoot\CfgLoot.hpp" -#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" \ No newline at end of file +#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" // Normal traders +//#include "\z\addons\dayz_code\Configs\CfgServerTraderZSC\CfgServerTrader.hpp" // Single currency traders diff --git a/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/description.ext b/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/description.ext index d07596cf8..f8c488f1f 100644 --- a/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/description.ext @@ -32,4 +32,5 @@ diagHit = 1; #include "\z\addons\dayz_code\gui\description.hpp" #include "\z\addons\dayz_code\Configs\CfgLoot\CfgLoot.hpp" -#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" \ No newline at end of file +#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" // Normal traders +//#include "\z\addons\dayz_code\Configs\CfgServerTraderZSC\CfgServerTrader.hpp" // Single currency traders diff --git a/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/description.ext b/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/description.ext index 5b714cc02..93727d898 100644 --- a/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/description.ext @@ -32,4 +32,5 @@ diagHit = 1; #include "\z\addons\dayz_code\gui\description.hpp" #include "\z\addons\dayz_code\Configs\CfgLoot\CfgLoot.hpp" -#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" \ No newline at end of file +#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" // Normal traders +//#include "\z\addons\dayz_code\Configs\CfgServerTraderZSC\CfgServerTrader.hpp" // Single currency traders diff --git a/Server Files/MPMissions/DayZ_Epoch_24.Napf/description.ext b/Server Files/MPMissions/DayZ_Epoch_24.Napf/description.ext index f05f0dbfb..bc8d7ff6d 100644 --- a/Server Files/MPMissions/DayZ_Epoch_24.Napf/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_24.Napf/description.ext @@ -32,4 +32,5 @@ diagHit = 1; #include "\z\addons\dayz_code\gui\description.hpp" #include "\z\addons\dayz_code\Configs\CfgLoot\CfgLoot.hpp" -#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" \ No newline at end of file +#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" // Normal traders +//#include "\z\addons\dayz_code\Configs\CfgServerTraderZSC\CfgServerTrader.hpp" // Single currency traders diff --git a/Server Files/MPMissions/DayZ_Epoch_25.sauerland/description.ext b/Server Files/MPMissions/DayZ_Epoch_25.sauerland/description.ext index 1655c9033..1394f5a85 100644 --- a/Server Files/MPMissions/DayZ_Epoch_25.sauerland/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_25.sauerland/description.ext @@ -32,4 +32,5 @@ diagHit = 1; #include "\z\addons\dayz_code\gui\description.hpp" #include "\z\addons\dayz_code\Configs\CfgLoot\CfgLoot.hpp" -#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" \ No newline at end of file +#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" // Normal traders +//#include "\z\addons\dayz_code\Configs\CfgServerTraderZSC\CfgServerTrader.hpp" // Single currency traders diff --git a/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/description.ext b/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/description.ext index 2e0ae93a2..8545aee76 100644 --- a/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/description.ext @@ -32,4 +32,5 @@ diagHit = 1; #include "\z\addons\dayz_code\gui\description.hpp" #include "\z\addons\dayz_code\Configs\CfgLoot\CfgLoot.hpp" -#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" \ No newline at end of file +#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" // Normal traders +//#include "\z\addons\dayz_code\Configs\CfgServerTraderZSC\CfgServerTrader.hpp" // Single currency traders diff --git a/Server Files/MPMissions/DayZ_Epoch_27.ruegen/description.ext b/Server Files/MPMissions/DayZ_Epoch_27.ruegen/description.ext index c4682202b..cc7911baa 100644 --- a/Server Files/MPMissions/DayZ_Epoch_27.ruegen/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_27.ruegen/description.ext @@ -32,4 +32,5 @@ diagHit = 1; #include "\z\addons\dayz_code\gui\description.hpp" #include "\z\addons\dayz_code\Configs\CfgLoot\CfgLoot.hpp" -#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" \ No newline at end of file +#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" // Normal traders +//#include "\z\addons\dayz_code\Configs\CfgServerTraderZSC\CfgServerTrader.hpp" // Single currency traders diff --git a/Server Files/MPMissions/DayZ_Epoch_7.Lingor/description.ext b/Server Files/MPMissions/DayZ_Epoch_7.Lingor/description.ext index 70aeb394c..33b36b4e8 100644 --- a/Server Files/MPMissions/DayZ_Epoch_7.Lingor/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_7.Lingor/description.ext @@ -32,4 +32,5 @@ diagHit = 1; #include "\z\addons\dayz_code\gui\description.hpp" #include "\z\addons\dayz_code\Configs\CfgLoot\CfgLoot.hpp" -#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" \ No newline at end of file +#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" // Normal traders +//#include "\z\addons\dayz_code\Configs\CfgServerTraderZSC\CfgServerTrader.hpp" // Single currency traders