Skip to main content

๐ŸŒฟ Alchemist & Herbalism

A deep roleplay system for RedM/VORP that immerses players in the world of botany and alchemy. Gather rare herbs, master complex brewing processes, and become a renowned apothecary of the Wild West.

โœจ Detailed Featuresโ€‹

  • ๐ŸŒฑ Realistic Gathering: Over 15 different herb types spawn naturally in the world. The system uses intelligent caching to save performance.
  • โš—๏ธ Interactive Alchemy Lab: Use pharmacies and laboratories in towns like Valentine or Saint Denis.
  • ๐Ÿ”ฅ Minigame System: Potions quality isn't just RNG! A precise minigame requires you to control temperature and stir at the right moments.
  • ๐Ÿ“Š Quality Tiers:
    • Normal: Standard effect/amount.
    • Good: Better yield (+25%).
    • Excellent: High yield (+50%).
    • Masterful: Double yield and guaranteed success.
  • ๐Ÿ“ˆ RPG Sevel System: Start at Level 1. Gain XP with every gathered herb and brewed potion. Higher levels unlock powerful recipes (e.g., Revive Potions at Level 8).
  • ๐Ÿ‘๏ธ Eagle Eye: A special system to visually highlight herbs (requires "Snake Oil").

๐ŸŽฎ The Path to Master Alchemistโ€‹

1. Finding & Gathering Herbsโ€‹

Herbs grow everywhere in the wilderness. Each herb has preferred regions (based on RDR2 logic).

  • Interaction: When you find a herb, press [G].
  • Reward: You receive 1-4 herbs (depending on type) and Experience Points (XP).
  • Respawn: Harvested herbs regrow after a certain time (Default: 2-5 minutes).

2. Using the Labโ€‹

Locate a laboratory (marked with a Doctor icon on the map). Press [G] to open the Crafting Ledger. Here you see:

  • Your known recipes.
  • Required level for locked recipes.
  • Available and missing ingredients.

3. The Brewing Minigameโ€‹

Once you start a recipe, the brewing begins. This is the critical moment!

  1. Maintain Temperature: A bar shows the cauldron's current heat.
    • Hold [SPACE] (or the displayed key) to heat up.
    • Release to cool down.
    • Goal: Keep the indicator inside the green zone (Optimal Temperature).
  2. Progress: The longer you keep the temp optimal, the faster the progress bar fills and the higher the quality rises.
  3. Completion: When the bar is full, you get your result.
    • Warning: If the temperature stays in the red zone too long, the brew might explode or be "ruined" (loss of ingredients!).

๐Ÿงช Recipes & Effectsโ€‹

Here is an overview of known alchemical formulas. Some must be unlocked by leveling up.

Healing & Recoveryโ€‹

RecipeLevelIngredientsEffect
Healing Salve11x AgaveHeals small wounds (+25% HP). Perfect for beginners.
Herbal Base11x Agave, 1x Desert Sage, 1x ThymeBase ingredient for many advanced medicines.
Burn Salve33x Agave, 2x Hummingbird SageSpecial salve for burns (+35% HP).
Ginseng Elixir32x American Ginseng, 1x Hummingbird SageStrong medicine (+50% HP).
Miracle Tonic62x Am. Ginseng, 1x Al. Ginseng, 2x English MaceFully restores health and grants a Gold Health Core.

Buffs & Tonicsโ€‹

RecipeLevelIngredientsEffect
Stomach Bitters22x Oregano, 1x Thyme, 1x BasilSoothes the stomach. Restores Stamina + Gold Stamina Core.
Snake Oil52x Indian Tobacco, 1x Desert SageSpecial Effect: Sharpens senses (Eagle Eye). Highlights nearby herbs with colored particles + Gold Dead Eye Core.
Fortitude Brew62x Rhubarb, 1x Agarita, 1x Am. GinsengIncreases damage resistance for 3 minutes (-30% Damage).

Poisons & Specialโ€‹

RecipeLevelIngredientsEffect
Oleander Extract22x Oleander SageWeak weapon poison. Causes minor damage over time.
Sleeping Draught43x Hummingbird Sage, 2x RhubarbForces the target into deep sleep (Ragdoll for 30 sec).
Arsenic Paste52x Oleander, 2x MilkweedStrong weapon poison. Deadly in high doses.
Smelling Salts83x Am. Ginseng, 2x Milkweed, 1x Rare OrchidRevive! Can bring unconscious persons back to life.

โš™๏ธ Configuration for Server Adminsโ€‹

The config.lua offers extensive customization options.

Adding a New Herbโ€‹

To make a new plant harvestable, add it to Config.Herbs. IMPORTANT: The Key (e.g., ["s_indiantobacco01x"]) must exactly match the prop model name/hash in GTA/RedM. Use /checkherbs (if debug is on) to identify props near you.

["prop_model_name"] = {
name = "item_name_in_db", -- Must exist in DB/Items table
label = "Display Name",
minYield = 1, -- Min amount
maxYield = 3, -- Max amount
respawnTime = 300, -- Seconds until respawn
xp = 5, -- Experience points
rarity = "common", -- 'common', 'uncommon', 'rare', 'legendary'
color = {r=255, g=0, b=0} -- Marker Color (RGB)
}

Creating a New Recipeโ€‹

Define your own potions in Config.Recipes.

{
id = "my_new_potion",
name = "Super Potion",
description = "Makes you invincible (not really)",
category = "buff", -- Categories: healing, buff, poison, special
ingredients = {
{item = "item_a", amount = 1},
{item = "item_b", amount = 5}
},
result = {item = "super_potion", amount = 1},
requiredLevel = 10,
xpReward = 100,
-- Minigame Difficulty
grindSteps = 5, -- How many interactions?
brewTime = 10000, -- 10 Seconds
optimalTemp = {min = 40, max = 60}, -- Narrow range = Harder
effects = { ... } -- Script-specific effects
}

Commandsโ€‹

Useful commands for development and support. Set Config.Debug = true to use them.

  • /checkherbs - Scans the area for props and prints their Hash/Name. Useful for finding new herbs for config.
  • /herbvision - (Debug) Toggles herb vision permanently on/off.
  • /resetherbs - Resets the script variables (useful if UI gets stuck).
  • /addxp [amount] - (Admin Only) Give yourself XP for testing.

๐Ÿ“ฅ Installation & Requirementsโ€‹

  1. Resource: Copy mulderdev_herbs to your resources folder.
  2. Database: Import setup.sql into your database. This creates the herbs_player_data table.
  3. Inventory: Ensure item images exist in your inventory script (html/img/items).
  4. Config: Check config.lua for locale (Config.Locale) and job settings.
  5. Start: Add ensure mulderdev_herbs to server.cfg.

FAQโ€‹

Q: Why don't I see markers on the plants? A: Markers (and particle effects) are disabled by default to maintain immersion. You must craft and drink Snake Oil (eagle_eye_tonic) to activate "Herb Vision" for a limited time.

Q: I can't close the UI! A: Press ESC or BACKSPACE. If stuck, use /resetherbs in the F8 console.