Jump to content

DOWNLOAD MODS

Are you looking for something shiny for your load order? We have many exclusive mods and resources you won't find anywhere else. Start your search now...

LEARN MODDING

Ready to try your hand at making your own mod creations? Visit the Enclave, the original ES/FO modding school, and learn the tricks of the trade from veteran modders...

JOIN THE ALLIANCE

Membership is free and registering unlocks image galleries, project hosting, live chat, unlimited downloads, & more...

Smelter/Tanning Rack script


Chevalier
 Share

Recommended Posts

  • 1 month later...

@Chevalier:

 

I can't read your posted link because I can't access creationkit.com.  I can't fully see what 'context' your question is in.

 

I have to assume that you already know what ingredients you need to create your recipes.

You can check a player's inventory via dialogue, and by the 'form' method.

 

If you already created your recipes, then you can have your script choose a 'priority' of what items you want to get

created first.  You would have to use a form list for this method.

 

You can have a dialogue that will only appear when the player has enough ingredients to make the item.

One example for simple item detection is using the papyrus 'fragment' option available inside dialogue.

 

   example:   

     ObjectReference Property ItemRef Auto

      If (Game.Getplayer().GetItemCount(ItemRef.GetBaseObject())=1
         *do your recipe creation*

 

   example 2:       FORM METHOD

 

      Actor Property PlayerRef Auto
      Book Property ItemBook Auto ; not persistent
     If (PlayerRef.GetItemCount(ItemBook as Form) > 0)
      ; do stuff
     EndIf

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...