Dye Trader

The Dye Trader is an NPC that sells the Dye Vat and other dye-related items. He will move in when the following criteria have been met:
 * There is an empty house.
 * The player has a dye, dye ingredient, or Strange Plant in their inventory, and at least four other town NPCs are in the world. Note that while the Old Man, Traveling Merchant, and town pets count towards this total, the Skeleton Merchant does not.
 * One of the following:
 * The player has a Strange Plant in their inventory.
 * The player has a dye or dye ingredient in their inventory, and one of the four major pre-Hardmode bosses has been defeated: Eye of Cthulhu, Skeletron, or Eater of Worlds / Brain of Cthulhu depending on the world's evil biome.
 * The player has a dye or dye ingredient in their inventory.

In addition to selling dye-related items, players may trade in Strange Plants for uncraftable and unpurchasable animated dyes once Hardmode has been reached. These dyes are given at random in sets of three for each exchanged Strange Plant.

On the, the Dye Trader will attack nearby enemies with his Exotic Scimitar to defend himself, dealing 11 / /  damage at the start of the game, and (on the ) as players progress he will gain various stat increases. He may also drop this weapon on death.

Strange Plant quests
Speaking to the Dye Trader will show the "Strange Plants" quest (requires Hardmode on ), in which the Dye Trader asks players to fetch him rare plants. In return, he rewards players with six vials of a special dye which cannot be obtained otherwise. More of these dyes become available as the game progresses.

Interaction quotes


When Pirate is present:

During a :

During a :

During Rain:

During a Thunderstorm:

When turning in a Strange Plant:

When the player does not have a strange plant:

 When in a Graveyard:

Happiness quotes
When homeless:



When far from home:



When in a sparsely populated area:



When overcrowded:



When in the Desert:



When in the Forest:



When in an Evil Biome or the Dungeon:



When near the Princess:



When near the Arms Dealer:



When near the Painter:



When near the Steampunker:



When near the Pirate:



When neutral:



Trivia

 * Ahirom, Abdosir, Hiram, and Batnoam are the names of ancient Phoenician kings and queens. was an east Mediterranean empire that became wealthy from the purple dye extracted from coastal snails, and Sea Snails drop the ingredient for Purple Dye.
 * is the name of a explorer from the 5th century BC, who is known for his naval exploration of the western coast of Africa.
 * One of his quotes mentions that he sells "the richest colors"; however, he only sells 7 /  5 dyes, one of them only on multiplayer.
 * The Dye Trader's sprite was created by former Re-Logic artist Waffles. In, it was updated by Lazure.
 * Even if the player is wearing the Dye Trader's own attire, he still criticizes their clothes.
 * Despite it being hidden under his turban, the Dye Trader's hair is observed to be black, which can be seen when it is removed during a in favor of a party hat.
 * His persona is heavily inspired by stereotypes of early ern and n culture, as seen by his clothing (turban), his drops (Exotic Scimitar), and references to a in his quotes.
 * As seen in his quotes, he is greedy and looks down on monotone robes.
 * His shimmered appearance loosely resembles Aladdin from the 1992 Walt Disney Studios film, but this time his clothes colored similar to Princess Jasmine from the same movie.

History
{{history|Desktop 1.4.4| Now gives six vials of dye. {{history|Desktop 1.4.0.1| {{history|Desktop 1.3.0.1| {{history|Desktop 1.2.3|Now sells the Team Dye on a multiplayer server as well.}} {{history|Desktop 1.2.1|Now sells the Dye Trader Robe during Halloween as well.}} {{history|Desktop 1.2|Introduced.}} {{history|Console 1.02|Introduced.}} {{history|Switch 1.0.711.6|Introduced.}} {{history|Mobile 1.2.6508|Introduced.}}
 * Option to exchange Strange Plants for dyes now requires Hardmode.
 * Defeating pre-Hardmode bosses is no longer part of the spawn requirements, now instead always requires at least four other town NPCs.}}
 * New "Strange Plants" quest.
 * Defends self with Exotic Scimitar.
 * Now sells Dye Trader's Turban, Shadow Dye, Negative Dye, and Brown Dye.
 * Sprite updated.
 * Now only spawns if a Strange Plant is in the player's inventory, or a dye or dye ingredient is in the inventory and any of the major pre-Hardmode bosses has been defeated.}}