Jump to content

Template:GiftHeader: Difference between revisions

From Stardew Valley Wiki
imported>Margotbean
No edit summary
imported>Abkwreu
1.6 now has unique birthday gift dialogue for each npc. Removing the birthday gift dialogue from this template so that each villager's page can have different birthday gift dialogue.
Line 22: Line 22:
|{{#invoke:NPCDispositions|getbirthseason|{{PAGENAME}}}}
|{{#invoke:NPCDispositions|getbirthseason|{{PAGENAME}}}}
|{{#invoke:NPCDispositions|getbirthday|{{PAGENAME}}}}
|{{#invoke:NPCDispositions|getbirthday|{{PAGENAME}}}}
}}) will have 8× effect and show a unique dialogue.<br />For loved or liked gifts, {{#switch: {{PAGENAME}} | Dwarf | Wizard = the {{PAGENAME}} | #default = {{PAGENAME}}}} will say
}}) will have 8× effect and show a unique dialogue.</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
{{#switch:{{#invoke:NPCDispositions|getdisposition|{{PAGENAME}}}}
|rude = {{Quote|You remembered my birthday? I'm impressed. Thanks.}}{{Quote|Oh, is it my birthday today? I guess it is. Thanks. This is nice.}}
|#default = {{#switch: {{PAGENAME}}
| Dwarf = {{Quote|A birthday gift? That's very kind of you! I love it.}}{{Quote|A punhaan nuh? Xha's zinan mu oh anoe! U ozi u.h}}{{Quote|You remembered my birthday! Thank you. This is great.}}{{Quote|Anoe nimimpini man punhaan! Xham anoe. Xhus us nnia.h}}
| #default =  {{Quote|A birthday gift? That's very kind of you! I love it.}}{{Quote|You remembered my birthday! Thank you. This is great!}}
}} }}
 
For neutral gifts, {{#switch: {{PAGENAME}} | Dwarf | Wizard = the {{PAGENAME}} | #default = {{PAGENAME}}}} will say
{{#switch:{{#invoke:NPCDispositions|getdisposition|{{PAGENAME}}}}
|rude = {{Quote|For my birthday? Thanks.}}
|#default = {{#switch: {{PAGENAME}}
| Dwarf = {{Quote|Oh, a birthday gift! Thank you.}}{{Quote|Oh, a punhaan nuh!  Xham anoe.}}
| #default = {{Quote|Oh, a birthday gift! Thank you.}}
}} }}
 
For disliked or hated gifts, {{#switch: {{PAGENAME}} | Dwarf | Wizard = the {{PAGENAME}} | #default = {{PAGENAME}}}}  will say
{{#switch:{{#invoke:NPCDispositions|getdisposition|{{PAGENAME}}}}
|rude = {{Quote|It's my birthday and you give me this? Is this some kind of joke?}}
| #default = {{#switch: {{PAGENAME}}
| Dwarf = {{Quote|Oh... It's for my birthday? ... Thanks.}}{{Quote|Oh... U's hon man punhaan? ... Xhams.s}}
| #default = {{Quote|Oh... It's for my birthday? ... Thanks.}}}}}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>

Revision as of 04:45, 23 March 2024

Description

This template displays a heading for the "Gifts" section on giftable villager pages, which summarizes birthday gifting.

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