Changes

Jump to navigation Jump to search
→‎Game loop: fix links
Line 390: Line 390:  
  |group = GameLoop
 
  |group = GameLoop
 
  |name  = SaveCreating, SaveCreated
 
  |name  = SaveCreating, SaveCreated
  |desc  = Raised before/after the game creates the save file (after the new-game intro). The save won't be written until all mods have finished handling this event. This is a somewhat specialised event, since the world isn't fully initialised at this point; in most cases you should use [[#DayStarted|<tt>DayStarted</tt>]], [[#Saving|<tt>Saving</tt>]], [[#Saved|<tt>Saved</tt>]] instead.
+
  |desc  = Raised before/after the game creates the save file (after the new-game intro). The save won't be written until all mods have finished handling this event. This is a somewhat specialised event, since the world isn't fully initialised at this point; in most cases you should use [[#GameLoop.DayStarted|<tt>DayStarted</tt>]], [[#GameLoop.Saving|<tt>Saving</tt>]], [[#GameLoop.Saved|<tt>Saved</tt>]] instead.
 
}}
 
}}
 
{{/event
 
{{/event
 
  |group = GameLoop
 
  |group = GameLoop
 
  |name = Saving, Saved
 
  |name = Saving, Saved
  |desc = Raised before/after the game writes data to save file (except [[#SaveCreating|the initial save creation]]). The save won't be written until all mods have finished handling this event.
+
  |desc = Raised before/after the game writes data to save file (except [[#GameLoop.SaveCreating|the initial save creation]]). The save won't be written until all mods have finished handling this event.
 
}}
 
}}
 
{{/event
 
{{/event
 
  |group = GameLoop
 
  |group = GameLoop
 
  |name  = SaveLoaded
 
  |name  = SaveLoaded
  |desc  = Raised before/after the game reads data from a save file and initialises the world. This event isn't raised after saving; if you want to do something at the start of each day, see [[#DayStarted|<tt>DayStarted</tt>]] instead.
+
  |desc  = Raised before/after the game reads data from a save file and initialises the world. This event isn't raised after saving; if you want to do something at the start of each day, see [[#GameLoop.DayStarted|<tt>DayStarted</tt>]] instead.
 
}}
 
}}
 
{{/event
 
{{/event
 
  |group = GameLoop
 
  |group = GameLoop
 
  |name  = DayStarted
 
  |name  = DayStarted
  |desc  = Raised after a new in-game day starts. Everything has already been initialised at this point. (To run code before the game sets up the day, see [[#DayEnding|<tt>DayEnding</tt>]] instead.)
+
  |desc  = Raised after a new in-game day starts. Everything has already been initialised at this point. (To run code before the game sets up the day, see [[#GameLoop.DayEnding|<tt>DayEnding</tt>]] instead.)
 
}}
 
}}
 
{{/event
 
{{/event
 
  |group = GameLoop
 
  |group = GameLoop
 
  |name  = DayEnding
 
  |name  = DayEnding
  |desc  = Raised before the game ends the current day. This happens before it starts setting up the next day and before [[#Saving|<tt>Saving</tt>]].
+
  |desc  = Raised before the game ends the current day. This happens before it starts setting up the next day and before [[#GameLoop.Saving|<tt>Saving</tt>]].
 
}}
 
}}
 
{{/event
 
{{/event
translators
8,403

edits

Navigation menu