Changes

2,466 bytes added ,  21:52, 1 June 2022
Line 114: Line 114:  
====Fallback====
 
====Fallback====
 
If none of the above match, the game will show the value with key <samp>NPC.cs.4061</samp> in <samp>Strings\StringsFromCSFiles.xnb</samp>. (English version: "Hi.")
 
If none of the above match, the game will show the value with key <samp>NPC.cs.4061</samp> in <samp>Strings\StringsFromCSFiles.xnb</samp>. (English version: "Hi.")
 +
 +
====Speech bubbles====
 +
<samp>Strings/SpeechBubbles.xnb</samp> contains dialogue spoken by NPCs through speech bubbles when '''the player''' enters a given location. This is distinct from the <samp>{{t|location}}_Entry</samp> field in an NPC's <samp>Characters/Dialogue/*.xnb</samp> file, which is trigger when '''the NPC''' enters a given location.
 +
 +
Entries are in the following formats. All entries which are applicable make up a pool that the game randomly chooses from.
 +
 +
{| class="wikitable"
 +
|-
 +
! key format
 +
! description
 +
|-
 +
| <samp>{{t|location}}_{{t|NPC}}_Spouse</samp>
 +
| Added to the pool when the given NPC is your spouse.
 +
|-
 +
| <samp>{{t|location}}_{{t|NPC}}_CloseFriends</samp>
 +
| Added to the pool when you have a certain friendship level with the NPC.
 +
|-
 +
| <samp>{{t|location}}_{{t|NPC}}_NotCloseFriends</samp>
 +
| Added to the pool when you are below a certain friendship point threshold with the NPC.
 +
|-
 +
| <samp>{{t|location}}_{{t|NPC}}_Raining</samp>
 +
| Added to the pool when it is raining. Can be suffixed with a number, in which case all entries will be added to the pool.
 +
|-
 +
| <samp>{{t|location}}_{{t|NPC}}_NotRaining</samp>
 +
| Added to the pool when it is not raining. Can be suffixed with a number, in which case all entries will be added to the pool.
 +
|-
 +
| <samp>{{t|location}}_{{t|NPC}}_Snowing</samp>
 +
| Added to the pool when it is raining. Can be suffixed with a number, in which case all entries will be added to the pool.
 +
|-
 +
| <samp>{{t|location}}_{{t|NPC}}_NotSnowing</samp>
 +
| Added to the pool when it is not raining. Can be suffixed with a number, in which case all entries will be added to the pool.
 +
|-
 +
| <samp>{{t|location}}_{{t|NPC}}_{{t|time}}</samp>
 +
| Added to the pool when it is {{t|time}}, which can be <samp>Morning</samp>, <samp>Afternoon</samp>, or <samp>Evening</samp>.
 +
|-
 +
| <samp>{{t|location}}_{{t|NPC}}_{{t|season}}</samp>
 +
| Added to the pool when it is the given season.
 +
|-
 +
| <samp>{{t|location}}_{{t|NPC}}_Not{{t|season}}</samp>
 +
| Added to the pool when it is not the given season.
 +
|-
 +
| <samp>{{t|location}}_{{t|NPC}}_Greeting</samp>
 +
| Always added to the pool. Can be suffixed with a number, in which case all entries will be added to the pool. Can also be suffixed with <samp>Male</samp> or <samp>Female</samp>, in which case only the one applicable to the player's gender will be added to the pool.
 +
|-
 +
| <samp>{{t|location}}_{{t|NPC}}_RareGreeting</samp>
 +
| Has a much lower chance of appearing than any other greeting.
 +
|}
    
====Miscellaneous====
 
====Miscellaneous====
118

edits