Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- @file Version: 1a
- @file name: vars.sqf
- @file Author: TAW_Tonic
- @file edit: 5/3/2013
- Copyright © 2013 Bryan Boardwine,All rights reserved
- See http://armafiles.info/life/list.txt for servers that are permitted to use this code.
- */
- //Calculate starting player base and times it by 1000 dollars to give initial bank funding.
- life_federal_funds = (count playableUnits) * 750;
- life_animals_spawned = false;
- life_animals_array = [];
- //Selling Prices
- life_sell_salema = 45;//20
- life_sell_ornate = 40;//15
- life_sell_mackerel = 175;//45
- life_sell_tuna = 700; //150
- life_sell_mullet = 250; //15
- life_sell_catShark = 300;//100
- life_sell_rabbit = 65;//50
- life_sell_apple = 50;//20
- life_sell_oil = 3200;//200
- life_sell_heroin = 2650;//560
- life_sell_marijuana = 2350;//450
- life_sell_turtle = 2000;//2000
- life_sell_fishing = 3;//3
- life_sell_water = 5;//5
- life_sell_coffee = 5;//2
- life_sell_turtlesoup = 1000;//50
- life_sell_donuts = 60;//10
- //Buying Prices (Random each game but always higher then selling prices)
- life_buy_apple = 65;
- life_buy_rabbit = 75;
- life_buy_salema = 55;
- life_buy_ornate = 50;
- life_buy_mackerel = 200;
- life_buy_tuna = 900;
- life_buy_mullet = 300;
- life_buy_catshark = 350;
- life_buy_fishing = 8;
- life_buy_water = 10;
- life_buy_turtle = 4000;
- life_buy_heroin = 2500;
- life_buy_marijuana = 1750;
- life_buy_coffee = 10;
- life_buy_turtlesoup = 2500;
- life_buy_donuts = 120;
- sell_array = [
- ["apple",life_sell_apple],
- ["heroinu",1850],
- ["heroinp",life_sell_heroin],
- ["salema",life_sell_Salema],
- ["ornate",life_sell_ornate],
- ["mackerel",life_sell_mackerel],
- ["tuna",life_sell_tuna],
- ["mullet",life_sell_mullet],
- ["catshark",life_sell_catshark],
- ["rabbit",life_sell_rabbit],
- ["oilp",life_sell_oil],
- ["turtle",life_sell_turtle],
- ["water",life_sell_water],
- ["coffee",life_sell_coffee],
- ["turtlesoup",life_sell_turtlesoup],
- ["donuts",life_sell_donuts],
- ["marijuana",life_sell_marijuana],
- ["tbacon",25],
- ["lockpick",75],
- ["pickaxe",750],
- ["redgull",200],
- ["peach",55],
- ["cocaine",3000],
- ["cocainep",5000],
- ["diamond",750],
- ["diamondc",2000],
- ["iron_r",3200],
- ["copper_r",1500],
- ["salt_r",1650],
- ["glass",1450],
- ["fuelF",500],
- ["spikeStrip",1200],
- ["cement",1950]
- ];
- buy_array = [
- ["apple",life_buy_apple],
- ["rabbit",life_buy_rabbit],
- ["salema",life_buy_salema],
- ["ornate",life_buy_ornate],
- ["mackerel",life_buy_mackerel],
- ["tuna",life_buy_tuna],
- ["mullet",life_buy_mullet],
- ["catshark",life_buy_catshark],
- ["water",life_buy_water],
- ["turtle",life_buy_turtle],
- ["turtlesoup",life_buy_turtlesoup],
- ["donuts",life_buy_donuts],
- ["coffee",life_buy_coffee],
- ["tbacon",75],
- ["lockpick",150],
- ["pickaxe",1200],
- ["redgull",1500],
- ["fuelF",850],
- ["peach",68],
- ["spikeStrip",2500]
- ];
- publicVariable "sell_array";
- publicVariable "buy_array";
- life_weapon_shop_array =
- [
- ["arifle_sdar_F",7500],
- ["hgun_P07_snds_F",650],
- ["hgun_P07_F",1500],
- ["ToolKit",75],
- ["FirstAidKit",65],
- ["Medikit",450],
- ["NVGoggles",980],
- ["16Rnd_9x21_Mag",15],
- ["20Rnd_556x45_UW_mag",35],
- ["ItemMap",35],
- ["ItemCompass",25],
- ["Chemlight_blue",50],
- ["Chemlight_yellow",50],
- ["Chemlight_green",50],
- ["Chemlight_red",50],
- ["hgun_Rook40_F",500],
- ["30Rnd_556x45_Stanag",65],
- ["20Rnd_762x51_Mag",85],
- ["30Rnd_65x39_caseless_green",50],
- ["optic_ACO_grn",250],
- ["acc_flashlight",100],
- ["srifle_EBR_F",15000],
- ["arifle_TRG21_F",3500],
- ["optic_MRCO",5000],
- ["optic_Aco",850],
- ["arifle_MX_F",7500],
- ["arifle_MXC_F",5000],
- ["arifle_MXM_F",8500],
- ["MineDetector",500],
- ["SMG_01_F",1500],
- ["30Rnd_45ACP_Mag_SMG_01",60],
- ["30Rnd_9x21_Mag",30]
- ];
- publicVariable "life_weapon_shop_array";
- life_black_market_array =
- [
- ["arifle_SDAR_F",100000],
- ["hgun_Rook40_F",20000],
- ["hgun_P07_F",20000],
- ["hgun_P07_snds_F",25000],
- ["Binocular",5000],
- ["hgun_Rook40_F",20000],
- ["arifle_SDAR_F",150000],
- ["16Rnd_9x21_Mag",5000],
- ["20Rnd_556x45_UW_mag",5000],
- ["V_TacVest_khk",200000],
- ["V_BandollierB_khk",100000],
- ["ToolKit",1000],
- ["H_Watchcap_blk",9000],
- ["16Rnd_9x21_Mag",500],
- ["20Rnd_556x45_UW_mag",800],
- ["ItemGPS",1000],
- ["ItemCompass",1000],
- ["ItemMap",1000],
- ["ItemWatch",1000],
- ["H_MilCap_mcamo",5000],
- ["FirstAidKit",1000],
- ["NVGoggles",2000],
- ["U_Rangemaster",2000],
- ["V_Rangemaster_belt",2000],
- ["B_Kitbag_cbr",10000],
- ["B_FieldPack_cbr",10000],
- ["B_Bergen_sgg",5000],
- ["B_AssaultPack_cbr",11000],
- ["B_AssaultPack_rgr",11000],
- ["B_FieldPack_oli",11000],
- ["B_Kitbag_sgg",5000],
- ["B_Carryall_oli",4000],
- ["G_Diving",6000],
- ["arifle_Katiba_F",20000],
- ["30Rnd_556x45_Stanag",800],
- ["20Rnd_762x51_Mag",1000],
- ["30Rnd_65x39_caseless_green",900],
- ["DemoCharge_Remote_Mag",250000],
- ["SLAMDirectionalMine_Wire_Mag",350000],
- ["U_O_CombatUniform_ocamo",20000],
- ["V_HarnessO_brn",10000],
- ["H_HelmetO_ocamo",10000],
- ["optic_ACO_grn",20000],
- ["acc_flashlight" ,20000],
- ["arifle_TRG21_F",255000],
- ["ItemCore",9000],
- ["MineDetector",200000],
- ["acc_pointer_IR",20000],
- ["muzzle_snds_H",10000],
- ["LightArmor",20000],
- ["MiniGrenade",100000],
- ["Rnd_556x45_Stanag_30",800],
- ["srifle_EBR_MRCO_pointer_F",20000],
- ["Rnd_762x51_Mag_20",15000],
- ["I_UavTerminal",9000],
- ["RH_deagle",30000],
- ["RH_deagleg",35000],
- ["RH_deagles",32000],
- ["RH_cz75",25000],
- ["RH_sw659",22000],
- ["RH_usp",30000],
- ["RH_mak",28000],
- ["RH_m1911",22000],
- ["RH_kimber",25000],
- ["RH_uspm",28000],
- ["RH_m9",20000],
- ["RH_vz61",23000],
- ["RH_g17",24000],
- ["RH_tt33",22000],
- ["RH_mk2",22000],
- ["RH_p226",23000],
- ["RH_p226s",25000],
- ["RH_g19",28000],
- ["RH_vp70",25000],
- ["RH_mateba",27000],
- ["RH_python",29000],
- ["RH_mp412",40000],
- ["RH_fnp45",30000],
- ["_xx_FHQ_M4A1_BLK",150000],
- ["RH_7Rnd_50_AE",600],
- ["RH_16Rnd_9x19_cz",600],
- ["RH_14Rnd_9x19_sw",600],
- ["RH_12Rnd_45cal_usp",600],
- ["RH_8Rnd_9x18_Mak",600],
- ["RH_7Rnd_45cal_m1911",600],
- ["RH_16Rnd_40cal_usp",600],
- ["RH_15Rnd_9x19_M9",600],
- ["RH_20Rnd_32cal_vz61",600],
- ["RH_17Rnd_9x19_g17",600],
- ["RH_8Rnd_762_tt33",600],
- ["RH_10Rnd_22LR_mk2",600],
- ["RH_15Rnd_9x19_SIG",700],
- ["RH_17Rnd_9x19_g17",800],
- ["RH_18Rnd_9x19_VP",700],
- ["RH_6Rnd_44_Mag",900],
- ["RH_6Rnd_357_Mag",900],
- ["RH_15Rnd_45cal_fnp",600],
- ["30rnd_556x45_STANAG",900],
- ["optic_Holosight",4000],
- ["acc_flashlight",4000],
- ["R3F_Famas_F1",200000],
- ["R3F_Famas_F1_HG",250000],
- ["R3F_Famas_F1_HG_DES",260000],
- ["R3F_Famas_F1_M203",280000],
- ["R3F_Famas_F1_M203_DES",290000],
- ["R3F_25Rnd_556x45_FAMAS",600],
- ["R3F_25Rnd_556x45_TRACER_FAMAS",1000],
- ["R3F_Famas_G2",250000],
- ["R3F_Famas_G2_HG",290000],
- ["R3F_Famas_G2_HG_DES",300000],
- ["R3F_Famas_G2_M203",310000],
- ["R3F_Famas_G2_M203_DES",300000],
- ["R3F_30Rnd_556x45_FAMAS",700],
- ["R3F_30Rnd_556x45_TRACER_FAMAS",1200],
- ["R3F_Famas_surb",250000],
- ["R3F_Famas_surb_HG",290000],
- ["R3F_Famas_surb_HG_DES",290000],
- ["R3F_Famas_surb_M203",300000],
- ["R3F_Famas_surb_M203_DES",300000],
- ["R3F_Famas_felin",250000],
- ["R3F_Famas_felin_DES",290000],
- ["R3F_HKK417L",180000],
- ["R3F_HKK417L_DES",190000],
- ["R3F_HKK417M",200000],
- ["R3F_HKK417M_DES",240000],
- ["R3F_HKK417M_HG",260000],
- ["R3F_HKK417M_HG_DES",280000],
- ["R3F_HKK417S",290000],
- ["R3F_HKK417S_DES",295000],
- ["R3F_HKK417S_HG",290000],
- ["R3F_HKK417S_HG_DES",300000],
- ["super_flash",1000],
- ["R3F_Famas_surb_M203_DES",300000],
- ["R3F_HKK417M_GIGN",250000],
- ["R3F_HKK417M_GIGN2",290000],
- ["R3F_HKK417M_SIL",310000],
- ["R3F_20Rnd_762x51_HKK417",500],
- ["R3F_20Rnd_762x51_TRACER_HKK417",900],
- ["R3F_FRF2",360000],
- ["R3F_FRF2_DES",390000],
- ["R3F_FRF2_GIGN",390000],
- ["R3F_10Rnd_762x51_FRF2",2000],
- ["R3F_PAMAS",28000],
- ["R3F_15Rnd_9x19_PAMAS",1000],
- ["R3F_AIMPOINT",10000],
- ["R3F_AIMPOINT_DES",9000],
- ["R3F_EOTECH",8000],
- ["R3F_EOTECH_DES",9000],
- ["R3F_FELIN",8000],
- ["R3F_FELIN_DES",9000],
- ["R3F_J4",6000],
- ["R3F_J4_DES",6000],
- ["R3F_J8",6000],
- ["R3F_J8_DES",6000],
- ["R3F_J8_MILDOT",6000],
- ["R3F_J8_MILDOT_DES",6000],
- ["R3F_J10",7000],
- ["R3F_J10_DES",7000],
- ["R3F_J10_MILDOT",7000],
- ["R3F_J10_MILDOT_DES",8000],
- ["R3F_NF",9000],
- ["R3F_NF_DES",9000],
- ["R3F_OB50",9000],
- ["R3F_ZEISS",9000],
- ["R3F_ZEISS_DESSS",9000],
- ["R3F_JIM_LR",9000],
- ["R3F_JIM_LR_DES",9000],
- ["R3F_SILENCIEUX_FAMAS",30000],
- ["R3F_SILENCIEUX_FAMAS_DES",35000],
- ["R3F_SILENCIEUX_FRF2",30000],
- ["R3F_SILENCIEUX_FRF2_DES",30000],
- ["R3F_SILENCIEUX_HK417",35000],
- ["R3F_SILENCIEUX_HK417_DES",36000],
- ["R3F_PIRAT",9000],
- ["R3F_PIRAT_DES",9000],
- ["R3F_POINTEUR_Surb",9000],
- ["R3F_POINTEUR_Surb_DES",9000],
- ["R3F_LAMPE_Surb",9000],
- ["R3F_LAMPE_Surb_DES",9000]
- ];
- publicVariable "life_black_market_array";
- life_garage_prices =
- [
- ["B_QuadBike_01_F",550],
- ["C_Hatchback_01_F",1500],
- ["C_Offroad_01_F",2500],
- ["B_G_Offroad_01_F",3500],
- ["C_SUV_01_F",5250],
- ["C_Van_01_transport_F",7890],
- ["C_Hatchback_01_sport_F",2350],
- ["C_Van_01_fuel_F",4500],
- ["I_Heli_Transport_02_F",100000],
- ["C_Van_01_box_F",9000],
- ["I_Truck_02_transport_F",12000],
- ["I_Truck_02_covered_F",14500],
- ["B_Truck_01_transport_F",25650],
- ["B_Truck_01_box_F",35000],
- ["O_MRAP_02_F",45000],
- ["B_Heli_Light_01_F",45000],
- ["O_Heli_Light_02_unarmed_F",65000],
- ["C_Rubberboat",400],
- ["C_Boat_Civil_01_F",4500],
- ["B_Boat_Transport_01_F",450],
- ["C_Boat_Civil_01_police_F",3500],
- ["B_Boat_Armed_01_minigun_F",16500],
- ["B_SDV_01_F",25000],
- ["B_MRAP_01_F",7500],
- ];
- publicVariable "life_garage_prices";
- life_garage_sell =
- [
- ["B_QuadBike_01_F",950],
- ["C_Hatchback_01_F",4500],
- ["C_Offroad_01_F",6500],
- ["B_G_Offroad_01_F",3500],
- ["C_SUV_01_F",15000],
- ["C_Van_01_transport_F",25000],
- ["C_Hatchback_01_sport_F",7500],
- ["C_Van_01_fuel_F",3850],
- ["I_Heli_Transport_02_F",125000],
- ["C_Van_01_box_F",35000],
- ["I_Truck_02_transport_F",49800],
- ["I_Truck_02_covered_F",62000],
- ["B_Truck_01_transport_F",135000],
- ["B_Truck_01_box_F",150000],
- ["O_MRAP_02_F",65000],
- ["B_Heli_Light_01_F",57000],
- ["O_Heli_Light_02_unarmed_F",72500],
- ["C_Rubberboat",950],
- ["C_Boat_Civil_01_F",6800],
- ["B_Boat_Transport_01_F",850],
- ["C_Boat_Civil_01_police_F",4950],
- ["B_Boat_Armed_01_minigun_F",21000],
- ["B_SDV_01_F",45000],
- ["B_MRAP_01_F",10000],
- ];
- publicVariable "life_garage_sell";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement