Difference between revisions of "Template:GiftHeader/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
(added category)
Line 17: Line 17:
 
{{GiftHeader}}</pre>
 
{{GiftHeader}}</pre>
 
{{GiftHeader}}
 
{{GiftHeader}}
 +
[[Category:Transclusion templates]]

Revision as of 01:55, 4 February 2017

Notes

Rude NPCs have different dialogs than non-rude NPCs. This template uses data from Data/NPCDispositions.xnb to determine whether the NPC is rude or not. It also pulls birthdays from the same file.

Quotes are pulled from the game code; they are hard-coded in this template as they are in the game code.

When used on an NPC's page, the template uses the pagename to determine if the NPC is rude, male or female, and fills in the birthdate automatically.

For this document, the default disposition (i.e., not rude) and default pronoun ("their") are used. The birthdate for Template:GiftHeader is nonexistent, so the default "Season 00" is used.

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).

This template is based on Template:gift intro, although it is independent of it. Template:gift intro can always be used as a fallback for new characters/content changes, etc. Template:GiftHeader is current as of PC v1.11.

Usage

{{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.”