NPCs (NPCs/fi)
Type | |
---|---|
Damage | Varies (Desktop, Console and Mobile versions) 10 (Old-gen console and 3DS versions) |
Max Life | 250 |
Defense | Varies (Desktop, Console and Mobile versions) 15 (Old-gen console and 3DS versions) |
KB Resist | 50% |
Immune to |
Purchase & Sell items | |
---|---|
Open chat menu |
NPC:t ovat ystävällisiä automoituja ei-pelattavia hahmoja jotka antavat erilaisia palveluita pelaajille .[1]
NPC:n lähellä seisominen ja ⚷ Open / Activate napin painaminen avaa puhekuplan jossa on yksi tai useampi vaihtoehto valittavana pelaajalle. Suurin osta NPC:eistä ovat kauppiaita, joiden kauppa inventaario avautuu kun "Shop" nappia on painettu. He myyvät tavaroita pelaajille jotka maksavat pelin valuuttaa kolikoita, NPC:t myös ostavat pelaajilta tavaroita ja antavat vastineeksi kolikoita. Joillakin NPC:eillä on myös muitakin valintoja jotka tekevät erilaisia asioita.
Suurin osa NPC:eistä ovat kylä NPC:eitä, jotka ilmestyvät erilaisten tavoitteiden saavuttamisen jälkeen. He muuttavat pelaajien rakentamiin asutuksiin joita kutsutaan taloiksi, taloja tarvitaan että kylä NPC:t pystyvät muuttamaan maailmaasi. Jokainen NPC tarvii oman talonsa.
NPC:t voivat vähentää vihollisten spawnaus määrää, tämän tehokkuus kasvaa mitä enemmän NPC:eitä on paikalla, tehokkuus maksimisoituu kun paikalla on 3 NPC:tä.[2] Tämä efekti on heikompi ala maailmassa, ja joissain tilanteissa efekti on kokonaan poistettu (see Town § Notes for details). Pelaajat käyttävät efektiä hyväksi rankentamalla isoja kaupunkeja NPC:eille joissa on monta taloa, tälläiset kaupungit ovat pelaajien turva alueita. (e.g. bases)
Kylä NPC:t yleensä kävelevät ympäriinsä päivän aikana . He pysyvät sisällä omissa taloissaan yön ja joidenkin tapahtumien aikana. NPC:eillä on tietty määrä elämää ja voivat ottaa vahinkoa, ja kuolla vihollisista, ansoista, laavasta, ja (Desktop, Console and Mobile versions) hukkua vedessä; mutta, pelaajat eivät voi itse hyökätä suoraan NPCeihin (Spesiaali tavaroitten ulkopuolella kuten Voodoo Nukke lisävarusteilla, pilanantuneilla munilla, tai Flymealilla). NPC't eivät ota vahinkoa putoamisvahingosta ja heidän elämät parantuvat ajan myötä. Sairaanhoitaja voi parantaa itsensä ja lähellä olevat NPC:t. Lisäksi:
- (Desktop, Console and Mobile versions) Kylä NPC:t hyökkäävät lähellä oleviin vihollisiin, jokaisella NPC:llä on oma uniikki hyökkäus tapa. He eivät yritä aktiivisesti hyökätä vihollisiin, vaan enemmänkin puolustavat itseään.
- (Desktop, Console and Mobile versions) Kylä NPC:t saavat suojaus ja vahinko boostit riippuen siitä että mitä päävihollisia maassa on tapettu.
- (Desktop, Console and Mobile versions) Välillä, NPC:t istuvat tuoleissa ja satunnaisesti "puhuvat" muille NPC:eille tai pelaajille (tämä näkyy suu liikkeinä ja puhekuplina.
Jos NPC kuolee, hän syntyy uudestaan pienen viiveen jälkeen, jos hänelle on saatavilla talo mihin muuttaa. (Old-gen console and 3DS versions) Jos NPC:llä on inventaario tai populaatio tavoite että he ensimmäisen kerran ilmestyvät (e.g. the 50 SC tavoite kauppiaalle), se pitää saavuttaa uudestaan että NPC syntyy takaisin. Mutta, pelastettu NPC pysyy pelastettuna ja syntyy uudelleen ilma että sitä pitää etsiä uudestaan.
Tällä hetkellä on (Desktop, Console and Mobile versions) 26 / (Old-gen console version) 21 / 19 Kylä NPC:tä (Desktop, Console and Mobile versions) 8 / (Old-gen console and 3DS versions) 6 jotka näkyvät vasta Hardmodessa. Lisäksi (Desktop, Console and Mobile versions) 3 / (Old-gen console version) 2 / 1 NPC(tä) voidaan nähdä jotka eivät muuta taloihin .
Talot
Jokainen NPC tarvii oman sopivan talon jossa ei asu kukaan muu. Talo on tietyn kokoinen huone joka on tehty Palikoista, jossa on pelaajan laittamat Tausta seinät, ja myös valon lähde, pöytä, ja istuin. 2 NPC:tä ei voi asua samassa talossa samaan aikaan. Talot eivät saa olla Korruption tai Crimsonin lähellä, ja jos biomi leviää liian lähelle taloa, talossa asuva NPC muuttaa pois.
Kylä NPC:tä voi järjestellä käyttämällä NPC Lippuja jotka löytyvät Housing Menusta, missä pelaajat voivat myös katsoa onko talo sopiva NPC asumukseksi.
Jos molemmat NPC ja hänen talonsa on poissa näytöltä, NPC teleporttaa kotiinsa yöllä, sateella, auringon pimennyksessä, tai lima sateessa. Vanha mies(Desktop, Console and Mobile versions) / all NPCs(Old-gen console and 3DS versions) myös teleporttaa taloonsa jos seisoo Dungeon brickin päällä, riippumatta ajasta. Vanhan miehen koti tyrmä (Vanhan miehen koti on, i.e. kahdesta palikasta missä han seisoo yön aikana vasemman puoleinen) [3][4]
Jos NPC:n talo rikkoutuu jollain tavalla joka tekee siitä sopimattoman kodin, NPC muutaa pois ja kävelee ympäriinsä kunnes saa uuden kodin. Jos maailmassa on jo tyhjä sopiva koti niin NPC voi heti muuttaa sinne. Jos NPC kuolee ja hänellä ei ole kotia, hän syntyy uudestaan vasta kun hänelle on rakennettu koti.
Ostaminen ja Myyminen
Valitsemalla "Shop" dialogi kuplasta, jonka voi avata painamalla ⚷ Open / Activate nappia NPC:n kohdalla, Avaa kauppa inventaarion joka on samankaltainen kun pelaajan oma inventaario Inventaario. Tavaroita voi ostaa vetämällä ne kauppa inventaariosta omaan inventaarioon; tavaran hinta kolikoina miinustetaan pelaajalta heti kun tavara on nostettu kauppa inventaariosta.Tavaran voi ostaa kaupasta vain jos pelaajalla on tarpeeksi rahaa inventaariossaan ((Desktop, Console and Mobile versions) tai pelaajan säästöissä).⚷ Open / Activate napin pohjassa pitäminen pinottavissa tavaroissa antaa pelaajan ostaa monta tavaraa samaan aikaan nopeasti; tavaroitten osto nopeus kasvaa mitä kauemmin pidät nappia pohjassa.
Jotkut NPC:t myyvät biomi eksklusiivisia tavaroita kun heille puhuu tietyillä biomeilla. NPC:eitä voidaan liikutella asuttamalla heidät jonnekkin muualle ja odottamalla yötä (He teleporttaavat heidän uuteen kotiin kun he ja heidän talonsa ovat poissa näytöltä) tai käyttämällä Kuningas tai Kuningatar patsasta.Huomioi että NPC'n ei tarvitse asua biomilla jossa hän myy tiettyjä tavaroita; Riittää kun pelaaja seisoo sillä biomilla.
Kaikille NPC myyjille voi myös myydä tavaroita ansaitakseen kolikoita. Tavarat jotka pelaaja haluaa myydä pitää olla hänen inventaariossa. Jos pidät hiirtä tavarasi päällä kun olet NPC inventaariossa näet tavaran myyntihinnan. Tavarat aina myydään 20% hintaan verrattuna niitten osto hintaan. Kaikilla tavaroilla ei ole myynti hintaa (Erittäin yleisisä tavaroissa kuten Dirt/fi tai Wood.fi ei ole hintaa). Laittamalla tavaran NPC:n inventaarioon myyt kyseisen tavaran, saat vastineeksi tavaran myynti hinnan omaan inventaarioon. Myynnit ((Desktop, Console and Mobile versions) ja ostokset ) NPC:eiltä voidaan perua jos NPC inventaario on vielä auki: Myydyt tavarat voidaan ostaa takaisin samalla rahalla millä ne on myyty (ja o Desktop, Console, and Mobile, ostetut tavarat voidaan myydä takaisin samaan hintaan).
Kaikilla NPC:eillä on sama osto ja myynti hinta. Tavara hinnat voivat alentua käyttämällä lisävarustetta Discount Card/fi, Joka on harvinanen tavara Merirosvoinvaasion vihollisista. Desktop, Console, and Mobile, Hinnat voivat myös olla korkeampia tai alempia riippuen NPC:n iloisuudesta.
Kaikki NPC myyjät myyvät pyloneja jos heidän iloisuus taso on tarpeeksi suuri.
Kylä NPC:t
NPC:t on listattu siinä järjestyksessä missä ne luultavasti saadaan. katso elin mieltymykset alhaalla Desktop, Console, and Mobile biomi ja naapuri mieltymykset. Termi "muut kylä NPC:t" aina sisältävät: Vanha mies, Matkustava kauppias, ja kylä lemmikit, mutta ei Luuranko kauppias.
Pre-Hardmode
NPC | Kuvaus | Spawnaus vaatimus | Puolustus ase ((Desktop, Console and Mobile versions)) | Pudottaa kuolessaan | |
---|---|---|---|---|---|
Opas | Kertoo vinkkejä ja opastaa miten saada muita NPC:eitä. (Desktop, Console and Mobile versions) Kertoo reseptejä jotka sisältää tavaran joka hänelle näytetään. |
Aina valmiiksi paikalla kun luot uuden maailman. | Wooden Bow (with Wooden Arrow / HM: Flaming Arrow) |
Green Cap 100%; vain jos nimi on Andrew / always | |
Kauppias | Myy perustyökaluja ja tavaroita. | Kaikilla pelaajilla on yhteensä 50 SC heidän inventaariossa. Korvaa Oppaan aloitus NPC:nä kun aloitat uudenNot the bees(Desktop, Console and Mobile versions) maailman. |
Throwing Knife | n/a | |
Sairaanhoitaja | Parantaa pelaajat ja poistaa debuffit kolikoista. | Pelaajalla on enemmän kuin 100 health/fi ja Kauppias on paikalla. | Syringes (Etäinen hyökkäys; aiheuttaa Myrkytetty vihollisiin; voi myös parantaa muita NPC:eitä) |
n/a | |
Räjäyttäjä | Myy räjähteitä. | Pelaajalla on räjähde inventaariossaan ja Kauppias on paikalla. Korvaa oppaan aloitus NPC:nä kun aloitat uudenFor the worthy(Desktop, Console and Mobile versions) maailman. |
Grenade | n/a | |
Väriainekauppias(Desktop, Console, Old-gen console and Mobile versions) | Myy Dye Vatin (Valmistus asema). (Desktop, Console and Mobile versions) Antaa harvinaisen väriaineen vaihtokaupaksi Strange Plantista. |
Pelaajalla on väriaine tai mikä vain tavara jolla voi valmistaa väriaineen heidän inventaariossa, (Desktop, Console and Mobile versions) tiettyjen muiden ehtojen hyväksi. | Exotic Scimitar(Desktop, Console and Mobile versions) | Exotic Scimitar(Desktop, Console and Mobile versions) 1/8 (12.5%) | |
Onkija | Antaa Kalastus tehtäviä ja palkitsee pelaajan niiden läpäisemisestä. | Löytyy Meri biomista. | Frost Daggerfish(Desktop, Console and Mobile versions) | n/a | |
Eläintieteilijä(Desktop, Console and Mobile versions) | MyyKoriste, Ratsu, Lemmikki, ja hyönteis-teemaisia tavaroita. | Ainakin 10% Eläinkirjasta (54 entries) on täytettynä. | Claws (lähi hyökkäys) |
n/a | |
Dryadi | Myy luonto/Korruptio/Crimson tavaroita, ja raportoi kuinka iso prosentti maailmasta on Korruptiota/Crimsonia ja Hallowia. | Cthulun silmä, Maailmojen syöjä/Cthulun aivo, tai Skeletron on tapettu. | Dryad's Blessing(Desktop, Console and Mobile versions) (Vaikutusalue; antaa Dryad's Blessing pelaajille ja Dryad's Bane viholliselle) |
n/a | |
Painter | Myy Maalia, maalaus välineitä, ja maalauksia. | (Desktop, Console and Mobile versions) 8 / (Old-gen console and 3DS versions) 4 muuta NPC:tä asuu maailmassa. | Paintball Gun(Desktop, Console and Mobile versions) | Paintball Gun(Desktop, Console and Mobile versions) 1/10 (10%) Jim's Cap(Desktop, Console and Mobile versions) 100%; vain jos nimi on Jim | |
Golfer(Desktop, Console and Mobile versions) | Sells Golf Clubs, Balls, and other golfing items. | Found and spoken to in the Underground Desert. | Golf Balls(Desktop, Console and Mobile versions) (Ranged attack) |
n/a | |
Arms Dealer | Sells guns, bullets, and other ammunition. | A player has bullets or a gun that shoots bullets in their inventory. | Flintlock Pistol / HM: Minishark |
n/a | |
Tavernkeep(Desktop, Console and Mobile versions) | Sells items that summon and help with fighting the Old One's Army, most of them only in exchange for Defender Medals. | Found and spoken to after the Eater of Worlds or Brain of Cthulhu has been defeated. | Ale (Ranged area of effect attack) |
Ale Tosser(Desktop, Console and Mobile versions) 1/8 (12.5%) | |
Stylist(Desktop, Console, Old-gen console and Mobile versions) | Can change the player's hairstyle and sells Hair Dyes. | Found and spoken to in a Spider Nest. | Stylish Scissors(Desktop, Console and Mobile versions) | Stylish Scissors(Desktop, Console and Mobile versions) 1/8 (12.5%) | |
Goblin Tinkerer | Sells items such as the Tinkerer's Workshop, and can reforge items. | Found and spoken to in the Cavern layer, after a Goblin Invasion has been defeated. | Spiky Ball | n/a | |
Witch Doctor | Sells the Blowgun, the Imbuing Station, summoner equipment, Fountains, and Leaf Wings. | The Queen Bee has been defeated. | Blowgun (With Poison Darts; inflicts Poisoned) |
n/a | |
Clothier | Sells some vanity items, including the Familiar set. | Skeletron has been defeated. | Shadowflame Skull (Ranged attack; inflicts Shadowflame) |
Red Hat 100% | |
Mechanic | Sells the Wrench, Wire, and other mechanism-related items. | Found and spoken to in the Dungeon. | Mechanic's Wrench (Ranged area of effect attack) |
Combat Wrench(Desktop, Console and Mobile versions) 1/8 (12.5%) | |
Party Girl | Sells novelty items that create colorful visual effects. | 1/40 chance of spawning after (Desktop, Console, Mobile and 3DS versions) 14 / (Old-gen console version) 8 other town NPCs are in the world. Replaces the Guide as the starting NPC when starting a new Drunk world(Desktop, Console and Mobile versions). |
Happy Grenade(Desktop, Console and Mobile versions) | Happy Grenade(Desktop, Console and Mobile versions) 1/4 (25%); in stacks of 30–60 |
Hardmode
NPC | Description | Spawn requirement | Defending weapon ((Desktop, Console and Mobile versions)) | Drops upon death | |
---|---|---|---|---|---|
Wizard | Sells magic-related items. | Found and spoken to in the Cavern layer. | Ball of Fire (Ranged attack; similar to the Flower of Fire; inflicts On Fire!) |
n/a | |
Tax Collector(Desktop, Console and Mobile versions) | Collects property taxes from other NPCs. Earns 50 CC per NPC present, collectable by the player. | A Tortured Soul is transformed with Purification Powder in the Underworld. Replaces the Guide as the starting NPC when starting a new Don't dig up(Desktop, Console and Mobile versions) world. |
Classy Cane(Desktop, Console and Mobile versions) | Classy Cane(Desktop, Console and Mobile versions) 1/8 (12.5%) | |
Truffle | Sells the Autohammer, Mushroom Spear, and other mushroom-themed items. | A house is available in an above-ground Glowing Mushroom biome during Hardmode. | Truffle Spore (Summons projectiles around Truffle; damages enemies on contact) |
n/a | |
Pirate | Sells the Cannon and other pirate-themed items. | A Pirate Invasion has been defeated. | Pirate Cannon (Ranged attack; similar to the attack of the Pirate Captain enemy) |
n/a | |
Steampunker | Sells the Clentaminator, Jetpack, and other items. | A mechanical boss has been defeated. | Clockwork Assault Rifle | Ivy(Desktop, Console and Mobile versions) 100%; only when named Whitney | |
Cyborg | Sells the Proximity Mine Launcher, Rockets, and Nanites. | Plantera has been defeated. | Rockets (Ranged area of effect attack; randomly chosen among Grenade Launcher, Rocket Launcher, and Proximity Mine Launcher.) |
n/a | |
Santa Claus | Sells the Santa set, colored lights, Christmas trees and their respective decorations. | The Frost Legion has been defeated and it is Christmas. | Christmas Ornament (Ranged attack) |
n/a | |
Princess(Desktop, Console and Mobile versions) | Sells several vanity and furniture items. | All other town NPCs are in the world (except for town pets and Santa Claus). | Resonance Scepter(Desktop, Console and Mobile versions) (Ranged area of effect attack; swiftly contracts out of sight after attacking target) |
Resonance Scepter(Desktop, Console and Mobile versions) 1/8 (12.5%) |
Town pets
Town pets are special town NPCs that have distinctive housing assignment banners, and can share houses with another NPC. They count as NPCs for pylon requirements and for decreasing enemy spawn rates in an area, but are not counted as neighboring NPCs in other NPCs' happiness calculations, and indeed do not positively or negatively affect the happiness of other NPCs in any way. Unlike other NPCs, town pets have no means of self-defense.
Town pets offer a unique "Pet" option, which places the player directly in front of the pet when selected, and displays a petting animation. The effect is purely visual.
There are currently four types of town pets.
Zoologist town pets
These town pets are obtained by using a pet license sold by the Zoologist. They will appear at dawn (4:30 AM) the day after a pet license item is used, and only one of each kind of pet can exist at a time. The type of the pet can be changed by using another pet license.
Pet | License item | Sell requirement | |
---|---|---|---|
Town Cat | Cat License | n/a | |
Town Dog | Dog License | 25% Bestiary completion (135 entries) | |
Town Bunny | Bunny License | 45% Bestiary completion (243 entries) |
Town Slimes
Town Slimes are town pets that will move in after certain requirements are met for each specific type. Unlike town pets from the Zoologist, all types of Town Slimes can exist at the same time.
This content is transcluded from Town Slimes § Types.
Image | Name | Condition | Map Icon |
---|---|---|---|
Nerdy SlimeInternal NPC ID: 670 | Moves in upon the defeat of King Slime. | ||
Cool SlimeInternal NPC ID: 678 | Moves in when there is a natural active Party. | ||
Elder SlimeInternal NPC ID: 679 | Moves in after unlocking an Old Shaking Chest with a Golden Key after defeating Skeletron. | ||
Clumsy SlimeInternal NPC ID: 680 | Moves in after breaking the balloon of a Clumsy Balloon Slime. | ||
Diva SlimeInternal NPC ID: 681 | Moves in after throwing or discarding a Sparkle Slime Balloon into Shimmer. | ||
Surly SlimeInternal NPC ID: 682 | Moves in when fished up during a Blood Moon. | ||
Mystic SlimeInternal NPC ID: 683 | Moves in after using Purification Powder on a Mystic Frog in the Jungle. | ||
Squire SlimeInternal NPC ID: 684 | Moves in after dropping a Copper Helmet or a Copper Shortsword on a slime. |
Other NPCs
The following NPCs are not considered town NPCs because they do not move into houses.
NPC | Description | Spawn requirement | Defending weapon ((Desktop, Console and Mobile versions)) | Drops upon death | |
---|---|---|---|---|---|
Traveling Merchant(Desktop, Console, Old-gen console and Mobile versions) | Stays until the evening, sells a random selection of unique items each day. | 22.12% spawn chance during morning hours (04:30 AM – 12:00 PM) once two other NPCs are present. | Revolver / HM: Pulse Bow (Ranged) |
Peddler's Hat(Desktop, Console, Old-gen console and Mobile versions) 100% | |
Old Man | Found at the entrance to the Dungeon. Summons Skeletron when spoken to, but only at night. Once Skeletron is defeated, the Old Man moves into town as the Clothier. | Starting a new world. | n/a | n/a | |
Skeleton Merchant(Desktop, Console and Mobile versions) | Sells Counterweights, Spelunker Glowsticks, Magic Lantern, the Yoyo Glove and some other items, based on the lunar cycle. Some items such as the Slap Hand can only be obtained from him. | Rarely found in the Caverns. | Bone (Thrown) |
n/a |
Stat boosts
All NPCs have a base defense stat of 15 (except for the Skeleton Merchant, who has 30), and their base attack stats vary from one NPC to another. In addition, all NPCs gain specific defense and damage boosts based on the bosses that have been defeated so far in the current world. These boosts are completely independent of each other (e.g. the "Hardmode entered" boost can potentially be gained without first attaining the "Eye of Cthulhu is defeated" boost, and vice-versa). The boosts are also permanent for a given world, and are applied instantly to all town NPCs, including all Town pets and all other NPCs.[5]
The Dryad also gains boosts to her attack damage. She does not deal damage directly, but rather by inflicting the Dryad's Bane debuff on enemies. These boosts to the Dryad's Bane debuff are not quite the same as those damage-stat boosts, however, so both kinds of boosts are listed in the following table. Just as with the stat boosts, the Dryad's Bane boosts are independent of each other, are permanent for a given world, and are applied instantly to all enemies inflicted with the debuff.[6]
Defeating Deerclops(Desktop, Console and Mobile versions) will not give stat boosts to NPCs.
Event | Defense bonus |
Damage boost[7] | |
---|---|---|---|
Attack | |||
Advanced Combat Techniques(Desktop, Console and Mobile versions) used | +6 | +20% | n/a |
Eye of Cthulhu is defeated | +3 | +10% | |
Eater of Worlds / Brain of Cthulhu is defeated | +3 | +10% | |
Queen Bee is defeated | +3 | +10% | |
Skeletron is defeated | +3 | +10% | |
Hardmode entered | +12 | +40% | |
Advanced Combat Techniques: Volume Two(Desktop, Console and Mobile versions) used | +6 | +20% | n/a |
Queen Slime(Desktop, Console and Mobile versions) is defeated | +6 | +15% | n/a |
The Twins are defeated | +6 | +15% | |
The Destroyer is defeated | +6 | +15% | |
Skeletron Prime is defeated | +6 | +15% | |
Plantera is defeated | +8 | +15% | |
Golem is defeated | +8 | +15% | |
Empress of Light(Desktop, Console and Mobile versions) is defeated | +8 | +15% | n/a |
Lunatic Cultist is defeated | +8 | +15% |
Happiness
NPCs have individual preferences about other NPCs or the biome they live in which in turn affects their prices. When selecting " Happiness" in an NPC's dialogue window, the NPC will tell the player if any factors make them currently happy or unhappy, although they will not say what could make them happier or unhappier. For example, if the Guide is located alone in a Forest, he will praise the lack of other NPCs around and the fact he is in a Forest, but he will not hint at the fact he would prefer to live near the Clothier or Zoologist.
Factors that make an NPC happy will lower their prices for goods purchased from them, down to a minimum of 3/4 (75%), and increase the value of goods sold to them by the inverse of the same modifier, up to a maximum of 4/3 (133%). Conversely, factors that make an NPC unhappy will raise their prices for goods purchased from them, up to a maximum of 3/2 (150%), and decrease the value of goods sold to them, down to a minimum 2/3 (67%). Price modifiers are rounded to the nearest 1% increment. When an NPC that sells items, other than the Skeleton Merchant or Traveling Merchant, has a price modifier at or below 90%, they will allow the player to purchase the pylon for their current biome. The Tax Collector's current tax funds and tax collection limit are both divided by his happiness factor, such that at maximum happiness he will store up to 33 GC33 SC33 CC, and at maximum unhappiness he will only store up to 16 GC66 SC66 CC; the amount of taxes that he collects per minute also scales at the same rate.[8][9]
For the purpose of calculating distances below, the position of an NPC's home tile is considered instead of the NPC itself, unless the NPC is homeless in which case their actual position is considered. The home tile is the block where NPCs stand on during nights and events. NPC's flag will "hook" directly above the home tile. One can easily find the home tile by locating the central column of the 3×3-tile area that the NPC's flag occupies, and then moving all the way down to the tile in the floor of the house. For more detailed definition of a home tile, see House § Home tile score.
Biome-related preferences will reference the primary biome where the player is, rather than where the NPC or their home is. If the player is in a hybrid biome, and the NPC loves/likes one of the biomes, but hates/dislikes one of the others, the loved/liked biome will take priority. Biomes that the NPC is neutral to are ignored.
An NPC's happiness is computed the moment their chat window is opened,[10] which means that their happiness can be altered very quickly (e.g. by closing their chat window, adding or removing nearby NPC flags, and re-opening the chat window).
Factors affecting happiness
The below price modifiers are multiplicative. The price multiplier will always be set to the maximum of 150% (purchasing) and 67% (selling) if the NPC is homeless, more than 120 tiles from their house, or located in the Dungeon, Corruption, or Crimson.[11]
Criteria[12] | Price modifier (purchasing)[12] | Price modifier (selling)[12] |
---|---|---|
Solitude Bonus: There are no more than two other NPCs within 25 tiles, and no more than three other NPCs between 25 and 120 tiles away. |
95% | 105% |
Crowded Penalty: For the fourth, fifth, etc. NPC within 25 tiles, each. This equates to a maximum of three other NPCs within 25 tiles to avoid this penalty.
|
105% | 95% |
Located in a Loved biome | 88% | 114% |
Located in a Liked biome | 94% | 106% |
Located in a Disliked biome | 106% | 94% |
Located in a Hated biome | 112% | 89% |
For each Loved NPC within 25 tiles | 88% | 114% |
For each Liked NPC within 25 tiles | 94% | 106% |
For each Disliked NPC within 25 tiles | 106% | 94% |
For each Hated NPC within 25 tiles | 112% | 89% |
Living preferences
The Princess is liked by all NPCs, and therefore is not put in every column for the sake of less clutter.
Emotes
Although it may seem to be random, NPCs "emote" about things depending on their environment.
Shimmered forms (Desktop, Console and Mobile versions)
When submerged in Shimmer, any NPC will transform into their Shimmered form. This has no impact on gameplay or dialogue and is only a visual change. They can be returned to their classic looks by being submerged in Shimmer again.
- Guide
- Merchant
- Nurse
- Arms Dealer
- Dryad
- Old Man
- Demolitionist
- Clothier
- Goblin Tinkerer
- Wizard
- Mechanic
- Santa Claus
- Truffle
- Steampunker
- Dye Trader
- Party Girl
- Cyborg
- Painter
- Witch Doctor
- Pirate
- Stylist
- Traveling Merchant
- Angler
- Tax Collector
- Tavernkeep
- Golfer
- Zoologist
- Princess
- Skeleton Merchant
Notes
- NPCs will not spawn during an active event (the Lunar Events are an exception) or at night.
- An NPC takes about 2 minutes to spawn after another NPC has spawned or dawn passes.
- If valid housing is off-screen during spawning, the NPC will spawn directly into the house.
- NPCs will not move and always face the player as long as their dialogue window is open.
- Unlike Chests and structures generated on world creation, bound NPCs spawn around the player's position on-the-fly, similar to enemy spawns. They are temporary, and can respawn elsewhere if missed (see NPC spawning).
- NPC vendors who have biome requirements to sell certain items need to be spoken to with the player being in said biome to fulfill the requirement. It is not sufficient to have their home located in the specific biome.
- (Desktop, Console and Mobile versions) NPC Behavior as of 1.3.0.1:
- NPCs are known to "visit" other NPCs, talk, and play three rounds of rock paper scissors.
- NPCs are able to walk up stairs.
- NPCs can drown in water that is 2 tiles deep, whereas players require 3 tiles of water depth in order to drown.
- All NPCs have a base attack damage stat of 10, but the details of their attacks vary significantly. Their defense generally starts at 15.
- As of 1.4.0.1(Desktop, Console and Mobile versions) ( Desktop, Console, and Mobile versions), their attack and defense will increase throughout the game. NPCs are stronger in Expert Mode so they can defend themselves against early game enemies.
- The Oasis mini-biome counts as a Desert in terms of an NPC's preferred biome.
- Similarly, a Graveyard counts as the host biome, and (dialogue aside) being in a Graveyard does not affect NPC happiness.
Achievements
Tips
- Each time the Traveling Merchant spawns, he will have a random shop inventory. If the player leaves the world between 4:30 AM and 12:00 PM, and enters again, there is a 22% chance he will re-spawn (with a new shop inventory).
- Bound NPCs found underground can be freed by talking to them, after which they will always respawn whenever a vacant house is available. Having an empty room ready for them beforehand will cause them to move in at night as soon as they are off-screen.
- Bound NPCs can be found by listening to their "hurt" sounds, especially the Mechanic, as the Dungeon is teeming with enemies.
- A housing area can be created where all the NPCs can have their biome-specific items: (Desktop, Console and Mobile versions) 1500 / (Old-gen console and 3DS versions) 300 Pink Ice Blocks, (Desktop, Console and Mobile versions) 101 / (Old-gen console and 3DS versions) 100 Mushroom grass, (Desktop, Console and Mobile versions) 140 / (Old-gen console and 3DS versions) 80 Lihzahrd Bricks, (Desktop, Console and Mobile versions) 1500 / (Old-gen console and 3DS versions) 1000 Sand Blocks and (Desktop, Console and Mobile versions) 7 Gravestone at the (Desktop, Console and Mobile versions) space layer in one screen where the houses are located.
- (Desktop, Console and Mobile versions) Drowning an NPC in water is an easy way to get NPC drops (safer than lava and quicker than Rotten Eggs).
- (Desktop, Console and Mobile versions) A vendor NPC alone in a preferred biome is sufficiently happy enough to sell a pylon. However, there must be another NPC near them for them to sell a pylon.
- For this reason, it is possible when starting a town in another biome to move that NPC there before any others and buy the pylon, then move them back to their original housing if so desired. Note that to use a pylon there must be at least two NPCs nearby, but none of them have to be the same NPC the pylon was purchased from, nor do any have to be happy.
- The Advanced Combat Techniques(Desktop, Console and Mobile versions) book, obtained by fishing during a Blood Moon, can be used to permanently increase the stats of all NPCs.
- To open a Chest behind an NPC, press the ⚷ Open / Activate button twice. The first press will open the NPC's dialogue box, the second one will open the Chest.
Trivia
- During a Blood Moon, all female NPCs except the Party Girl and Princess have dialogue that is more irritable or aggressive than normal. This references premenstrual syndrome, which may cause mood swings and irritability in some people. Both the menstrual cycle and the real-world moon cycle occur approximately every 28 days.
- The only NPC interactions required to reach the defeat of the Moon Lord(Desktop, Console and Mobile versions) are talking to the Old Man to summon Skeletron and allow the Cultists to spawn, and killing the Guide with the Guide Voodoo Doll to fight the Wall of Flesh.
- Skeletons will not attack the Skeleton Merchant.
- The Party Girl is the only NPC to "love" two NPCs as one of their living preference(s).
- The Skeleton Merchant and the Traveling Merchant originally had special price modifiers, depending on the moon phase and distance from the world's edges, respectively. These modifiers were deactivated quickly after their introduction, in 1.4.0.4, but still remain in the code.
- The price modifier for the Skeleton Merchant would depend on the moon phase:[13] 110% during gibbous moons , 120% during quarter moons , 130% during crescent moons , and 140% during new moons . Additionally, his price modifier would be increased by another +10% during the day.
- The price modifier for the Traveling Merchant would range between 115% (at the world spawn point) and 85% (at the world's borders).[14]
- The Guide and Old Man are unique in that they always spawn upon creating a world. The Old Man does not move into a house, but rather remains near the Dungeon's entrance, and respawns the following day if killed (while Skeletron has not yet been defeated).
See also
History
- Desktop 1.4.4.4: Fixed an issue where NPCs who's names were translated would not drop name-based special drops.
- Desktop 1.4.4:
- Added Shimmered forms for all town NPCs.
- NPCs who die will now respawn freely, ignoring the original unique conditions which were required to spawn in the first place.
- NPCs (except the Old Man) that are standing on Dungeon Bricks will no longer be immediately teleported back to their home.
- Desktop 1.4.3.3:
- The minimum required happiness for NPCs to sell pylons has been decreased from 0.85 to 0.9. This means that it is now easier to make NPCs happy enough to sell a pylon.
- If an NPC is present in a hybrid biome (e.g. the Hallowed Desert), and they like at least one of those biomes, then they will gain positive happiness from the biome they like.
- The maximum number of NPCs in a town before Crowded penalties begin to take effect has been increased from 4 to 5. However, 4-NPC towns will have neither a bonus nor a penalty.
- The maximum number of NPCs in a town before "hate crowded" quotes begin to appear has been increased from 7 to 8.
- Desktop 1.4.1.2:
- Happiness price modifiers are now rounded to the nearest 1% increment instead of the nearest 5% increment.
- Reverted the change to the distances to compute happiness made in 1.4.1.
- NPC Happiness now gives the "Solitude" bonus for 3-NPC towns. Previously, there was neither a bonus nor a penalty at 3 NPCs.
- Desktop 1.4.1.1:
- Fixed several grammatical/spelling issues in NPC dialogue.
- Fixed an issue where Town NPCs would try to sit on Dynasty Chairs (they should not be able to).
- Desktop 1.4.1:
- Added the Princess NPC.
- Doubled the distances to compute happiness, from 25 tiles / 26-120 tiles to 50 tiles / 51-240 tiles.
- The boost from the "Solitude" factor is reduced by half.
- The boost/penalty for Like/Dislike/Love/Hate factors have been increased by 20%.
- The maximum number of NPCs in a town before "hate crowded" quotes begin to appear has been increased from 6 to 7. Note that this did not change the thresholds of crowded penalty.
- Desktop 1.4.0.5: The Truffle now likes living in the Mushroom biome (instead of being neutral).
- Desktop 1.4.0.4:
- Will no longer let the player pet a town pet if slopes are interfering and would cause them to float.
- Fixed Traveling Merchant and Skeleton Merchant accidentally having NPC Happiness.
- Fixed NPCs sitting incorrectly in Dynasty Chairs.
- Desktop 1.4.0.3: Fixed erroneously huge dislike modifiers to happiness.
- Desktop 1.4.0.1:
- Zoologist and Golfer added.
- Now sell pylons.
- Now have a Happiness system depending on where they live and who they live with.
- NPCs will now drop Tombstones when they die in Hardcore mode.
- Dye Traders requirements changed to only require a Dye item or material to craft a dye item.
- Town NPCs now get a little stronger each time the player defeats a boss.
- Desktop 1.3.5: NPCs who are manually assigned to a room will have their successor attempt to move in when the original is killed.
- Desktop 1.3.4:
- Tavernkeep added.
- Added 4 new emotes: Tavernkeep, Old One's Army, Beer, and Defender Medal.
- Beer and Defender Medal are unused, but appear in the game files.
- Desktop 1.3.2:
- Desktop 1.3.0.1:
- 2 new NPCs added: Skeleton Merchant and Tax Collector.
- Improved the sprites of some NPCs.
- NPCs now avoid enemies and fight back if necessary.
- NPCs now talk to each other, sit in chairs, and avoid blocking chests.
- Having all possible NPCs living in a world now unlocks the Real Estate Agent achievement.
- Changed the spawn order for Town NPCs so that the more important ones spawn first.
- NPCs can now drown in water.
- Desktop 1.2.4:
- Added the Angler NPC.
- Fixed bugs with the sign / NPC chat display again.
- Fixed exploit where the player could buy and sell stackable items for profit.
- Desktop 1.2.3.1: Fixed problems with rescued NPCs not having any names.
- Desktop 1.2.3:
- 2 new NPCs added: Stylist and Traveling Merchant.
- Names are now decided on spawn rather than World Creation.
- Fixed a bug where numerous NPCs could spawn if the player beat a Hardmode boss in a non-Hardmode world.
- Invasions can now spawn enemies anywhere near friendly NPCs instead of just the middle of the world.
- Enemy attacks no longer trigger Spectre set healing from hitting friendly NPCs.
- Desktop 1.2.2: NPCs now go back to their houses during Solar Eclipses.
- Desktop 1.2.1.2: Added some checks to ensure multiple NPCs of the same type do not spawn.
- Desktop 1.2.1.1: Rotten Eggs now correctly damage friendly NPCs.
- Desktop 1.2.1: Several friendly NPCs will sell vanity items.
- Desktop 1.2.0.3:
- NPCs that require Plantera to be defeated to sell things now do so correctly in multiplayer.
- King and Queen Statues will correctly summon the new NPCs.
- Desktop 1.2:
- 8 new NPCs added: Steampunker, Truffle, Cyborg, Pirate, Witch Doctor, Party Girl, Dye Trader and Painter.
- Fixed bug where attempting to move NPCs with reverse gravity used the opposite screen height position.
- Increased speed at which the player buys stacks of things.
- Desktop 1.1.1:
- Bound NPCs now can be untied with Autopause enabled.
- Santa Claus added.
- Desktop 1.1:
- 3 new NPCs added: Goblin Tinkerer, Mechanic and Wizard.
- NPCs now have random names given to them on World Creation. Their deaths will be reported with these names. Also other NPCs will use it in their quotes. Upon respawning after Death will be given a new random name.
- NPCs now may be told where to live using the new Housing Menu feature.
- Two NPCs of the same type can no longer spawn, even in a multiplayer world. (Previously that was two additional merchants and second nurse. They had multiplayer conditions.)
- Desktop 1.0.6.1: NPCs now look at the character.
- Desktop 1.0.6:
- Shops now sell items back to the player. Shift-clicking items will automatically sell them.
- New sound for initiating a conversation to an NPC.
- Desktop 1.0.4:
- Added Clothier.
- Added an option that will pause the game while talking to an NPC in single player. It defaults to off.
- Desktop-Release: Introduced. The original NPCs were the Guide, the Nurse, the Merchant, the Arms Dealer, the Demolitionist, the Dryad and the Old Man.
- Console 1.19: NPCs who are manually assigned to a room will now have their successor attempt to move in when the original is killed.
- Console 1.17: Made changes from Desktop 1.3.2 to 1.3.4.
- Console-Release: Introduced.
- Switch 1.0.1096.2: Made changes from Desktop 1.3.2 to 1.3.5.
- Switch 1.0.711.6: Introduced.
- Mobile-Release: Introduced.
- 3DS-Release: Introduced.
References
- ↑ Videopelien kehityskielissä termi NPC sisältää teknisesti kaikki hahmot, joita pelaaja ei hallitse, mukaan lukien viholliset. Terraria, samoin kuin sen kehittäjät ja faniyhteisö, käyttävät kuitenkin yleensä termiä NPC viittaamaan 'vain' ystävällisiin automatisoituihin hahmoihin, jotka tarjoavat palvelua pelaajille. Tämä sivu on siksi "vain" näistä ystävällisistä NPC:istä.
- ↑ Information taken from the Desktop 1.4.3.6 source code, method
SpawnNPC()
inTerraria.NPC.cs
. There may be inaccuracies, as the current Desktop version is 1.4.4.9. - ↑ Information taken from the Desktop 1.4.4.7 source code, method
AI_007_TownEntities()
inTerraria.NPC.cs
. There may be inaccuracies, as the current Desktop version is 1.4.4.9. - ↑ Information taken from the Desktop 1.2.4.1 source code, method
AI()
inTerraria.NPC.cs
. - ↑ Information taken from the Desktop 1.4.3.6 source code, method
AI_007_TownEntities()
inTerraria.NPC.cs
. There may be inaccuracies, as the current Desktop version is 1.4.4.9. - ↑ Information taken from the Desktop 1.4.3.6 source code, method
UpdateNPC_BuffApplyDOTs()
inTerraria.NPC.cs
. There may be inaccuracies, as the current Desktop version is 1.4.4.9. - ↑ Damage bonuses are computed by first adding all applicable damage boosts to obtain a boost factor, then multiplying the NPC's base attack damage (or, for the Dryad, the Dryad's Bane base debuff damage) by that total factor. Thus, "+10%" and "+15%" and "+40%" combined give an increase of +65%.
- ↑ Information taken from the Desktop 1.4.0.5 source code, method
GUIChatDrawInner()
inTerraria.Main.cs
. There may be inaccuracies, as the current Desktop version is 1.4.4.9. - ↑ Note that tax amounts are converted to a floating-point number, then divided by the current happiness price adjustment, then truncated to an integer; hence, e.g. 25 GC divided by a 150% price modifier gives 16 GC66 SC66 CC due to the truncation.
- ↑ Information taken from the Desktop 1.4.2.2 source code, method
SetTalkNPC()
inTerraria.Player.cs
. There may be inaccuracies, as the current Desktop version is 1.4.4.9. - ↑ Information taken from the Desktop 1.4.3.6 source code, method
ProcessMood()
inTerraria.GameContent.ShopHelper.cs
. There may be inaccuracies, as the current Desktop version is 1.4.4.9. - ↑ 12.0 12.1 12.2 Information taken from the Desktop 1.4.3.6 source code, method
ProcessMood()
inTerraria.GameContent.ShopHelper.cs
. There may be inaccuracies, as the current Desktop version is 1.4.4.9. - ↑ Information taken from the Desktop 1.4.0.1 source code, method
GetSkeletonMerchantPrices()
inTerraria.GameContent.ShopHelper.cs
. - ↑ Information taken from the Desktop 1.4.0.1 source code, method
GetTravelingMerchantPrices()
inTerraria.GameContent.ShopHelper.cs
.
- NPC NPCs
- Pages with information based on outdated versions of Terraria's source code
- Achievement-related elements
- Entities patched in Desktop 1.4.4.4/fi
- Entities patched in Desktop 1.4.4/fi
- Entities patched in Desktop 1.4.3.3/fi
- Entities patched in Desktop 1.4.1.2/fi
- Entities patched in Desktop 1.4.1.1/fi
- Entities patched in Desktop 1.4.1/fi
- Entities patched in Desktop 1.4.0.5/fi
- Entities patched in Desktop 1.4.0.4/fi
- Entities patched in Desktop 1.4.0.3/fi
- Entities patched in Desktop 1.4.0.1/fi
- Entities patched in Desktop 1.3.5/fi
- Entities patched in Desktop 1.3.4/fi
- Entities patched in Desktop 1.3.2/fi
- Entities patched in Desktop 1.3.0.1/fi
- Entities patched in Desktop 1.2.4/fi
- Entities patched in Desktop 1.2.3.1/fi
- Entities patched in Desktop 1.2.3/fi
- Entities patched in Desktop 1.2.2/fi
- Entities patched in Desktop 1.2.1.2/fi
- Entities patched in Desktop 1.2.1.1/fi
- Entities patched in Desktop 1.2.1/fi
- Entities patched in Desktop 1.2.0.3/fi
- Entities patched in Desktop 1.2/fi
- Entities patched in Desktop 1.1.1/fi
- Entities patched in Desktop 1.1/fi
- Entities patched in Desktop 1.0.6.1/fi
- Entities patched in Desktop 1.0.6/fi
- Entities patched in Desktop 1.0.4/fi
- Entities introduced in Desktop-Release/fi
- Entities patched in Console 1.19/fi
- Entities patched in Console 1.17/fi
- Entities introduced in Console-Release/fi
- Entities patched in Switch 1.0.1096.2/fi
- Entities introduced in Switch 1.0.711.6/fi
- Entities introduced in Mobile-Release/fi
- Entities introduced in 3DS-Release/fi
- NPCs
- Finnish translation