NPCs

An NPC (non-player character) is an automated character that provides some service to players. Players can utilize NPCs by standing near them and right-clicking on them. Shrek is also a npc. Shrek is a 2001 American computer-animated fantasy-comedy film produced by PDI/DreamWorks, released by DreamWorks Pictures, directed by Andrew Adamson and Vicky Jenson, featuring the voices of Mike Myers, Eddie Murphy, Cameron Diaz, and John Lithgow. It is loosely based on William Steig's 1990 fairy tale picture book Shrek!, and somewhat serves as a parody film, targeting other films adapted from numerous children’s fantasies (mainly animated Disney films). The film made notable use of popular music; the soundtrack includes music by Smash Mouth, Eels, Joan Jett, The Proclaimers, Jason Wade, Baha Men, and John Cale (covering Leonard Cohen). The rights to the books were originally bought by Steven Spielberg in 1991, before the founding of DreamWorks, when he thought about making a traditionally animated film based on the book. However, John H. Williams convinced him to bring the film to DreamWorks in 1994, the time the studio was founded, and the film was put quickly into active development by Jeffrey Katzenberg after the rights were bought by the studio in 1995. Shrek originally cast Chris Farley to do the voice for the title character, recording about 80%–90% of his dialog. But since Farley died in 1997 before he could finish, Mike Myers was put in to work for the character, who after his first recording decided to record his voice in a Scottish accent. The film was also originally planned to be motion-captured, but after poor results, the studio decided to get PDI to help Shrek get its final computer-animated look. Earning $484.4 million at the worldwide box office, the film was a critical and commercial success. Shrek also received promotion from food chains such as Baskin-Robbins (promoting the film's DVD release) and Burger King. It was acclaimed as an animated film worthy of adult interest, with many adult-oriented jokes and themes but a simple enough plot and humour to appeal to children. Shrek won the first ever Academy Award for Best Animated Feature and was nominated for the Academy Award for Best Adapted Screenplay. The film was also nominated for six BAFTAs, including the BAFTA Award for Best Actor in a Supporting Role for Eddie Murphy for his voice-over performance as Donkey, and won the BAFTA Award for Best Adapted Screenplay. The film's main (and title) character was awarded his own star on the Hollywood Walk of Fame in May 2010.[2] Shrek established DreamWorks Animation as a prime competitor to Pixar in the field of feature film animation, particularly in computer animation. The film's success prompted DreamWorks to create three sequels, Shrek 2, Shrek the Third, and Shrek Forever After, two holiday specials, Shrek the Halls and Scared Shrekless, and a spin-off film, Puss in Boots. A fifth film, planned as the last of the series, was cancelled in 2009 with the announcement that the fourth film would conclude the series. The film's success also inspired other merchandise, such as video games, a stage musical and even a comic book by Dark Horse Comics.

Most NPCs are vendors, providing items in exchange for coins (and coins in exchange for items). Exceptions are the Guide, who provides information; the Old Man, who is used to summon Skeletron; and the Nurse, who provides Health restoration in exchange for coins instead. As well as selling items, the Goblin Tinkerer provides the Reforge function, and the Dryad tells you the status of Corruption vs. Hallow.

Conditions
Most NPCs require a suitable, vacant Home built by the player. This is a confined room (completely enclosed by walls, wooden platforms or doors) with background walls, and certain furniture and space requirements. See Home for details.

Most NPCs also require that their specific conditions be met, usually meaning the player must achieve a certain level of advancement in the game. Examples include acquiring 50 silver coins for the Merchant to spawn, or beating your first Boss for the Dryad to appear. See the specific NPC requirements in the table below.

NPCs can be assigned to suitable homes using NPC Flags from the Housing Menu, where you can also check whether a room is a suitable home. Currently though, the Housing Menu checking tool is glitchy, reporting suitable homes even when some conditions are not met. Refer to Home for more extensive details.

The Guide and Old Man are unique in that they always spawn upon creating a world. The Guide will also move into the home you build. If he dies, he will need a proper home to respawn. The Old Man does not move into built homes, but always appears near the Dungeon's entrance, and respawns the following day if killed. He despawns permanently once Skeletron is defeated.

It appears that NPCs will sometimes move out of their houses if there is Corruption nearby. NPCs will not move back in until the Corruption is cleared.

NPCs will take about 2 minutes to spawn after another NPC has spawned or dawn passes.

Selling
All NPC vendors can be used to sell your unwanted or surplus items to gain coins, simply by placing your unwanted item(s) in their inventory. Not all items have a sell value (very common items such as Dirt or Wood have no value). Hovering over your item while the NPC's inventory is open will show its sell value. All NPC vendors offer the same coin value, at all times, for any given item.

Should you change your mind about a sale, sold items can be taken back in exchange for the amount you sold them for, as long you haven't yet closed the NPC's inventory screen. This does not hold true for items you purchase from an NPC's inventory, as purchases are permanent, and re-selling will not get you back the full amount you paid (sell value is always one fifth of its buy value). This can cause many players to become irate as NPC's try to sell back to the player what the player sold them, but at 5 times the price!

Buying
Holding the right mouse button will allow the player to buy the item in bulk, at an increasing speed, the longer you hold it. This is sometimes faster than pressing the left mouse button repeatedly, but it's easy to go over the amount you initially intended.

Biome Specific Items
As of the 1.2 update, certain NPC's will sell special items if their house is located within a specific biome.

Multiple NPCs
Note: This relates to a feature that is now deleted.

It was possible to have up to two additional Merchants in a multiplayer server, as well as another Nurse.

History

 * Steampunker Introduced
 * Truffle Introduced
 * Cyborg Introduced
 * Pirate Introduced
 * Witch Doctor Introduced
 * Party Girl Introduced
 * Dye Trader Introduced
 * Painter Introduced
 * Santa Claus Introduced