S.T.A.L.K.E.R. 2: Heart of Chornobyl

S.T.A.L.K.E.R. 2: Heart of Chornobyl

Bartender Sells All
21 Comments
Chaotic Akantor  [author] 2 Oct @ 10:08am 
Mod is now using the file patching method, yay! Should hopefully increase compatibility with mods, may not be backwards compatible with stalker 2 patches pre 1.6!
Chaotic Akantor  [author] 2 Oct @ 9:20am 
Either way, the traders would need their own universal inventory component to cut down on the amount of entries to be added, but that's still over 200 trader entries that have to be manually changed :(. I really need to get bpatch method working lol.
Chaotic Akantor  [author] 2 Oct @ 9:19am 
To elaborate on some inner-workings. I merely add new structs with every item in them for each category for populating inventory, then I add those categories to the universal portion that is only used for bartenders. Otherwise I would have to add the new categories to a new universal and add that universal to every single trader. Or add every category to every trader, which is easy to do, but it would take a long time when I have to update or start from scratch if the file changes drastically in an update. Bpatch doesn't seem to correctly add my new structs to the file, so I'm not sure what I'm doing wrong.
Chaotic Akantor  [author] 2 Oct @ 9:15am 
@evilernie, it sure would! But the way the file is laid out it takes considerably longer to make from scratch or update. This way I only add the categories and edit 1 entry vs having to edit over 200 entries. At least whilst I'm not using bpatch.
evilernie 30 Sep @ 12:47pm 
traders sells all would be better
Chaotic Akantor  [author] 30 Sep @ 10:20am 
Thanks @VelesGuard I updated to day to add missing NVG and make ammo amounts sold non-random, enjoy!
Chaotic Akantor  [author] 30 Sep @ 10:19am 
@NewPain this would actually be possible by instead just splitting the items into more categories then adding them to each trader rather than bartenders as you progress through the zone but it is quite painstaking. I imagine there are mods that already do this, but probably not updated. A bpatch method for this one would actually be better...but sadly I don't have a lot of time to tinker with it right now. :(
VelesGuard 30 Sep @ 9:16am 
youre the best
Master_117 29 Sep @ 3:07pm 
Thank You:steamhappy:
Chaotic Akantor  [author] 29 Sep @ 2:49pm 
Master_117 I have re-uploaded it to Nexus for you and added the link to the mod pages.
NewPain 29 Sep @ 2:32pm 
It would be cool, it would avoid breaking the balance of the game, having the items limited by game zone
Master_117 29 Sep @ 1:46pm 
was this mod use to be on nexus mods can you add it back?:metrogasmask:
Pokey1751 29 Sep @ 11:40am 
alrighty^^ yeah its just annoying having to get lucky with what the vendor has.
Chaotic Akantor  [author] 29 Sep @ 8:59am 
Oh I see what you mean now Pokey, you would just like a mod that is the same as the base game traders setup, but their chances to sell what they can have is always 100%, that would be possible to do.
Pokey1751 28 Sep @ 9:23pm 
no i don't have your mod downloaded this is an issue with the base game
NewPain 28 Sep @ 4:26pm 
I have the deluxe with the monolith weapons, I have no problem. All the items are the same as those of the dlc, just in garbage the one who sells all the items is the bartender.
Chaotic Akantor  [author] 28 Sep @ 1:51pm 
Do you have the monolith weapons DLC and do the DLC guns show up for you? I wonder if this could be causing it.
Chaotic Akantor  [author] 28 Sep @ 1:45pm 
It's possible I may have broken something, I will do more testing and try to fix it.
Pokey1751 28 Sep @ 12:37pm 
nope not all the guns are there nor all attachments that are suppose to be there each time.
Chaotic Akantor  [author] 28 Sep @ 7:33am 
@Pokey1751 That's odd, it should have all available items all the time, unless something in the update made them all not fit in one inventory. The way it is currently coded is that they have 100% change to appear on every difficulty in universal bartender sections. It's possible some of them don't have their universals set to 1.0 but I doubt that.

As for the bed reseting, technically on a new save, every trader will need refreshing if it wasn't installed at the start of a save if I understand.
Pokey1751 27 Sep @ 7:05pm 
can you do a version were the vendor has all its availible items in stock so i don't have to go to bed every time in hopes he or she restock had the rifle i'm looking for?