Advertisement
Guest User

Untitled

a guest
May 26th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.73 KB | None | 0 0
  1.  
  2. local cfg = {}
  3.  
  4. -- define static item transformers
  5. -- see https://github.com/ImagicTheCat/vRP to understand the item transformer concept/definition
  6.  
  7. cfg.item_transformers = {
  8. -- example of harvest item transformer
  9. {
  10. name="Pesca", -- menu name
  11. permissions = {"mission.delivery.fish"}, -- you can add permissions
  12. r=0,g=125,b=255, -- color
  13. max_units=100000,
  14. units_per_minute=100000,
  15. x=743.19586181641,y=3895.3967285156,z=30.5,
  16. radius=3, height=1.5, -- area
  17. recipes = {
  18. ["Cattura un po' di pesci gatto"] = { -- action name
  19. description="Cattura dei pesci gatto", -- action description
  20. in_money=0, -- money taken per unit
  21. out_money=0, -- money earned per unit
  22. reagents={}, -- items taken per unit
  23. products={ -- items given per unit
  24. ["catfish"] = 1
  25. }
  26. },
  27. ["Cattura trota"] = { -- action name
  28. description="Cattura delle trote", -- action description
  29. in_money=0, -- money taken per unit
  30. out_money=0, -- money earned per unit
  31. reagents={}, -- items taken per unit
  32. products={ -- items given per unit
  33. ["bass"] = 1
  34. }
  35. }
  36. }
  37. },
  38. {
  39. name="Perle", -- menu name
  40. permissions = {"mission.delivery.fish"}, -- you can add permissions
  41. r=0,g=125,b=255, -- color
  42. max_units=100000,
  43. units_per_minute=100000,
  44. x=746.61303710938,y=-3901.7478027344,z=-20.910913467408,
  45. radius=3, height=1.5, -- area
  46. recipes = {
  47. ["Raccogli perle"] = { -- action name
  48. description="Raccogli perle dai molluschi", -- action description
  49. in_money=0, -- money taken per unit
  50. out_money=0, -- money earned per unit
  51. reagents={}, -- items taken per unit
  52. products={ -- items given per unit
  53. ["perla"] = 1
  54. }
  55. }
  56. }
  57. },
  58. {
  59. name="Collane", -- menu name
  60. permissions = {"imprenditore.vendita"}, -- you can add permissions
  61. r=0,g=125,b=255, -- color
  62. max_units=100000,
  63. units_per_minute=100000,
  64. x=-622.21502685546,y=-230.94499206542,z=-38.057056427002,
  65. radius=3, height=1.5, -- area
  66. recipes = {
  67. ["Collane"] = { -- action name
  68. description="Produci e vendi collane", -- action description
  69. in_money=180, -- money taken per unit
  70. out_money=0, -- money earned per unit
  71. reagents={
  72. ["perla"] = 1,
  73. ["filopregiato"] = 1
  74. }, -- items taken per unit
  75. products={}
  76. }
  77. }
  78. },
  79. {
  80. name="Netturbino", -- menu name
  81. permissions = {"mission.collect.trash"}, -- you can add permissions
  82. r=0,g=125,b=255, -- color
  83. max_units=100000,
  84. units_per_minute=100000,
  85. x=805.77130126953,y=-1078.0639648438,z=28.55744934082,
  86. radius=3, height=1.5, -- area
  87. recipes = {
  88. ["Raccolta"] = { -- action name
  89. description="Raccolta spazzatura", -- action description
  90. in_money=0, -- money taken per unit
  91. out_money=0, -- money earned per unit
  92. reagents={}, -- items taken per unit
  93. products={ -- items given per unit
  94. ["trash"] = 1
  95. }
  96. }
  97. }
  98. },
  99. {
  100. name="UPS", -- menu name
  101. permissions = {"harvest.parcels"}, -- you can add permissions
  102. r=0,g=125,b=255, -- color
  103. max_units=100000,
  104. units_per_minute=100000,
  105. x=76.495727539063,y=-27.030916213989,z=68.562599182129,
  106. radius=3, height=1.5, -- area
  107. recipes = {
  108. ["Raccolta pacchi"] = { -- action name
  109. description="Imagazzinando pacchi e raccomandate", -- action description
  110. in_money=0, -- money taken per unit
  111. out_money=0, -- money earned per unit
  112. reagents={}, -- items taken per unit
  113. products={ -- items given per unit
  114. ["parcels"] = 1
  115. }
  116. }
  117. }
  118. },
  119. -- {
  120. -- name="Santa's Workshop", -- menu name
  121. -- permissions = {"harvest.presents"}, -- you can add permissions
  122. -- r=0,g=125,b=255, -- color
  123. -- max_units=100000,
  124. -- units_per_minute=2,
  125. -- x=2213.0520019531,y=5577.5981445313,z=53.795757293701, -- UPDATE THIS
  126. -- radius=3, height=1.5, -- area
  127. -- recipes = {
  128. -- ["Gather Presents"] = { -- action name
  129. -- description="Gathering Presents", -- action description
  130. -- in_money=0, -- money taken per unit
  131. -- out_money=0, -- money earned per unit
  132. -- reagents={}, -- items taken per unit
  133. -- products={ -- items given per unit
  134. -- ["Presents"] = 1
  135. -- }
  136. -- }
  137. -- }
  138. -- },
  139. {
  140. name="Trasporta valori", -- menu name
  141. permissions = {"bankdriver.money"}, -- you can add permissions
  142. r=255,g=125,b=0, -- color
  143. max_units=1,
  144. units_per_minute=1,
  145. x=236.87298583984,y=217.09535217285,z=106.28678894043,
  146. radius=2, height=1.0, -- area
  147. recipes = {
  148. ["Carica soldi"] = { -- action name
  149. description="Trasporta il denaro alla banca richiesta.", -- action description
  150. in_money=0, -- money taken per unit
  151. out_money=0, -- money earned per unit
  152. reagents={}, -- items taken per unit
  153. products={
  154. ["bank_money"] = 500000
  155. }, -- items given per unit
  156. aptitudes={} -- optional
  157. }
  158. }
  159. },
  160. {
  161. name="Immagazzina il carico", -- menu name
  162. permissions = {"mission.pilot.cargo"}, -- you can add permissions
  163. r=255,g=125,b=0, -- color
  164. max_units=100000,
  165. units_per_minute=100000,
  166. x=1618.9204101563,y=3227.7058105469,z=40.411529541016,
  167. radius=2, height=1.0, -- area
  168. recipes = {
  169. ["Carico"] = { -- action name
  170. in_money=0, -- money taken per unit
  171. out_money=0, -- money earned per unit
  172. reagents={}, -- items taken per unit
  173. products={
  174. ["cargo"] = 1
  175. }, -- items given per unit
  176. aptitudes={} -- optional
  177. }
  178. }
  179. }
  180. -- {
  181. -- name="Robbery Bank", -- menu name
  182. -- r=255,g=125,b=0, -- color
  183. -- max_units=600,
  184. -- units_per_minute=1,
  185. -- x=265.94982910156,y=213.54983520508,z=101.68338775635,
  186. -- radius=2, height=1.0, -- area
  187. -- recipes = {
  188. -- ["Bank Money"] = { -- action name
  189. -- description="get the money.", -- action description
  190. -- in_money=0, -- money taken per unit
  191. -- out_money=0, -- money earned per unit
  192. -- reagents={}, -- items taken per unit
  193. -- products={
  194. -- ["dirty_money"] = 0
  195. -- }, -- items given per unit
  196. -- aptitudes={} -- optional
  197. -- }
  198. -- }
  199. -- },
  200. }
  201. --}
  202. --}
  203.  
  204. -- define transformers randomly placed on the map
  205. cfg.hidden_transformers = {
  206. ["Campo marijuana"] = {
  207. def = {
  208. name="Campo marijuana", -- menu name
  209. r=0,g=200,b=0, -- color
  210. max_units=100000,
  211. units_per_minute=100000,
  212. x=0,y=0,z=0, -- pos
  213. radius=5, height=1.5, -- area
  214. recipes = {
  215. ["Raccogli marijuana"] = { -- action name
  216. description="Raccogli foglie di marijuana.", -- action description
  217. in_money=0, -- money taken per unit
  218. out_money=0, -- money earned per unit
  219. reagents={}, -- items taken per unit
  220. products={ -- items given per unit
  221. ["fogliemaria"] = 1
  222. }
  223. }
  224. }
  225. },
  226. positions = {
  227. {2212.9108886718,5577.7758789062,53.803802490234}
  228. }
  229. },
  230. ["Raccolta foglie cocaina"] = {
  231. def = {
  232. name="Raccolta foglie di cocaina", -- menu name
  233. r=0,g=200,b=0, -- color
  234. max_units=100,
  235. units_per_minute=1,
  236. x=0,y=0,z=0, -- pos
  237. radius=5, height=1.5, -- area
  238. recipes = {
  239. ["Raccogli foglie di cocaina"] = { -- action name
  240. description="Raccogli foglie di cocaina.", -- action description
  241. in_money=0, -- money taken per unit
  242. out_money=0, -- money earned per unit
  243. reagents={}, -- items taken per unit
  244. products={ -- items given per unit
  245. ["fogliecocaina"] = 1
  246. }
  247. }
  248. }
  249. },
  250. positions = {
  251. {435.99627685546,2996.8984375,41.283241271972}
  252. }
  253. },
  254. ["Raccolta cherosene"] = {
  255. def = {
  256. name="Raccolta cherosene", -- menu name
  257. r=0,g=200,b=0, -- color
  258. max_units=100,
  259. units_per_minute=1,
  260. x=0,y=0,z=0, -- pos
  261. radius=5, height=1.5, -- area
  262. recipes = {
  263. ["Raccogli cherosene"] = { -- action name
  264. in_money=0, -- money taken per unit
  265. out_money=0, -- money earned per unit
  266. reagents={}, -- items taken per unit
  267. products={ -- items given per unit
  268. ["cherosene"] = 1
  269. }
  270. }
  271. }
  272. },
  273. positions = {
  274. {2718.8413085938,1559.0694580078,20.824323654174}
  275. }
  276. },
  277. ["Processo cocaina"] = {
  278. def = {
  279. name="Processo cocaina", -- menu name
  280. r=0,g=200,b=0, -- color
  281. max_units=100,
  282. units_per_minute=1,
  283. x=0,y=0,z=0, -- pos
  284. radius=5, height=1.5, -- area
  285. recipes = {
  286. ["Processa cherosene e foglie"] = { -- action name
  287. in_money=0, -- money taken per unit
  288. out_money=0, -- money earned per unit
  289. reagents={
  290. ["cherosene"] = 1,
  291. ["fogliecocaina"] = 1
  292. }, -- items taken per unit
  293. products={ -- items given per unit
  294. ["cocaina"] = 1
  295. },
  296. aptitudes={ -- optional
  297. ["laboratory.cocaine"] = 0.5, -- "group.aptitude", give 1 exp per unit
  298. ["science.chemicals"] = 0.5
  299. }
  300. }
  301. }
  302. },
  303. positions = {
  304. {1269.0200195312,-1710.103149414,54.77145767212}
  305. }
  306. },
  307. ["vendita cocaina"] = {
  308. def = {
  309. name="Vendita cocaina", -- menu name
  310. permissions = {"vendita.cocaina"}, -- you can add permissions
  311. r=0,g=200,b=0, -- color
  312. max_units=100000,
  313. units_per_minute=100000,
  314. x=0,y=0,z=0, -- pos
  315. radius=5, height=1.5, -- area
  316. recipes = {
  317. ["Vendi cocaina"] = { -- action name
  318. in_money=1000, -- money taken per unit
  319. out_money=0, -- money earned per unit
  320. reagents={
  321. ["cocaina"] = 1
  322. }, -- items taken per unit
  323. products={}
  324. }
  325. }
  326. },
  327. positions = {
  328. {359.97079467774,-338.75424194336,46.68606185913}
  329. }
  330. },
  331. ["Raccolta pseudoefedrina"] = {
  332. def = {
  333. name="Raccolta pseudoefedrina", -- menu name
  334. r=0,g=200,b=0, -- color
  335. max_units=100,
  336. units_per_minute=1,
  337. x=0,y=0,z=0, -- pos
  338. radius=5, height=1.5, -- area
  339. recipes = {
  340. ["Raccogli pseudoefedrina"] = { -- action name
  341. in_money=0, -- money taken per unit
  342. out_money=0, -- money earned per unit
  343. reagents={}, -- items taken per unit
  344. products={ -- items given per unit
  345. ["pseudoefedrina"] = 1
  346. }
  347. }
  348. }
  349. },
  350. positions = {
  351. {3627.1096191406,3736.6018066406,28.69009590149}
  352. }
  353. },
  354. ["Raccolta racemo"] = {
  355. def = {
  356. name="Raccolta racemo", -- menu name
  357. r=0,g=200,b=0, -- color
  358. max_units=100,
  359. units_per_minute=1,
  360. x=0,y=0,z=0, -- pos
  361. radius=5, height=1.5, -- area
  362. recipes = {
  363. ["Raccogli racemo"] = { -- action name
  364. in_money=0, -- money taken per unit
  365. out_money=0, -- money earned per unit
  366. reagents={}, -- items taken per unit
  367. products={ -- items given per unit
  368. ["racemo"] = 1
  369. }
  370. }
  371. }
  372. },
  373. positions = {
  374. {-1033.6199951172,686.04193115234,161.30291748046}
  375. }
  376. },
  377. ["Processo metanfetamina"] = {
  378. def = {
  379. name="Processo metanfetamina", -- menu name
  380. r=0,g=200,b=0, -- color
  381. max_units=100,
  382. units_per_minute=1,
  383. x=0,y=0,z=0, -- pos
  384. radius=5, height=1.5, -- area
  385. recipes = {
  386. ["Processa racemo e pseudoefedrina"] = { -- action name
  387. in_money=0, -- money taken per unit
  388. out_money=0, -- money earned per unit
  389. reagents={
  390. ["racemo"] = 1,
  391. ["pseudoefedrina"] = 1
  392. }, -- items taken per unit
  393. products={ -- items given per unit
  394. ["meth"] = 1
  395. },
  396. aptitudes={ -- optional
  397. ["laboratory.meth"] = 0.5, -- "group.aptitude", give 1 exp per unit
  398. ["science.chemicals"] = 0.5
  399. }
  400. }
  401. }
  402. },
  403. positions = {
  404. {2433.6579589844,4968.6860351562,42.347599029542}
  405. }
  406. },
  407. ["vendita metanfetamina"] = {
  408. def = {
  409. name="Vendita metanfetamina", -- menu name
  410. permissions = {"vendita.meth"}, -- you can add permissions
  411. r=0,g=200,b=0, -- color
  412. max_units=100000,
  413. units_per_minute=100000,
  414. x=0,y=0,z=0, -- pos
  415. radius=5, height=1.5, -- area
  416. recipes = {
  417. ["Vendi metanfetamina"] = { -- action name
  418. in_money=1000, -- money taken per unit
  419. out_money=0, -- money earned per unit
  420. reagents={
  421. ["meth"] = 1
  422. }, -- items taken per unit
  423. products={}
  424. }
  425. }
  426. },
  427. positions = {
  428. {1247.6833496094,-2911.2453613282,21.327754974366}
  429. }
  430. },
  431. ["Processo marijuana"] = {
  432. def = {
  433. name="Processo marijuana", -- menu name
  434. r=0,g=200,b=0, -- color
  435. max_units=100000,
  436. units_per_minute=100000,
  437. x=0,y=0,z=0, -- pos
  438. radius=5, height=1.5, -- area
  439. recipes = {
  440. ["Produci pillole al thc"] = { -- action name
  441. description="Ottieni pillole estraendo l'olio dalla foglia.", -- action description
  442. in_money=0, -- money taken per unit
  443. out_money=0, -- money earned per unit
  444. reagents={
  445. ["fogliemaria"] = 2
  446. }, -- items taken per unit
  447. products={ -- items given per unit
  448. ["pillolethc"] = 1
  449. }
  450. }
  451. }
  452. },
  453. positions = {
  454. {-45.784088134766,1945.4367675782,190.18125915528}
  455. }
  456. },
  457. ["Vendita pillole"] = {
  458. def = {
  459. name="Vendita pillole", -- menu name
  460. r=0,g=200,b=0, -- color
  461. max_units=100000,
  462. units_per_minute=100000,
  463. x=0,y=0,z=0, -- pos
  464. radius=5, height=1.5, -- area
  465. recipes = {
  466. ["Vendita pillole"] = { -- action name
  467. description="Vendi pillole in bustine", -- action description
  468. in_money=0, -- money taken per unit
  469. out_money=100, -- money earned per unit
  470. reagents={
  471. ["pillolethc"] = 1
  472. }, -- items taken per unit
  473. products={}
  474. }
  475. }
  476. },
  477. positions = {
  478. {-90.152465820312,-1629.716796875,32.505699157714}
  479. }
  480. }
  481. }
  482.  
  483.  
  484. -- time in minutes before hidden transformers are relocated (min is 5 minutes)
  485. cfg.hidden_transformer_duration = 5*24*60 -- 5 days
  486.  
  487. -- configure the information reseller (can sell hidden transformers positions)
  488. cfg.informer = {}
  489.  
  490. return cfg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement