Jump to content

"No Depreciation in Stores" Module not working, and minor issues with two others.


Recommended Posts

Posted

Hey guys, first off, just wanna say I love these series of mods. It has significantly improved my Icewind Dale experience. I just have one minor issue that I need to address. So the No Depration in Stores part of the module is not working consistently. At first, upon loading, it worked fine in Easthaven. Once I got out and headed to Kuldahar it stopped working. I've tried restarting the playthrough from scratch and this time both Easthaven and Kuldahar works. The depreciating prices still remain.

I've uninstalled all the mods and reinstalled only this one, and the issue still persists. I've updated to the latest version of the Tweaks Anthology, but still no avail. Sometimes it works, sometimes it doesn't. So is this an error that's common with this specific module and is there a way to fix it?

Additionally, in the Alter Weapon Proficiency System, the module works just fine, but the new descriptions aren't spaced out and makes it look congested and harder to read. Not game breaking, just annoying. Is there a way I can edit these and space them out?

Finally, Loosen Equipment restrictions for both the Druids and Clerics works fine, but the description still reflects that there are restricted to either the Cleric or Druid ethos, and this is not the case once the mod is installed. Not game breaking, of course, but would like to change this as well to keep it consistent.

So any help with any of these would be greatly appreciated. Thanks once again for putting this together. It's truly a lifesaver.

Posted

The "no depreciation" tweak is really simple. Depreciation is a four-byte field at offset 0x1c in the store format. So the tweak just goes through every store and sets that to zero. The usual caveats apply; visited stores go into the save, so installing this mid-run won't change any stores you've already seen. But that's about it.

There are multiple variants of the STO format; v1 is used by most games, v9 is used by IWD2 and the IWD expansions, and v1.1 is used by PST. But all of them put depreciation in the same place (at least, according to the IESDP), so it shouldn't matter here. What you're seeing? I just don't know.

Posted

Well, just to answer your question as to what I'm seeing, upon mod installation I would start a new game. Once in Easthaven the mod works fine. Quarterstaff costs two sells for two, buy it back just to resell to see that it indeed does work.

Once I finish the prologue and head into chapter 1, I visit Conlon and everything has reverted to normal. Axe's that used to sell for 2 now sell for one. Buying an item, and then selling it twice, depreciates the value. I have no idea why. Thanks for at last clarifying how the mod works.

I'll run further tests to see if I'm missing something.

Posted

The depreciation formula ...

Each store has a base percentage value of the list price that it buys items at. Then, for each instance of that item already in the store, reduce the percentage by D, where D is the store's depreciation value. There's a floor percentage that you can't drop below no matter what; it's 20 in the BG series. Also, gems and jewelry are exempt from depreciation.

So, for example, a typical BG1 shop buys items for 50% of list price and has 5% depreciation. A composite longbow has list price 100. The first one you sell is worth 50 (if the shop doesn't have any already), the second is worth 45, the third is worth 40, the fourth is worth 35, the fifth is worth 30, the sixth is worth 25, and the seventh and all others after that are worth 20. Or if you sell ten of those bows all at once, you get 50 for each of them; batch sales cheat the system like that.

It doesn't matter how many times you've sold an item to the store in the past, only what's in stock when you're selling things right now. There's no memory to the system. Also, if you're testing things, I'd recommend using more expensive items than basic staves and axes; rounding issues can obscure the signal when prices are that low.

Join the conversation

You are posting as a guest. 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.

×
×
  • Create New...