[DiscordArchive] I'd like to implement a feature where grey items you loot are automatically turned into gold. I can
[DiscordArchive] I'd like to implement a feature where grey items you loot are automatically turned into gold. I can
Archived author: KJack • Posted: 2023-05-09T17:56:58.562000+00:00
Original source
you'll need to destroy the item before it actually hits player bags and send money instead. is there a reason that wouldn't work?
Archived author: Revision • Posted: 2023-05-09T17:57:08.819000+00:00
Original source
No there isn't
Archived author: KJack • Posted: 2023-05-09T17:57:18.209000+00:00
Original source
and you're exactly right on this being the right function - around line 7890 or so for creature loot.
Archived author: Revision • Posted: 2023-05-09T17:57:25.289000+00:00
Original source
Both work. Add extra gold and no grey items or remove the item when the player loots it and add gold instead.
Archived author: KJack • Posted: 2023-05-09T17:57:25.707000+00:00
Original source
in Player.cpp
Archived author: KJack • Posted: 2023-05-09T17:57:50.145000+00:00
Original source
I like getting the "loot" even if it never ends up in my bags. Better than a slightly higher gold number in the loot window, IMO.
Archived author: KJack • Posted: 2023-05-09T17:57:55.379000+00:00
Original source
but that's personal preference
Archived author: Revision • Posted: 2023-05-09T17:58:22.481000+00:00
Original source
Indeed it is
Archived author: Revision • Posted: 2023-05-09T17:58:33.244000+00:00
Original source
It might be simpler to do it your way too
Archived author: KJack • Posted: 2023-05-09T17:58:49.793000+00:00
Original source
this didn't matter too much until i started multiplying the loot from creatures. then it just gets silly how much bag space you need.