MYTHARP-Merlin

zmlab_config.lua

Aug 5th, 2018
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.96 KB | None | 0 0
  1. zmlab = zmlab || {}
  2. zmlab.config = zmlab.config || {}
  3.  
  4. ////////////////////////////////////////////////////////////////////////////////
  5.  
  6. // Bought by 76561198139998728
  7. // Version 1.2.7
  8.  
  9. ////////////////////////////////////////////////////////////////////////////////
  10. // Developed by ZeroChain:
  11. // http://steamcommunity.com/id/zerochain/
  12. // https://www.gmodstore.com/users/view/76561198013322242
  13.  
  14. // If you wish to contact me:
  15. // clemensproduction@gmail.com
  16.  
  17. ////////////////////////////////////////////////////////////////////////////////
  18. //////////////BEFORE YOU START BE SURE TO READ THE README.TXT////////////////////
  19. ////////////////////////////////////////////////////////////////////////////////
  20.  
  21.  
  22.  
  23. // Misc
  24. ///////////////////////
  25. // This enables fast download
  26. zmlab.config.EnableResourceAddfile = false
  27.  
  28. // Some debug information
  29. zmlab.config.debug = false
  30.  
  31. // Disables the Owner Checks so everyone can use everyones methlab entitys
  32. zmlab.config.SharedOwnership = false
  33.  
  34. // This lets you set what Language we want do use
  35. //*Note Currently its only English "en" , German "de" , French "fr" , Polish "pl" , Turkish = "tr" and Spanish = "es"
  36. zmlab.config.SelectedLanguage = "en"
  37.  
  38. // These Ranks are allowed do use the Chat Command  !savezmlab  which saves all the NPCs and DropOff Points
  39. zmlab.config.allowedRanks = {"owner"}
  40.  
  41. // Do we have VrondakisLevelSystem installed?
  42. zmlab.config.VrondakisLevelSystem = true
  43. zmlab.config.Vrondakis = {}
  44. zmlab.config.Vrondakis["Selling"] = {XP = 15}   // XP per Sold meth (10g = 10XP)
  45. zmlab.config.Vrondakis["BreakingIce"] = {XP = 15} // XP per produced meth g (10g = 10XP)
  46.  
  47.  
  48. // This disables all the Particle/Audio FX
  49. zmlab.config.NoEffects = false
  50. //*Note All the Effects get created by default on Client via NetMessage but if you have a massive SERVER with 90> Players then disabling the effects can increase Performance
  51. ///////////////////////
  52.  
  53.  
  54.  
  55.  
  56. // General
  57. ///////////////////////
  58. // This is used for making sure the right functions are used
  59. zmlab.config.GameMode = "DarkRP"
  60. // Currently available:
  61. // "DarkRP" is used for the DarkRP GameMode and all that derieve from it
  62. // "BaseWars" is used for the BaseWars GameMode
  63.  
  64. // Sell Currency
  65. zmlab.config.MethBuyer_Currency = "$"
  66.  
  67. // The Damage the entitys have do take before they get destroyed.
  68. // Setting it to -1 disables it
  69. zmlab.config.Damageable = {}
  70. zmlab.config.Damageable["Combiner"] = {EntityHealth = 2000}
  71. zmlab.config.Damageable["Frezzer"] = {EntityHealth = 1500}
  72. zmlab.config.Damageable["MethylaminBarrel"] = {EntityHealth = 2500}
  73. zmlab.config.Damageable["Filter"] = {EntityHealth = 1000}
  74.  
  75. // How much MethSludge do we get if we dont use a filter 1 = 100%, 0.5 = 50%, 0.25 = 25%
  76. zmlab.config.NoFilterPenalty = 0.10
  77.  
  78. // The Health of the Filter (Setting it to 0 disables the Filter losing Health)
  79. zmlab.config.FilterHealth = 100
  80. // *Note* When the Combiner is in the Filtering Process then the Filter is gonna lose Health every Second if it is installed.
  81.  
  82. // The damage a player in distance gets per Second if there is no filter installed (Setting it to 0 disables the Damage)
  83. zmlab.config.PoisenDamage = 2
  84. ///////////////////////
  85.  
  86.  
  87.  
  88.  
  89. // Meth
  90. ///////////////////////
  91. // Should the player drop all of his meth on Death?
  92. zmlab.config.player_DropMeth_OnDeath = true
  93.  
  94. // Should the meth be consumable?
  95. zmlab.config.meth_Consumable = true
  96.  
  97. // The Damage a player gets when consuming meth
  98. zmlab.config.meth_ConsumableDamage = 10
  99.  
  100. // The duration a bag of meth can get you high, This can stack by multiple consumbtion
  101. zmlab.config.meth_EffectDuration = 60
  102.  
  103. // This enables the music that plays while the player is high
  104. //*Note The music can only be heard from the player that uses the drug
  105. zmlab.config.meth_EffectMusic = true
  106.  
  107. zmlab.config.swep_extractor_disable = false
  108.  
  109. // How much Meth do we extract per click
  110. // *Note This extracts a small bag of meth from a transport crate or Big Bag
  111. zmlab.config.swep_extractor_amount = 25
  112. ///////////////////////
  113.  
  114.  
  115.  
  116.  
  117. // Production
  118. ///////////////////////
  119. // This Values Defines needed Methylamin amount
  120. zmlab.config.MaxMethylamin = 6
  121.  
  122. // Do we want do randomize the needed Methylamin amount for each Cook? (If yes then it will use zmlab.config.MaxMethylamin as max value)
  123. zmlab.config.RndMethylamin = true
  124.  
  125. // This Values Defines needed Aluminium amount
  126. zmlab.config.MaxAluminium = 6
  127.  
  128. // Do we want do randomize the needed Aluminium amount for each Cook? (If yes then it will use zmlab.config.MaxAluminium as max value)
  129. zmlab.config.RndAluminium = true
  130.  
  131. // This Values Defines the Producing Time in seconds
  132. zmlab.config.MixProcessingTime = 30 // 60
  133.  
  134. // This Values Defines the Finishing MethSludge Time in seconds
  135. zmlab.config.FinishProcessingTime = 60 //100
  136.  
  137. // This Values Defines the Filtering Time in seconds.
  138. zmlab.config.FilterProcessingTime = 90 // 200
  139. // *Note* I made FilterProcessingTime as a seperate Value since in this time the Filter can lose Health and the Player can get Damage depending on the Values bellow.
  140. ///////////////////////
  141.  
  142.  
  143.  
  144. // Post Production
  145. ///////////////////////
  146. // This Values Defines the Meth Sludge the combiner can produce per Cook
  147. zmlab.config.Max_Meth_perBatch = 1250
  148.  
  149. // This Values Defines how fast the Meth Sludge gets Pumped out of the Combiner
  150. zmlab.config.Combiner_PumpAmount = 8
  151.  
  152. // The amount a frezzing Tray can hold
  153. zmlab.config.TrayCapacity = 250
  154.  
  155. // How much dirty gets the combiner per Batch (Setting it to 0 means it never gets dirty)
  156. zmlab.config.Combiner_DirtAmount = 150
  157.  
  158. // How much dirt can the player clean per Use/Click
  159. zmlab.config.Combiner_CleanAmount = 10
  160.  
  161. // How much Meth do we lose when breaking it (0.05 = 5%)
  162. zmlab.config.MethBreakLoss = 0.05
  163.  
  164. // How much Meth does remain after its frozen/dry (0.05 = 5%)
  165. zmlab.config.MethFrezzeLoss = 0.1
  166.  
  167. // The Time in seconds it takes for the Meth do frezze
  168. zmlab.config.FrezzingProcess = 15
  169.  
  170. // The amount a Transport crate can hold
  171. zmlab.config.TransportCrate_Capacity = 1000
  172.  
  173. // This will let you collect the TransportCrate no matter if its complete full or not (Only works on zmlab.config.MethBuyer_Mode 1 and 3)
  174. zmlab.config.TransportCrate_NoWait = true
  175.  
  176. // Should the TransportCrate collide with everything?
  177. zmlab.config.TransportCrate_FullCollide = true
  178. ///////////////////////
  179.  
  180.  
  181. // Meth Buyer
  182. ///////////////////////
  183. // The Model of the Meth Buyer
  184. zmlab.config.MethBuyer_Model = "models/npc/cdc_soldier_npc_friendly.mdl"
  185. // Note* You need do make sure the Model got compiled with the animations you want to use
  186.  
  187. // The Idle Animations of the Meth Buyer
  188. zmlab.config.MethBuyer_anim_idle = {"idle_angry","idle_subtle"}
  189.  
  190. // The Sell Animations of the Meth Buyer
  191. zmlab.config.MethBuyer_anim_sell = {"takepackage","cheer1","cheer2"}
  192.  
  193. // Sell Price per unit
  194. zmlab.config.MethBuyer_SellPrice = 500
  195.  
  196. // Here you can add all the Jobs that can sell Meth
  197. //*Note* This has do be the exact name of the Job
  198. zmlab.config.MethBuyer_customers = {"Meth Manufacturer (Super Donator)"}
  199.  
  200. // Do we want do Show a Sell/Cash Effect if the user sells something?
  201. zmlab.config.MethBuyer_ShowEffect = true
  202.  
  203. // What Sell mode do we want?
  204. zmlab.config.MethBuyer_Mode = 2
  205. // 1 = Methcrates can be absorbed by Players and sold by the MethBuyer on use
  206. // 2 = Methcrates cant be absorbed and the MethBuyer tells you a dropoff point instead
  207. // 3 = Methcrates can be absorbed and the MethBuyer tells you a dropoff point
  208.  
  209. // Do we want the DropOff Point do close as soon as it gets a Meth Drop
  210. zmlab.config.MethBuyer_DropOffPoint_OnTimeUse = true
  211.  
  212. // The Time in seconds before Dropoff Point closes.
  213. zmlab.config.MethBuyer_DeliverTime = 180
  214.  
  215. // The Time in seconds till you can request another dropoff point.
  216. zmlab.config.MethBuyer_DeliverRequest_CoolDown = 60
  217.  
  218. // The Color of the Meth Drop Indicator Circle
  219. zmlab.config.DropOffPoint_CircleColor = Color( 0, 200, 255, 255)
  220.  
  221. // The Color of the Meth Drop Indicator Text
  222. zmlab.config.DropOffPoint_TextColor = Color( 255, 255, 255, 255)
  223. ///////////////////////
Advertisement
Add Comment
Please, Sign In to add comment