Difference between revisions of "Template:GiftHeader/doc"
Margotbean (talk | contribs) (typo) |
Margotbean (talk | contribs) (update) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | == | + | ==Description== |
− | + | 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. | |
− | Quotes are taken from <code>Content\Strings\StringsFromCSFiles.xnb</code> | + | Data is taken from <samp>Data/NPCDispositions.xnb</samp> to determine gender, demeanor (rude or polite), birth season, and birth day. |
− | *Specifically, < | + | |
+ | Quotes are taken from <code>Content\Strings\StringsFromCSFiles.xnb</code>. | ||
+ | *Specifically, <samp>NPC.cs.4274</samp> through <samp>NPC.cs.4281</samp> contain all birthday gift responses. | ||
*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. | *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. | ||
− | + | 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). | |
− | |||
− | |||
− | |||
− | There is some extra text when used on the Dwarf's page (Dwarvish translations, and a note about how friendship isn't changed by gifting until the player understands Dwarvish). | ||
*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. | *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. | ||
− | |||
− | == | + | ==Use== |
+ | This template takes no parameters. It automatically uses the pagename on which it is placed. | ||
<pre>{{GiftHeader}}</pre> | <pre>{{GiftHeader}}</pre> | ||
{{GiftHeader}} | {{GiftHeader}} | ||
− | <includeonly> | + | <includeonly>{{Addlanglinks}}[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |
− | [[ | ||
− | |||
− | |||
− | |||
− | |||
− | <noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 21:30, 11 April 2023
Description
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.
Data is taken from Data/NPCDispositions.xnb to determine gender, demeanor (rude or polite), birth season, and birth day.
Quotes are taken from Content\Strings\StringsFromCSFiles.xnb
.
- Specifically, NPC.cs.4274 through NPC.cs.4281 contain all birthday gift responses.
- 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.
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).
- 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.
Use
This template takes no parameters. It automatically uses the pagename on which it is placed.
{{GiftHeader}}
- Main article: Friendship
- See also: List of All Gifts
You can give GiftHeader/doc up to two gifts per week (plus one on
their
birthday), which will raise or lower
their
friendship with you. Gifts on
their
birthday () will have 8× effect and show a unique dialogue.
For loved or liked gifts, GiftHeader/doc will say
“ | “A birthday gift? That's very kind of you! I love it.” |
“ | “You remembered my birthday! Thank you. This is great!” |
For neutral gifts, GiftHeader/doc will say
“ | “Oh, a birthday gift! Thank you.” |
For disliked or hated gifts, GiftHeader/doc will say
“ | “Oh... It's for my birthday? ... Thanks.” |