Guest User

Untitled

a guest
Jun 19th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 28.01 KB | None | 0 0
  1.  
  2. local cfg = {}
  3.  
  4. -- example of study transformer
  5. local itemtr_study = {
  6.   name="Bookcase", -- menu name
  7.   r=0,g=255,b=0, -- color
  8.   max_units=20,
  9.   units_per_minute=10,
  10.   x=0,y=0,z=0, -- pos (doesn't matter as home component)
  11.   radius=1.1, height=1.5, -- area
  12.   recipes = {
  13.     ["Chemicals book"] = { -- action name
  14.       description="Read a chemicals book", -- action description
  15.       in_money=0, -- money taken per unit
  16.       out_money=0, -- money earned per unit
  17.       reagents={}, -- items taken per unit
  18.       products={}, -- items given per unit
  19.       aptitudes={ -- optional
  20.         ["science.chemicals"] = 1 -- "group.aptitude", give 1 exp per unit
  21.       }
  22.     },
  23.     ["Mathematics book"] = { -- action name
  24.       description="Read a mathematics book", -- action description
  25.       in_money=0, -- money taken per unit
  26.       out_money=0, -- money earned per unit
  27.       reagents={}, -- items taken per unit
  28.       products={}, -- items given per unit
  29.       aptitudes={ -- optional
  30.         ["science.mathematics"] = 1 -- "group.aptitude", give 1 exp per unit
  31.       }
  32.     }
  33.   }
  34. }
  35.  
  36. ----------------------------------------------------------------------------------------- laboratory
  37. local itemtr_laboratory = {
  38.   name="workbench", -- menu name
  39.   permissions = {"harvest.weed"}, -- job drug dealer required to use
  40.   r=0,g=255,b=0, -- color
  41.   max_units=1000,
  42.   units_per_minute=200,
  43.   x=0,y=0,z=0, -- pos (doesn't matter as home component)
  44.   radius=1.1, height=1.5, -- area
  45.   recipes = {
  46.     ["cocaine"] = { -- action name
  47.       description="Lav kokain", -- action description  ,-3194.8310546875,-38.993476867676
  48.  
  49.       in_money=500, -- money taken per unit
  50.       out_money=0, -- money earned per unit
  51.       reagents={ -- items taken per unit
  52.         ["benzoilmetilecgonina"] = 1
  53.       },
  54.       products={ -- items given per unit
  55.         ["cocaine"] = 5
  56.       },
  57.       aptitudes={ -- optional
  58.         ["laboratory.cocaine"] = 5, -- "group.aptitude", give 1 exp per unit
  59.         ["science.chemicals"] = 10
  60.       }
  61.     },
  62.     ["weed"] = { -- action name
  63.       description="Lav hash", -- action description
  64.       in_money=500, -- money taken per unit
  65.       out_money=0, -- money earned per unit
  66.       reagents={ -- items taken per unit
  67.         ["seeds"] = 1
  68.       },
  69.       products={ -- items given per unit
  70.         ["weed"] = 5
  71.       },
  72.       aptitudes={ -- optional
  73.         ["laboratory.weed"] = 5, -- "group.aptitude", give 1 exp per unit
  74.         ["science.chemicals"] = 10
  75.       }
  76.     },
  77. -----------------
  78.     ["lsd"] = { -- action name
  79.       description="make lsd", -- action description
  80.       in_money=500, -- money taken per unit
  81.       out_money=0, -- money earned per unit
  82.       reagents={ -- items taken per unit
  83.         ["harness"] = 1
  84.       },
  85.       products={ -- items given per unit
  86.         ["lsd"] = 5
  87.       },
  88.       aptitudes={ -- optional
  89.         ["laboratory.lsd"] = 5, -- "group.aptitude", give 1 exp per unit
  90.         ["science.chemicals"] = 10
  91.       }
  92.     },
  93.     ---------------------------------------------
  94.   }
  95. }
  96. ------------------------------------------------ hacker
  97.  
  98. local itemtr_hacker = {
  99.   name="hacker", -- menu name
  100.   r=0,g=255,b=0, -- color
  101.   max_units=20,
  102.   units_per_minute=10,
  103.   x=0,y=0,z=0, -- pos (doesn't matter as home component)
  104.   radius=1.1, height=1.5, -- area
  105.   recipes = {
  106.    ["logic pdf"] = { -- action name
  107.      description="Read a logic pdf", -- action description
  108.       in_money=0, -- money taken per unit
  109.       out_money=0, -- money earned per unit
  110.       reagents={}, -- items taken per unit
  111.       products={}, -- items given per unit
  112.       aptitudes={ -- optional
  113.         ["hacker.logic"] = 10 -- "group.aptitude", give 1 exp per unit
  114.       }
  115.     },
  116.     ["c++ pdf"] = { -- action name
  117.       description="Read a C++ pdf", -- action description
  118.       in_money=0, -- money taken per unit
  119.       out_money=0, -- money earned per unit
  120.       reagents={}, -- items taken per unit
  121.       products={}, -- items given per unit
  122.       aptitudes={ -- optional
  123.         ["hacker.c++"] = 1 -- "group.aptitude", give 1 exp per unit
  124.       }
  125.     },
  126.     ["lua pdf"] = { -- action name
  127.       description="Read a C++ pdf", -- action description
  128.       in_money=0, -- money taken per unit
  129.       out_money=0, -- money earned per unit
  130.       reagents={}, -- items taken per unit
  131.       products={}, -- items given per unit
  132.       aptitudes={ -- optional
  133.         ["hacker.lua"] = 1 -- "group.aptitude", give 1 exp per unit
  134.       }
  135.     },
  136.     ["hacking"] = { -- action name
  137.       description="hacking a Credit card informations", -- action description
  138.       in_money=0, -- money taken per unit
  139.       out_money=0, -- money earned per unit
  140.       reagents={}, -- items taken per unit
  141.       products={
  142.       ["dirty_money"] = 5000
  143.       }, -- items given per unit
  144.       aptitudes={ -- optional
  145.         ["hacker.lua"] = 1, -- "group.aptitude", give 1 exp per unit
  146.         ["hacker.c++"] = 1, -- "group.aptitude", give 1 exp per unit
  147.         ["hacker.logic"] = 1, -- "group.aptitude", give 1 exp per unit
  148.         ["hacker.hacking"] = 1 -- "group.aptitude", give 1 exp per unit
  149.       }
  150.     },
  151.   }
  152. }
  153.  
  154. -- default flats positions from https://github.com/Nadochima/HomeGTAV/blob/master/List
  155.  
  156. -- define the home slots (each entry coordinate should be unique for ALL types)
  157. -- each slots is a list of home components
  158. --- {component,x,y,z} (optional _config)
  159. --- the entry component is required
  160. cfg.slot_types = {
  161.  
  162.     ["cokelab"] = {
  163.     {
  164.       {"entry",1088.7813720703,-3187.6125488281,-38.993476867676},
  165.       {"chest",0.0,0.0,0.0, _config = {weight=0}},
  166.       {"wardrobe",0.0,0.0,0.0},
  167.       {"gametable",0.0,0.0,0.0}
  168.     }
  169.   },
  170.  
  171.   ["heroinlab"] = {
  172.     {
  173.       {"entry",997.17449951172,-3200.7602539063,-36.398235321045},
  174.       {"chest",0.0,0.0,0.0, _config = {weight=0}},
  175.       {"wardrobe",0.0,0.0,0.0},
  176.       {"gametable",0.0,0.0,0.0}
  177.     }
  178.   },
  179.  
  180.   ["auto_exotic"] = {
  181.     {
  182.       {"entry",346.46115112305,-1013.0481567383,-99.199935913086},
  183.       {"chest",346.17202758789,-1001.7270507813,-99.196220397949, _config = {weight=200}},
  184.       {"wardrobe",350.62182617188,-994.00592041016,-99.196182250977},
  185.       {"gametable",342.18304443359,-995.68481445313,-99.196182250977},
  186.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  187.     }
  188.   },
  189.  
  190.   ["mansion"] = {
  191.     {
  192.       {"entry",-815.5,178.78350830078,72.153137207031},
  193.       {"chest",-808.51202392578,175.12515258789,76.740737915039, _config = {weight=200}},
  194.       {"wardrobe",-811.91864013672,175.12641906738,76.745376586914},
  195.       {"gametable",-802.62530517578,173.50367736816,72.844650268555},
  196.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  197.     }
  198.   },
  199.   ["center_apart"] = {
  200.     {
  201.       {"entry",265.99215698242,-1007.4350585938,-101.00853729248},
  202.       {"chest",265.81155395508,-999.42352294922,-99.008682250977, _config = {weight=200}},
  203.       {"wardrobe",259.89739990234,-1003.7402954102,-99.00853729248},
  204.       {"gametable",258.80316162109,-997.36865234375,-99.008682250977},
  205.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  206.     }
  207.   },
  208.   ["big_flat1"] = {
  209.     {
  210.       {"entry",-31.331146240234,-595.14788818359,80.030883789063},
  211.       {"chest",-27.494703292847,-581.38580322266,79.230781555176, _config = {weight=200}},
  212.       {"wardrobe",-38.339157104492,-589.59674072266,78.830322265625},
  213.       {"gametable",-22.295671463013,-585.32623291016,79.230766296387},
  214.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  215.     }
  216.   },
  217.   ["Industri1"] = {
  218.     {
  219.       {"entry",710.19519042969,-696.02185058594,31.946361541748},
  220.       {"chest",706.84063720703,-695.12786865234,31.965789794922, _config = {weight=200}},
  221.       {"wardrobe",698.77069091797,-694.98413085938,31.946357727051},
  222.       {"gametable",705.46020507813,-685.78454589844,31.986400604248},
  223.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  224.     }
  225.   },
  226.   ["Modern_Apt"] = {
  227.     {
  228.       {"entry",-262.89743041992,-713.50500488281,71.032737731934},
  229.       {"chest",-260.3044128418,-710.51483154297,71.03263092041, _config = {weight=200}},
  230.       {"wardrobe",-268.35028076172,-711.14282226563,74.130767822266},
  231.       {"gametable",-261.54336547852,-705.24145507813,69.073661804199},
  232.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  233.     }
  234.   },
  235.   ["Beach_Home"] = {
  236.     {
  237.       {"entry",-1151.330078125,-1520.3634033203,10.632718086243},
  238.       {"chest",-1158.3681640625,-1517.5178222656,10.632720947266, _config = {weight=200}},
  239.       {"wardrobe",-1144.216796875,-1515.767578125,10.632718086243},
  240.       {"gametable",-1159.3414306641,-1520.9066162109,10.632720947266},
  241.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  242.     }
  243.   },
  244.   ["Cheap_Home"] = {
  245.     {
  246.       {"entry",346.3893737793,-1012.9935302734,-99.196250915527},
  247.       {"chest",351.87979125977,-998.93640136719,-99.19620513916, _config = {weight=200}},
  248.       {"wardrobe",351.22573852539,-993.52227783203,-99.19620513916},
  249.       {"gametable",340.52719116211,-996.14672851563,-99.196235656738},
  250.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  251.     }
  252.   },
  253.    ["Cheap_Home_2"] = {
  254.     {
  255.       {"entry",346.60354614258,-1011.3212890625,-99.196258544922},
  256.       {"chest",351.8489074707,-998.77160644531,-99.196182250977, _config = {weight=200}},
  257.       {"wardrobe",351.22573852539,-993.52227783203,-99.19620513916},
  258.       {"gametable",342.09689331055,-996.16009521484,-99.196166992188}
  259.     --{"itemtr", _config = itemtr_study, 345.21719360352,-995.52044677734,-99.196182250977}
  260.     }
  261.   },
  262.   ["Cheap_Home_3"] = {
  263.     {
  264.       {"entry",346.71133422852,-1011.7744140625,-99.196281433105},
  265.       {"chest",351.42984008789,-998.90441894531,-99.196159362793, _config = {weight=200}},
  266.       {"wardrobe",351.35720825195,-993.78961181641,-99.196151733398},
  267.       {"gametable",340.46734619141,-996.14453125,-99.196159362793}
  268.       --{"itemtr", _config = itemtr_study, 345.1969909668,-995.84521484375,-99.196159362793}
  269.     }
  270.   },
  271.   ["mansion2"] = {
  272.     {
  273.       {"entry",7.6293659210205,537.90026855469,176.02813720703},
  274.       {"chest",-11.527637481689,516.53375244141,174.62814331055, _config = {weight=200}},
  275.       {"wardrobe",8.900839805603,528.54754638672,170.63502502441},
  276.       {"gametable",0.80820995569229,534.32055664063,175.34242248535},
  277.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  278.     }
  279.   },
  280.   ["beach_house1"] = {
  281.     {
  282.       {"entry",-1396.8446044922,-1008.0959472656,24.704574584961},
  283.       {"chest",-1147.5123291016,-1513.4490966797,10.632717132568, _config = {weight=200}},
  284.       {"wardrobe",-1144.0876464844,-1515.8283691406,10.632729530334},
  285.       {"gametable",-1157.4553222656,-1522.6977539063,10.632729530334},
  286.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  287.     }
  288.   },
  289.   ["beach_house2"] = {
  290.     {
  291.       {"entry",-1396.8087158203,-1008.5891113281,24.704551696777},
  292.       {"chest",-1403.2073974609,-1009.6914672852,24.064010620117, _config = {weight=200}},
  293.       {"wardrobe",-1401.7071533203,-1014.5670166016,24.740028381348},
  294.       {"gametable",-1407.814453125,-1011.2453613281,24.064044952393},
  295.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  296.     }
  297.   },
  298.   ["beach_bungalo"] = {
  299.     {
  300.       {"entry",1247.0024414063,-2683.8708496094,2.8763480186462},
  301.       {"chest",1243.6141357422,-2668.6169433594,2.8671708106995, _config = {weight=200}},
  302.       {"wardrobe",1252.1770019531,-2678.8491210938,2.8671703338623},
  303.       {"gametable",1240.0080566406,-2679.7204589844,2.8671700954437},
  304.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  305.     }
  306.   },
  307.   ["trevor_trailer"] = {
  308.     {
  309.       {"entry",1972.5347900391,3817.2524414063,33.428737640381},
  310.       {"chest",1972.7764892578,3819.447265625,33.428737640381, _config = {weight=200}},
  311.       {"wardrobe",1969.2116699219,3814.6779785156,33.428745269775},
  312.       {"gametable",1975.8670654297,3821.0249023438,33.44958114624},
  313.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  314.     }
  315.   },
  316.   ["franklin_house"] = {
  317.     {
  318.       {"entry",-13.934011459351,-1438.681640625,31.101552963257},
  319.       {"chest",-16.165374755859,-1430.3123779297,31.101528167725, _config = {weight=200}},
  320.       {"wardrobe",-18.420257568359,-1438.7086181641,31.101554870605},
  321.       {"gametable",-9.8388214111328,-1433.0078125,31.10181427002},
  322.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  323.     }
  324.   },
  325.   ["Expensive_flat"] = {
  326.     {
  327.       {"entry",-174.25415039063,497.68032836914,137.66606140137},
  328.       {"chest",-170.91767883301,486.65267944336,137.44346618652, _config = {weight=200}},
  329.       {"wardrobe",-167.52639770508,488.09219360352,133.84378051758},
  330.       {"gametable",-165.25064086914,481.94122314453,137.26547241211},
  331.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  332.      }
  333.     },
  334.    ["Rich_flat"] = {
  335.     {
  336.       {"entry",117.25834655762,560.08666992188,184.30490112305},
  337.       {"chest",118.02893829346,548.17034912109,184.09687805176, _config = {weight=200}},
  338.       {"wardrobe",122.19967651367,549.14868164063,180.49728393555},
  339.       {"gametable",123.65795898438,542.46752929688,183.92469787598},
  340.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  341.       }
  342.     },
  343.     ["Rich_flat_2"] = {
  344.     {
  345.       {"entry",-572.09051513672,661.30401611328,145.83984375},
  346.       {"chest",-576.61022949219,645.83654785156,142.03224182129, _config = {weight=200}},
  347.       {"wardrobe",-571.37268066406,649.6953125,142.03210449219},
  348.       {"gametable",-571.33654785156,671.71118164063,138.23211669922}
  349.       --{"itemtr", _config = itemtr_study, -572.29217529297,668.68572998047,138.23211669922},
  350.       --{"itemtr", _config = itemtr_laboratory, -566.97149658203,667.98278808594,138.23211669922}
  351.       }
  352.     },
  353.     ["Normal_flat"] = {
  354.     {
  355.       {"entry",342.23474121094,437.68603515625,149.380859375},
  356.       {"chest",327.64608764648,429.9128112793,145.5708770752, _config = {weight=200}},
  357.       {"wardrobe",334.65530395508,428.56219482422,145.57086181641},
  358.       {"gametable",330.56497192383,423.35043334961,148.99241638184},
  359.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  360.       }
  361.     },
  362.     ["Normal_flat_2"] = {
  363.     {
  364.       {"entry",117.31230926514,559.31719970703,184.30488586426},
  365.       {"chest",118.58416748047,566.38763427734,176.69715881348, _config = {weight=200}},
  366.       {"wardrobe",122.20277404785,549.11993408203,180.49708557129},
  367.       {"gametable",123.11248779297,544.15203857422,183.92468261719}
  368.       --{"itemtr", _config = itemtr_study, 125.08413696289,547.87701416016,184.09686279297},
  369.       --{"itemtr", _config = itemtr_laboratory, 119.1173324585,570.61010742188,176.69715881348}
  370.       }
  371.     },
  372.     ["Ranch"] = {
  373.     {
  374.       {"entry",1385.3742675781,1146.4951171875,112.26626586914}, -- skjult under jorden pga dørene kører på permissions
  375.       --{"chest",1399.9816894531,1139.6080322266,114.33364868164, _config = {weight=200}},
  376.       --{"wardrobe",1402.2535400391,1135.0444335938,114.33364868164     },
  377.       --{"gametable",329.27224731445,424.77600097656,148.99256896973},
  378.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  379.       }
  380.     },
  381.  
  382.     --[[
  383.     ["kartellet"] = {
  384.     {
  385.       {"entry",-95.483154296875,989.45782470703,240.94125366211},
  386.       {"chest",-101.37108612061,986.10034179688,240.94125366211, _config = {weight=200}},
  387.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  388.       }
  389.     },
  390. ]]
  391.   ["basic_flat"] = {
  392.     {
  393.       {"entry",-782.171,324.589,223.258},
  394.       {"chest",-773.718078613281,325.144409179688,223.266357421875, _config = {weight=200}},
  395.       {"wardrobe",-760.885437011719,325.457153320313,217.061080932617},
  396.       {"gametable",-755.40185546875,318.263214111328,221.875823974609},
  397.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  398.     },
  399.     {
  400.       {"entry",-774.171,333.589,207.621},
  401.       {"chest",-782.118591308594,332.147399902344,207.629608154297, _config = {weight=200}},
  402.       {"wardrobe",-795.118469238281,331.631256103516,201.42431640625},
  403.       {"gametable",-800.763427734375,338.574951171875,206.239105224609},
  404.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  405.     },
  406.     {
  407.       {"entry",-774.171,333.589,159.998},
  408.       {"chest",-782.66015625,332.523284912109,160.010223388672, _config = {weight=200}},
  409.       {"wardrobe",-795.550964355469,332.229614257813,153.804931640625},
  410.       {"gametable",-801.228942871094,339.106231689453,158.619750976563},
  411.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  412.     },
  413.     {
  414.       {"entry",-596.689,59.139,108.030},
  415.       {"chest",-604.427001953125,57.0807762145996,108.035743713379, _config = {weight=200}},
  416.       {"wardrobe",-617.180358886719,56.9536590576172,101.830520629883},
  417.       {"gametable",-623.078796386719,63.688045501709,106.645317077637},
  418.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  419.     },
  420.     {
  421.       {"entry",-1451.557,-523.546,69.556},
  422.       {"chest",-1457.28601074219,-529.699523925781,69.565315246582, _config = {weight=200}},
  423.       {"wardrobe",-1467.07995605469,-536.98583984375,63.3601188659668},
  424.       {"gametable",-1476.12658691406,-534.873474121094,68.1748962402344},
  425.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  426.     },
  427.     {
  428.       {"entry",-1452.185,-522.640,56.929},
  429.       {"chest",-1457.3740234375,-529.737854003906,56.9376449584961, _config = {weight=200}},
  430.       {"wardrobe",-1467.7158203125,-537.308349609375,50.732494354248},
  431.       {"gametable",-1476.12670898438,-534.895751953125,55.547306060791},
  432.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  433.     },
  434.     {
  435.       {"entry",-907.900,-370.608,109.440},
  436.       {"chest",-914.79296875,-375.26416015625,109.448974609375, _config = {weight=200}},
  437.       {"wardrobe",-926.047912597656,-381.470153808594,103.243774414063},
  438.       {"gametable",-934.216979980469,-378.082336425781,108.05859375},
  439.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  440.     },
  441.     {
  442.       {"entry",-921.124,-381.099,85.480},
  443.       {"chest",-915.268737792969,-375.818084716797,85.4891815185547, _config = {weight=200}},
  444.       {"wardrobe",-904.0673828125,-369.910552978516,79.2839508056641},
  445.       {"gametable",-895.890075683594,-373.167846679688,84.0987701416016},
  446.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  447.     },
  448.     {
  449.       {"entry",-464.453,-708.617,77.086},
  450.       {"chest",-466.566558837891,-700.528991699219,77.0956268310547, _config = {weight=200}},
  451.       {"wardrobe",-466.892852783203,-687.88720703125,70.8903503417969},
  452.       {"gametable",-459.870513916016,-682.054565429688,75.7051773071289},
  453.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  454.     },
  455.     {
  456.       {"entry",-470.647,-689.459,53.402},
  457.       {"chest",-469.077453613281,-697.664672851563,53.4144515991211, _config = {weight=200}},
  458.       {"wardrobe",-468.939910888672,-710.398986816406,47.2093048095703},
  459.       {"gametable",-475.543884277344,-716.226867675781,52.0241050720215},
  460.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  461.     }
  462.   },
  463.   ["other_flat"] = {
  464.     {
  465.       {"entry",-784.363,323.792,211.996},
  466.       {"chest",-766.744384765625,328.375,211.396545410156, _config = {weight=500}},
  467.       {"wardrobe",-793.502136230469,326.861846923828,210.796630859375},
  468.       {"gametable",-781.973083496094,338.788482666016,211.231979370117},
  469.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  470.     },
  471.     {
  472.       {"entry",-603.997,58.954,98.200},
  473.       {"chest",-621.323669433594,54.2074241638184,97.5995330810547, _config = {weight=500}},
  474.       {"wardrobe",-594.668823242188,55.5750961303711,96.9996185302734},
  475.       {"gametable",-606.140441894531,43.8849754333496,97.4350128173828},
  476.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  477.     },
  478.     {
  479.       {"entry",-1453.013,-539.629,74.044},
  480.       {"chest",-1466.57763671875,-528.339294433594,73.4436492919922, _config = {weight=500}},
  481.       {"wardrobe",-1449.85034179688,-549.231323242188,72.8437194824219},
  482.       {"gametable",-1466.37182617188,-546.663757324219,73.279052734375},
  483.       {"itemtr", _config = itemtr_study, 0.0,0.0,0.0}
  484.     },
  485.     {
  486.       {"entry",-912.547,-364.706,114.274},
  487.       {"chest",-926.693176269531,-377.596130371094,113.674102783203, _config = {weight=500}},
  488.       {"wardrobe",-903.66650390625,-364.023223876953,113.074157714844},
  489.       {"gametable",-908.407165527344,-379.825714111328,113.509590148926}
  490.      -- {"itemtr", _config = itemtr_study, 0.0,0.0,0.0},
  491.      -- {"itemtr", _config = itemtr_laboratory, 0.0,0.0,0.0},
  492.      --{"itemtr", _config = itemtr_hacker, 0.0,0.0,0.0}
  493.     }
  494.   },
  495.   ["plantation_flat"] = {
  496.     {
  497.       {"entry",1393.0272216797,3612.8176269531,34.980930328369},
  498.       {"chest",1396.7132568359,3604.9682617188,38.941928863525, _config = {weight=500}},
  499.       {"wardrobe",1395.5855712891,3616.0346679688,38.941928863525},
  500.       {"gametable",1394.2917480469,3610.3530273438,38.941928863525}
  501.     }
  502.   },
  503.   ["rail_flat"] = {
  504.     {
  505.       {"entry",658.84442138672,-709.59503173828,38.257362365723},
  506.       {"chest",658.15179443359,-727.44494628906,37.337562561035, _config = {weight=500}},
  507.       {"wardrobe",664.96478271484,-726.07250976563,37.351558685303},
  508.       {"gametable",670.20166015625,-704.70776367188,37.341278076172}
  509.     }
  510.   },
  511.   ["plantation_flat_2"] = {
  512.     {
  513.       {"entry",2453.6201171875,4970.3422851563,46.810604095459},
  514.       {"chest",2432.1650390625,4963.0649414063,46.936447143555, _config = {weight=500}},
  515.       {"wardrobe",2442.6887207031,4971.50390625,46.810600280762},
  516.       {"gametable",2456.3798828125,4982.4672851563,46.810009002686}
  517.     }
  518.   }
  519. }
  520.  
  521. -- define home clusters
  522. cfg.homes = {
  523.   ["Nedslidt Trailer"] = {
  524.     slot = "trevor_trailer",
  525.     entry_point = {1980.0181884766,3816.54296875,32.275169372559},
  526.     buy_price = 195000,
  527.     sell_price = 135000,
  528.     max = 2,
  529.     blipid=374,
  530.     blipcolor=62
  531.   },
  532.   ["Billigt Hjem"] = {
  533.     slot = "Cheap_Home",
  534.     entry_point = {500.54632568359,-1697.3969726563,29.789241790771},
  535.     buy_price = 220000,
  536.     sell_price = 135000,
  537.     max = 45,
  538.     blipid=374,
  539.     blipcolor=62
  540.   },
  541.   ["Billigt Hjem 2"] = {
  542.     slot = "Cheap_Home_2",
  543.     entry_point = {25.990934371948,6602.0546875,32.470436096191},
  544.     buy_price = 45000,
  545.     sell_price = 40000,
  546.     max = 1,
  547.     blipid=374,
  548.     blipcolor=62
  549.   },
  550.   ["Billigt Hjem 3"] = {
  551.     slot = "Cheap_Home_3",
  552.     entry_point = {-347.27276611328,6225.0146484375,31.884098052979},
  553.     buy_price = 45000,
  554.     sell_price = 40000,
  555.     max = 1,
  556.     blipid=374,
  557.     blipcolor=62
  558.   },
  559.   ["Jernbane Lejlighed"] = {
  560.     slot = "rail_flat",
  561.     entry_point = {673.96185302734,-724.09637451172,30.730808258057},
  562.     buy_price = 700000,
  563.     sell_price = 600000,
  564.     max = 3,
  565.     blipid=374,
  566.     blipcolor=62
  567.   },
  568.   ["Ghettohus"] = {
  569.     slot = "franklin_house",
  570.     entry_point = {-13.843012809753,-1444.6134033203,30.646482467651},
  571.     buy_price = 225000,
  572.     sell_price = 175000,
  573.     max = 25,
  574.     blipid=374,
  575.     blipcolor=62
  576.   },
  577.   ["Strand Bungalo"] = {
  578.     slot = "beach_bungalo",
  579.     entry_point = {1245.6123046875,-2686.2346191406,2.4227623939514},
  580.     buy_price = 135000,
  581.     sell_price = 100000,
  582.     max = 1,
  583.     blipid=374,
  584.     blipcolor=62
  585.   },
  586.   ["Strandhus"] = {
  587.     slot = "beach_house1",
  588.     entry_point = {-1384.8225097656,-975.95910644531,8.9470081329346},
  589.     buy_price = 135000,
  590.     sell_price = 100000,
  591.     max = 2,
  592.     blipid=374,
  593.     blipcolor=62
  594.   },
  595.   ["Strandlejlighed"] = {
  596.     slot = "beach_house2",
  597.     entry_point = {-1371.0202636719,-1001.7479248047,8.2913799285889},
  598.     buy_price = 3500000,
  599.     sell_price = 3000000,
  600.     max = 1,
  601.     blipid=374,
  602.     blipcolor=62
  603.   },
  604.   ["Strandhus"] = {
  605.     slot = "Beach_Home",
  606.     entry_point = {-1149.7276611328,-1522.0582275391,10.628049850464},
  607.     buy_price = 1500000,
  608.     sell_price = 1050000,
  609.     max = 1,
  610.     blipid=374,
  611.     blipcolor=62
  612.   },
  613.   ["Basis Lejlighed"] = {
  614.     slot = "basic_flat",
  615.     entry_point = {-635.665,44.155,42.697},
  616.     buy_price = 450000,
  617.     sell_price = 265000,
  618.     max = 100,
  619.     blipid=374,
  620.     blipcolor=62
  621.   },
  622.   ["Basis Lejlighed"] = {
  623.     slot = "basic_flat",
  624.     entry_point = {-1446.769,-538.531,34.740},
  625.     buy_price = 350000,
  626.     sell_price = 230000,
  627.     max = 100,
  628.     blipid=374,
  629.     blipcolor=62
  630.   },
  631.   ["Slumlejlighed"] = {
  632.     slot = "plantation_flat",
  633.     entry_point = {1395.3175048828,3623.8327636719,35.012145996094},
  634.     buy_price = 370000,
  635.     sell_price = 225000,
  636.     max = 75,
  637.     blipid=374,
  638.     blipcolor=62
  639.   },
  640.   ["Stor Lejlighed"] = {
  641.     slot = "other_flat",
  642.     entry_point = {-770.921,312.537,85.698},
  643.     buy_price = 750000,
  644.     sell_price = 475000,
  645.     max = 50,
  646.     blipid=374,
  647.     blipcolor=62
  648.   },
  649.   ["Centrum Lejlighed"] = {
  650.     slot = "center_apart",
  651.     entry_point = {259.53463745117,-783.05548095703,30.511564254761},
  652.     buy_price = 950000,
  653.     sell_price = 750000,
  654.     max = 50,
  655.     blipid=374,
  656.     blipcolor=62
  657.   },
  658.   ["Kæmpe lejlighed"] = {
  659.     slot = "big_flat1",
  660.     entry_point = {-47.974361419678,-585.31158447266,37.952976226807},
  661.     buy_price = 2750000,
  662.     sell_price = 2200000,
  663.     max = 50,
  664.     blipid=374,
  665.     blipcolor=12
  666.   },
  667.   ["Industri lejlighed"] = {
  668.     slot = "Industri1",
  669.     entry_point = {714.04412841797,-716.91436767578,26.13009262085},
  670.     buy_price = 175000,
  671.     sell_price = 115000,
  672.     max = 50,
  673.     blipid=374,
  674.     blipcolor=62
  675.   },
  676.   ["Moderne lejlighed"] = {
  677.     slot = "Modern_Apt",
  678.     entry_point = {-271.54443359375,-704.84051513672,38.276908874512},
  679.     buy_price = 400000,
  680.     sell_price = 275000,
  681.     max = 50,
  682.     blipid=374,
  683.     blipcolor=62
  684.   },
  685.   ["Bondegård"] = {
  686.     slot = "plantation_flat_2",
  687.     entry_point = {2452.4807128906,4961.3364257813,45.502922058105},
  688.     buy_price = 2200000,
  689.     sell_price = 1880000,
  690.     max = 1,
  691.     blipid=374,
  692.     blipcolor=62
  693.   },
  694.   ["Stor Villa"] = {
  695.     slot = "Normal_flat",
  696.     entry_point = {-109.87996673584,502.23614501953,143.47735595703},
  697.     buy_price = 2250000,
  698.     sell_price = 1825000,
  699.     max = 3,
  700.     blipid=374,
  701.     blipcolor=62
  702.   },
  703.   ["Stor Villa 2"] = {
  704.     slot = "Normal_flat_2",
  705.     entry_point = {119.38088989258,564.86901855469,183.95930480957},
  706.     buy_price = 250000,
  707.     sell_price = 225000,
  708.     max = 1,
  709.     blipid=374,
  710.     blipcolor=62
  711.   },
  712.   ["Dyr Villa 1"] = {
  713.     slot = "Rich_flat",
  714.     entry_point = {-175.16819763184,502.37973022461,137.42015075684},
  715.     buy_price = 2250000,
  716.     sell_price = 2025000,
  717.     max = 3,
  718.     blipid=374,
  719.     blipcolor=62
  720.   },
  721.   ["Dyr Villa 2"] = {
  722.     slot = "Expensive_flat",
  723.     entry_point = {-66.644836425781,490.34689331055,144.69012451172},
  724.     buy_price = 2250000,
  725.     sell_price = 2025000,
  726.     max = 3,
  727.     blipid=374,
  728.     blipcolor=62
  729.   },
  730.    ["Dyr Villa 3"] = {
  731.     slot = "Rich_flat_2",
  732.     entry_point = {-558.9833984375,665.10632324219,145.27464294434},
  733.     buy_price = 2500000,
  734.     sell_price = 2250000,
  735.     max = 1,
  736.     blipid=374,
  737.     blipcolor=62
  738.   },
  739.   ["Ranch"] = {
  740.     slot = "Ranch",
  741.     entry_point = {1385.3742675781,1146.4951171875,112.26626586914}, -- skjult under jorden pga dørene kører på permissions
  742.     buy_price = 999999999,
  743.     sell_price = 1,
  744.     max = 1,
  745.     blipid=238,
  746.     blipcolor=11
  747.   },
  748.   --[[
  749.   ["Kartellet"] = {
  750.     slot = "kartellet",
  751.     entry_point = {-97.455513000488,988.50506591797,235.75679016113},
  752.     buy_price = 99999999,
  753.     sell_price = 1,
  754.     max = 1,
  755.     blipid=0,
  756.     blipcolor=32
  757.   },
  758.   ]]
  759.   ["Mansion 2"] = {
  760.     slot = "mansion2",
  761.     entry_point = {8.5883893966675,541.60162353516,176.02816772461},
  762.     buy_price = 5000000,
  763.     sell_price = 4000000,
  764.     max = 1,
  765.     blipid=374,
  766.     blipcolor=62
  767.   },
  768.   ["Mansion 1"] = {
  769.     slot = "mansion",
  770.     entry_point = {-818.27014160156,177.49227905273,72.222503662109},
  771.     buy_price = 6000000,
  772.     sell_price = 5000000,
  773.     max = 1,
  774.     blipid=374,
  775.     blipcolor=62
  776.   },
  777.   ["Auto Exotic"] = {
  778.     slot = "auto_exotic",
  779.     entry_point = {548.42828369141,-191.07635498047,54.481338500977},
  780.     buy_price = 6000000,
  781.     sell_price = 5000000,
  782.     max = 1,
  783.     --blipid=999,
  784.     blipcolor=85
  785.   },
  786. --[[
  787.   ["Heroinlab Privat"] = {
  788.     slot = "heroinlab",
  789.     entry_point = {903.07446289063,-1722.3903808594,32.155807495117},
  790.     buy_price = 9500000,
  791.     sell_price = 7500000,
  792.     max = 6,
  793.     blipid=375,
  794.     blipcolor=5
  795.   }
  796.  
  797.   ["Kokainlab Privat"] = {
  798.     slot = "cokelab",
  799.     entry_point = {-583.166015625,-1767.662109375,23.176124572754},
  800.     buy_price = 6000000,
  801.     sell_price = 5000000,
  802.     max = 9,
  803.     blipid=375,
  804.     blipcolor=5
  805.   }
  806.   ]]
  807.  
  808.  
  809. }
Add Comment
Please, Sign In to add comment