Changes

no edit summary
Line 1: Line 1: −
<includeonly>{{#arraydefine:rude|Abigail,Alex,Clint,George,Haley,Pam,Sebastian,Shane,Wizard|,}}
+
<noinclude>{{Stub|Needs to be updated for v1.6}}</noinclude><includeonly>{{Main article|Friendship#Gifts{{!}}Friendship}}
{{#arraydefine:female|Abigail,Emily,Haley,Leah,Maru,Penny,Caroline,Evelyn,Jas,Jodi,Marnie,Pam,Robin,Sandy|,}}<!--
  −
-->{{#arraydefine:male|Alex,Elliott,Harvey,Sam,Sebastian,Shane,Clint,Demetrius,Dwarf,George,Gus,Kent,Krobus,Lewis,Linus,Pierre,Vincent,Willy,Wizard|,}}
  −
:''Main article: [[Friendship#Gifts|Friendship]]''
   
:''See also: [[List of All Gifts]]''
 
:''See also: [[List of All Gifts]]''
 
You can give {{#switch: {{PAGENAME}} | Dwarf | Wizard = the {{PAGENAME}} | #default = {{PAGENAME}}}} up to two gifts per week (plus one on  
 
You can give {{#switch: {{PAGENAME}} | Dwarf | Wizard = the {{PAGENAME}} | #default = {{PAGENAME}}}} up to two gifts per week (plus one on  
{{#if: {{#arraysearch:female|{{PAGENAME}}|0}} | her  
+
{{#switch:{{#invoke:NPCDispositions|getgender|{{PAGENAME}}}}
| {{#if: {{#arraysearch:male|{{PAGENAME}}|0}} | his  
+
|female = her  
| their  
+
|male = his  
}}
+
|#default = their}}
}}
   
birthday), which will raise or lower  
 
birthday), which will raise or lower  
{{#if: {{#arraysearch:female|{{PAGENAME}}|0}} | her  
+
{{#switch:{{#invoke:NPCDispositions|getgender|{{PAGENAME}}}}
| {{#if: {{#arraysearch:male|{{PAGENAME}}|0}} | his  
+
|female = her  
| their  
+
|male = his  
}}
+
|#default = their}}
}}
   
[[friendship]] with you.  {{#switch: {{PAGENAME}}
 
[[friendship]] with you.  {{#switch: {{PAGENAME}}
 
| Dwarf = <span style="font-weight: bold;">Note that if you do not understand Dwarvish, friendship will be unaffected by gifts.</span>
 
| Dwarf = <span style="font-weight: bold;">Note that if you do not understand Dwarvish, friendship will be unaffected by gifts.</span>
 
| #default =  
 
| #default =  
 
}} Gifts on  
 
}} Gifts on  
{{#if: {{#arraysearch:female|{{PAGENAME}}|0}} | her  
+
{{#switch:{{#invoke:NPCDispositions|getgender|{{PAGENAME}}}}
| {{#if: {{#arraysearch:male|{{PAGENAME}}|0}} | his  
+
|female = her  
| their  
+
|male = his  
}}
+
|#default = their}}
}}
+
birthday ({{Season
birthday ([[{{#switch:{{PAGENAME}}|Penny|Elliott|Jodi|Abigail|Sandy|Marnie|Robin|George=Fall|Kent|Lewis|Vincent|Haley|Pam|Shane|Pierre|Emily=Spring|Jas|Gus|Maru|Alex|Sam|Demetrius|Dwarf|Willy=Summer|Krobus|Linus|Caroline|Sebastian|Harvey|Wizard|Evelyn|Leah|Clint=Winter|#default=Seasons}}#Events|{{#switch:{{PAGENAME}}|Penny|Elliott|Jodi|Abigail|Sandy|Marnie|Robin|George=Fall|Kent|Lewis|Vincent|Haley|Pam|Shane|Pierre|Emily=Spring|Jas|Gus|Maru|Alex|Sam|Demetrius|Dwarf|Willy=Summer|Krobus|Linus|Caroline|Sebastian|Harvey|Wizard|Evelyn|Leah|Clint=Winter|#default=Seasons}}&nbsp;{{#switch:{{PAGENAME}}|Krobus=1|Penny=2|Linus=3|Kent|Jas=4|Elliott=5|Lewis|Caroline=7|Gus=8|Vincent|Maru|Sebastian=10|Jodi=11|Abigail|Alex=13|Haley|Harvey=14|Sandy=15|Sam|Wizard=17|Marnie|Pam=18|Demetrius=19|Shane|Evelyn=20|Robin=21|Dwarf=22|Leah=23|George|Willy=24|Pierre|Clint=26|Emily=27|#default=00}}]]) will have 8&times; effect and show a unique dialogue.<br />For loved or liked gifts, {{#switch: {{PAGENAME}} | Dwarf | Wizard = the {{PAGENAME}} | #default = {{PAGENAME}}}} will say  
+
|{{#invoke:NPCDispositions|getbirthseason|{{PAGENAME}}}}
{{#if: {{#arraysearch:rude|{{PAGENAME}}|0}}  
+
|{{#invoke:NPCDispositions|getbirthday|{{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.}}  
+
}}) will have effect and show a unique dialogue.<br />For loved or liked gifts, {{#switch: {{PAGENAME}} | Dwarf | Wizard = the {{PAGENAME}} | #default = {{PAGENAME}}}} will say  
 +
{{#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!}}
 +
}} }}
   −
| <!-- other than rude -->
+
For neutral gifts, {{#switch: {{PAGENAME}} | Dwarf | Wizard = the {{PAGENAME}} | #default = {{PAGENAME}}}} will say
{{#switch: {{PAGENAME}}
+
{{#switch:{{#invoke:NPCDispositions|getdisposition|{{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}}
+
|rude = {{Quote|For my birthday? Thanks.}}
| #default =  {{quote|A birthday gift? That's very kind of you! I love it.}}{{quote|You remembered my birthday! Thank you, this is great!}}
+
|#default = {{#switch: {{PAGENAME}}
}} <!--switch-->
+
| Dwarf = {{Quote|Oh, a birthday gift! Thank you.}}{{Quote|Oh, a punhaan nuh!  Xham anoe.}}
}} <!--if-->
+
| #default = {{Quote|Oh, a birthday gift! Thank you.}}  
 
+
}} }}
For neutral gifts, {{#switch: {{PAGENAME}} | Dwarf | Wizard = the {{PAGENAME}} | #default = {{PAGENAME}}}} will say
  −
{{#if: {{#arraysearch:rude|{{PAGENAME}}|0}}  
  −
| <!-- rude --> {{quote|For my birthday? Thanks.}}
  −
| <!-- other than rude -->
  −
{{#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.}}  
  −
}}<!--switch-->
  −
}}<!--if-->
      
For disliked or hated gifts, {{#switch: {{PAGENAME}} | Dwarf | Wizard = the {{PAGENAME}} | #default = {{PAGENAME}}}}  will say
 
For disliked or hated gifts, {{#switch: {{PAGENAME}} | Dwarf | Wizard = the {{PAGENAME}} | #default = {{PAGENAME}}}}  will say
{{#if: {{#arraysearch:rude|{{PAGENAME}}|0}}  
+
{{#switch:{{#invoke:NPCDispositions|getdisposition|{{PAGENAME}}}}
| <!-- rude --> {{quote|It's my birthday and you give me this? Is this some kind of joke?}}  
+
|rude = {{Quote|It's my birthday and you give me this? Is this some kind of joke?}}
| <!-- other than rude -->
+
| #default = {{#switch: {{PAGENAME}}
{{#switch: {{PAGENAME}}
+
| Dwarf = {{Quote|Oh... It's for my birthday? ... Thanks.}}{{Quote|Oh... U's hon man punhaan? ... Xhams.s}}
| 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>
| #default = {{quote|Oh... It's for my birthday? ... Thanks.}}}}<!--switch-->}}<!--if--></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}[[Category:Transclusion templates]]</noinclude>
 
105,831

edits