Skyrim Special Edition
0 of 0

File information

Last updated

Original upload

Created by

FruitsBerriesMelons123

Virus scan

Safe to use

Tags for this mod

About this mod

Shows the ingredients to craft the costliest potion possible from your current ingredients.

Requirements
Permissions and credits
Rewrote the SKSE plugin from scratch. The source code is available on github. Feel free to fork the repository and improve the algorithm. You can find the main algorithm here: include/src

The first time you run the game after alchemist.dll has been installed, it will generate an alchemist.ini file (in the same directory as the dll). Or you can just make your own ini file:
Spoiler:  
Show
[General]
IgnorePlayer=1
ProtectIngredients=0
Singlethreaded=0
NumberOfIngredientsToStressTest=0
MoreIngredientsToProtect=
IngredientsToUnprotect=
StringTranslations=Alchemy,No potion recipes are currently available.
IgnorePlayer=1 Set to 0 if you want the mod to take into account the player buffs (Ignoring the player may prevent issues with mods that affect the player).
ProtectIngredients=0 Set to 1 if you wish certain ingredients in your inventory to be ignored (see list below). Set to 2 if you do not wish to use the built-in list of protected ingredients (use MoreIngredientsToProtect to specify your own list of ingredients).
Singlethreaded=0 Set to 1 to use the singlethreaded algorithm.
NumberOfIngredientsToStressTest=0 Leave this at 0 unless you want to stress test your hardware. Set to -1 to print all ingredients to alchemist.log (set it back to 0 afterwards).
MoreIngredientsToProtect= Add ingredient names and counts separated by commas and horizontal bars: Bear Claw|5,Imp Stool. Count is not required.
IngredientsToUnprotect= Add ingredient names separated by commas. These ingredients will not be protected regardless of other ini variables.
StringTranslations=Alchemy,No potion recipes are currently available. Replace these comma separated strings with the correct ones for your language. The "Alchemy" translation must match what Skyrim calls "Alchemy" in your crafting menu. The code searches for that string to make sure it only runs when using the alchemy table.

List of protected ingredients (up to the number shown):
Spoiler:  
Show
Berit's Ashes (quest)
Bliss Bug Thorax (atronach forge (10))
Bone Hawk Claw (crafting (∞))
Briar Heart (quest (2))
Corkbulb Root (crafting (∞))
Corrupted Human Heart (quest)
Crimson Nirnroot (quest (30))
Daedra Heart (∞)
Deathbell (atronach forge (10) + quest (21))
Dragon's Tongue (atronach forge (10))
Ectoplasm (atronach forge (10))
Farengar's Frost Salt (quest)
Fine-Cut Void Salts (quest)
Fire Salts (atronach forge (10) + quest (10))
Frost Mirriam (atronach forge (10))
Frost Salts (atronach forge (10))
Giant's Toe (quest (2))
Goldfish (quest (1))
Hagraven Claw (quest (1))
Hagraven Feathers (quest (1))
Human Heart (atronach forge (10))
Ice Wraith Teeth (quest (5))
Ironwood Fruit (quest (1))
Jarrin Root (quest)
Jazbay Grapes (quest (20))
Juniper Berries (quest (1))
Juvenile Mudcrab (quest (1))
Large Antlers (hearthfire (∞))
Mudcrab Chitin (hearthfire (∞))
Netch Jelly (quest (5))
Nightshade (quest (20))
Nirnroot (quest (20))
Salt Pile (atronach forge (10))
Scathecraw ((quest (10))
Simon Rodayne's Heart (quest)
Slaughterfish Scales (hearthfire (∞))
Taproot (quest (3))
Torchbug Abdomen/Thorax (atronach forge (10))
Troll Fat (quest (1))
Vampire Dust (quest (2))
Void Salts (atronach forge (10) + quest (1))
All ingredients with Fortify Enchanting or Fortify Smithing:
Enchanting:
Snowberries
Hagraven Claw
Blue Butterfly Wing
Ancestor Moth Wing
Chaurus Hunter Antennae
Spawn Ash
Stoneflower Petals
Smithing:
Blisterwort
Sabre Cat Tooth
Glowing Mushroom
Gold Kanet
Enchanting/Smithing:
Spriggan Sap
Dreugh Wax

Changelog:
Spoiler:  
Show
0.0.15
  • fix multithreading/singlethreading
0.0.14
  • add translation ini variable
0.0.13
  • add cc ingredient protections / add more ini options
0.0.12
  • full release for protecting extra ingredients with the ini
0.0.11
  • beta test for protecting extra ingredients with the ini
0.0.10
  • update to use alchemist.ini
0.0.9
  • fix multithreading (credit to sonycman)
0.0.8
  • fix for mods that change the crafting description
0.0.7
  • update for multithreading
0.0.6
  • add multithreading
  • change back to rounding .5 away from zero
0.0.5
  • fix player state
  • change potion prompt to only show when making potions
0.0.4
  • change rounding .5 to be toward zero
0.0.3
  • remove magnitude/duration calculation from control effect cost check
0.0.2
  • add protected version
0.0.1
  • initial release


Thanks to uranreactor for adding support for Dear Diary!

If you don't use Dear Diary you'll need to also download one of the craftingmenu.swf replacers found in the misc files section.

Full permission is granted to everyone to take all or parts of the code and use it for any and all purposes, including creating your own mod on the nexus based on this one. I do this in the hopes that someone smarter than me will come along and make a better version of this mod with some of the features I once thought I might someday implement. Until that day comes I'll probably just be doing the minimum of staying up-to-date with the latest skse updates. Oh and if you do make another mod with similar functionality to this one, please let me know so I can put a link to it here on this page.

Special Thanks:
SKSE Team (for creating and maintaining SKSE)
axxonite (creator of the original mod for Skyrim LE)
Ryan-rsm-McKenzie (I used his guide when I was getting started)
sonycman (for helping fix some issues with the code)
shademe (for providing his ini code on github, which I make use of)