|
| 1 | + |
| 2 | + |
| 3 | +# **Aliano Alcohol System** |
| 4 | + |
| 5 | +Developed by **Aliano** ([@alinmb](https://github.com/alinmb)) |
| 6 | +You are allowed to use and modify this script, but you **must**: |
| 7 | + |
| 8 | +- Keep the original name of the script. |
| 9 | +- Clearly credit me as the author, even after modifications. |
| 10 | + |
| 11 | +Thank you for respecting these conditions so everyone can benefit from this script under the best conditions! |
| 12 | + |
| 13 | +**A realistic alcohol consumption script with dynamic effects and advanced animation handling fully configurable.** |
| 14 | + |
| 15 | +--- |
| 16 | + |
| 17 | +## **📌 Description** |
| 18 | + |
| 19 | +- **14 different alcohol usable items** (vodka, beer, whiskey, etc.) |
| 20 | +- **Realistic visual and physical effects** (progressive drunkenness, impaired movement, blackouts) |
| 21 | +- **Thirst management** (dynamic hydration per sip) |
| 22 | +- **Smooth animations** (holding bottles, drinking, stumbling) |
| 23 | +- **OX Inventory compatibility** (custom items, props and icons) |
| 24 | +- **Sip system** (multiple sips per bottle for enhanced realism) |
| 25 | +- **Drunk driving** (vehicle swerving, random braking) |
| 26 | + |
| 27 | +--- |
| 28 | + |
| 29 | +## **✨ Features** |
| 30 | + |
| 31 | +### **1. Alcohol Consumption** |
| 32 | + |
| 33 | +- **Sip-by-sip drinking** with synchronized animations |
| 34 | +- **Props** |
| 35 | +- **Increased thirst** after consumption (configurable) |
| 36 | + |
| 37 | +### **2. Drunkenness Effects** |
| 38 | + |
| 39 | +- **3 intoxication levels**: mild, moderate, severe |
| 40 | +- **Impaired movement** (staggering, random falls) |
| 41 | +- **Visual effects** (blur, distortion, impaired vision) |
| 42 | +- **Blackouts** when overconsuming |
| 43 | + |
| 44 | +### **3. Hangover Management** |
| 45 | + |
| 46 | +- **After-effects** (dizziness, headaches) |
| 47 | +- **Gradual recovery** |
| 48 | + |
| 49 | +### **4. Drunk Driving** |
| 50 | + |
| 51 | +- **Steering deviation** |
| 52 | +- **Random braking** |
| 53 | +- **Excessive honking** (when heavily drunk) |
| 54 | + |
| 55 | +### **5. Compatibility** |
| 56 | + |
| 57 | +- **OX Inventory** (custom items + icons) |
| 58 | +- **Standalone** |
| 59 | +- **Standalone (only 1 thing to change -> thirst level, the line is already ready)** |
| 60 | +- **ESX** |
| 61 | +- **QBCore** |
| 62 | +- **Multilingual** (French, English) |
| 63 | + |
| 64 | +--- |
| 65 | + |
| 66 | +## **🎯 Requirements** |
| 67 | + |
| 68 | +- **[OX Inventory](https://github.com/overextended/ox_inventory)** (for items) |
| 69 | + |
| 70 | +--- |
| 71 | + |
| 72 | +## **⚙️ Configuration** |
| 73 | + |
| 74 | +- **Modify `config.lua`** to adjust: |
| 75 | + - Effect duration |
| 76 | + - Bottle threshold for effects |
| 77 | + - Sips per bottle |
| 78 | + - Drunkenness intensity |
| 79 | + - Thirst added per consumption |
| 80 | + |
| 81 | +--- |
| 82 | + |
| 83 | +## **📜 Commands** |
| 84 | + |
| 85 | +- **`/alcoholstatus`** → Check current alcohol level |
| 86 | +- **`/resetalcoholeffects`** → Reset effects (admin) |
| 87 | + |
| 88 | +--- |
| 89 | + |
| 90 | +## **🎥 Preview Youtube** |
| 91 | + |
| 92 | +✅ **Drinking animation** |
| 93 | +✅ **In-game drunkenness effects** |
| 94 | +✅ **Staggering movement** |
| 95 | +✅ **Impaired driving** |
| 96 | + |
| 97 | +[](https://www.youtube.com/watch?v=GmC_OriAPfA) |
| 98 | + |
| 99 | +--- |
| 100 | + |
| 101 | +**A realistic and immersive script for your RP servers! Don't forget to start the script in your server.cfg file.** |
| 102 | +_See you soon! Aliano._ |
0 commit comments