Changes

Jump to navigation Jump to search
→‎Custom shops: clarify Name field effects
Line 3,290: Line 3,290:  
|-
 
|-
 
| <samp>Name</samp>
 
| <samp>Name</samp>
| ''(Optional)'' The internal name of the NPC which must be in range to use this entry. Omit to let any NPC in range run the shop.
+
| The internal name of the NPC which must be in range to use this entry, or an '''empty string''' (not null) to let any NPC in range run the shop. If this is null, the entry will be ignored.
 
|-
 
|-
 
| <samp>ShownNPC</samp>
 
| <samp>ShownNPC</samp>
| ''(Optional)'' The internal name of the NPC to show in the shop menu portrait, ''or'' the asset name of the portrait spritesheet to display. Omit to use the NPC matched via <samp>Name</samp>. '''Note''' : Currently it seems to require the <samp>Name</samp> field to be displayed.
+
| ''(Optional)'' The internal name of the NPC to show in the shop menu portrait, ''or'' the asset name of the portrait spritesheet to display. Omit to use the NPC matched via <samp>Name</samp> if any, else the portrait isn't shown.
 
|-
 
|-
 
| <samp>Dialogues</samp>
 
| <samp>Dialogues</samp>
Line 3,307: Line 3,307:  
| <samp>Condition</samp>
 
| <samp>Condition</samp>
 
| ''(Optional)'' A [[#Game state queries|game state query]] which indicates whether the dialogue should be available. If omitted, the dialogue is always available.
 
| ''(Optional)'' A [[#Game state queries|game state query]] which indicates whether the dialogue should be available. If omitted, the dialogue is always available.
|} '''Note''' : Currently it seems to require the <samp>Name</samp> field to be displayed.
+
|}
 
|}
 
|}
 
|-
 
|-
translators
8,456

edits

Navigation menu