bakahashi added a new file:
QuoteDisplay MorePity Loot
Like playing hardcore tarkov, but tired of not finding the items you need for quests or hideout? Or just like playing without flea market and don't like having to hoard /every/ item you need for future quests? Pity loot is a mod that progressively increases the loot odds for items you need based on the # of raids since you started the task, or based on the amount of time (in real world hours) since you started it.
Mod Order/Compatibility
For best compatibility, you should put this last in the mod order list so that it runs after any other mods you have that modify/add loot or loot probabilities.
NOT compatible with "Loot Update" right now, pity loot's updates will get overwritten. (please report if other loot mods break pity loot too)
Explanation
For quests, tracks all the "Handover" quests you have (including custom traders), and will continue calculating pity until you have enough to turn the quest condition in. (this also accounts for find in raid items). For gunsmith quests, will automatically add drop chances for the items to Weapon Boxes + Wooden Crates if they are not already there.
For quest keys (if enabled) has a hardcoded list of keys you need for each quest. Keys have a higher pity multiplier by default, and for quests that can use multiple keys (e.g. lend lease part 1), will keep counting pity until you have /both/. If a key is missing from loot tables, will automatically add a spawn chance for it in jackets.
For hideouts, only starts tracking possible upgrades where you meet all the prerequisites, like needed other hideout area levels, trader loyalty levels, or skill progression levels. E.g. if you require Lavatory 3, Mechanic 3, and Endurance 5, it won't start tracking pity levels until you meet all of those. Even though you can't partially turn in items for hideout, will track each item separately. If you need 5 hoses and 5 nails, and you have 3 hoses and 10 nails, it will only give you pity odds for the hoses. If you sell/barter 7 nails, to only have 3, it'll reinstate pity odds for them.
Example
Loot odds in SPT are roughly configured like so (Higher odds are more likely to show up in loot):
CodeTechnicalCrate: Items: [Hose, Wires, Capacitors, Ledx], Odds: [1000, 5000, 3000, 10] Jacket: Items: [Dorm 220, Dorm 206, Marked room, West wing 216], Odds: [300, 200, 1, 50]
Hoses will show up on average 1000/(1000+5000+3000+10) = 11% of the time, and West Wing 216 will show up 50/(300+200+1+50) = 9% of the time.
Now lets say you are on the default settings (seen below), and need Hoses for hideout, Hoses for quest A, and West Wing 216 for quest B. If you have /just/ started all of these, your pity odds are 0, so the odds are the same as above. If you have done 10 raids since you could build the hideout upgrade, 4 since you started quest A, and 10 since you started quest B, your new hose multipliers are (because increasesStack is on by default) 1+(10*.5 + 4*.5) = 8 and your new WW216 multipliers are (1+(10*.5))*2.5 = 15 (Because keys get an extra 2.5x bonus by default). This means hoses become 8x more likely to show up, WW216 becomes 15x more likely to show up, and Pity loot overwrites the loot tables to be:
CodeTechnicalCrate: Items: [Hose, Wires, Capacitors, Ledx], Odds: [8000, 5000, 3000, 10] Jacket: Items: [Dorm 220, Dorm 206, Marked room, West wing 216], Odds: [300, 200, 1, 750]
Hoses will show up on average 8000/(8000+5000+3000+10) = 50% of the time, and West Wing 216 will show up 750/(300+200+1+750) = 60% of the time.
Note: this is just an example, in practice there are hundreds/thousands of items in the loot table, and depending on how rare you original item is a 10x or even 100x increase still may not feel like a lot. You are always welcome to increase the dropRateIncreasePerRaid/Hour and maxDropRateMultiplier to something like 10 and 10000 respectively if you're really stuck on a quest
Recommended Mods
I recommend MoreCheckmarks, AllTheLoot, and KeysInLoot. For me, I used to hoard /every/ potential item i needed, and now I only look for what I need at the exact moment, which is what MoreCheckmarks helps with. For the others, they just make loot more interesting imo, and pity loot still helps make sure you find what you need.
Configuration
Config options are explained as below
CodeDisplay More{ "enabled": true, "debug": true, "trace": false, // Logs a LOT of stuff, will cause your game to lag when accepting/turning in hideouts/quests "appliesToQuests": true, // Whether or not to account for quest items in pity odds "includeGunsmith": true, // Whether or not to include necessary gunsmith parts in pity odds "appliesToHideout": true, // Whether or not to account for hideout upgrades in pity odds "increasesStack": true, // Whether or not drop rate increases stack // e.g. if two quests need the same item and are at .2 and .8 pity // with increasesStack = true, the pity odds are 1+(.2+.8), so drop rate is doubled // with increasesStack = false, it takes the max of any individual pity 1+(max(.2,.8)), so drop rate is increased by 80% "includeScavRaids": true, // whether or not to count Scav Raids as "increasePerRaid" "includeKeys": true, // Whether or not to include quest keys (like rusty bloody key, or west wing 216) in pity system "keysAdditionalMultiplier": 2.5, // Additional multiplier on top of normal ones. // If a quest needs items and stuff behind a locked door, and the items are at 80% pity // The quest key would be at 200% pity (a 3x increase) "maxDropRateMultiplier": 100, // Max multiplier for items. E.g. at default 0.5 increase per raid, // after 198 (100-1 / 0.5) raids your loot rate would be 100x normal for that item "dropRateIncreaseType": "raid", // `raid` to use raid increase below, `time` to use per hour increase "dropRateIncreasePerRaid": 0.5, // Additive multiplier increase per raid (0.5 = 50%), 1 raid = 50%, 2 = 100%, etc. "dropRateIncreasePerHour": 0.15 // Same as above but for hours. 1hr = 15% increase, 1 day = 360% }