Changes

Line 1: Line 1: −
==Usage==
+
==Notes==
Rude NPCs have different dialogs than non-rude NPCs.  The template uses data from <code>Data/NPCDispositions.xnb</code> to determine whether the NPC is rude or not.   
+
Rude NPCs have different dialogs than non-rude NPCs.  This template uses data from <code>Data/NPCDispositions.xnb</code> 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).
   −
When used on an NPC's page, the template uses the pagename to determine if the NPC is rude.
  −
For this document, the default disposition (other than rude) and default pronoun (their) are being used.
      +
==Usage==
 
<pre>
 
<pre>
{{GiftHeader
+
{{GiftHeader}}</pre>
|birthday season = Winter
+
{{GiftHeader}}
|birthday day = 14
  −
}}</pre>
  −
{{GiftHeader
  −
|birthday season = Winter
  −
|birthday day = 14
  −
}}
  −
 
  −
'''<span style="color: red; font-size: 1.5em;">Work on Dwarvish dialogs is still a WIP</span>'''
 
105,850

edits