Jump to content

Need help using SPID to randomly disperse items to merchants


csbx

Recommended Posts

Hello ! I haven't done a lot of scripting and haven't used SPID at all, but am trying to figure out how to do something that I think would be useful not just for this task but for generally dealing with mods that add content to the game.

 

https://www.nexusmods.com/skyrimspecialedition/mods/23710

 

This mod is the one I'm trying to adjust. Instead of just giving all books to particular merchants, I'd like to randomize it a bit by creating 2 categories: 1) common books 2) rare books.

 

Thus far I've created 2 leveled lists that include the books (I've made arbitrary decisions about which I'll count as rare).

 

I've created the SPID file, but I'm very unclear about a couple of things:

 

1) where do I incorporate the 'chance' for the given books to show up - ie. making the books on the rare leveled list actually show up less ?

And how do I make it so each item in the leveled list gets an independent check rather than success meaning the whole leveled list is placed in the inventory ?

 

2) When I'm filling out the syntax in the spid file, is there an easy way to denote: all merchants dealing in apothecary ?

 

thanks !

Link to comment
Share on other sites

The syntax I'm using is as follows. Note: it doesn't work, so I'm def. doing something wrong.

 

Item = 019D12~pick_your_poison.esp|MerchantWhiterunArcadiasCauldronChest|NONE|NONE|NONE|5

 

 

EDIT: think I solved my own issue. Apparently I have to add to Arcadia herself, as adding to chests in this way doesn't seem possible. Either way, it works !

 

EDIT2: Now I have a new problem. Because I'm not adding to the merchant chest, the items I'm adding don't actually re-roll. Anyone have an idea how to do this ?

Edited by csbx
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...