MorningStar
Terrarian
The Shop Market is a mod that was created specifically for those large modpack runs with many town npcs. I was tired of running to each and every npc to see if they sold an item that I wanted. This mod takes every item that an npc sells and puts it into one place: The Shop Market. The market is accessed using The Trading Table, which can be purchased from the Travelling Merchant. He has a 33% chance to sell it when he appears. Your town npcs must NOT be homeless, or their items will not appear in the market.
Massive thanks to the TModLoader Discord server for their help and to jopojelly for letting me use some of his source code.
The main UI screen:
When the menu is brought up (by right clicking the tile) you will be able to see a wide array of information about the market.
The menu will show you your money, how much an item costs, and who sells it along with their name. Notice the slot where our defender medals are shown. This slot will show custom currency so if the item you want to buy has a custom currency, it will appear here if your character has any of that currency. The slot will appear empty if you are broke.
You can also search for items by their name, or by a word in their tooltip. You can even use the name or the career of the npc as a search method.
At the bottom of the menu we can search by category:
Lastly, we have a buy amount field that we can enter a value into so we don't have to continuously spam click to get 999 green solution. The item price will also update depending on the value entered in the buy amount field. Leaving the field blank will assume a value of 1.
There is even a warning that displays if the amount you want to buy exceeds the max stack of said item so you don't end up spitting out 50,000 ice rods. The slots will also turn red if you cannot afford the item with the specified buy amount.
This mod has a config so you can reset the buy amount each time an item is purchased and so you can have all text fields clear when the menu is closed.
IMPORTANT: Mods that add npcs with multiple shops will have only their "active" shop loaded into the market. You'll have to manually go over and change their shop. (i know it sucks but there isn't a way around that for now)
Mods that add custom currency SHOULD be supported. I've tested it with a couple mods and it has worked fine.
The download is on the mod browser. Texture for the Trading Table is a placeholder texture. Please let me know if you have any suggestions/bug reports, I'm terrible at balancing (and spriting).
Update History:
v1.0.3
Now compatible with Shop expander
v1.0.2
Some nice internal code cleanup
Now requires TModLoader v0.11.4
You can now sell items when the trading table is open using shift click
If you shift click an item you didn't want to sell, you can reclaim it by simply left clicking on it
Massive thanks to the TModLoader Discord server for their help and to jopojelly for letting me use some of his source code.
The main UI screen:
When the menu is brought up (by right clicking the tile) you will be able to see a wide array of information about the market.
The menu will show you your money, how much an item costs, and who sells it along with their name. Notice the slot where our defender medals are shown. This slot will show custom currency so if the item you want to buy has a custom currency, it will appear here if your character has any of that currency. The slot will appear empty if you are broke.
You can also search for items by their name, or by a word in their tooltip. You can even use the name or the career of the npc as a search method.
At the bottom of the menu we can search by category:
Lastly, we have a buy amount field that we can enter a value into so we don't have to continuously spam click to get 999 green solution. The item price will also update depending on the value entered in the buy amount field. Leaving the field blank will assume a value of 1.
There is even a warning that displays if the amount you want to buy exceeds the max stack of said item so you don't end up spitting out 50,000 ice rods. The slots will also turn red if you cannot afford the item with the specified buy amount.
This mod has a config so you can reset the buy amount each time an item is purchased and so you can have all text fields clear when the menu is closed.
IMPORTANT: Mods that add npcs with multiple shops will have only their "active" shop loaded into the market. You'll have to manually go over and change their shop. (i know it sucks but there isn't a way around that for now)
Mods that add custom currency SHOULD be supported. I've tested it with a couple mods and it has worked fine.
The download is on the mod browser. Texture for the Trading Table is a placeholder texture. Please let me know if you have any suggestions/bug reports, I'm terrible at balancing (and spriting).
Update History:
v1.0.3
Now compatible with Shop expander
v1.0.2
Some nice internal code cleanup
Now requires TModLoader v0.11.4
You can now sell items when the trading table is open using shift click
If you shift click an item you didn't want to sell, you can reclaim it by simply left clicking on it
Last edited: