• For issues you find with the Switch and Console releases, please follow this link and give as much detail as possible. This is the speediest way to get info to Pipeworks and get a hotfix in the works.
  • For issues you find with the Mobile 1.3 update, please follow this link and give as much detail as possible. This is the speediest way to get info to DR Studios to look at your issue. Also, some troubleshooting hints here.

tModLoader Shop Expander

DRKV

Plantera
Shop Expander


Shop expander aims to solve a problem encountered by many players using multiple large mods. Town NPCs have a limited amount of free shop inventory space. When multiple different mods add items to a single vanilla NPC's shop, it can overflow, causing any additional items to not show up. The issue is further compounded by the fact that some items might be added to the same shop by multiple different mods, resulting in wasted slots.

This mod solves the problem, by modifying tModLoader's shop setup process. It provides each mod with a new empty inventory to put items in, then combines the inventories. This new Expanded shop is then divided into pages for displaying.



Left clicking on the page selection arrows advances one page, right clicking will skip to the first/last page. The shop still functions as normal, but now you have a lot more space. As a bonus, you also get a full 28 slot empty page for the buyback buffer. This only shows up once you actually sell something by placing it into an empty slot in the shop, or shift clicking.


Whit this, the possibilities are quite literally endless. Shop Expander also comes with a simple API, to allow other mods to add as many shop items as they wish.


(Gfycat may have eaten a few frames there...
This is supposed to be every item from vanilla,
Thorium, Calamity, Spirit and imkSushi's Mod
resulting in over 200 pages.)

More technical information and downloads available on GitHub: https://github.com/DRKV333/ShopExpander
The mod is also available on the mod browser.
 
Last edited:

X_Doomester_X

Terrarian
Omfg this mod is exactly what I was looking for when I realised... by now lol. This should have existed over a few years so we wouldn't regret losing what we accidentally have sold in the past.
 

DRKV

Plantera
Omfg this mod is exactly what I was looking for when I realised... by now lol. This should have existed over a few years so we wouldn't regret losing what we accidentally have sold in the past.
Well, just to clarify, the buyback buffer still doesn't persist after closing the shop. Though it wouldn't be impossible to make it persist. I might add this feature in the future.
 

DRKV

Plantera
hey will this work with fargos mutant mod?
Yes, it should work. None of the more content oriented mods I checked do anything funny with shops, that would stop this from working. Those NPCs with multiple shops like the mutant and the ones from Alchemist NPC should be fine too.
 

Oliverrook

Terrarian
Does it happen all the time or just intermittently? What other mods are you using besides Shop Expander and Fargo's? I need more details to track this down.
I'll try and take a look as soon as I can. My comp has been acting up quite a lot tho past couple days, so might be awhile before I can hop back in game and give you more details.
 
Top Bottom