From bca78cd682c0d583913811f632815db142fbde8b Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 15 May 2017 22:51:49 -0400 Subject: add Context.IsWorldReady flag --- release-notes.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'release-notes.md') diff --git a/release-notes.md b/release-notes.md index d9d6a12a..507fb1af 100644 --- a/release-notes.md +++ b/release-notes.md @@ -22,6 +22,8 @@ For players: * Updated mod compatibility list for Stardew Valley 1.2. For mod developers: +* Added a `Context.IsWorldReady` flag. + _This is set to `true` when the player has loaded a save and the world is finished initialising. This is set at the same point that `SaveEvents.AfterLoad` and `TimeEvents.AfterDayStarted` are raised, and is mainly useful with events which can be raised before the world is loaded._ * Added log entries for basic context changes (e.g. loaded save) to simplify troubleshooting. * Added a `debug` console command to TrainerMod which lets you pass debug commands to the game (e.g. `debug warp FarmHouse 1 1` warps the player to the farmhouse). * Added a deprecation warning for mods that don't set the `UniqueID` manifest field, which will be required in SMAPI 2.0. -- cgit