Changes

update for SMAPI 2.6 release
Line 173: Line 173:     
===Replace a map file===
 
===Replace a map file===
{{SMAPI upcoming|2.6}}
   
You can use <tt>IAssetLoader</tt> to load custom maps too. When you load an unpacked <tt>.tbin</tt> map file, and an unpacked tilesheet is present in the mod folder (relative to the map file), SMAPI will automatically link the map to that file and handle loading it too. If the tilesheet name starts with a season and underscore, SMAPI patches the game's seasonal logic to seasonalise it too.
 
You can use <tt>IAssetLoader</tt> to load custom maps too. When you load an unpacked <tt>.tbin</tt> map file, and an unpacked tilesheet is present in the mod folder (relative to the map file), SMAPI will automatically link the map to that file and handle loading it too. If the tilesheet name starts with a season and underscore, SMAPI patches the game's seasonal logic to seasonalise it too.
  
translators
8,404

edits