Dye Trader

The Dye Trader is a Town NPC. He will move in when the following criteria have been met:
 * There is an empty house.
 * One of the following:
 * A Strange Plant has been acquired and is in the player's inventory, or
 * One of the three major pre-Hardmode bosses has been defeated: Eye of Cthulhu, Eater of Worlds, or Skeletron.
 * Additionally, the player must have any material used to craft dye in their inventory (eg. Yellow Marigold).

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

If threatened by enemies, the Dye Trader will defend himself by attacking with his Exotic Scimitar. He may also drop this weapon on death.

Strange Plants quest
Speaking to the Dye Trader will show the "Strange Plants" quest, in which the Dye Trader asks players to fetch him rare plants. In return, he rewards players with character-exclusive dyes, which are not available for purchase.

When clicking on the "Strange Plants" button without the right rare plants to give, the trader will say one of the following things:
 * "These dye bottles? Sorry dear friend, these don't take coin. I only take the most precious and rare of flora in exchange for one of these!"
 * "Oh no no, this will not do. For these money is no good, you must return to me with a rare specimen of a plant!"
 * "You think you can pull a fast one on [Dye Trader's name], I don't think so! I only take the rarest of flowers for these special bottles"

Names
The Dye Trader can have the following names:

Quotes
When you give him a Strange Plant: When you don't have a strange plant:
 * "I bring you the richest colors in exchange for your riches!"
 * "My dear, what you're wearing is much too drab. You absolutely must take a lesson in dyeing your tired attire!"
 * "The only kind of wood I would bother dyeing is RICH Mahogany. Dyeing any other wood is such a waste."
 * "You must do something about [Name of Pirate NPC]. Everytime he comes over here, it takes me a week to get the smell off!" (Only if Pirate NPC is present)
 * "Brilliant, my dear! You have brought me an exquisite sample of the world's beautiful colors and aroma. In exchange, you may take this special bottle of dye."
 * "You bring me a beautiful, rare flower... yes, yes? Take this bottle of special dye for your troubles, friend!"
 * "Fantabulous, wonderful friend! With this delicate specimen, I may mix the most amazing dyes [Name of World] has ever seen! You may take this one right away!"
 * "Oh no no, this will not do. For these money is no good, you must return to me with a rare specimen of a plant!"
 * "You think you can pull a fast one on [Name of Dye Trader], I don't think so! I only take the rarest of flowers for these special bottles!"
 * "These dye bottles? Sorry dear friend, these don't take coin. I only take the most precious and rare of flora in exchange for one of this!"

Trivia

 * Ahirom, Abdosir, Hiram, Batnoam and Hanno (correctly spelled Hannu) are references to the ancient Phoenician kings and queens of the same names. Phoenicia was an east Mediterranean empire that became wealthy from the purple dye extracted from coastal snails, and snails indeed drop the ingredient for purple dye.
 * One of the quotes says he sells "the richest colors", however, he only sells 3 (4 as of 1.3.0.1) dyes, one of them only on multiplayer.
 * Sprited by former artist William Data AKA Waffles.
 * Out of all the vendor NPCs in Terraria, the Dye Trader sells the least number of items, only 6 (7 as of 1.3.0.1).
 * The Dye Trader's comments about rich mahogany have been confirmed by Cenx to be a reference to the film Anchorman.