Advertisement
Guest User

Untitled

a guest
Jan 18th, 2020
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.13 KB | None | 0 0
  1. /*
  2. * ARRAY FORMAT:
  3. * 0: STRING (Classname): Item Classname
  4. * 1: STRING (Description): Description of item
  5. * 2: SCALAR (Buy price): Cost of item
  6. * 3: STRING (Conditions): Same as above conditions string
  7. * 4: STRING (Nickname): Nickname that will appear purely in the shop dialog
  8. */
  9.  
  10. class WeaponShops {
  11. class cop {
  12. name = "Cop Weapon Shop";
  13. conditions = "call life_coplevel >= 1";
  14. side = "cop";
  15. weapons[] = {
  16. { "HandGrenade_Stone", "Blind your suspects and get the upper hand.", 3500, "call life_copdept in [5,6,7]", "Flashbang"},
  17. { "SmokeShellBlue", "", 2500, "call life_copdept in [5,6,7]", ""},
  18. { "TR8_Taser", "A gun that will drop your target", 50, "call life_coplevel >= 1", ""},
  19.  
  20. { "KA_Px4_Blac", "", 1500, "call life_coplevel >= 1", ""},
  21. { "RH_p226", "", 1500, "call life_coplevel >= 1", ""},
  22. { "KA_Glock_17_Single", "", 1500, "call life_coplevel >= 1", ""},
  23. { "RH_sw659", "", 2500, "call life_coplevel >= 1", ""},
  24. { "KA_40Rnd_46x30_FMJ", "", 5000, "call life_coplevel >= 1", ""},
  25.  
  26. { "arifle_SDAR_F", "", 5000, "call life_coplevel >= 2", ""},
  27. { "KA_UMP45", "", 6500, "call life_coplevel >= 2", ""},
  28. { "RH_m4", "", 9500, "call life_coplevel >= 2", ""},
  29. { "RH_M16A2", "", 9500, "call life_coplevel >= 2", ""},
  30.  
  31. { "RH_m4", "", 15000, "call life_coplevel >= 3", ""},
  32. { "RH_M4_moe_b", "", 15000, "call life_coplevel >= 3", ""},
  33.  
  34. { "RH_Hk416c", "", 15000, "call life_coplevel >= 4", ""},
  35.  
  36. { "RH_M4m_b", "", 15000, "call life_coplevel >= 5 || call life_copdept in [5,6,7]", ""},
  37.  
  38. { "RH_Hk416s", "", 15000, "call life_coplevel >= 6 || call life_copdept in [5,6,7]", ""},
  39. { "RH_Hk416", "", 15000, "call life_coplevel >= 6 || call life_copdept in [5,6,7]", ""},
  40.  
  41. { "KA_SCAR_L_Black_AFG", "", 17500, "call life_copdept in [6,7]", ""},
  42. { "KA_Model_723", "", 17500, "call life_copdept in [6,7]", ""},
  43. { "RH_M27IAR", "", 17500, "call life_coplevel >= 7 || call life_copdept in [6,7]", ""},
  44. { "RH_SAMR", "", 17500, "call life_copdept in [5,6,7]", ""},
  45. { "RH_Mk11", "", 17500, "call life_copdept in [5,6,7]", ""},
  46. { "RH_Mk12mod1", "", 17500, "call life_copdept in [6,7]", ""},
  47. { "KA_CS5", "", 17500, "call life_copdept in [6,7]", ""},
  48. { "RH_M16A3", "", 17500, "call life_coplevel >= 6 || call life_copdept in [6,7]", ""},
  49.  
  50. { "RH_M16A3", "", 17500, "call life_coplevel >= 6 || call life_copdept in [6,7]", ""},
  51.  
  52. { "launch_B_Titan_F", "This will launch fuel rockets at heli when locking on.", 60000, "call life_copdept in [5,7]", "Fuel Rocket Launcher"}
  53. };
  54.  
  55. magazines[] = {
  56. { "TR8_Cartridge", "Magazine for tazer", 5, "call life_coplevel >= 1", ""},
  57. { "KA_Px4_17Rnd_9x19_FMJ_Mag", "", 10, "true", ""},
  58. { "RH_15Rnd_9x19_SIG", "", 10, "true", ""},
  59. { "KA_17Rnd_9x19_Mag", "", 10, "true", ""},
  60. { "RH_14Rnd_9x19_sw", "", 10, "true", ""},
  61. { "KA_MP7_Rifle_Black_40Rnd", "", 100, "true", ""},
  62.  
  63. { "20Rnd_556x45_UW_mag", "", 100, "true", ""},
  64. { "KA_25Rnd_45ACP_FMJ_Mag", "", 100, "true", ""},
  65. { "RH_30Rnd_556x45_M855A1", "", 100, "true", ""}, //M4, M4A1, HK and M16A2
  66.  
  67. { "KA_SCAR_L_30rnd_M193_Ball_mag", "", 100, "true", ""},
  68. { "KA_M16_30rnd_M196_Tracer_Red_mag", "", 100, "true", ""},
  69. { "RH_20Rnd_762x51_M80A1", "", 100, "true", ""},
  70. { "KA_CS5_10rnd_M80A1_Ball_mag", "", 100, "true", ""},
  71.  
  72. { "Titan_AA", "This will drain the helis fuel when rocket hits.", 1000, "call life_copdept in [5,6,7]", "Fuel Rocket"}
  73. };
  74.  
  75. items[] = {
  76. {"Binocular", "Use these to see stuff at furthur distances", 250, "call life_coplevel >= 1", ""},
  77. {"ItemGPS", "Use this to not get lost", 500, "call life_coplevel >= 1", ""},
  78. {"ItemMap", "Use this to find the local shops", 10, "call life_coplevel >= 1", ""},
  79. {"ItemCompass", "Use this to find directions", 10, "call life_coplevel >= 1", ""},
  80. {"RoleplayRadio", "Use this to communicate from distance", 15, "call life_coplevel >= 1", ""},
  81. {"d3s_p_eyes_001_NV", "Use these to see at night", 300, "call life_coplevel >= 1", "NVG Glasses"}
  82. };
  83.  
  84. attachments[] = {
  85. { "optic_ACO_grn_smg", "", 100, "true", ""},
  86. { "optic_Aco_smg", "", 100, "true", ""},
  87. { "optic_Aco", "", 100, "true", ""},
  88. { "optic_ACO_grn", "", 100, "true", ""},
  89. { "FHQ_optic_AC11704", "", 200, "true", ""},
  90. { "FHQ_optic_AC12136", "", 200, "true", ""},
  91. { "FHQ_optic_AIM", "", 200, "true", ""},
  92. { "FHQ_optic_HWS", "", 200, "true", ""},
  93. { "FHQ_optic_MicroCCO", "", 200, "true", ""},
  94. { "optic_Yorris", "", 200, "true", ""},
  95. { "acc_flashlight", "", 500, "true", ""},
  96. { "acc_pointer_IR", "", 300, "true", ""}
  97. };
  98. };
  99.  
  100. class gun {
  101. name = "Crystal Shores Firearms";
  102. conditions = "license_civ_gun";
  103. side = "civ";
  104. weapons[] = {
  105. { "KA_crossbow_wood", "", 10000, "true", ""},
  106. { "KA_Glock_17_Single", "", 12000, "true", ""},
  107. { "KA_Px4_Black", "", 12000, "true", ""},
  108. { "RH_p226", "", 14000, "true", ""},
  109. { "RH_cz75", "", 14000, "true", ""},
  110. { "RH_sw659", "", 14500, "true", ""},
  111. { "RH_tt33", "", 15000, "true", ""},
  112. { "RH_python", "", 12000, "true", ""}
  113. };
  114.  
  115. magazines[] = {
  116. { "KA_arrow_mag", "", 100, "true", ""},
  117. { "KA_17Rnd_9x19_Mag", "", 120, "true", ""},
  118. { "KA_Px4_17Rnd_9x19_FMJ_Mag", "", 120, "true", ""},
  119. { "RH_15Rnd_9x19_SIG", "", 120, "true", ""},
  120. { "RH_16Rnd_9x19_CZ", "", 120, "true", ""},
  121. { "RH_14Rnd_9x19_sw", "", 120, "true", ""},
  122. { "RH_8Rnd_762_tt33", "", 120, "true", ""},
  123. { "RH_6Rnd_357_Mag", "", 50, "true", "" },
  124. { "KA_M16_30rnd_M196_Tracer_Red_mag", "", 120, "true", ""}
  125. };
  126.  
  127. attachments[] = {
  128. { "optic_Yorris", "", 50, "true", ""},
  129. { "optic_MRD", "", 50, "true", ""},
  130. { "KA_Flashlight", "", 150, "true", ""},
  131. { "RH_M6X", "", 150, "true", ""},
  132. { "KA_Px4_Flashlight", "", 150, "true", ""}
  133. };
  134.  
  135. items[] = {
  136. { "RoleplayRadio", "Use this to communicate from distance", 150, "true", ""},
  137. { "Binocular", "Use these to see stuff at furthur distances", 250, "true", ""},
  138. { "ItemGPS", "Use this to not get lost", 500, "true", ""},
  139. { "ItemMap", "Use this to find the local shops", 10, "true", ""},
  140. { "ItemCompass", "Use this to find directions", 10, "true", ""}
  141. };
  142. };
  143.  
  144. class jail {
  145. name = "Jail Firearms";
  146. conditions = "life_is_arrested";
  147. side = "civ";
  148. weapons[] = {
  149. { "hgun_Pistol_heavy_01_F", "", 6000, "true", ""},
  150. { "hgun_Rook40_F", "", 7000, "true", ""}
  151. };
  152.  
  153. magazines[] = {
  154. { "11Rnd_45ACP_Mag", "", 500, "true", ""},
  155. { "16Rnd_9x21_Mag", "", 750, "true", ""}
  156. };
  157.  
  158. attachments[] = {
  159. { "optic_Yorris", "", 50, "true", ""},
  160. { "optic_MRD", "", 50, "true", ""}
  161. };
  162. items[] = {
  163. { "RoleplayRadio", "Use this to talk to others out of jail", 250, "true", ""},
  164. { "Binocular", "Use these to see cops at furthur distances", 250, "true", ""},
  165. { "ItemGPS", "Let others find you if you are in a gang", 750, "true", ""},
  166. { "ItemMap", "Use this to find your way out", 100, "true", ""}
  167. };
  168. };
  169.  
  170. class rebel {
  171. name = "rebel";
  172. conditions = "(missionNamespace getVariable ['mav_ttm_var_rebel',0]) isEqualTo 1";
  173. side = "civ";
  174. weapons[] = {
  175. { "RH_kimber_nw", "", 20000, "true", ""},
  176. { "RH_tec9", "", 30000, "true", ""},
  177. { "KA_UMP45", "", 35000, "true", ""},
  178. { "RH_sbr9", "", 40000, "true", ""},
  179. { "RH_M4sbr_b", "", 55000, "true", ""},
  180. { "KA_PP19", "", 45000, "true", ""},
  181. { "KA_MP7_Rifle_Green_40Rnd", "", 45000, "true", ""},
  182. { "KA_SG_552", "", 55000, "true", ""},
  183. { "RH_hk416_des", "", 60000, "true", ""},
  184. { "KA_Model_723", "", 70000, "true", ""},
  185. { "RH_M4_moe", "", 70000, "true", ""},
  186. { "KA_SCAR_L_Tan_AFG", "", 75000, "true", ""},
  187. { "RH_m4_ris_m_tg", "", 75000, "true", ""},
  188. { "RH_SAMR_des", "", 80000, "true", ""}
  189. };
  190.  
  191. magazines[] = {
  192. { "RH_7Rnd_45cal_m1911", "", 400, "true", ""},
  193. { "RH_32Rnd_9x19_tec", "", 520, "true", ""},
  194. { "KA_25Rnd_45ACP_FMJ_Mag", "", 450, "true", ""},
  195. { "RH_32Rnd_9mm_M822", "", 520, "true", ""},
  196. { "RH_30Rnd_556x45_M855A1", "", 500, "true", ""}, //SAM-R, SBR Black, and Hk416, M4
  197. { "KA_64Rnd_9x18_PMM_FMJ_Mag", "", 1000, "true", ""},
  198. { "KA_40Rnd_46x30_FMJ", "", 600, "true", ""},
  199. { "KA_SIG_30rnd_M193_Ball_mag", "", 500, "true", ""},
  200. { "KA_M16_30rnd_M196_Tracer_Red_mag", "", 500, "true", ""},
  201. { "KA_SCAR_L_30rnd_M193_Ball_mag", "", 500, "true", ""}
  202. };
  203.  
  204. attachments[] = {
  205. { "KA_kobra_PP19", "", 200, "true", ""},
  206. { "optic_ACO_grn_smg", "", 100, "true", ""},
  207. { "optic_Aco_smg", "", 100, "true", ""},
  208. { "optic_Aco", "", 100, "true", ""},
  209. { "optic_ACO_grn", "", 100, "true", ""},
  210. { "FHQ_optic_AC11704_tan", "", 200, "true", ""},
  211. { "FHQ_optic_AC12136_tan", "", 200, "true", ""},
  212. { "FHQ_optic_AIM_tan", "", 200, "true", ""},
  213. { "FHQ_optic_HWS_tan", "", 200, "true", ""},
  214. { "FHQ_optic_MicroCCO_tan", "", 200, "true", ""},
  215. { "optic_Yorris", "", 200, "true", ""},
  216. { "acc_flashlight", "", 500, "true", ""},
  217. { "acc_pointer_IR", "", 300, "true", ""}
  218. };
  219.  
  220. items[] = {
  221. { "RoleplayRadio", "Use this to communicate from distance", 150, "true", ""},
  222. { "Binocular", "Use these to see stuff at furthur distances", 250, "true", ""},
  223. { "ItemGPS", "Use this to not get lost", 500, "true", ""},
  224. { "ItemMap", "Use this to find the local shops", 10, "true", ""},
  225. { "ItemCompass", "Use this to find directions", 10, "true", ""}
  226. };
  227. };
  228.  
  229. class genstore {
  230. name = "Crystal Shores General Store";
  231. conditions = "";
  232. side = "civ";
  233. weapons[] = {
  234. { "TR8_Mining_Drill", "Used to mine more ore", 1000, "true", ""}
  235. };
  236.  
  237. magazines[] = {
  238. { "10_TR8_Drill_Fuel", "Fuel for the drill", 100, "true", ""}
  239. };
  240.  
  241. items[] = {
  242. { "RoleplayRadio", "Use this to communicate from distance", 150, "true", ""},
  243. { "Binocular", "Use these to see stuff at furthur distances", 250, "true", ""},
  244. { "ItemGPS", "Use this to not get lost", 500, "true", ""},
  245. { "ItemMap", "Use this to find the local shops", 10, "true", ""},
  246. { "ItemCompass", "Use this to find directions", 10, "true", ""},
  247. {"d3s_p_eyes_001_NV", "Use these to see at night", 300, "true", "NVG Glasses"}
  248. };
  249. };
  250.  
  251. class f_station_store {
  252. name = "Crystal Shores Fuel Station Store";
  253. conditions = "";
  254. side = "civ";
  255. items[] = {
  256. { "RoleplayRadio", "Use this to communicate from distance", 150, "true", ""},
  257. { "Binocular", "Use these to see stuff at furthur distances", 250, "true", ""},
  258. { "ItemGPS", "Use this to not get lost", 500, "true", ""},
  259. { "ItemMap", "Use this to find the local shops", 10, "true", ""},
  260. { "ItemCompass", "Use this to find directions", 10, "true", ""},
  261. {"d3s_p_eyes_001_NV", "Use these to see at night", 300, "true", "NVG Glasses"}
  262. };
  263. };
  264.  
  265. class med_basic {
  266. name = "Medic Shop";
  267. conditions = "call life_medicLevel >= 1";
  268. side = "med";
  269. items[] = {
  270. { "RoleplayRadio", "Use this to communicate from distance", 50, "call(life_medicLevel) >= 1", ""},
  271. { "Medikit", "Use this to heal to full health", 50, "call(life_medicLevel) >= 1", ""},
  272. { "FirstAidKit", "Use this to heal players", 50, "call(life_medicLevel) >= 1", ""},
  273. { "Binocular", "Use this to communicate from distance", 50, "call(life_medicLevel) >= 1", ""},
  274. { "ItemGPS", "Use this to not get lost", 50, "call(life_medicLevel) >= 1", ""},
  275. { "ItemMap", "Use this to find the local shops", 10, "call(life_medicLevel) >= 1", ""},
  276. { "ItemCompass", "Use this to find directions", 10, "call(life_medicLevel) >= 1", ""},
  277. { "d3s_p_eyes_001_NV", "Use these to see at night", 300, "call life_medicLevel >= 1", "NVG Glasses"}
  278. };
  279. };
  280. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement