Advertisement
icecurle

Untitled

Nov 3rd, 2014
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.84 KB | None | 0 0
  1. #include <macro.h>
  2. /*
  3. File:
  4. Author: Bryan "Tonic" Boardwine
  5.  
  6. Description:
  7. Master configuration list / array for buyable vehicles & prices and their shop.
  8. */
  9. private["_shop","_return"];
  10. _shop = [_this,0,"",[""]] call BIS_fnc_param;
  11. if(_shop == "") exitWith {[]};
  12. _return = [];
  13. switch (_shop) do
  14. {
  15. case "kart_shop":
  16. {
  17. _return = [
  18. ["C_Kart_01_Blu_F",15000],
  19. ["C_Kart_01_Fuel_F",15000],
  20. ["C_Kart_01_Red_F",15000],
  21. ["C_Kart_01_Vrana_F",15000]
  22. ];
  23. };
  24. case "med_shop":
  25. {
  26. _return = [
  27. ["C_Offroad_01_F",10000],
  28. ["I_Truck_02_medical_F",25000],
  29. ["O_Truck_03_medical_F",45000],
  30. ["B_Truck_01_medical_F",60000]
  31. ];
  32. };
  33.  
  34. case "med_air_hs": {
  35. _return = [
  36. ["B_Heli_Light_01_F",50000],
  37. ["O_Heli_Light_02_unarmed_F",75000]
  38. ];
  39. };
  40.  
  41. case "civ_car":
  42. {
  43. _return =
  44. [
  45. ["B_Quadbike_01_F",2500],
  46. ["C_Hatchback_01_F",9500],
  47. ["C_Offroad_01_F",12500],
  48. ["C_SUV_01_F",35000],
  49. ["C_Van_01_transport_F",40000]
  50. ];
  51. };
  52.  
  53. case "civ_truck":
  54. {
  55. _return =
  56. [
  57. ["C_Van_01_box_F",60000],
  58. ["I_Truck_02_transport_F",75000],
  59. ["I_Truck_02_covered_F",100000],
  60. ["B_Truck_01_transport_F",275000],
  61. ["O_Truck_03_transport_F",200000],
  62. ["O_Truck_03_covered_F",250000],
  63. ["B_Truck_01_box_F",350000],
  64. ["O_Truck_03_device_F",450000]
  65. ];
  66. };
  67.  
  68.  
  69. case "reb_car":
  70. {
  71. _return =
  72. [
  73. ["B_Quadbike_01_F",2500],
  74. ["B_G_Offroad_01_F",15000],
  75. ["B_Heli_Light_01_F",325000]
  76. ];
  77.  
  78. if(license_civ_rebel) then
  79. {
  80. _return pushBack
  81. ["B_G_Offroad_01_armed_F",1200000];
  82. _return pushBack
  83. ["I_MRAP_03_hmg_F",6200000];
  84. _return pushBack
  85. ["I_MRAP_03_gmg_F",8400000];
  86. _return pushBack
  87. ["I_MRAP_03_F",750000];
  88. };
  89. };
  90.  
  91. case "cop_car":
  92. {
  93. _return pushBack
  94. ["C_Offroad_01_F",5000];
  95. _return pushBack
  96. ["C_SUV_01_F",20000];
  97. if(__GETC__(life_coplevel) > 4) then
  98. {
  99. _return pushBack
  100. ["B_MRAP_01_F",300000];
  101. if(__GETC__(life_coplevel) > 5) then
  102. {
  103. _return pushBack
  104. ["I_MRAP_03_hmg_F",6200000];
  105. };
  106. if(__GETC__(life_coplevel) > 8) then
  107. {
  108. _return pushBack
  109. ["I_MRAP_03_gmg_F",30000];
  110. _return pushBack
  111. ["I_MRAP_03_hmg_F",30000];
  112. _return pushBack
  113. ["B_APC_Tracked_01_CRV_F",30000];
  114. };
  115. if(__GETC__(life_coplevel) > 9) then
  116. {
  117. _return pushBack
  118. ["O_MBT_02_cannon_F",3000000];
  119. _return pushBack
  120. ["O_APC_Wheeled_02_rcws_F",3000000];
  121. _return pushBack
  122. ["B_APC_Tracked_01_AA_F",3000000];
  123. };
  124. };
  125.  
  126. case "civ_air":
  127. {
  128. _return =
  129. [
  130. ["B_Heli_Light_01_F",253000],
  131. ["I_Heli_Transport_02_F",4400000],
  132. ["O_Heli_Light_02_unarmed_F",1750000]
  133. ];
  134.  
  135. if(license_civ_rebel) then
  136. {
  137. _return pushBack
  138. ["I_Heli_light_03_F",8200000];
  139. _return pushBack
  140. ["I_Heli_light_03_unarmed_F",6200000];
  141. };
  142. };
  143.  
  144. case "cop_air":
  145. {
  146. _return pushBack
  147. ["B_Heli_Light_01_F",75000];
  148. if(__GETC__(life_coplevel) > 2) then
  149. {
  150. _return pushBack
  151. ["B_Heli_Transport_01_F",200000];
  152. };
  153. };
  154.  
  155. case "cop_airhq":
  156. {
  157. _return pushBack
  158. ["B_Heli_Light_01_F",75000];
  159. if(__GETC__(life_coplevel) > 5) then
  160. {
  161. _return pushBack
  162. ["B_Heli_Transport_01_F",4200000];
  163. };
  164. if(__GETC__(life_coplevel) > 8) then
  165. {
  166. _return pushBack
  167. ["B_Heli_Light_01_armed_F",84000000];
  168. };
  169. if(__GETC__(life_coplevel) > 9) then
  170. {
  171. _return pushBack
  172. ["B_Heli_Attack_01_F",2000000];
  173. _return pushBack
  174. ["B_Plane_CAS_01_F",7500000];
  175. };
  176. };
  177.  
  178. case "civ_ship":
  179. {
  180. _return =
  181. [
  182. ["C_Rubberboat",5000],
  183. ["C_Boat_Civil_01_F",22000]
  184. ["B_SDV_01_F",100000]
  185. ];
  186. };
  187.  
  188. case "cop_ship":
  189. {
  190. _return =
  191. [
  192. ["B_Boat_Transport_01_F",3000],
  193. ["C_Boat_Civil_01_police_F",20000],
  194. ["B_Boat_Armed_01_minigun_F",75000],
  195. ["B_SDV_01_F",100000]
  196. ];
  197. };
  198. };
  199.  
  200. _return;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement