45 lines
1.5 KiB
Markdown
45 lines
1.5 KiB
Markdown
|
|

|
||
|
|
|
||
|
|
# qbx_divegear
|
||
|
|
|
||
|
|
A Qbox resource that enables the functionality of diving and air tank items.
|
||
|
|
|
||
|
|
Works with [qbx_diving](https://github.com/Qbox-project/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!
|
||
|
|
|
||
|
|

|
||
|
|

|