Changes

Jump to navigation Jump to search
→‎Built-in actions: update for build 24069 (can now forget recipes)
Line 35: Line 35:  
| <samp>RemoveConversationTopic {{t|topic ID}}</samp>
 
| <samp>RemoveConversationTopic {{t|topic ID}}</samp>
 
| End a [[Modding:Dialogue#Conversation topics|conversation topic]], if it's active.
 
| End a [[Modding:Dialogue#Conversation topics|conversation topic]], if it's active.
|-
  −
| <samp>AddCookingRecipe {{t|player}} {{t|recipe ID}}</samp><br /><samp>AddCraftingRecipe {{t|player}} {{t|recipe key}}</samp>
  −
| Add a [[Modding:Recipe data|cooking or crafting recipe]] to the [[#Target player|specified player(s)]].
   
|-
 
|-
 
| <samp>AddFriendshipPoints {{t|NPC name}} {{t|count}}</samp>
 
| <samp>AddFriendshipPoints {{t|NPC name}} {{t|count}}</samp>
Line 88: Line 85:     
Note that an entry can't use this to mark ''itself'' unapplied; see [[#Make Data/TriggerActions repeat|''Make <samp>Data/TriggerActions</samp> repeat'']] if you want to do that.
 
Note that an entry can't use this to mark ''itself'' unapplied; see [[#Make Data/TriggerActions repeat|''Make <samp>Data/TriggerActions</samp> repeat'']] if you want to do that.
 +
|-
 +
| <samp>MarkCookingRecipeKnown {{t|player}} {{t|recipe ID}} {{o|known}}</samp><br /><samp>MarkCraftingRecipeKnown {{t|player}} {{t|recipe key}} {{o|known}}</samp>
 +
| Set whether [[#Target player|specified player(s)]] know a [[Modding:Recipe data|cooking or crafting recipe]], depending on {{o|known}} (default <samp>true</samp>).
 +
 +
Note that forgetting a recipe will also reset its times-cooked/crafted counter to zero.
 
|-
 
|-
 
| <samp>MarkEventSeen {{t|player}} {{t|event ID}} {{o|seen}}</samp>
 
| <samp>MarkEventSeen {{t|player}} {{t|event ID}} {{o|seen}}</samp>
translators
8,447

edits

Navigation menu