Skyrim Special Edition

About this mod

Merchant's Inventory Refresh - Mod that makes every merchant's inventory refresh each time you ask a merchant What have you got for sale? Works perfect. So you don't need to use a bug with saving, hurting merchant and loading save anymore.

Requirements
Permissions and credits
Changelogs
                                   Merchant's Inventory Refresh
-------------------------------------------------------------------------------
How Does It Work?

Mod makes every merchant's inventory refresh simply by asking What have you got for sale? It removes 48 hours delay of vendor's inventory restock.

Important

Do not confuse this mod with other mods, that only changing Game Setting iDaysToRespawnVendor 2. In that kind of mods you will get insta-restock of merchant's inventory each time you buy something. In this mod you can buy all things that you want SAFELY without refreshing, after that close the barter menu and ask what have you got for sale again. Only after that merchant's inventory will refresh.

Detailed explanation :

By default game uses the game setting iDaysToRespawnVendor = 2 which means that the vendor's inventory will be refreshed every 48 hours. The mod uses ConsoleUtil functions to register the BarterMenu on initialization, it allows me to set events when opening/closing the BarterMenu. First event starts when player opens the BarterMenu. Event activates the ConsoleUtil function, which changes the game setting iDaysToRespawnVendor to 1. This makes it possible not to update the merchant's inventory while the player is buying things. The following event when player closes the BarterMenu uses the ConsoleUtil function to reset the iDaysToRespawnVendor value to 0. You can see changes in console right in the game.




Requirements:

Skyrim Anniversary Edition. 
SKSE 
ConsoleUtilSSE NG (https://www.nexusmods.com/skyrimspecialedition/mods/76649)
Address Library for SKSE Plugins

Installation:

I highly recommend using MO2, but you can install it in other managers.

MO2 users: Just click install new mod, choose this mod, install it and activate esp. 
Other mod managers: idk, i don't use them, but i'm pretty sure you know how to install mods with your mod manager

FAQ:

Known issues:

1. Inventory refreshes after a purchase.

Not a bug. Merchants inventory does not refreshes after purchase. That will happen only if you haven't installed ConsoleUtilSSE - NG (which is in requirements) or installed it wrong (for ex. you may be haven't installed it's requirements). Or if you haven't installed SKSE it obviously won't work. If you installed all correctly merchants inventory will refresh only after closing sell/buy menu and opening it again. 


----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Feel free to ask question in comments. If you discovered a bug, please report it.
And if you liked it, please don't forget to endorse. xxx

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------