Skip to content

Qbox-project/qbx_divegear

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

qbx_divegear

A Qbox resource that enables the functionality of diving and air tank items.

Works with qbx_diving, a coral diving and collection resource, also developed by the Qbox community!

Features

  • Able to set the length of time an air tank will refill your tank
  • Limitations for refilling underwater (to limit endless use of air tanks)
  • animations and timers during refill
  • Text that displays current air time at the bottom of the player's screen when underwater and wearing gear

ox_inventory items

Place these items in ox_inventory's item.lua if you don't have them already:

    ['diving_fill'] = {
        label = 'Diving Tube',
        weight = 3000,
        stack = false,
        close = true,
        description = "used to refill your diving gear's oxygen supply."
    },

    ['diving_gear'] = {
        label = 'Diving Gear',
        weight = 30000,
        stack = false,
        close = true,
        description = "A diving set that let's swim underwater. Blub blub!"
    },

ox_inventory images

Missing images for your items? Here are some free-to-use images!

diving_gear diving_fill