xG00BERx

I was wondering where all the Recipe information is located!!??! I Seriously cannot find it using search.... Nothing but commands for giving it and for the special bags that drop them but nothing on how they work etc... Thanks :)
 
Recipes and how they work are tied in all over the place. PlayerMobile, the crafting system, quest system, ect. What are you looking to do with them, can probably point you in the right direction.
 
Trying to check the drop rate on the higher end valuable scrolls :)
 
Scripts\Services\Quests\Mondain's Legacy\BaseReward.cs
Code:
public static RecipeScroll GetRecipe(Array list)
{
    var recipes = new int[list.Length];

    int index = 0;
    int mid = -1;

    foreach (int i in list)
    {
        int val = i - (i / 100) * 100;

        if (val >= 50 && mid == -1)
        {
            mid = index;
        }

        recipes[index] = i;
        index += 1;
    }

    if (list.Length == 0) // empty list
    {
        return null;
    }
   
    if (mid == -1) // only lesser recipes in list
    {
        return new RecipeScroll(recipes[Utility.Random(list.Length)]);
    }
   
    if (mid == 0) // only greater recipes in list
    {
        if (Utility.RandomDouble() < 0.01)
        {
            return new RecipeScroll(recipes[Utility.Random(list.Length)]);
        }
    }
    else
    {
        if (Utility.RandomDouble() < 0.01)
        {
            return new RecipeScroll(recipes[Utility.RandomMinMax(mid, list.Length - 1)]);
        }

        return new RecipeScroll(recipes[Utility.Random(mid)]);
    }

    return null;
}
 

Active Shards

  • Unchained
    Custom (Classic)
    • Players
    • 151 Online
    • 273 Peak
  • The Crossroads
    Mondain's Legacy
    • Players
    • 84 Online
    • 190 Peak
  • UO Eventine
    Custom (Classic)
    • Players
    • 84 Online
    • 137 Peak
  • Insane UO
    Endless Journey
    • Players
    • 68 Online
    • 105 Peak
  • UO: New Renaissance
    Custom (Classic)
    • Players
    • 29 Online
    • 85 Peak
  • CALYPSO
    Custom (Modern)
    • Players
    • 28 Online
    • 30 Peak
  • Pandora
    Custom (Modern)
    • Players
    • 21 Online
    • 32 Peak
  • UO Enigma
    Custom (Modern)
    • Players
    • 19 Online
    • 172 Peak
  • Arth
    Custom (Modern)
    • Players
    • 19 Online
    • 34 Peak
  • UO Phoenix
    Custom (Classic)
    • Players
    • 18 Online
    • 48 Peak

Donations

Total amount
$0.00
Goal
$500.00
Back