Changes

3,875 bytes added ,  23:42, 23 March 2020
+ active dialogue event
Line 697: Line 697:     
<small>¹ Extracted using [https://gist.github.com/Pathoschild/6a133fd567d724cc2e3057a8acf448b8 this LINQPad script].</small>
 
<small>¹ Extracted using [https://gist.github.com/Pathoschild/6a133fd567d724cc2e3057a8acf448b8 this LINQPad script].</small>
 +
 +
==Active dialogue events==
 +
An ''active dialogue event'' (or sometimes ''conversation topic'') is a temporary flag which can be checked in [[Modding:Event data|event preconditions]] and can trigger one-time NPC dialogue (if they have a matching dialogue key). They're stored in <tt>Game1.player.activeDialogueEvents</tt> while active, and past/current dialogue events are stored in <tt>Game1.player.mailReceived</tt>.
 +
 +
An active dialogue event can be enabled using the <tt>addConversationTopic</tt> [[Modding:Event data|event command]], <tt>%item conversationTopic</tt> [[Modding:Mail data|mail command]], or in code by adding it to <tt>Game1.player.activeDialogueEvents</tt>.
 +
 +
The game defines these events:
 +
{| class="wikitable"
 +
|-
 +
! id
 +
! duration
 +
! trigger
 +
|-
 +
!colspan="3"| Bundles
 +
|-
 +
| <tt>cc_Begin</tt>
 +
| 4 days
 +
| Set in the [[Wizard]]'s cutscene after reading the first Junimo note in the community center.
 +
|-
 +
| <tt>cc_Complete</tt>
 +
| 4 days
 +
| [[Community Center]] completed. (Does not apply to JojaMart path.)
 +
|-
 +
| <tt>cc_Boulder</tt>
 +
| 7 days
 +
| [[The Mountain|Mountain]] boulder is removed.
 +
|-
 +
| <tt>cc_Bridge</tt>
 +
| 7 days
 +
| [[Quarry]] bridge is repaired.
 +
|-
 +
| <tt>cc_Bus</tt>
 +
| 7 days
 +
| [[Bus]] is repaired.
 +
|-
 +
| <tt>cc_Greenhouse</tt>
 +
| 3 days
 +
| [[Greenhouse]] is constructed.
 +
|-
 +
| <tt>cc_Minecart</tt>
 +
| 7 days
 +
| [[Minecart]]s are unlocked.
 +
|-
 +
| <tt>joja_Begin</tt>
 +
| 7 days
 +
| First time that player opens the [[Joja Community Development Form]].
 +
|-
 +
| <tt>movieTheater</tt>
 +
| 3 days
 +
| [[Movie Theater|movie theatre]] is constructed.
 +
|-
 +
!colspan="3"| Spouse events
 +
|-
 +
| <tt>elliottGone</tt>
 +
| 6 days
 +
| Set when [[Elliott]]'s fourteen-heart event starts.
 +
|-
 +
| <tt>ElliottGone1</tt><br /><tt>ElliottGone2</tt><br /><tt>ElliottGone3</tt><br /><tt>ElliottGone4</tt><br /><tt>ElliottGone5</tt><br /><tt>ElliottGone6</tt><br /><tt>ElliottGone7</tt>
 +
| same day
 +
| Part of [[Elliott]]'s fourteen-heart event. The first flag is set when it starts; the subsequent flags are set by subsequent letters from Elliott.
 +
|-
 +
| <tt>emilyFiber</tt>
 +
| 2 days
 +
| Part of [[Emily]]'s fourteen-heart event. Set after completing the quest.
 +
|-
 +
| <tt>haleyCakewalk1</tt><br /><tt>haleyCakewalk2</tt>
 +
| same day
 +
| Part of [[Haley]]'s fourteen-heart event.
 +
|-
 +
| <tt>leahPaint</tt>
 +
| same day
 +
| Set when [[Leah]]'s fourteen-heart event starts.
 +
|-
 +
| <tt>pennyRedecorating</tt><br /><tt>pennyRedecorating2</tt>
 +
| 2 days
 +
| Part of [[Penny]]'s fourteen-heart event.
 +
|-
 +
| <tt>samJob1</tt><br /><tt>samJob2</tt>
 +
| 2 days
 +
| Part of [[Sam]]'s fourteen-heart event.
 +
|-
 +
| <tt>samJob3</tt>
 +
| 3 days
 +
| Part of [[Sam]]'s fourteen-heart event.
 +
|-
 +
| <tt>sebastianFrog</tt>
 +
| same day
 +
| Set when [[Sebastian]]'s fourteen-heart event starts.
 +
|-
 +
| <tt>sebastianFrog2</tt>
 +
| 6 days
 +
| Part of [[Sebastian]]'s fourteen-heart event.
 +
|-
 +
| <tt>shaneSaloon1</tt><br /><tt>shaneSaloon2</tt>
 +
| same day
 +
| Part of [[Shane]]'s fourteen-heart event.
 +
|-
 +
!colspan="3"| Other events
 +
|-
 +
| <tt>dumped_Guys</tt><br /><tt>dumped_Girls</tt>
 +
| 7 days
 +
| Set after the corresponding ten-heart group event (e.g. see [[Abigail#Group Ten-Heart Event]]).
 +
|-
 +
| <tt>secondChance_Girls</tt><br /><tt>secondChance_Guys</tt>
 +
| 14 days
 +
| Set after the corresponding ten-heart group event (e.g. see [[Abigail#Group Ten-Heart Event]]).
 +
|-
 +
| <tt>pamHouseUpgrade</tt>
 +
| 4 days
 +
| Set after seeing the [[Pam]] house upgrade event, if the player chose to be revealed as the donor.
 +
|-
 +
| <tt>pamHouseUpgradeAnonymous</tt>
 +
| 4 days
 +
| Set after seeing the [[Pam]] house upgrade event, if the player chose to be anonymous.
 +
|-
 +
| <tt>willyCrabs</tt>
 +
| 4 days
 +
| Set after [[Willy]]'s six-heart event.
 +
|-
 +
!colspan="3"| Other
 +
|-
 +
| <tt>Introduction</tt>
 +
| 6 days
 +
| Farmer is created (e.g. starting a new save, or joining a multiplayer game for the first time).
 +
|-
 +
| <tt>FullCrabPond</tt>
 +
| 14 days
 +
| First time any [[Fish Pond|fish pond]] contains 10 [[crab]]s.
 +
|}
 +
    
[[Category:Modding]]
 
[[Category:Modding]]
    
[[pt:Modificações:Diálogo]]
 
[[pt:Modificações:Diálogo]]
translators
8,416

edits