Jump to content

Changing Merchant gold level based on script / stage


csbx

Recommended Posts

Just monkeying around with ideas for a mod I'm working on. I'd like to double the pot that a given [non workshop] merchant has based on the player's interactions / success with a quest. My first thought was that I'd have to dupe merchantfactions + chests and swap over, but I realized it would be simpler: add a leveled cap amount in their chest that actuates only once one reaches a stage etc. Now while it seems to me a perk will handle this, I'm just too dumb to figure out how.

 

Even a quick sketch of how this can be done would be great.

Link to comment
Share on other sites

Think I figured this out.

-dupe a new version of the ll_caps_vendor_base and slip it into the LLC_caps_vendorfood entry (dupe new version of that too so as not to create edits to the vanilla)

-set 'use global' on the prior, choosing a global variable that starts at 0. set to 100 upon satisfying stage etc.

 

 

Edit: Nope ! The above didn't work for me--the extra caps showed up regardless of the global variable being changed from 0 to 100.

 

I thought the 'Use Global' section of the Leveled Item window might represent the percent chance (according to the Global Variable selected) that the relevant item (caps in this case) would instantiate. Clearly I'm missing something about how this works.

 

Any ideas ?

Edited by csbx
Link to comment
Share on other sites

  • Recently Browsing   0 members

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