Changes

Jump to navigation Jump to search
105 bytes added ,  18:27, 15 September 2019
m
→‎Send a letter: - trying to be as clear and concise as possible to avoid confusion.
Line 399: Line 399:  
</source>
 
</source>
   −
The first method (Game1.player.mailbox.Add) adds the letter directly into the mailbox for the current day.  This is best accomplished in your "DayStaring" event code.  Mail added directly to the mailbox is not "remembered" as being sent even after a save.  This is useful in some scenarios depending on your need.
+
The first method (Game1.player.mailbox.Add) adds the letter directly into the mailbox for the current day.  This can be accomplished in your "DayStaring" event code, for example.  Mail added directly to the mailbox is not "remembered" as being sent even after a save.  This is useful in some scenarios depending on your need.
   −
The second method (Game1.addMailForTomorrow) will, as the name implies, add the letter to the player's mailbox on the next day.  This method remembers the mail (Id) sent making it possible not to send the same letter over and over.
+
The second method (Game1.addMailForTomorrow) will, as the name implies, add the letter to the player's mailbox on the next day.  This method remembers the mail (Id) sent making it possible not to send the same letter over and over.  This can be handled in "DayStaring", "DayEnding" or other events, as dictated by your need.
    
You may be able to put the letter directly into the mailbox and also have it be remembered using the next collection (mailRecieved) to be covered, but I have not confirmed that so I don't want to lead you astray.  Presumption is you have to add your mail manually if you want it to be remembered when using the add directly to mailbox method.
 
You may be able to put the letter directly into the mailbox and also have it be remembered using the next collection (mailRecieved) to be covered, but I have not confirmed that so I don't want to lead you astray.  Presumption is you have to add your mail manually if you want it to be remembered when using the add directly to mailbox method.
49

edits

Navigation menu