Larian Studios
Hi there,

the stats of items you find are rolled randomly. Is it possible to completely delete the chance of specific stats on an item? I personally hate when items give you +1h-sword or +pickpocket as I want my characters to have the NEED to invest points into something if they want to be good at it and not just have an armor set for pickpocketing etc. While I could just evade those items and don't use them I often find items which are EXACTLY how I want them but then one of the stats is something like +2 pickpocket skill and I "can't" use it because I don't want to play with any of those items.

1. Long question short: How can I completely delete stats from the statpool for items?

2. And as a secondary question: Changing the treasuretable to only drop blue or better items works fine in early game but after a specific point later on treasure is still rare but suddenly only level 1-3 stuff. Any fix for that? I want to half the amount of loot but make blue the new common.

3. And a third question: Is it possible to change which item qualities are common for merchants? Like having all merchants at least sell blue or green items? Oh and can someone please create a mod which makes vendors restock every 20 minutes? I managed to make them instantly restock when talking to them by just deleting the AND NOT in story/rawfiles/goals/trade.txt at
NOT DB_TraderGeneratedTreasureForLevel(_Trader,_)

But I have no idea how to make it timed to 20 minutes. I mostly play this game in coop and instantly resetting merchants is a bad thing when your partner wants to buy something from the shop. With instant restock they get completely different stuff. If someone could make a mod to make vendors restock every 20 minutes instead of at level up THAT WOULD BE GREAT! smile
1. You got the DeltaModifiers text or excel file in your stats file and delete the lines that give you ability bonuses. If you're editting the excel file, you'll have to go to the "All" file to generate the text files with your changes. See this thread for more details on how to edit stats:

2. At a certain point all item drops are level 1-3 even if you're killing level 8 enemies, for example? That's a weird bug. Make sure you didn't change any level requirements for certain things.

3. You can edit the treasure tables of traders with the treasure table text, in the same way I assume you edited the treasure tables for item drops. Traders generally have specific treasure tables like Cys_Arhu which you can easily add items to. I believe that traders already generate new items over a long period of time and there's code for that somewhere. Just change the timer to 120000 or whatever 20 minutes is in milliseconds.
Thanks for the answers. I sadly can't find the timers for vendors. Anyone got luck with that? Or knows another way to make it work and can create a mod which restocks vendors every 20 minutes? Would be great. smile



that file contains stuff like "modifier weapons" and then a list with modifier xxx
For example:
modifier "BodyBuilding","Penalty Qualifier"

Delete this modifier from weapons modifiers and you never get bodybuilding stats on weapons anymore! smile Works with everything else, too.
© Larian Studios forums