Changes

→‎Format: + Set-Up_additionalCharacters
Line 76: Line 76:  
| <tt>set-up</tt>
 
| <tt>set-up</tt>
 
| The [[Modding:Event data|event script]] that's run when the player first enters the festival. This includes moving the player to the festival map.
 
| The [[Modding:Event data|event script]] that's run when the player first enters the festival. This includes moving the player to the festival map.
 +
|-
 +
| <tt>Set-Up_additionalCharacters</tt>
 +
| NPCs to spawn when the festival loads. This is specified as four space-delimited fields in the form <tt>{{t|NPC name}} {{t|tile X}} {{t|tile Y}} {{t|facing direction}}</tt>, repeated for each NPC to add. The {{t|facing direction}}</tt> can be one of <tt>up</tt> or <tt>0</tt>, <tt>down</tt> or <tt>2</tt>, <tt>left</tt> or <tt>3</tt>, and <tt>right</tt> or <tt>1</tt>. These are additional to the NPCs spawned via the [[#Map|map file]]. For example, this adds Abigail and Leah side-by-side facing down: <syntaxhighlight lang="javascript">"Set-Up_additionalCharacters": "Abigail 15 6 down Leah 16 6 down"</syntaxhighlight>
 
|-
 
|-
 
| <tt>{{t|NPC name}}_spouse</tt>
 
| <tt>{{t|NPC name}}_spouse</tt>
translators
8,404

edits