# Advanced Herbalism & Alchemy System for RedM (VORP)
**mulderdev_herbs** is a fully immersive, skill-based herbalism and alchemy framework for RedM (VORP Core).
Inspired by *Potion Craft: Alchemist Simulator*, this resource completely replaces dull progress bars with engaging mini-games, authentic RDR2 core interactions, weapon coatings, and an interactive merchant system.
---
### πΌ Preview & Showcase
* **YouTube Showcase:** https://youtu.be/lkAs8MTDGew
---
### β¨ Core Features
#### π± Herb Gathering & Progression
* **17+ Harvestable Herbs:** Naturally distributed across the map with realistic inspection and gathering animations.
* **Full Server-Side Security:** Yield amounts and XP are calculated entirely server-side (`Config.Herbs`) with global coordinate cooldowns to prevent double-harvesting or spam.
* **XP & Leveling System:** Level up your herbalism skill with every gather and craft, unlocking higher-tier recipes dynamically.
#### π¦ Herb Vision System
* **Special Vision Mode:** Highlights nearby herbs within a 50m radius using color-coded ground markers, floating labels, and glittering particle effects.
* **Activation:** Brew and consume Snake Oil (3-minute effect) or trigger via `/herbvision` (debug mode).
#### βοΈ Three-Phase Alchemy Mini-Games (NUI)
* **Phase 1 β Ingredient Mixing:** Place ingredients into the mixing bowl via simple click or classic drag-and-drop.
* **Phase 2 β Mortar & Pestle:** Delta-time precision timing mechanic (consistent across 60Hzβ240Hz monitors) with accurate Perfect and Good hitzones. Trigger via click or Spacebar.
* **Phase 3 β Cauldron Brewing:** Dual-task temperature and stirring control. Stir via mouse movement or Spacebar / A / D; regulate heat with the slider, mouse wheel, or W / S. Includes a momentum system and failure mechanics (overheating leads to an explosion).
* **Material Protection:** Closing the NUI during an active brew automatically refunds all consumed ingredients.
#### βοΈ Authentic RDR2 Effects & Weapon Poisoning
* **Native Core & Ring Regeneration:** Tonics and salves accurately replenish outer status rings and inner RDR2 Cores (Heart, Stamina, Dead Eye).
* **Gold Core Overpower:** Top-tier tonics restore the core to 100% and initiate the golden overpower ring in a single fluid animation.
* **Working Weapon Poison:** Coat your active weapon to apply damage-over-time (DoT) and custom visual distortion to targets on hit.
* **On-Screen Poison HUD:** Players afflicted by poison receive a dedicated countdown bar and skull icon until cured via Antidote or expiration.
* **Custom Recipe Engine:** Register custom tonics and multi-effect potions directly in `Config.Recipes`.
#### πͺ Interactive Apothecary Merchant
* **Dedicated Trading Book:** Interacting with apothecary NPCs opens a full ledger UI instead of auto-dumping inventory items.
* **Flexible Sales:** Sell single units, bulk batches, or use the "Sell Trade Goods Only" shortcut to protect combat and utility potions.
#### π Western Parchment UI & Complete Locales
* **Immersive Visuals:** Antique parchment theme with wood/brass accents, live XP bars, and comprehensive recipe effect badges.
* **Dual Localization:** Full English and German configurations (`locales/`) with zero text clipping.
---
### π§© Framework & Requirements
* **Platform:** RedM
* **Framework:** VORP Core
* **Database:** MySQL / MariaDB (ready-to-use `setup.sql` & `setup_en.sql` included)