Line 1: |
Line 1: |
− | ==Usage== | + | ==Description== |
− | As of PC v1.11, the "polite" NPCs are: Caroline, Demetrius, Elliott, Emily, Evelyn, Harvey, Jodi, Leah, Marnie, Penny, and Krobus. The default (~21/32 NPCs) is impolite.
| + | This template displays a heading for the "Gifts" section on giftable villager pages, which summarizes birthday gifting. Villagers classified as "rude" display different dialogues from "polite" or "neutral" villagers when given a birthday gift. In some languages, dialogue also varies by gender. |
| | | |
− | '''Polite NPCs'''
| + | Data is taken from <samp>Data/NPCDispositions.xnb</samp> to determine gender, demeanor (rude or polite), birth season, and birth day. |
− | <pre> | |
− | {{GiftHeader
| |
− | |gender = male
| |
− | |birthday season = Summer
| |
− | |birthday day = 13
| |
− | |polite = true
| |
− | }}
| |
− | </pre>
| |
| | | |
− | {{GiftHeader
| + | Quotes are taken from <code>Content\Strings\StringsFromCSFiles.xnb</code>. |
− | |gender = male
| + | *Specifically, <samp>NPC.cs.4274</samp> through <samp>NPC.cs.4281</samp> contain all birthday gift responses. |
− | |birthday season = Summer
| + | *Where one of these entries contains two quotes (separated by a slash), the first applies to gifts given to males and the second applies to gifts given to females. |
− | |birthday day = 13
| |
− | |polite = true
| |
− | }}
| |
| | | |
− | '''Impolite NPCs''' | + | There is some extra text when used on the Dwarf's page (Dwarvish quote translations, and a note about how friendship isn't changed by gifting until the player understands Dwarvish). |
− | <pre>
| + | *Dwarvish quotes cannot be found in data files. They can be obtained from screenshots and/or from creating a program to execute the dwarvish translation code found in the game executable. |
− | {{GiftHeader
| |
− | |gender = female
| |
− | |birthday season = Winter
| |
− | |birthday day = 22
| |
− | |polite = false
| |
− | }}
| |
− | </pre>
| |
− | <pre>
| |
− | {{GiftHeader
| |
− | |gender = female
| |
− | |birthday season = Winter
| |
− | |birthday day = 22
| |
− | }}
| |
− | </pre>
| |
| | | |
− | {{GiftHeader | + | ==Use== |
− | |gender = female
| + | This template takes no parameters. It automatically uses the pagename on which it is placed. |
− | |birthday season = Winter
| + | <pre>{{GiftHeader}}</pre> |
− | |birthday day = 22
| + | {{GiftHeader}} |
− | |polite = false
| + | <includeonly>{{Addlanglinks}}[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |
− | }} | |