Changes

Line 424: Line 424:     
===Format===
 
===Format===
Each block of data within the file begins with an <samp>NPCName</samp> key, which is the name of the NPC to whom the rest of the data in the block will apply. This is followed by a list with the key <samp>Reactions</samp>. Each block within this list is the data for an NPC's response to a specific type of movie. If multiple responses are applicable, the game picks the first one listed. The data within each block is formatted as follows:
+
Each block of data within the file begins with an <samp>NPCName</samp> key, which is the name of the NPC to whom the rest of the data in the block will apply. This is followed by a list with the key <samp>Reactions</samp>. Each block within this list is the data for an NPC's response to a specific type of movie.
 +
 
 +
If multiple response blocks are applicable to the movie, the game uses the first non-null <samp>Response</samp>, <samp>BeforeMovie</samp>, <samp>DuringMovie</samp>, and <samp>AfterMovie</samp> fields it can find. Said fields do not necessarily have to come from the same response block. If the game cannot find applicable <samp>BeforeMovie</samp>, <samp>DuringMovie</samp>, or <samp>AfterMovie</samp> fields, it will use default text from HERE.
 +
 
 +
The data within each block is formatted as follows:
    
{| class="wikitable"
 
{| class="wikitable"
Line 432: Line 436:  
|-
 
|-
 
| <samp>Tag</samp>
 
| <samp>Tag</samp>
| Which category of movie this response is for. In decreasing order of specificity, this can be: <samp>*</samp>, in which case the response will always be applicable, unless their are other restrictions applied by <samp>Whitelist</samp>; a genre of movie, as listed in the <samp>Tags</samp> field of a film's data; or, a specific movie's identifier, as listed at the header of its block. (i.e. <samp>spring_movie_0</samp> for "The Brave Little Sapling")
+
| Which category of movie this response is for. In decreasing order of specificity, this can be:
 +
* <samp>*</samp>, in which case the response will always be applicable, unless their are other restrictions applied by <samp>Whitelist</samp>
 +
* a genre of movie, as listed in the <samp>Tags</samp> field of a film's data
 +
* the NPC's reaction to a movie, one of <samp>love</samp>, <samp>like</samp>, or <samp>dislike</samp>. Can be prefixed with <samp>seen_</samp>, in which case the reaction will only apply if the NPC has seen the film before.
 +
* or, a specific movie's identifier, as listed at the header of its block. (i.e. <samp>spring_movie_0</samp> for "The Brave Little Sapling")
 
|-
 
|-
 
| <samp>Response</samp>
 
| <samp>Response</samp>
Line 441: Line 449:  
|-
 
|-
 
| <samp>SpecialResponses</samp>
 
| <samp>SpecialResponses</samp>
| Contains the dialogue spoken by an NPC during the film in a series of blocks. (See below.)
+
| Contains the dialogue spoken by an NPC during the film in a series of blocks. (See below.) Can be left null.
 
|-
 
|-
 
| <samp>ID</samp>
 
| <samp>ID</samp>
Line 449: Line 457:     
==== Special responses ====
 
==== Special responses ====
Each <samp>SpecialResponses</samp> block contains 3 blocks, beginning with <samp>BeforeMovie</samp>, <samp>DuringMovie</samp>, and <samp>AfterMovie</samp>, in that order. By default, the dialogue within these blocks triggers before the film begins, at a random point during it, and after it's finished, respectively. The data within each block is as follows:
+
Each <samp>SpecialResponses</samp> block contains 3 blocks, beginning with <samp>BeforeMovie</samp>, <samp>DuringMovie</samp>, and <samp>AfterMovie</samp>, in that order. Any of these blocks may be left null. By default, the dialogue within these blocks triggers before the film begins, at a random point during it, and after it's finished, respectively. The data within each block is as follows:
    
{| class="wikitable"
 
{| class="wikitable"
118

edits