Coder Social home page Coder Social logo

dynyx-rings's Introduction

dynyx-rings

Rings System that gives you armor, health, stamina, or stress depending on the ring you use.

Join my discord server here

How to Install

  1. Drag dynyx-ring into your resources folder then ensure dynyx-rings in your cfg file.
  2. Go to qb-core/shared/items.lua and paste this
--Dynyx Rings
["gallery_aquamarine-ring"] 	= {["name"] = "gallery_aquamarine-ring", ["label"] = "Aquamarine Ring", ["weight"] = 0, 		["type"] = "item", 		["image"] = "gallery_aquamarine-ring.png",  ["unique"] = true, 		["useable"] = true, 	["shouldClose"] = true,   ["combinable"] = nil,   ["description"] = ""},
["gallery_citrine-ring"] 		= {["name"] = "gallery_citrine-ring", 	 ["label"] = "Citrine Ring",    ["weight"] = 0, 		["type"] = "item", 		["image"] = "gallery_citrine-ring.png", 	["unique"] = true, 		["useable"] = true, 	["shouldClose"] = true,   ["combinable"] = nil,   ["description"] = ""},
["gallery_diamond-ring"] 		= {["name"] = "gallery_diamond-ring", 	 ["label"] = "Diamond Ring",    ["weight"] = 0, 		["type"] = "item", 		["image"] = "gallery_diamond-ring.png", 	["unique"] = true, 		["useable"] = true, 	["shouldClose"] = true,   ["combinable"] = nil,   ["description"] = ""},
["gallery_jade-ring"] 			= {["name"] = "gallery_jade-ring", 		 ["label"] = "Jade Ring",       ["weight"] = 0, 		["type"] = "item", 		["image"] = "gallery_jade-ring.png", 		["unique"] = true, 		["useable"] = true, 	["shouldClose"] = true,   ["combinable"] = nil,   ["description"] = ""},
["gallery_onyx-ring"] 			= {["name"] = "gallery_onyx-ring", 		 ["label"] = "Onyx Ring",       ["weight"] = 0, 		["type"] = "item", 		["image"] = "gallery_onyx-ring.png", 		["unique"] = true, 		["useable"] = true, 	["shouldClose"] = true,   ["combinable"] = nil,   ["description"] = ""},
["gallery_ruby-ring"] 			= {["name"] = "gallery_ruby-ring", 		 ["label"] = "Ruby Ring",       ["weight"] = 0, 		["type"] = "item", 		["image"] = "gallery_ruby-ring.png", 		["unique"] = true, 		["useable"] = true, 	["shouldClose"] = true,   ["combinable"] = nil,   ["description"] = ""},
["gallery_sapphire-ring"] 		= {["name"] = "gallery_sapphire-ring", 	 ["label"] = "Sapphire Ring",   ["weight"] = 0, 		["type"] = "item", 		["image"] = "gallery_sapphire-ring.png",    ["unique"] = true, 		["useable"] = true, 	["shouldClose"] = true,   ["combinable"] = nil,   ["description"] = ""},
["gallery_tanzanite-ring"] 		= {["name"] = "gallery_tanzanite-ring",  ["label"] = "Tanzanite Ring",  ["weight"] = 0, 		["type"] = "item", 		["image"] = "gallery_tanzanite-ring.png", 	["unique"] = true, 		["useable"] = true, 	["shouldClose"] = true,   ["combinable"] = nil,   ["description"] = ""},
  1. Go to qb-inventory or lj-inventory / html / images and add in the images I put in that images folder.

Configuration

If you want to change the amount of armor, health, stamina, or stress that a ring give you head over to dynyx-rings/client/main.lua. Find export['ps-buffs']

--Example -- Adds a stamina buff for 15 seconds and a player runs 1.4 faster.
  exports['ps-buffs']:StaminaBuffEffect(15000, 1.4)

Dependencies

dynyx-rings's People

Contributors

greenslayer avatar

Forkers

mankeysocks

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.