HeadTraptMatt Posted August 15, 2015 Share Posted August 15, 2015 I'm in the process of creating a Quest mod, and one of the features I'd like to add relates to the feature Vanilla offers for the effects of ingredients. I'm trying to figure out how Skyrim tracks/monitors what effects were discovered for each ingredient. (ie. when you eat an ingredient an effect is learned for that specific ingredient.) Is it script based or perhaps a hidden magical effect added to the PC? If it is scripted which script is used? If effect based which effect? I've exhausted all other attempts at solving this on my own, short of going through and deciphering every Vanilla script, I'm at a loss. Heck I'd settle for a method similar to how www.nexusmods.com/skyrim/mods/60445/? tracks quest completions. Any assistance anyone could offer would be greatly appreciated. Link to comment Share on other sites More sharing options...
KaelVirum Posted August 16, 2015 Share Posted August 16, 2015 First of all, that sounds script based to me. As for the tracking, at least in my mind, you shouldn't need to "track" anything. I don't know enough about scripts in order to be able to help with this but what I do know is there is a way to tell a script, "If *this* is true then do *this*." That way if you want something to be activated only after the player has learned a certain effect from an ingredient you could point the script to that effect and tell it "If the player knows this effect I want you to perform this action". I'm sorry that I don't know scripting well enough to actually help with this, though, I am learning. Link to comment Share on other sites More sharing options...
lofgren Posted August 16, 2015 Share Posted August 16, 2015 (edited) I don't really understand your question. When you eat an ingredient, a number of effects are marked as "known" based on what perks you have. This is hardcoded engine behavior. There are no magic effects or scripts involved at all. What exactly are you trying to do? Edited August 16, 2015 by lofgren Link to comment Share on other sites More sharing options...
Recommended Posts