Changes

Jump to navigation Jump to search
74 bytes removed ,  15:18, 12 August 2020
→‎Conversation topics: remove note about expired topics being saved (apparently incorrect, can't find where that happens)
Line 699: Line 699:     
==Conversation topics==
 
==Conversation topics==
A ''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 topics are stored in <tt>Game1.player.mailReceived</tt>.
+
A ''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.
    
A conversation topic can be started 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>.
 
A conversation topic can be started 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>.
translators
8,404

edits

Navigation menu