Mining script to mine crypto currency.
Three different rigs which yield different cyprto coins.
QBCore Framework
Copyright (C) 2021 Joshua Eger
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>
Make sure to add the items in shared.lua
["standard_cpu"] = {["name"] = "standard_cpu", ["label"] = "Standard Cpu", ["weight"] = 1000, ["type"] = "item", ["image"] = "standard_cpu.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Sometimes you'd want everything to burn.."},
["e2_cpu"] = {["name"] = "e2_cpu", ["label"] = "E2", ["weight"] = 1000, ["type"] = "item", ["image"] = "e2_cpu.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Sometimes you'd want everything to burn.."},
["quantum_cpu"] = {["name"] = "quantum_cpu", ["label"] = "Quantum", ["weight"] = 1000, ["type"] = "item", ["image"] = "quantum_cpu.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Sometimes you'd want everything to burn.."},
Images are in the folder.. Make sure to add it to qb-inventory/html/images
Dependency - https://github.com/ultrahacx/ultra-voltlab
ultra-voltlab minigame
Use -
- Spawn the items or change the coords in config.lua for shop anywhere and buy the items.
- Teleport to Config.ExitCoords and go inside the crypto building and use the item. (can change the exitCoords)
- It will start mining and depending on the cpu, it will take 60, 120 or 180 secs. (can be changed through config)