Changes

Jump to navigation Jump to search
use "main article: X" convention to make it easier to see which sections have been moved into the final doc pages
Line 34: Line 34:     
===Trigger actions===
 
===Trigger actions===
 +
: ''Main article: [[Modding:Trigger actions]].''
 +
 
Trigger actions are a new feature which lets content packs perform an action when something happens, with support for a wide range of actions (like sending mail, changing friendship, starting a quest, etc).
 
Trigger actions are a new feature which lets content packs perform an action when something happens, with support for a wide range of actions (like sending mail, changing friendship, starting a quest, etc).
   Line 48: Line 50:  
}
 
}
 
</syntaxhighlight>
 
</syntaxhighlight>
  −
See [[Modding:Trigger actions]] for more info.
      
===Hash set fields===
 
===Hash set fields===
Line 3,498: Line 3,498:     
===Custom world maps===
 
===Custom world maps===
 +
: ''Main article: [[Modding:World map]].''
 +
 
[[File:Modding map area.png|thumb|The default world map, with the farm map area highlighted.]]
 
[[File:Modding map area.png|thumb|The default world map, with the farm map area highlighted.]]
   Line 3,508: Line 3,510:     
The game's default map is fully defined in <samp>Data/WorldMap</samp>, including all the display text and conditional changes.
 
The game's default map is fully defined in <samp>Data/WorldMap</samp>, including all the display text and conditional changes.
  −
See [[Modding:World map]] for more info.
      
===New map properties===
 
===New map properties===
Line 6,651: Line 6,651:     
===Game state queries===
 
===Game state queries===
 +
: ''Main article: [[Modding:Game state queries]].''
 +
 
A ''game state query'' is a new vanilla way to specify conditions for some content like [[#Custom shops|shop data]], inspired by [[Modding:Content Patcher|Content Patcher]]'s conditions.
 
A ''game state query'' is a new vanilla way to specify conditions for some content like [[#Custom shops|shop data]], inspired by [[Modding:Content Patcher|Content Patcher]]'s conditions.
  −
See [[Modding:Game state queries]] for more information.
      
===Gender changes===
 
===Gender changes===
Line 6,662: Line 6,662:     
===Item queries===
 
===Item queries===
 +
: ''Main article: [[Modding:Item queries]].''
 +
 
''Item queries'' are a new built-in way to choose one or more items dynamically, instead of specifying a single item ID. These are used in various places like [[#Custom machines|machine data]] and [[#Custom shops|shop data]].
 
''Item queries'' are a new built-in way to choose one or more items dynamically, instead of specifying a single item ID. These are used in various places like [[#Custom machines|machine data]] and [[#Custom shops|shop data]].
   Line 6,672: Line 6,674:  
</syntaxhighlight>
 
</syntaxhighlight>
   −
See [[Modding:Item queries]] for more info.
+
===Item spawn fields===
 +
: ''Main article: [[Modding:Game state queries#Item spawn fields]].''
   −
===Item spawn fields===
   
Several data assets (like [[#Custom machines|machines]] and [[#Custom shops|shops]]) let you configure items to create using item queries. For consistency, these all share a set of common fields.
 
Several data assets (like [[#Custom machines|machines]] and [[#Custom shops|shops]]) let you configure items to create using item queries. For consistency, these all share a set of common fields.
   −
See [[Modding:Item queries#Item spawn fields]] for more info.
+
===Color fields===
 +
: ''Main article: [[Modding:Common data field types#Color]].''
   −
===Color fields===
   
1.6 adds a standardized color format used in various data fields. This can be a color name, hexadecimal color code, or 8-bit RGB color code.
 
1.6 adds a standardized color format used in various data fields. This can be a color name, hexadecimal color code, or 8-bit RGB color code.
   Line 6,686: Line 6,688:  
"DebrisColor": "White"
 
"DebrisColor": "White"
 
</syntaxhighlight>
 
</syntaxhighlight>
  −
See [[Modding:Common data field types#Color]] for more info.
      
===<samp>modData</samp> field changes===
 
===<samp>modData</samp> field changes===
translators
8,438

edits

Navigation menu