###DESCRIPTION
Elevate your server's economy and player engagement with **Madd Cases**, a feature-rich case opening and trading resource designed specifically for RedM.
Give your players the thrill of unboxing rare loot or trading their hard-earned resources for valuable rewards through a sleek, immersive UI that fits perfectly with the RedM aesthetic.
###FEATURES
✨ **Advanced Case Opening System**
* **Premium Animation**: Smooth spinning animation with deceleration and integrated sound effects (ticking, clacking, fanfare).
* **Rarity System**: Fully configurable rarities (Common to Legendary) with distinct visual styles, colors, and glow effects.
* **Preview Mode**: Players can view case contents, odds, and potential rewards before purchasing.
* **Flexible Payments**: Use Cash, Gold, or even specific **Items** (keys/tokens) as currency.
🔄 **Dynamic Trading System**
* **NPC Traders**: Designated NPCs offering "Trade Packs" for resource exchange (pelts, ores, herbs).
* **Multi-Item Recipes**: Create complex trades (e.g., 5x Bear Pelts -> 10 Gold).
* **Interactive UI**: Clean, responsive interface for browsing and executing trades.
🛠️ **Technical Details**
* **Discord Logs**: Detailed webhooks for every opening and trade.
* **High Optimization**: 0.0ms idle usage.
* **VORP Ready**: Native support for VORP Core.
###PREVIEW
📸 **Immersive UI Experience**
* **Modern Design**: Dark-themed, glassmorphism-inspired interface.
* **Rich Soundscape**: Integrated sound effects for interactions, rolling, and big wins.
* **Responsive Layout**: Designed to look great at any resolution.
[INSERT YOUR YOUTUBE VIDEO LINK HERE]
###CONFIGURATION
Every aspect of the script is adjustable via `sh_config.lua`. Easily add new cases in minutes:
```lua
outlaw_case = {
name = "Outlaw's Bounty",
description = "Contains weapons and gear from notorious outlaws",
price = 50,
currency = "money",
items = {
{ rarity = "common", type = "item", item = "bandage", amount = 3 },
{ rarity = "legendary", type = "currency", currency = "gold", amount = 25 },
}
}
```
###DEPENDENCIES
-
jo_libs (Available at: https://github.com/Jump-On-Studios/RedM-jo_libs)
-
VORP Core (Recommended)