Enable smelter 'recipe' only when input item not a favorite?

Post » Mon May 05, 2014 7:40 am

Hello,

This is my first post. I'll try to provide sufficient details and not write a hopeless request.

I have decided to make a "Smeltdown" mod. After some research, it turns out there are at least three others in existence. However, they each have drawbacks and I want to make one that does not have these drawbacks and learn about modding at the same time.

Essentially I am making a number of recipes that convert metal-containing items back in to a certain number of ingots.

However, I would like these reciped to be:

  1. Only visible when the required items are at hand
  2. Only visible when there are at least 1+ non-equipped required items
  3. Only visibile when, in addition to point 2, there are at least 1+ non-favorited required items

At the moment I have managed to find information relating to 1 and 2, to work out it is something like the following (in the recipe's Constructible Object window):

Target		Function Name		Function Info	Comp    Value   OperatorPL		GetItemCount		Item: 'Foo'	>=	1	ANDS		IsEquipped				>=	1	ANDS               IsInFavorState                          >=      1       AND...

However, I know this won't work, since "Item:" is probably wrong, and lines two and three are not right as they are. I suspect IsInFavorState is entirely the wrong function, but it is the most appropraite-sounding one I could find.

So, my questions:

  1. Is what I am trying to do possible?
  2. How do I go about doing it? What mistakes did I make?
  3. Where should I have found the information, rather than posting here?

Thank you & regards,

-- quixotic-cynic

User avatar
Emerald Dreams
 
Posts: 3376
Joined: Sun Jan 07, 2007 2:52 pm

Return to V - Skyrim