Page 1 of 1

Modding Merchants For Realism

Posted: Wed Dec 26, 2012 1:15 am
by LinuxMint
Greetings,

Here are three things I'd like assistance with, if possible:

#1 - I want to be able to increase the length of time it takes for a Merchant's Gold to regenerate from 1 day to 3 days or maybe 7 days.
#2 - I would like to find a way to prevent "Self Replenishing" Merchants from increasing their stock when I sell items to them (like Ajira does). Actually, getting rid of "Self Replenishing" altogether sounds like a great idea!
#3 - I would like to set a limit on how much gold Merchants have to buy items from the Player.

Thus far I have a solution for #3, I think. I believe each Merchant has to be adjusted separately in the NPCs tab. Sounds like a lot of work, but worth it IMO.

Any assistance is appreciated :)
Have a Happy New Year!

Re: Modding Merchants For Realism

Posted: Thu Jan 31, 2013 5:00 am
by TheWickerMan
Close to a month late, hopefully LinuxMint is still receiving this.
This Morrowind mod is a very good economic realism mod, that I used as a constant during my use of Morrowind.

Re: Modding Merchants For Realism

Posted: Fri Feb 01, 2013 9:27 am
by spweasel
On the off chance that the TC is still waiting for answers to his specific questions...
LinuxMint wrote:#1 - I want to be able to increase the length of time it takes for a Merchant's Gold to regenerate from 1 day to 3 days or maybe 7 days.
This is controlled by the Game Setting fBarterGoldResetDelay. It's normally set to 24, so set it to 72 if you want it to take 3 days to reset.
#2 - I would like to find a way to prevent "Self Replenishing" Merchants from increasing their stock when I sell items to them (like Ajira does). Actually, getting rid of "Self Replenishing" altogether sounds like a great idea!
Getting rid of self-replenishing entirely is simple enough (albeit tedious) - just change the quantity of each restocking item that the NPC has from a negative number to a positive one. A negative number is how the game data denotes that something restocks.

You could probably create scripts to prevent the player from increasing a shopkeeper's restocking stock permanently, but it wouldn't be worth the effort. Really, really not worth the effort, and it could easily create conflicts with other mods.
#3 - I would like to set a limit on how much gold Merchants have to buy items from the Player.
Your idea is the best if all you really want to do is alter the base cash values they have.