Wanting to clarify how this functions to ease some confusion and stop feature requests.
Every NPC has an inventory that contains their items they'll drop on death
Some special NPCs have a special 2nd (or 3rd+) inventory that isn't actually on their person. These special NPCs are the ones the game flags as vendors.
If you kill one of these special NPCs (vendors) a script runs to add items from the special vendor inventory to their regular one.
How the script works is: Start at the most valuable item -> flip a coin -> if heads add to drops, if tails skip item -> move to next most valuable item -> stop after 3 items.
What this mod does is simply change 2 exposed variables used by the script. The first is to make the coin flip always heads and the second is to increase the limit from 3 to 99.
What this mod will never do:
Add the vendor gold to their drop. This is handled completely separately and I haven't found where, nor am I likely to attempt to.
Fix weird vendors (ie. Brem). Some vendors are configured differently from the rest by Larian. This is likely done for a reason so I will not be changing them to work with this mod. Sorry.
Thanks to everyone who enjoys my mods! Love you all <3
A trick that I've used to achieve this in the vanilla game is to sell the trader a pouch, bag, or any storage item, and then proceed to drag their entire inventory into it. This makes it so that upon death, they drop their entire stock, including their gold, since then the game detects that one bag as just "one" item. Figured I'd mention this in case this gives any creative ideas on how to get around the issue of merchants not dropping their gold too.
That's pretty clever. Sell them a pouch, drag their gold into it, then kill them and the gold drops in the pouch. Never thought of that myself an am totally going to use that. I've just been selling them things and getting those things back after killing them. This is much faster!
Ok hear me out, "(traders) drop none of the loot". Simple quick and dirty fix to the backpack exploit and disincentivizes killing traders. I would be so grateful if someone made that.
but people who would want this mod won't kill traders so they don't get anything out of it. and people who don't want this mod won't install it. and even then if for some reason you still had an ick about when you kill traders don't loot them?
Would there be a version for every npc to drop all their loots? Since I use mods like Random Loot, Auto Loot Aura (it makes containers and bodies to shine if there is something to be looted) and Enhanced World Tooltips (with containers preview), I usually run into some corpses showing "having" something still with them but when looted turned to empty
this is a vanilla bug. some entities have weapons/armor equipped, and those items are technically "in" their inventory but made inaccessible. some of these weapons/armors can be collected by picking up their corpse, opening the weapon/armor/etc. slot menu, and dragging the weapon (usually marked with a purple helmet icon) into your inventory. this isn't always possible -- I was able to do it with redcaps in auntie ethel's swamp to get their 2d4 sickles, but larian specifically patched this out for the deva maces in act 3.
can’t believe I’m just now finding this mod! I always found it incredibly annoying to have to empty my pockets to vendors that are gonna end up dead anyways in my playthroughs like the ones in the crèche or goblin camp, especially in act 1 when gold is harder to come by on higher difficulties. now I can still get all the goodies without feeling like too much of a cheater. cheers and thank you!
New alternate version that increases the limit even further to 999. For those with large modlists that may find vendors with hundreds of items (such as Dyes).
hello ! i really love your mod !! it's totaly Roleplay friendly but i desire to know if it will be updtated because it don't work anymore since the last game patch. i don't think it's my fault because i tried lots of things to reinstall your mod but maybe i made something wrong.
+1 It seems like the default menu for trading is now the bartering menu which doesn't show the gold in the trader's inventory... I'm guessing that the traders are made to drop whatever is shown from whatever menu is first opened when trying to trade, all in all it doesn't drop gold right now.
121 comments
What this mod will never do:
Thanks to everyone who enjoys my mods! Love you all <3
<node id="Module">
<attribute id="UUID" value="48cc6be3-f1c4-4acb-9172-189f13b1d753" type="FixedString" />
</node>
<node id="ModuleShortDesc">
<attribute id="Folder" type="LSWString" value="JWL_DATL"/>
<attribute id="MD5" value="" type="LSString" />
<attribute id="Name" type="FixedString" value="JWL Drop All The Loot"/>
<attribute id="UUID" value="48cc6be3-f1c4-4acb-9172-189f13b1d753" type="FixedString" />
<attribute id="Version64" type="int32" value="36028797018963968"/>
</node>
Figured I'd mention this in case this gives any creative ideas on how to get around the issue of merchants not dropping their gold too.
and people who don't want this mod won't install it.
and even then if for some reason you still had an ick about when you kill traders don't loot them?
love the mod btw
i really love your mod !!
it's totaly Roleplay friendly but i desire to know if it will be updtated because it don't work anymore since the last game patch.
i don't think it's my fault because i tried lots of things to reinstall your mod but maybe i made something wrong.