Changes

Jump to navigation Jump to search
→‎Other location/map changes: update for build 23256 (added map/tile property extensions)
Line 3,651: Line 3,651:  
</li>
 
</li>
 
</ul>
 
</ul>
 +
* Added map/tile property <samp>TryAdd</samp>/<samp>TryGetValue</samp> extensions in <samp>StardewValley.Extensions</samp> for string property values. For example, this lets you do <samp>map.Properties.TryGetValue(key, out string value)</samp>.
 
* <samp>MineShaft.tryToAddMonster</samp> now returns whether a monster was added.
 
* <samp>MineShaft.tryToAddMonster</samp> now returns whether a monster was added.
 
* <samp>Game1.GetNumberBuildingsConstructed</samp> and <samp>location.getNumberBuildingsConstructed</samp> now have overloads to count all building types and/or specify whether to count under-construction buildings.
 
* <samp>Game1.GetNumberBuildingsConstructed</samp> and <samp>location.getNumberBuildingsConstructed</samp> now have overloads to count all building types and/or specify whether to count under-construction buildings.
translators
8,446

edits

Navigation menu