Caves of Qud

Caves of Qud

30 ratings
(old) Zone Loot List
2
2
   
Award
Favorite
Favorited
Unfavorite
Type: Script, UX
File Size
Posted
Updated
45.086 KB
18 Jul, 2024 @ 8:50am
21 Aug, 2024 @ 8:04pm
12 Change Notes ( view )

Subscribe to download
(old) Zone Loot List

Description
This mod works but there's a better version:

I have combined this mod and Lighten My Load into a single mod, which can be found here: Zone Loot List. There are several big improvements over this mod (like more and better filter options, showing liquid pools, showing chest contents, and bugfixes), so I recommend switching - it's safe to do at any point in your run. I don't plan on updating this mod very much, but I will keep it on the workshop until it breaks.



Imagine this scenario: you just finished an epic battle in a snapjaw lair, and you have corpses strewn over multiple areas. You remember seeing a sweet weapon dropped by one of them, but you can't remember which corpse it's under.

This mod shows a list of all items in an area, and lets you pick any of them to be autocollected the next time you autoexplore. Any items that you haven't already seen are hidden from the list, to avoid feeling cheaty. It's a simple and non-intrusive way to considerably speed up post-battle looting. It's inspired by Mark Items For Pickup, but makes a few improvements:
  • Uses new builtin UI elements to pick items.
    • Fixed some issues spawning chests in the molting update.
  • Changed the way items are marked for autopickup
    • Auto-Get nuggets is no longer required.
  • Keybinds to show the item list.
    • Ability menu is (optionally) free from clutter.
  • Better item filtering for certain item types
    • Hidden items, armed mines, and trash, to name a few.



Keybinds
  • Show Item List: Show all known gettable items in the current area.
  • Uninstall Mod: Prepares the game files for the mod to be removed. This is not strictly necessary but it will prevent an error from showing if you try to load a game after disabling the mod.

Options
  • Show Trash/Corpses: Include trash or corpses in the item list.
  • Show Value: Show a rough estimate of how valuable an item is based on its weight. This goes from red to yellow to green as things are more valuable.
  • Use Activated Ability: Add a player ability to show the menu. Useful if you don't have enough spare keys to keybind.

Notes
  • This mod is safe to install or uninstall mid-playthrough, as many times as you want.
  • Mines that you lay yourself and disarm are unable to be auto-collected. I left them in the menu because I didn't find a good way to distinguish them from disarmed enemy mines.
  • Items that you drop yourself are unable to be auto collected so they are hidden from the auto-loot list (even after I remove the DroppedByPlayer tag).
  • The above two issues may be a bug in Qud, and I have reported them to the devs.
  • I couldn't find a good way to separate stacked items, so they come in a group.
  • The source code is available on my github[github.com].

Thanks
  • KarateSnoopy for the original mod and inspiration for me to kick the tires on this modding thing.
  • Ceres (Shopping List) whose code I referenced to learn about the new UI elements.
  • Zephyr0 (Clever Girl) whose code I referenced to learn about customizing the UI elements' behavior.
  • books, kernel and other helpful and patient modders in the discord.
  • Of course the Qud devs for making a great game and opened it up to modding.
24 Comments
plaidman  [author] 1 Aug, 2024 @ 6:48am 
I just pushed an update to this mod to allow the select all function to be use custom keybinds, for controller users (thanks Voltg3 for the suggestion)
plaidman  [author] 30 Jul, 2024 @ 12:17pm 
I pushed an update to make the "Show Value" option to match closer to how it looks in my other mod Lighten My Load. For now, this update only changes the value thresholds for when the colors change from red -> yellow -> green, but I plan on eventually rolling this mod's display function into the other mod to take advantage of the "item knowledge" system, and make the zone loot list sortable by weight or value. I will keep this old version around in case people are more interested in keeping the simpler version. At least until a future Qud update breaks it.
Hi_Voltg3 26 Jul, 2024 @ 8:47pm 
This is amazing. I was always a fan of this in ToME. Thanks!
Radical Rat 25 Jul, 2024 @ 4:16am 
++:VolgarrChalice:++
Obi Wan Jabroni 24 Jul, 2024 @ 9:43pm 
awesome thank you plaid!
plaidman  [author] 24 Jul, 2024 @ 7:20pm 
Also one thing to note, if you previously had this issue, you may have to do the uninstall keybind, then save and reload the game (without disabling the mod). That will remove any extra hooks that were hanging around, and reinitialize everything correctly.
plaidman  [author] 24 Jul, 2024 @ 6:15pm 
I was able to reproduce the and bug squash it. Thanks for your patience and thanks for letting me know about it!
plaidman  [author] 24 Jul, 2024 @ 11:22am 
Awesome, I appreciate the research. And that makes sense, I added some code in there to try to handle that scenario but I think I didn't test it thoroughly enough. Soon as I get off work, I'll work on reproducing the issue and hopefully it'll be a quick fix.
Radical Rat 24 Jul, 2024 @ 10:23am 
So i checked and i guess swapping bodies causes this issue - i also use Clever Girl mod and when you use it to manage companion equipment it also register it as a body swap i think and it causes new windows to open
Radical Rat 24 Jul, 2024 @ 7:25am 
I'm on PC and It's hard to pinpoint what's causing it. It can happen after traversing few sceens and i'm pretty sure it isn't related to save/quit