tModLoader

tModLoader

The Shop Market
 This topic has been pinned, so it's probably important
Jake  [developer] 25 May, 2022 @ 5:51pm
Changelog History
v1.2.1.2:
Added an additional search option (%)modnpcitem which shows all items sold by a specific mod even if its a vanilla item
Added support for the mod shop expander

v1.2.1:
Added the ability to search the shop market by ($)npc name, (#)item tooltip and (@)moditem using the symbols shown

v1.2:
Rewrote the mod from scratch to fix some bugs and better restructure the mod
Flipped the side of the menu the items are on to prevent the item tooltip from covering other information
Added a config option to factor npc happiness into the prices
Added a config option to sort the shop items alphabetically

v1.1.0.6:
Updated description
Updated to work with the most recent tmodloader build

v1.1.0.5:
Updated to work with the most recent tmodloader stable build

v1.1.0.4:
Updated to work with the newest tmodloader alpha build

v1.1.0.3
Updated the trading table sprite (special thanks to Ganpan140 for making the sprite)
Renamed the trading table to better reflect its new sprite
Slightly redesigned the shop market UI for a cleaner feel
Small internal code changes

v1.1.0.2
Fixed a bug where if the player left the range of the trading table it would need a restart of tmodloader
Fixed a bug where the user would be unable to do anything in game if they were knocked out of range of the trading table while having a textbox focused
Fixed a bug where shift clicking equipped items while the shop market was open would cause their effects to remain on the player
Fixed a bug where the name of the custom currency would not appear in the item price

v1.1.0.1
Internal code cleanup
Fixed an overflow error that allowed you to buy items that costed more than 2147 platinum
Fixed a rounding error that made sell prices off by an amount that didn't really need fixing but i fixed it anyway
Smoothed out the loading of item textures so the shop market shouldnt lag as much when loading items

v1.1
Updated to work with the alpha tmodloader version 1.4
NPC happiness is now reflected in the shop prices
Sell price in the trading table is now also determined by whichever npc has the lowest happiness
You can now right click on items in the sell grid to retrieve only one instead of the whole stack

v1.0.3.6
Fixed a bug where shift+clicking an item into the sell slot and then reclaiming it removed the prefix

v1.0.3.5
oops

v1.0.3.4
Fixed a bug where you could shift+click an empty inventory slot to be sold for no value into the trading table
Fixed a bug that would cause a crash during the christmas event when coupled with the calamity mod (may preemptively fix issues with other mods too)
Added more exception handling to prevent crashes in edge case scenarios
Added some text beside the item price that identifies to the user what the special currency item name is called

v1.0.3.3
Fixed the availability of the trading table from the travelling merchant so it appears as intended now

v1.0.3.2
Updated to work with tmodloader v0.11.5

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 by Jake; 12 Jul, 2022 @ 8:42am