Advertisement
Guest User

Untitled

a guest
Jul 21st, 2019
3,432
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.88 KB | None | 0 0
  1. zmlab = zmlab || {}
  2. zmlab.config = zmlab.config || {}
  3.  
  4. ////////////////////////////////////////////////////////////////////////////////
  5. // Developed by ZeroChain:
  6. // http://steamcommunity.com/id/zerochain/
  7. // https://www.gmodstore.com/users/view/76561198013322242
  8.  
  9. // If you wish to contact me:
  10. // clemensproduction@gmail.com
  11.  
  12. ////////////////////////////////////////////////////////////////////////////////
  13. //////////////BEFORE YOU START BE SURE TO READ THE README.TXT////////////////////
  14. ////////////////////////////////////////////////////////////////////////////////
  15.  
  16.  
  17.  
  18. // Misc
  19. ///////////////////////
  20. // This enables fast download
  21. zmlab.config.EnableResourceAddfile = false
  22.  
  23. // Some debug information
  24. zmlab.config.Debug = false
  25.  
  26.  
  27.  
  28. // This lets you set what Language we want do use
  29. // en,de,dk,es,fr,pl,ru,tr, cn
  30. zmlab.config.SelectedLanguage = "en"
  31.  
  32. // These Ranks are allowed do use the Chat Command  !savezmlab  which saves all the NPCs and DropOff Points
  33. zmlab.config.AdminRanks = {
  34.     ["superadmin"] = true,
  35.     ["owner"] = true,
  36. }
  37.  
  38. // Currency
  39. zmlab.config.Currency = "$"
  40.  
  41. // Unit of weight
  42. zmlab.config.UoW = "g"
  43.  
  44. // The Damage the entitys have do take before they get destroyed.
  45. // Setting it to -1 disables it
  46. zmlab.config.Damageable = {
  47.     ["zmlab_combiner"] = 200,
  48.     ["zmlab_frezzer"] = 150,
  49.     ["zmlab_methylamin"] = 25,
  50.     ["zmlab_aluminium"] = 25,
  51.     ["zmlab_filter"] = 100,
  52.     ["zmlab_collectcrate"] = 100,
  53.     ["zmlab_meth_baggy"] = 25,
  54.     ["zmlab_meth"] = 25,
  55.     ["zmlab_palette"] = 150,
  56. }
  57.  
  58. // Disables the Owner Checks so everyone can use everyones methlab entitys
  59. zmlab.config.SharedOwnership = false
  60.  
  61. // Do we have VrondakisLevelSystem installed?
  62. zmlab.config.Vrondakis = {
  63.     Enabled = false,
  64.  
  65.     Data = {
  66.         ["Selling"] = {XP = 1},
  67.         ["BreakingIce"] = {XP = 1},
  68.     }
  69. }
  70.  
  71.  
  72.  
  73. zmlab.config.Combiner = {
  74.  
  75.     // This Values Defines the Meth Sludge the combiner can produce per Cook
  76.     MethperBatch = 1200,
  77.  
  78.     // This Values Defines the Producing Time in seconds
  79.     MixProcessingTime = 60, // seconds
  80.  
  81.     // This Values Defines the Filtering Time in seconds.
  82.     FilterProcessingTime = 200, // seconds
  83.  
  84.     // This Values Defines the Finishing MethSludge Time in seconds
  85.     FinishProcessingTime = 100, // seconds
  86.  
  87.     // The length in seconds it takes to pump
  88.     Pump_Interval = 0.3, // seconds
  89.  
  90.     // This Values Defines how fast the Meth Sludge gets Pumped out of the Combiner
  91.     Pump_Amount = 10,
  92.  
  93.     // How much dirty gets the combiner per Batch (Setting it to 0 means it never gets dirty)
  94.     DirtAmount = 125,
  95.  
  96.     // How much dirt can the player clean per Use/Click
  97.     CleanAmount = 10
  98. }
  99.  
  100. zmlab.config.Filter = {
  101.  
  102.     // The Health of the Filter (Setting it to 0 disables the Filter losing Health)
  103.     Health = 250,
  104.     // *Note* When the Combiner is in the Filtering Process then the Filter is gonna lose Health every Second if he is installed.
  105.  
  106.     // How much MethSludge do we get if we dont use a filter 1 = 100%, 0.5 = 50%, 0.25 = 25%
  107.     NoFilterPenalty = 0.25,
  108.  
  109.     // The damage a player in distance gets per Second if there is no filter installed (Setting it to 0 disables the Damage)
  110.     PoisenDamage = 1,
  111. }
  112.  
  113. zmlab.config.Freezer = {
  114.     // If the Frezzer has Trays with Methsludge then its going to frezze them in this Interval
  115.     Freeze_Inerval = 1, // seconds
  116.  
  117.     // How much Meth does remain after its frozen/dry (0.05 = 5%)
  118.     MethFreezeLoss = 0.1,
  119.  
  120.     // The Time in seconds it takes for the Meth do frezze
  121.     Freeze_Time = 25,
  122. }
  123.  
  124. zmlab.config.FreezingTray = {
  125.  
  126.     // The amount a frezzing Tray can hold
  127.     Capacity = 250,
  128.  
  129.     // How much Meth do we lose when breaking it (0.05 = 5%)
  130.     MethBreakLoss = 0.05,
  131. }
  132.  
  133. zmlab.config.TransportCrate = {
  134.     // The amount a Transport crate can hold
  135.     Capacity = 1000,
  136.  
  137.     // This will let you collect the TransportCrate no matter if its complete full or not (Only works on zmlab.config.MethBuyer.SellMode 1 and 3)
  138.     NoWait = true,
  139.  
  140.     // Should the TransportCrate collide with everything?
  141.     FullCollide = true
  142. }
  143.  
  144. zmlab.config.MethExtractorSWEP = {
  145.  
  146.     // How much Meth do we extract per click
  147.     // *Note This extracts a small bag of meth from a transport crate or Big Bag
  148.     Amount = 25,
  149. }
  150.  
  151.  
  152.  
  153.  
  154. zmlab.config.Police = {
  155.  
  156.     // Should the player get wanted once he sells meth?
  157.     WantedOnMethSell = true,
  158.  
  159.     // These jobs can get extra money if they destroy TransportCrates filled with meth and also get a Wanted notification once a player sells meth
  160.     Jobs = {
  161.         ["Civil Protection"] = true,
  162.         ["SWAT"] = true,
  163.     },
  164.  
  165.     // The money the police player receives (for destroying the TransportCrate) is the same amount the meth producer receives times this value
  166.     // 1 = 100% , 0.5 = 50%
  167.     PoliceCut = 1,
  168. }
  169.  
  170. zmlab.config.Meth = {
  171.     // Should the player drop all of his meth on Death?
  172.     DropMeth_OnDeath = true,
  173.  
  174.     // Should the meth be consumable?
  175.     Consumable = true,
  176.  
  177.     // The Damage a player gets when consuming meth
  178.     Damage = 10,
  179.  
  180.     // The duration a bag of meth can get you high
  181.     EffectDuration = 30,
  182.  
  183.     // This enables the music that plays while the player is high
  184.     //*Note The music can only be heard from the player that uses the drug
  185.     EffectMusic = true
  186. }
  187.  
  188.  
  189. zmlab.config.Methylamin = {
  190.     // This Values Defines needed Methylamin amount
  191.     Max = 3,
  192.  
  193.     // Do we want do randomize the needed Methylamin amount for each Cook? (If yes then it will use zmlab.config.Meth.Max as max value)
  194.     Random = true,
  195. }
  196.  
  197. zmlab.config.Aluminium = {
  198.     // This Values Defines needed Aluminium amount
  199.     Max = 3,
  200.  
  201.     // Do we want do randomize the needed Aluminium amount for each Cook? (If yes then it will use zmlab.config.Aluminium.Max as max value)
  202.     Random = true,
  203. }
  204.  
  205.  
  206. zmlab.config.MethBuyer = {
  207.     // The Model of the Meth Buyer
  208.     Model = "models/Humans/Group03/male_07.mdl",
  209.  
  210.     // Do we want do Show a Sell/Cash Effect if the user sells something?
  211.     ShowEffect = true,
  212.  
  213.     // What Sell mode do we want?
  214.     SellMode = 3,
  215.     // 1 = Methcrates can be absorbed by Players and sold by the MethBuyer on use
  216.     // 2 = Methcrates cant be absorbed and the MethBuyer tells you a dropoff point instead (Palette Entity gets used here for easier transport)
  217.     // 3 = Methcrates can be absorbed and the MethBuyer tells you a dropoff point
  218.  
  219.     // Sell Price per unit
  220.     // Examble: 1kg Meth = 7$ for a user Rank
  221.     SellRanks = {
  222.         ["default"] = 5, // This value gets used if the players rank is not definied in the table
  223.         ["user"] = 7,
  224.         ["superadmin"] = 15,
  225.         ["vip"] = 10,
  226.     },
  227.  
  228.     // Here you can add all the Jobs that can sell Meth
  229.     //*Note* This has do be the exact name of the Job, Leave empty the table to allow everyone to sell meth
  230.     Customers = {
  231.         ["Master Meth Cook"] = true,
  232.         ["Gangster"] = true,
  233.     },
  234. }
  235.  
  236. zmlab.config.DropOffPoint = {
  237.  
  238.     // The Time in seconds before Dropoff Point closes.
  239.     DeliverTime = 60,
  240.  
  241.     // The Time in seconds till you can request another dropoff point.
  242.     DeliverRequest_CoolDown = 60,
  243.  
  244.     // Do we want the DropOff Point do close as soon as it gets a Meth Drop
  245.     OnTimeUse = true,
  246. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement