Paid Resources
🍔 filo_consumables
In-game consumables creator. One ox_inventory item, with every food, drink, drug and medical item made in a panel.
Make every food, drink, drug or medical item in game instead of in config files. You register
one item in ox_inventory, and each consumable made in the panel (/consumables) lives in that
item's metadata: label, description, image, weight, uses, animation, props and effects.
Current version: 2.0.0, a full rewrite. Requires ox_lib, oxmysql and ox_inventory.
Features
| Section | What you set |
|---|---|
| General | Label, spawn name, category, description, image (ox image name or URL), weight, uses per item (bites or sips with a bar), cooldown, message after use |
| Usage | Progress bar, skill check, skill check then progress, or instant. Whether failing wastes the item. A leftover item after the last use (for example an empty bottle) |
| Animation & props | Presets (burger, bottle, coffee, beer, smoke, pill, inject and more), any dict, clip, flag or scenario, and up to 3 props placed with an in-world gizmo editor |
| Status | Hunger, thirst, stress, health and armor, added or removed instantly or over time |
| Screen effects | AnimpostFX, timecycle, camera shake and motion blur, for a duration |
| Shared box | Carry with both hands, place it in the world, and let anyone take servings until it runs out (for example a pizza box with 8 slices). Needs ox_target |
| Buffs & debuffs | Sprint and swim speed, movement rate, infinite stamina, health or armor regen or drain, damage taken, melee damage, walk style, stumbling, vomiting, night or thermal vision |
- Preview use, Test on me and Give me one buttons in the panel
- Drunk and high levels that filo_police's breathalyser and drug test can read
- Works with Qbox, QBCore and ESX (esx_status) for hunger, thirst and stress