Changes

Jump to navigation Jump to search
→‎Non-Krobus roommates: expand and clarify
Line 200: Line 200:  
|-
 
|-
 
| <tt>Data/EngagementDialogue</tt>
 
| <tt>Data/EngagementDialogue</tt>
| <tt>{{t|NPC name}}Roommate0</tt>
+
| <tt>{{t|NPC name}}Roommate0</tt><br /><tt>{{t|NPC name}}Roommate1</tt>
| The NPC's normal dialogue for the day after accepting the proposal.<br />For example: ''@... I'm afraid we'll have to keep this a secret... Neither my people nor yours would accept us living together.''
+
| The NPC's normal dialogue after accepting the proposal, but before moving in. The <tt>Roommate0</tt> variant is always used on the day the NPC accepted; on subsequent days the NPC randomly chooses <tt>Roommate0</tt> or <tt>Roommate1</tt>. If the <tt>Roommate0</tt> variant isn't defined, the NPC will use the normal <tt>{{t|NPC Name}}0</tt> and <tt>{{t|NPC Name}}1</tt> keys. If the <tt>Roommate0</tt> variant is defined, <tt>Roommate1</tt> must be set too to avoid errors.<br />For example: ''@... I'm afraid we'll have to keep this a secret... Neither my people nor yours would accept us living together.''
 
|-
 
|-
 
| <tt>Characters/Dialogue/MarriageDialogue{{t|NPC name}}Roommate</tt>
 
| <tt>Characters/Dialogue/MarriageDialogue{{t|NPC name}}Roommate</tt>
Line 215: Line 215:  
| The NPC's normal dialogue at the festival if they're a roommate. If the key isn't defined, they'll use <tt>{{t|NPC name}}_spouse</tt> instead.
 
| The NPC's normal dialogue at the festival if they're a roommate. If the key isn't defined, they'll use <tt>{{t|NPC name}}_spouse</tt> instead.
 
|}</li>
 
|}</li>
<li>Roommates will sleep in a [[Single Bed]] if one is available and unused in the house. (Krobus is an exception, since he doesn't sleep in a bed.)</li>
+
<li>Roommates will sleep in a [[Single Bed]] if one is available and unused in the house; otherwise they'll use a double bed like a normal spouse. (Krobus is an exception, since he doesn't sleep in a bed.)</li>
 
<li>Added <tt>R</tt> to the [[Modding:Event data#Event preconditions|event preconditions]] which checks whether the local player has a roommate. This can be combined with <tt>O {{t|NPC name}}</tt> to check for a specific roommate, like <tt>R/O Abigail</tt>.</li>
 
<li>Added <tt>R</tt> to the [[Modding:Event data#Event preconditions|event preconditions]] which checks whether the local player has a roommate. This can be combined with <tt>O {{t|NPC name}}</tt> to check for a specific roommate, like <tt>R/O Abigail</tt>.</li>
 
</ul>
 
</ul>
translators
8,404

edits

Navigation menu