Traveling Merchant

The Traveling Merchant is a unique NPC vendor who randomly visits the player's town for one day. His inventory is randomized and different every visit, selling 4–10 / (average 5.47 / ; see below for details) different items listed below.

In order for the Traveling Merchant to spawn, at least 2 other NPCs must already be present. The Guide counts as one of these, but the Old Man and do not. He will not spawn during Eclipse, Goblin Army, Frost Legion, Pirate Invasion, or Martian Madness. He does not require his own house in order to spawn, and will instead spawn next to NPCs, spending the day walking around them.

Once the criteria are met, the Traveling Merchant has a 22.12% chance of spawning each day, appearing at a random time between 4:30AM and 12:00PM. The chance of him appearing is just as likely if all players are sleeping. He leaves the same day at 6:00PM, but can only do so once he is off-screen. He despawns if the world is vacated any time after he spawns.

If threatened by enemies, the Traveling Merchant will defend himself with a Revolver. Once Hardmode begins, he upgrades to a Pulse Bow.

Items sold
Due to elaborate randomizer functions and dependencies upon several variables, it is nearly impossible to state an exact chance of an item being sold by the Traveling Merchant. However, it is possible to group them in six rarity "slots", ranging from "Common" to "Extraordinarily Rare". Note that these slots do not correspond to the Traveling Merchant's shop inventory slots – it is possible that all sold items are from only one slot. They are only meant to provide a rough, comparative estimate of an item's rarity. Each shop slot will roll a 1/n chance of being for every possible item where n is 100 * the rarity slot. When multiple items pass this chance, the item that was tested the latest will be the selected.

Within the slots, items higher in the list below have a marginally higher chance of being sold, e.g., the is sold slightly more often than the Water Gun (on average), because it is higher in the list.

For version 1.4.0.4 there is a google spreadsheet available, which can calculate the exact probability of the item appearing. It can be found here.

Number of sold items
The following tables list the chances of the numbers of items sold by the Traveling Merchant. Only "base" items are counted, i.e., Dynasty Shingles and Team Platforms are excluded from this number, since they are always sold together with their "base" items Dynasty Wood or Team Block, respectively.

These chances reveal that the average number of sold "base" items is /.

Tips

 * The Traveling Merchant departs by simply disappearing while off-screen. If the player keeps him on-screen during the time when he would normally depart, he will remain until he is off-screen again. If he is kept on-screen until dawn, he will not depart until he is off-screen after 6:00PM the following evening. This does not, however, change his inventory.
 * In Journey mode, if you pause time when it's between 4:30 AM and 12:00 PM, the Traveling Merchant will instantly spawn. Leaving the world while time is still frozen and then returning will reroll the Traveling Merchant's current stock and location (if there's more than one town in the world). This is a great way to farm for his rarer items.
 * Another way of farming the Traveling Merchant in Journey mode is increasing the time speed multiplier until he appears and then freezing time. Changing time to midnight and then immediately back to dawn will depart the old merchant and a new one will arrive instantly. The off-screen despawn rule still applies, so changing locations prior to changing time is required.

Names
The Traveling Merchant may have any of the following names:

Quotes


When Guide is present:

When Merchant is present:

When Clothier is present:

During Rain:
 * "Rain or blue skies, I come from afar to serve you! Do you have some coin?" [sic]
 * "If my exotic coat shrinks, I will be a tad upset!"

During a Thunderstorm:
 * "Whew! That was close! Brick and mortar sounds like a pretty good investment right now."
 * "Hurry up and buy!"

During a :

Trivia

 * Many of the things he sells are of Asian origin, often from the.
 * Many of his wares may be a reference to the, and to the goods that were brought to Europe during the age of discovery in general.
 * The name Willy is most likely a reference to the 1949 play  written by American playwright, where the main character is Willy Loman, a traveling salesman.
 * His quote "" is a reference to the Pakistani trader and recording artist Muhammad Shahid Nazir, also known as, who found fame as an internet sensation for his viral video "".
 * The quote "" is a reference to the 1992 American animated musical fantasy film Aladdin.
 * His quote "" Is a reference to the ongoing joke of how Angel Statues are one of the most useless statues in the game, this is also referenced by a quote from the merchant.
 * Along with the Cyborg, the Traveling Merchant is the only NPC to sell a new item post-Moon Lord, which is Not a Kid, nor a Squid.