Giter Site home page Giter Site logo

puppetrob / al-treasurehunt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alivemonstor/al-treasurehunt

0.0 0.0 0.0 1.21 MB

A new way for your non-illegal players to get some non-illegal money! Configurable to add items of your choice and locations of your choice. This script brings the fun in RP! Feel free to make PR's and suggestions if needed

Lua 100.00%

al-treasurehunt's Introduction

al-treasurehunt

A new way for your non-illegal players to get some non-illegal money! Configurable to add items of your choice and locations of your choice. This script brings the fun in RP! Feel free to make PR's and suggestions if needed

Video Preview

Dependencies

Items

Make sure you add to your items.lua (qb-core/shared/items.lua)

["metaldetector"] = {
    ["name"] = "metaldetector",
    ["label"] = "Metal Detector",
    ["weight"] = 200,
    ["type"] = "item",
    ["image"] = "metaldetector.png",
    ["unique"] = false,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = '*beep*, *beep*',
},

["treasuremap"] = {
    ["name"] = "treasuremap",
    ["label"] = "Treasure Map",
    ["weight"] = 100,
    ["type"] = "item",
    ["image"] = "treasuremap.png",
    ["unique"] = false,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = 'Shrivelled up paper',
},

["emeraldore"] = {
    ["name"] = "emeraldore",
    ["label"] = "Emerald Ore",
    ["weight"] = 100,
    ["type"] = "item",
    ["image"] = "emeraldore.png",
    ["unique"] = false,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = 'Shiny Rock',
},

["diamondore"] = {
    ["name"] = "diamondore",
    ["label"] = "Diamond Ore",
    ["weight"] = 100,
    ["type"] = "item",
    ["image"] = "diamondore.png",
    ["unique"] = false,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = 'Shiny Rock',
},

["goldore"] = {
    ["name"] = "goldore",
    ["label"] = "Gold Ore",
    ["weight"] = 100,
    ["type"] = "item",
    ["image"] = "goldore.png",
    ["unique"] = false,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = 'Shiny Rock',
},

Make sure to also add everything in the images folder to your inventory script's image folder.

inventory/html/images

Shoutouts

Big Thanks to PlasmaFPS for allowing me to use and repurpose some of his code! Custom Prop made by Vartanyan

al-treasurehunt's People

Contributors

alivemonstor avatar qwerty1verified avatar ansljeremy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.