/* * FORMAT: * STRING (Conditions) - Must return boolean : * String can contain any amount of conditions, aslong as the entire * string returns a boolean. This allows you to check any levels, licenses etc, * in any combination. For example: * "call life_coplevel && license_civ_someLicense" * This will also let you call any other function. * * * ARRAY FORMAT: * 0: STRING (Classname): Item Classname * 1: STRING (Nickname): Nickname that will appear purely in the shop dialog * 2: SCALAR (Buy price) * 3: SCALAR (Sell price): To disable selling, this should be -1 * 4: STRING (Conditions): Same as above conditions string * * Weapon classnames can be found here: https://community.bistudio.com/wiki/Arma_3_CfgWeapons_Weapons * Item classnames can be found here: https://community.bistudio.com/wiki/Arma_3_CfgWeapons_Items * */ class WeaponShops { //Armory Shops class gun { name = "Billy Joe's Firearms"; side = "civ"; conditions = "license_civ_gun"; items[] = { { "Binocular", "", 150, 75, "" }, { "ItemGPS", "", 100, 50, "" }, { "ItemMap", "", 50, 25, "" }, { "ItemCompass", "", 50, 25, "" }, { "ItemWatch", "", 50, 25, "" }, { "FirstAidKit", "", 150, 75, "" }, { "NVGoggles", "", 2000, 1000, "" }, { "hgun_Rook40_F", "", 6500, 3250, "" }, { "hgun_Pistol_01_F", "", 7000, 3500, "" }, //Apex DLC { "hgun_Pistol_heavy_02_F", "", 9850, 4925, "" }, { "hgun_ACPC2_F", "", 11500, 5750, "" }, { "SMG_05_F", "", 18000, 9000, "" }, //Apex DLC { "hgun_PDW2000_F", "", 20000, 10000, "" } }; mags[] = { { "16Rnd_9x21_Mag", "", 125, 60, "" }, { "6Rnd_45ACP_Cylinder", "", 150, 75, "" }, { "9Rnd_45ACP_Mag", "", 200, 100, "" }, { "30Rnd_9x21_Mag", "", 250, 125, "" }, { "30Rnd_9x21_Mag_SMG_02", "", 250, 125, "" }, //Apex DLC { "10Rnd_9x21_Mag", "", 250, 125, "" } //Apex DLC }; accs[] = { { "acc_flashlight_pistol", "", 1000, 500, "" },//Pistol Flashlight { "optic_ACO_grn_smg", "", 2500, 1250, "" } }; }; class rebel { name = "Mohammed's Jihadi Shop"; side = "civ"; conditions = "license_civ_rebel"; items[] = { { "Binocular", "", 150, 75, "" }, { "ItemGPS", "", 100, 50, "" }, { "ItemMap", "", 50, 25, "" }, { "ItemCompass", "", 50, 25, "" }, { "ItemWatch", "", 50, 25, "" }, { "FirstAidKit", "", 150, 75, "" }, { "NVGoggles", "", 2000, 1000, "" }, { "arifle_TRG20_F", "", 35000, 12500, "" }, { "arifle_Katiba_F", "", 40000, 15000, "" }, { "srifle_DMR_01_F", "", 100000, 25000, "" }, { "arifle_SDAR_F", "", 30000, 10000, "" }, { "arifle_AK12_F", "", 85000, 11000, "" }, //Apex DLC { "arifle_AKS_F", "", 85000, 11000, "" }, //Apex DLC { "arifle_AKM_F", "", 80000, 11000, "" }, //Apex DLC { "arifle_ARX_blk_F", "", 32000, 11000, "" }, //Apex DLC { "arifle_CTAR_blk_F", "", 35000, 15000, "" }, //Apex DLC { "arifle_Mk20_plain_F", "", 25000 , 12500, "" }, { "LMG_Mk200_F", "", 1750000, 0, "" }, { "hgun_ACPC2_F", "", 5000, 2500, "" }, { "hgun_Pistol_heavy_01_F", "", 3000, 1750, "" }, { "srifle_GM6_F", "", 7500000, 0, "" }, { "arifle_MXC_F", "", 50000, 25000, "" }, { "srifle_DMR_07_blk_F", "", 800000, 10000, "" }, { "LMG_03_F", "", 1750000, 0, "" }, { "arifle_CTARS_blk_F", "", 500000, 1000, "" }, { "arifle_MSBS65_F", "", 30000, 10000, "" }, { "arifle_MSBS65_Mark_F", "", 400000, 10000, "" }, { "sgun_HunterShotgun_01_sawedoff_F", "", 50000, 1000, "" }, { "srifle_DMR_05_blk_F", "", 3000000, 5000, "" }, { "srifle_DMR_06_hunter_F", "", 500000, 1000, "" }, { "First Aid Kit", "", 1750, 500, "" }, { "launch_RPG7_F", "", 10000000, 0, "" }, { "hgun_PDW2000_F", "", 9850, 2000, "" }, { "SMG_01_F", "", 100000, 5000, "" } }; mags[] = { { "30Rnd_762x39_Mag_F", "", 300, 150, "" }, //Apex DLC { "30Rnd_545x39_Mag_F", "", 300, 150, "" }, //Apex DLC { "30Rnd_65x39_caseless_green", "", 275, 140, "" }, { "10Rnd_762x54_Mag", "", 500, 250, "" }, { "20Rnd_556x45_UW_mag", "", 125, 60, "" }, { "30Rnd_580x42_Mag_F", "", 125, 60, "" }, //Apex DLC { "30Rnd_556x45_Stanag", "", 120, 50, "" }, { "200Rnd_65x39_cased_Box_Red", "", 1250, 0, "" }, { "9Rnd_45ACP_Mag", "", 250, 125, "" }, { "11Rnd_45ACP_Mag", "", 175,85, "" }, { "5Rnd_127x108_Mag", "", 75000, 0, "" }, { "30Rnd_65x39_caseless_mag", "", 200, 100, "" }, { "20Rnd_650x39_Cased_Mag_F", "", 800, 200, "" }, { "200Rnd_556x45_Box_Red_F", "", 1250, 0, "" }, { "100Rnd_580x42_Mag_Tracer_F", "", 850, 100, "" }, { "30Rnd_65x39_caseless_msbs_mag", "", 500, 100, "" }, { "30Rnd_65x39_caseless_msbs_mag", "", 650, 200, "" }, { "2Rnd_12Gauge_Pellets", "", 800, 100, "" }, { "10Rnd_93x64_DMR_05_Mag", "", 1000, 0, "" }, { "10Rnd_Mk14_762x51_Mag", "", 1200, 0, "" }, { "RPG7_F", "", 500000, 500, "" }, { "30Rnd_556x45_Stanag_Tracer_Red", "", 375, 50, "" }, { "16Rnd_9x21_Mag", "", 200, 50, "" }, { "30Rnd_45ACP_Mag_SMG_01_Tracer_Red", "", 375, 50 "" } }; accs[] = { { "optic_ACO_grn", "", 3500, 1750, "" }, { "optic_Holosight", "", 3600, 1800, "" }, { "optic_Hamr", "", 7500, 3750, "" }, { "acc_flashlight", "", 1000, 500, "" }, { "optic_MRCO", "", 8000, 100, "" }, { "optic_DMS", "", 50000, 1000, "" }, { "muzzle_snds_M", "", 95000, 5000, "" }, { "muzzle_snds_H", "", 500000, 1000, "" }, { "bipod_01_F_mtp", "", 9500, 1000, "" }, { "bipod_02_F_blk", "", 9500, 1000, "" }, { "bipod_03_F_blk", "", 9500, 1000, "" }, { "optic_SOS_khk_F", "", 100000, 5000 "" }, { "optic_AMS", "", 100000, 5000, "" } }; }; class gang { name = "Hideout Armament"; side = "civ"; conditions = ""; items[] = { { "Binocular", "", 150, 75, "" }, { "ItemGPS", "", 100, 50, "" }, { "ItemMap", "", 50, 25, "" }, { "ItemCompass", "", 50, 25, "" }, { "ItemWatch", "", 50, 25, "" }, { "FirstAidKit", "", 150, 75, "" }, { "NVGoggles", "", 2000, 1000, "" }, { "hgun_Rook40_F", "", 1500, 750, "" }, { "hgun_Pistol_heavy_02_F", "", 2500, 1250, "" }, { "hgun_ACPC2_F", "", 4500, 2250, "" }, { "hgun_PDW2000_F", "", 9500, 4750, "" } }; mags[] = { { "16Rnd_9x21_Mag", "", 125, 60, "" }, { "6Rnd_45ACP_Cylinder", "", 150, 75, "" }, { "9Rnd_45ACP_Mag", "", 200, 100, "" }, { "30Rnd_9x21_Mag", "", 250, 125, "" } }; accs[] = { { "acc_flashlight_pistol", "", 500, 250, "" },//Pistol Flashlight { "optic_ACO_grn_smg", "", 950, 475, "" } }; }; //Basic Shops class genstore { name = "Altis General Store"; side = "civ"; conditions = ""; items[] = { { "Binocular", "", 150, 75, "" }, { "ItemGPS", "", 100, 50, "" }, { "ItemMap", "", 50, 25, "" }, { "ItemCompass", "", 50, 25, "" }, { "ItemWatch", "", 50, 25, "" }, { "FirstAidKit", "", 150, 75, "" }, { "NVGoggles", "", 2000, 1000, "" }, { "Chemlight_red", "", 300, 150, "" }, { "Chemlight_yellow", "", 300, 150, "" }, { "Chemlight_green", "", 300, 150, "" }, { "Chemlight_blue", "", 300, 150, "" } }; mags[] = {}; accs[] = {}; }; class f_station_store { name = "Altis Fuel Station Store"; side = ""; conditions = ""; items[] = { { "Binocular", "", 750, 75, "" }, { "ItemGPS", "", 500, 50, "" }, { "ItemMap", "", 250, 25, "" }, { "ItemCompass", "", 250, 25, "" }, { "ItemWatch", "", 250, 25, "" }, { "FirstAidKit", "", 750, 75, "" }, { "NVGoggles", "", 10000, 1000, "" }, { "Chemlight_red", "", 1500, 150, "" }, { "Chemlight_yellow", "", 1500, 150, "" }, { "Chemlight_green", "", 1500, 150, "" }, { "Chemlight_blue", "", 1500, 150, "" } }; mags[] = {}; accs[] = {}; }; //Cop Shops class cop_basic { name = "Altis Polizei Shop"; side = "cop"; conditions = ""; items[] = { { "Binocular", "", 150, 75, "" }, { "Rangefinder", "", 100, 50, "" }, { "ItemMap", "", 100, 50, "" }, { "ItemRadio", "", 100, 50, "" }, { "ItemCompass", "", 100, 50, "" }, { "ItemWatch", "", 100, 50, "" }, { "ItemGPS", "", 100, 50, "" }, { "FirstAidKit", "", 150, 75, "" }, { "NVGoggles", "", 100, 50, "" }, { "NVGoggles_INDEP", "", 100, 50, "" }, { "NVGoggles_OPFOR", "", 2000, 1000, "" }, { "HandGrenade_Stone", $STR_W_items_Flashbang, 1700, 850, "" }, { "SmokeShellPurple", $STR_W_items_Teargas, 3000, 950, "" }, { "hgun_P07_snds_F", $STR_W_items_StunPistol, 2000, 1000, "" }, { "arifle_SDAR_F", $STR_W_items_TaserRifle, 20000, 10000, "" }, { "hgun_ACPC2_F", "", 2000, 50, "" }, { "hgun_Rook40_F", "", 2000, 50, "" }, { "SMG_02_F", "", 2000, 50, "" }, { "SMG_05_F", "", 2000, 50, "" }, { "arifle_SPAR_01_blk_F", "", 9500, 50, "" }, { "arifle_SPAR_02_blk_F", "", 9500, 5000, "" }, { "SMG_03C_TR_black", "", 9500, 50, "" }, { "arifle_MXC_Black_F", "", 12000, 50, "" }, { "arifle_MX_Black_F", "", 12000, 50, "" }, { "arifle_MXM_Black_F", "", 12000, 50, "" }, { "arifle_MX_SW_Black_F", "", 12000, 50, "" }, { "arifle_MX_SW_Black_F", $STR_W_items_TaserRifle, 12000, 50, "" }, { "arifle_Katiba_C_F", "", 12000, 50, "" }, { "arifle_Katiba_F", "", 12000, 50, "" }, { "arifle_ARX_blk_F", "", 14000, 50, "" }, { "arifle_SPAR_03_blk_F", "", 14000, 50, "" }, { "srifle_DMR_03_F", "", 20000, 50, "" }, { "srifle_DMR_06_olive_F", "", 20000, 50, "" }, { "LMG_Mk200_F", "", 300000, 5000, "" }, { "srifle_DMR_03_multicam_F", "", 80000, 400, "" }, { "srifle_DMR_06_hunter_F", "", 95000, 500, "" }, { "srifle_LRR_F", "", 375000, 8000, "" }, { "srifle_EBR_F", "", 100000, 5000, "" }, { "srifle_LRR_F", "", 375000, 8000, "" }, { "LMG_Mk200_F", "", 300000, 5000, "" }, { "LMG_Zafir_F", "", 375000, 8000, "" }, { "hgun_Pistol_heavy_02_F", "", 3000, 1000, "" }, { "arifle_Katiba_C_F", "", 5000, 2000, "" }, { "arifle_Mk20_plain_F", "", 2000, 500, "" }, { "arifle_Mk20_plain_F", "", 2000, 500, "" }, { "arifle_MX_SW_F", "", 8000, 250, "" }, { "arifle_MX_SW_Black_F", $STR_W_items_TaserRifle, 5000, 0, "" }, { "arifle_MXM_Black_F", "", 9500, 1000, "" }, { "arifle_TRG20_F", "", 2000, 500, "" }, { "arifle_TRG21_F", "", 1800, 200 "" }, { "arifle_TRG21_F", $STR_W_items_TaserRifle, 1500, 200 "" }, { "hgun_PDW2000_F", "", 3000, 500, "" }, { "hgun_PDW2000_F", $STR_W_items_TaserRifle, 2000, 500, "" }, { "SMG_02_F", "", 3500, 500, "" }, { "SMG_02_F", $STR_W_items_TaserRifle, 2500, 500, "" }, { "srifle_DMR_02_F", "", 300000, 5000, "" }, { "arifle_ARX_blk_F", "", 125000, 0 "" }, { "arifle_SPAR_01_blk_F", "", 5000, 1000 "" }, { "arifle_SPAR_02_blk_F", "", 9500, 5000, "" }, { "arifle_SPAR_03_blk_F", "", 10000, 6000, "" }, { "SMG_05_F", "", 2750, 200, "" }, { "arifle_MX_GL_F", "", 7500, 50, "" }, { "srifle_DMR_03_F", "", 8000, 100 "" }, { "srifle_DMR_06_camo_F", "", 9500, 500, "" }, { "MMG_02_black_F", "", 475000, 10000, "" }, { "SMG_03_TR_black", "", 8500, 0 "" }, { "SMG_03_TR_camo", $STR_W_items_TaserRifle, 1750, 500, "" }, { "sgun_HunterShotgun_01_F", "", 4000, 500, "" }, { "arifle_MSBS65_Mark_black_F", "", 80000, 400 "" }, { "srifle_DMR_03_multicam_F", "", 80000, 400, "" }, { "arifle_RPK12_F", "", 100000, 5000, "" }, { "launch_RPG7_F", "", 950000, 2500, "" }, { "launch_Titan_F", "", 950000, 2500, "" } }; mags[] = { { "16Rnd_9x21_Mag", "", 125, 60, "" }, { "30Rnd_556x45_UW_mag", $STR_W_mags_TaserRifle, 125, 60, "" }, { "11Rnd_45ACP_Mag", "", 130, 65, "call life_coplevel >= 1" }, { "30Rnd_65x39_caseless_mag", "", 130, 65, "call life_coplevel >= 2" }, { "30Rnd_9x21_Mag", "", 250, 125, "call life_coplevel >= 2" }, { "9Rnd_45ACP_Mag", "", 200, 100, "call life_coplevel >= 3" }, { "20Rnd_650x39_Cased_Mag_F", "", 200, 100, "call life_coplevel >= 3" }, //Apex DLC { "20Rnd_762x51_Mag", "", 150, 100 "" }, { "7Rnd_408_Mag", "", 200, 50, "" }, { "200Rnd_65x39_cased_Box", "", 175, 100, "" }, { "150Rnd_762x54_Box_Tracer", "", 275, 135, "" }, { "6Rnd_45ACP_Cylinder", "", 175, 100, "" }, { "30Rnd_65x39_caseless_green", "", 125, 100 "" }, { "30Rnd_556x45_Stanag", "", 100, 50, "" }, { "30Rnd_556x45_Stanag", $STR_W_mags_TaserRifle, 100, 50, "" }, { "100Rnd_65x39_caseless_mag" , "", 100, 50, "" }, { "100Rnd_65x39_caseless_black_mag", $STR_W_mags_TaserRifle, 75, 25, "" }, { "30Rnd_65x39_caseless_black_mag", "", 200, 100, "" }, { "30Rnd_556x45_Stanag", "", 100, 50, "" }, { "30Rnd_556x45_Stanag", $STR_W_mags_TaserRifle, 75, 25, "" }, { "30Rnd_9x21_Mag", "", 100, 75, "" }, { "30Rnd_9x21_Mag", $STR_W_mags_TaserRifle, 75, 25, "" }, { "30Rnd_9x21_Mag_SMG_02", "", 125, 50, "" }, { "30Rnd_9x21_Mag_SMG_02", $STR_W_mags_TaserRifle, 100, 25, "" }, { "10Rnd_338_Mag", "", 200, 100, "" }, { "30Rnd_65x39_caseless_green", "", 100, 50, "" }, { "10Rnd_50BW_Mag_F", "", 72500, 100, "" }, { "30Rnd_556x45_Stanag", "", 100, 50, "" }, { "150Rnd_556x45_Drum_Mag_F", "", 275, 100, "" }, { "20Rnd_762x51_Mag", "", 300, 50, "" }, { "30Rnd_9x21_Mag_SMG_02", "", 100, 75, "" }, { "30Rnd_65x39_caseless_mag", "", 200, 50, "" }, { "3Rnd_SmokePurple_Grenade_shell", "", 500, 200, "" }, { "3Rnd_Smoke_Grenade_shell", "", 375, 100, "" }, { "20Rnd_762x51_Mag", "", 200, 50, "" }, { "20Rnd_762x51_Mag", "", 175, 100 "" }, { "130Rnd_338_Mag", "", 1750, 0 "" }, { "50Rnd_570x28_SMG_03", "", 125, 50 "" }, { "50Rnd_570x28_SMG_03", $STR_W_mags_TaserRifle, 125, 50 "" }, { "2Rnd_12Gauge_Pellets", 500, 75, "" }, { "2Rnd_12Gauge_Slug", "", $STR_W_mags_TaserRifle, 125 , 0 "" }, { "30Rnd_65x39_caseless_msbs_mag", "", 475, 100 "" }, { "20Rnd_762x51_Mag", "", 500, 175, "" }, { "10Rnd_Mk14_762x51_Mag", "", 650, 500, "" }, { "75rnd_762x39_AK12_Mag_F", "", 800, 275, "" }, { "RPG7_F", "", 95000, 0, "" }, { "Titan_AA", "", 95000 , 500 , "" } }; accs[] = { { "muzzle_snds_L", "", 650, 325, "" }, { "optic_MRD", "", 2750, 1375, "call life_coplevel >= 1" }, { "acc_flashlight_pistol", "", 250, 125, "call life_coplevel >= 1" },//Pistol Flashlight { "acc_flashlight", "", 750, 375, "call life_coplevel >= 2" }, { "optic_Holosight", "", 1200, 600, "call life_coplevel >= 2" }, { "optic_Arco", "", 2500, 1250, "call life_coplevel >= 2" }, { "muzzle_snds_H", "", 2750, 1375, "call life_coplevel >= 2" }, { "optic_DMS", "", 3750, 1000, "" }, { "optic_LRPS", "", 2750, 500, "" }, { "optic_MRCO", "", 2500, 100, "" }, { "optic_Nightstalker", "", 475000, 0, "" }, { "optic_Hamr", "", 2000, 500, "" }, { "optic_AMS", "", 2850, 100, "" }, { "Rangefinder", "", 250000, 10000, "" }, { "muzzle_snds_B", "", 2750, 0 "" }, { "muzzle_snds_H", "", 2750, 0 "" }, { "muzzle_snds_H_MG", "", 2750, 0, "" }, { "muzzle_snds_L", "", 2750, 0, "" }, { "muzzle_snds_M", "", 2750, 0, "" }, { "optic_ico_01_black_f", "", 2500, 500, "" }, { "bipod_01_F_blk", "", 1500, 500, "" }, { "bipod_02_F_blk", "", 1500, 500, "" }, { "bipod_03_F_blk", "", 1500, 500, "" } }; }; //Medic Shops class med_basic { name = "store"; side = "med"; conditions = ""; items[] = { { "ItemGPS", "", 100, 50, "" }, { "Binocular", "", 150, 75, "" }, { "FirstAidKit", "", 150, 75, "" }, { "NVGoggles", "", 1200, 600, "" } }; mags[] = {}; accs[] = {}; }; };