Advertisement
Guest User

Untitled

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