Changes

→‎Basic info: update for 1.6 build 24015 (added CanPlantHere)
Line 115: Line 115:  
| <samp>DefaultArrivalTile</samp>
 
| <samp>DefaultArrivalTile</samp>
 
| ''(Optional but strongly recommended)'' The default tile position where the player should be placed when they arrive in the location, if arriving from a warp that didn't specify a tile position. Default none, which usually places the player at (0, 0).
 
| ''(Optional but strongly recommended)'' The default tile position where the player should be placed when they arrive in the location, if arriving from a warp that didn't specify a tile position. Default none, which usually places the player at (0, 0).
|-
  −
| <samp>ExcludeFromNpcPathfinding</samp>
  −
| ''(Optional)'' Whether NPCs should ignore this location when pathfinding between locations. Default false.
   
|-
 
|-
 
| <samp>CreateOnLoad</samp>
 
| <samp>CreateOnLoad</samp>
Line 138: Line 135:  
| ''(Optional)'' The full name of the C# location class to create. This must be one of the vanilla types to avoid a crash when saving. There are too many to list here, but the most useful types are likely <samp>StardewValley.GameLocation</samp> (default value) and <samp>StardewValley.Locations.DecoratableLocation</samp>.
 
| ''(Optional)'' The full name of the C# location class to create. This must be one of the vanilla types to avoid a crash when saving. There are too many to list here, but the most useful types are likely <samp>StardewValley.GameLocation</samp> (default value) and <samp>StardewValley.Locations.DecoratableLocation</samp>.
 
|}
 
|}
 +
|-
 +
| <samp>CanPlantHere</samp>
 +
| ''(Optional)'' Whether crops and trees can be planted and grown here by default, unless overridden by their plantable rules. Default false.
 +
|-
 +
| <samp>ExcludeFromNpcPathfinding</samp>
 +
| ''(Optional)'' Whether NPCs should ignore this location when pathfinding between locations. Default false.
 
|}
 
|}
  
translators
8,404

edits