Advertisement
Bobby333

Untitled

Jan 16th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.06 KB | None | 0 0
  1. zrmine = zrmine || {}
  2. zrmine.config = zrmine.config || {}
  3.  
  4. // Version 1.2.7
  5. ////////////////////////////////////////////////////////////////////////////////
  6. // Developed by ZeroChain:
  7. // http://steamcommunity.com/id/zerochain/
  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. // Misc
  18. ///////////////////////
  19. // This enables fast download
  20. zrmine.config.EnableResourceAddfile = false
  21.  
  22. // These Ranks are allowed do use the Chat and Console Commands
  23. zrmine.config.allowedRanks = {"developer"}
  24.  
  25. // Disable VFX
  26. // This needs do be true or false
  27. zrmine.config.DisableVFX = false
  28.  
  29. // Chat Commands
  30. // !zrms_lvlsys_reset SteamID
  31. // !zrms_lvlsys_xp SteamID Amount
  32. // !zrms_lvlsys_lvl SteamID Amount
  33.  
  34. // Console Commands
  35. // zrms_lvlsys_reset SteamID
  36. // zrms_lvlsys_xp SteamID Amount
  37. // zrms_lvlsys_lvl SteamID Amount
  38.  
  39. // What language do we want? en,de,fr,pl,it,ru
  40. zrmine.config.selectedLanguage = "en"
  41.  
  42. // What Gamemode are we running this script on?
  43. zrmine.config.selectedGameMode = "DarkRP"
  44. // DarkRP
  45. // NutScript
  46. // BaseWars
  47.  
  48.  
  49. // Currency Display
  50. zrmine.config.BuyerNPC_Currency = "$"
  51.  
  52. // Mass Display
  53. zrmine.config.BuyerNPC_Mass = "kg"
  54.  
  55. // Disables the Owner Checks so everyone can use and place everyones mining entitys
  56. // Note* This should be on true if you dont have a prop protection on your server
  57. zrmine.config.SharedOwnership = false
  58.  
  59. // The Damage the entitys have do take before they get destroyed.
  60. // Setting it to -1 disables it
  61. zrmine.config.Damageable = {}
  62. zrmine.config.Damageable["MineEntrance"] = {EntityHealth = 1000}
  63. zrmine.config.Damageable["Melter"] = {EntityHealth = 500}
  64. zrmine.config.Damageable["Crusher"] = {EntityHealth = 300}
  65. zrmine.config.Damageable["Refinery"] = {EntityHealth = 300}
  66. zrmine.config.Damageable["Conveyorbelt"] = {EntityHealth = 200}
  67. zrmine.config.Damageable["Splitter"] = {EntityHealth = 200}
  68.  
  69. // Some debug information
  70. zrmine.config.debug = false
  71. ///////////////////////
  72.  
  73.  
  74. // The Pickaxe
  75. ///////////////////////
  76.  
  77. // The Level System
  78. /*
  79. Examble: zrmine.config.Pickaxe_Lvl[Level] =
  80. {
  81. NextXP = Amount of XP Needed for the next Level up,
  82. HarvestAmount = Amount of Resource Harvested per Hit in Kg,
  83. HarvestInterval = Hit interval ,
  84. OreInv = Your Pickaxe Ore Inventory Capacity,
  85. FillCap = The Amount of or you can fill in a Crusher or crate per Right Click
  86. }
  87. */
  88. zrmine.config.Pickaxe_Lvl = {}
  89. zrmine.config.Pickaxe_Lvl[0] = {NextXP = 100, HarvestAmount = 0.1, HarvestInterval = 1.3 , OreInv = 10, FillCap = 3}
  90. zrmine.config.Pickaxe_Lvl[1] = {NextXP = 200, HarvestAmount = 0.5, HarvestInterval = 1 , OreInv = 15, FillCap = 5}
  91. zrmine.config.Pickaxe_Lvl[2] = {NextXP = 400, HarvestAmount = 1, HarvestInterval = 0.9 , OreInv = 20, FillCap = 10}
  92. zrmine.config.Pickaxe_Lvl[3] = {NextXP = 500, HarvestAmount = 2, HarvestInterval = 0.75 , OreInv = 25, FillCap = 15}
  93. zrmine.config.Pickaxe_Lvl[4] = {NextXP = 1000, HarvestAmount = 4, HarvestInterval = 0.6 , OreInv = 35, FillCap = 20}
  94. zrmine.config.Pickaxe_Lvl[5] = {NextXP = 1500, HarvestAmount = 5, HarvestInterval = 0.5 , OreInv = 50, FillCap = 25}
  95. zrmine.config.Pickaxe_Lvl[6] = {NextXP = 2000, HarvestAmount = 6, HarvestInterval = 0.4 , OreInv = 65, FillCap = 30}
  96. zrmine.config.Pickaxe_Lvl[7] = {NextXP = 2500, HarvestAmount = 7, HarvestInterval = 0.3 , OreInv = 80, FillCap = 35}
  97. zrmine.config.Pickaxe_Lvl[8] = {NextXP = 3000, HarvestAmount = 8, HarvestInterval = 0.2 , OreInv = 95, FillCap = 40}
  98. zrmine.config.Pickaxe_Lvl[9] = {NextXP = 3500, HarvestAmount = 9, HarvestInterval = 0.2 , OreInv = 105, FillCap = 45}
  99. zrmine.config.Pickaxe_Lvl[10] = {NextXP = 4000, HarvestAmount = 10, HarvestInterval = 0.2 , OreInv = 140, FillCap = 50}
  100.  
  101. // How many pickaxe hits before we get another XP
  102. zrmine.config.Pickaxe_MaxNextXP = 10
  103. zrmine.config.Pickaxe_MinNextXP = 5
  104.  
  105. // This is the Time in seconds that the Level system gets saved each player it changed
  106. zrmine.config.Pickaxe_LvlSys_SaveTime = 15
  107.  
  108. // What Color Theme should the Pickaxe UI have
  109. zrmine.config.PickaxeThemeLight = false
  110.  
  111. // This Defines a offset for the main UI of the Pickaxe
  112. zrmine.config.PickaxeUI_Offset = Vector(0,0,0)
  113.  
  114. // Defines the harvest chance in % per Hit
  115. zrmine.config.Pickaxe_HarvestChance = 75 //1-100% 75% means we have a 25% chance of getting no resource
  116.  
  117. // This Values are % Multiplicators for the diffrend resource types
  118. // *Note* Examble : Amount: 0.5% = -50% You get only half the amount per hit Speed: 1.3% = +30% more time needed do harvest
  119. zrmine.config.Pickaxe_HarvestMul = {}
  120. zrmine.config.Pickaxe_HarvestMul["Random"] = {Amount = 0.5, Speed = 1.3,XP = 2}
  121. zrmine.config.Pickaxe_HarvestMul["Coal"] = {Amount = 1.3, Speed = 0.5,XP = 1}
  122. zrmine.config.Pickaxe_HarvestMul["Iron"] = {Amount = 1.2, Speed = 0.7,XP = 1}
  123. zrmine.config.Pickaxe_HarvestMul["Bronze"] = {Amount = 0.50, Speed = 1,XP = 1}
  124. zrmine.config.Pickaxe_HarvestMul["Silver"] = {Amount = 0.50, Speed = 1.1,XP = 2}
  125. zrmine.config.Pickaxe_HarvestMul["Gold"] = {Amount = 0.20, Speed = 1.8,XP = 3}
  126. ///////////////////////
  127.  
  128.  
  129.  
  130. // The Bar
  131. ///////////////////////
  132.  
  133. /*
  134. // Real Metal Price (This is for Reference only and does not change anything inGame)
  135. local Gold_1kg = 48000 //$
  136. local Silver_1kg = 630 //$
  137. local Bronze_1kg = 18 //$
  138. local Iron_1kg = 0.80 //$
  139. */
  140.  
  141. local Gold_1kg = 250 //$
  142. local Silver_1kg = 200 //$
  143. local Bronze_1kg = 150 //$
  144. local Iron_1kg = 225 //$
  145.  
  146. local Mass_per_Bar = 15
  147.  
  148. // The Cash Value of 1 bar
  149. zrmine.config.BarValue = {}
  150. zrmine.config.BarValue["Iron"] = Iron_1kg * Mass_per_Bar
  151. zrmine.config.BarValue["Bronze"] = Bronze_1kg * Mass_per_Bar
  152. zrmine.config.BarValue["Silver"] = Silver_1kg * Mass_per_Bar
  153. zrmine.config.BarValue["Gold"] = Gold_1kg * Mass_per_Bar
  154.  
  155. // Does the storage crate need do be full before it can be collected
  156. zrmine.config.StorageCrateFull = false
  157.  
  158. // Can other Players steal the Bars or the storagecrate?
  159. zrmine.config.MetalBar_Stealing = false
  160. ///////////////////////
  161.  
  162.  
  163.  
  164. // The Buyer NPC
  165. ///////////////////////
  166.  
  167. zrmine.config.BuyerNPC_Model = "models/Humans/Group03/male_07.mdl"
  168. // Note* You need do make sure the Model got compiled with the animations you want to use
  169.  
  170. // The Idle Animations of the Buyer NPC
  171. zrmine.config.BuyerNPC_anim_idle = {"idle_angry","idle_subtle"}
  172.  
  173. // The Sell Animations of the Buyer NPC
  174. zrmine.config.BuyerNPC_anim_sell = {"takepackage","cheer1","cheer2"}
  175.  
  176. // Here you can add all the Jobs that can sell Metal Bars
  177. //*Note* This has do be the exact name of the Job, leaves this table empty do allow everyone do sell metal bars
  178. zrmine.config.BuyerNPC_customers = {
  179. "Retro Miner",
  180. }
  181.  
  182. // This is the time in seconds the buyer npcs refresh their buy rate
  183. zrmine.config.BuyerNPC_RateRefresh = 300 //seconds
  184.  
  185. // This defines the range at which some Buyers gonna buy your metals
  186. zrmine.config.BuyerNPC_MaxRate = 40 //%
  187. zrmine.config.BuyerNPC_MinRate = 20 //%
  188. ///////////////////////
  189.  
  190.  
  191.  
  192. // The Resource Junk
  193. ///////////////////////
  194. // This Values Defines the Despawn Time in seconds, set to -1 do Disable it
  195. zrmine.config.Resource_DespawnTime = 200
  196. ///////////////////////
  197.  
  198.  
  199.  
  200. // The Ore Spawns
  201. ///////////////////////
  202.  
  203. // Do we want the Ore Spawns do refresh?
  204. zrmine.config.Ore_Refresh = true
  205.  
  206. // How often do we want do refresh the ore spawns?
  207. zrmine.config.Ore_Refreshrate = 250 //seconds
  208.  
  209. // How much gets refreshed?
  210. zrmine.config.Ore_RefreshAmount = 200 //kg
  211. ///////////////////////
  212.  
  213.  
  214.  
  215. // The Mine
  216. ///////////////////////
  217.  
  218. // If you want do set the name of the Mine Entrance yourself rather then using the player name
  219. // This can be usefull if the MineEntrace is public
  220. zrmine.config.Mine_CustomName = nil
  221.  
  222. // Defines the chance in % what the MineEntrance Enity gives you
  223. zrmine.config.Mine_ResourceChance = {}
  224. zrmine.config.Mine_ResourceChance["Coal"] = 20
  225. zrmine.config.Mine_ResourceChance["Iron"] = 50
  226. zrmine.config.Mine_ResourceChance["Bronze"] = 15
  227. zrmine.config.Mine_ResourceChance["Silver"] = 15
  228. zrmine.config.Mine_ResourceChance["Gold"] = 10
  229.  
  230. // This Value Defines the Mining Time in seconds for the MineEntrace Entity
  231. zrmine.config.MiningTime = {}
  232. zrmine.config.MiningTime["Random"] = 30
  233. zrmine.config.MiningTime["Coal"] = 20
  234. zrmine.config.MiningTime["Iron"] = 30
  235.  
  236. zrmine.config.MiningTime["Bronze"] = 50
  237. zrmine.config.MiningTime["Silver"] = 60
  238. zrmine.config.MiningTime["Gold"] = 120
  239.  
  240. // The Ore Search distance of the Mine
  241. zrmine.config.Mine_SearchDistance = 400
  242.  
  243. // This Value Defines the Amount one Minning Load gives the player in kg
  244. zrmine.config.Max_MiningAmount = 25
  245. zrmine.config.Min_MiningAmount = 10
  246.  
  247. // This defines how many ore entites 1 mine is allowed to spawn until it tells the user to refine some of the allready spawned ore
  248. zrmine.config.Mine_MaxEntCount = 5
  249. ///////////////////////
  250.  
  251.  
  252.  
  253. // The Conveyorbelt
  254. ///////////////////////
  255. zrmine.config.Belt_Capacity = 25
  256. zrmine.config.SplitterBelt_Capacity = 25
  257. ///////////////////////
  258.  
  259.  
  260.  
  261. // The Inserter
  262. ///////////////////////
  263. // Should Resources be deleted when no module is connected
  264. zrmine.config.Inserter_DeleteOnEndPoint = true
  265. ///////////////////////
  266.  
  267.  
  268.  
  269. // The Crusher
  270. ///////////////////////
  271.  
  272. // Whats the crush process duration
  273. zrmine.config.Crusher_Time = 1
  274.  
  275. // Whats the work amount
  276. zrmine.config.Crusher_WorkAmount = 2
  277.  
  278. // Whats the crusher inventory capacity?
  279. zrmine.config.Crusher_Capacity = 150
  280. ///////////////////////
  281.  
  282.  
  283.  
  284. // The Gravel Crate
  285. ///////////////////////
  286.  
  287. // The Capacity of the Crates
  288. zrmine.config.GravelCrates_Capacity = 250
  289.  
  290. // Do we want do reuse the gravel crates or should they get deleted when emtpy
  291. zrmine.config.GravelCrates_ReUse = true
  292. ///////////////////////
  293.  
  294.  
  295.  
  296. // The Refiner Crate
  297. ///////////////////////
  298. // Do we want that everyone can attach or detach the refiner basket
  299. zrmine.config.ResourceCrates_Sharing = true
  300. // The Capacity of the Crates
  301. zrmine.config.ResourceCrates_Capacity = 100
  302. // Do we want do reuse the crate or destroy it when emtpy
  303. zrmine.config.ResourceCrates_ReUse = true
  304. ///////////////////////
  305.  
  306.  
  307.  
  308. // The Refiner
  309. ///////////////////////
  310. // This Values Defines the Refining Time in seconds
  311. zrmine.config.Gold_RefiningTime = 200
  312. zrmine.config.Silver_RefiningTime = 50
  313. zrmine.config.Bronze_RefiningTime = 40
  314. zrmine.config.Iron_RefiningTime = 60
  315. zrmine.config.Coal_RefiningTime = 30
  316.  
  317. // How much of the Refined ore is metal
  318. zrmine.config.RefiningAmount = 0.75 // 75%
  319.  
  320. zrmine.config.Refiner_Capacity = 25
  321. ///////////////////////
  322.  
  323.  
  324.  
  325. // The Melter
  326. ///////////////////////
  327. // The Coal Capacity of the Melter
  328. zrmine.config.Melter_Coal_Capacity = 500
  329.  
  330. // The Unload Time
  331. zrmine.config.Melter_UnloadTime = 100
  332.  
  333. zrmine.config.Melter_Vars = {}
  334. zrmine.config.Melter_Vars["Iron"] = {OreAmount = 25, MeltDuration = 10,CoalAmount = 1,CoolingTime = 3}
  335. zrmine.config.Melter_Vars["Bronze"] = {OreAmount = 15, MeltDuration = 10,CoalAmount = 1,CoolingTime = 5}
  336. zrmine.config.Melter_Vars["Silver"] = {OreAmount = 10, MeltDuration = 15,CoalAmount = 1,CoolingTime = 7}
  337. zrmine.config.Melter_Vars["Gold"] = {OreAmount = 2, MeltDuration = 20,CoalAmount = 1,CoolingTime = 10}
  338. ///////////////////////
  339.  
  340.  
  341.  
  342. // Vrondakis Leveling System
  343. ///////////////////////
  344.  
  345. // How much XP do we get for completing these Tasks
  346. // *Note01 Only works if Vrondakis Leveling System is installed
  347. // *Note02 Also needs Faclos or NaMad PropProtection script installed do determine the owner
  348. zrmine.config.Vrondakis = {}
  349. zrmine.config.Vrondakis["Mining_mine"] = {XP = 5} // Per Mine Load
  350. zrmine.config.Vrondakis["Mining_pickaxe"] = {XP = 1} // Per Hit
  351. zrmine.config.Vrondakis["Crushing"] = {XP = 1} // Per WorkLoad
  352. zrmine.config.Vrondakis["Refining"] = {XP = 2} // Per WorkLoad
  353. zrmine.config.Vrondakis["Melting"] = {XP = 10} // Per WorkLoad
  354. zrmine.config.Vrondakis["Selling"] = {XP = 5} // Per Sell
  355. ///////////////////////
  356.  
  357.  
  358.  
  359. zrmine.config.UI = {}
  360. zrmine.config.UI["RefinerCrate"] = {TextColor = Color(255,255,255)}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement