Changes

m
Text replacement - "i.e. " to "''i.e.,'' "
Line 312: Line 312:  
===Inject static content===
 
===Inject static content===
   −
Most times a static, predefined letter will suffice, whether you are including an attachment (i.e. object, money, etc.) or not.  "Static" simply means you do not need to change the text once it is typed before sending the letter.  A "static" letter will always be available in the game (unless you remove it from the mod or the mod is removed by the player) so that means the letter is still available if the player quits with your letter still in the mailbox and then returns to play later.  This can be an issue with "dynamic" letters, as explained in more detail in that section, so use "static" content whenever possible.
+
Most times a static, predefined letter will suffice, whether you are including an attachment (''i.e.,'' object, money, etc.) or not.  "Static" simply means you do not need to change the text once it is typed before sending the letter.  A "static" letter will always be available in the game (unless you remove it from the mod or the mod is removed by the player) so that means the letter is still available if the player quits with your letter still in the mailbox and then returns to play later.  This can be an issue with "dynamic" letters, as explained in more detail in that section, so use "static" content whenever possible.
    
You can softly reference the player's name, using "@", but other replace codes that may work in dialog texts, like %pet or %farm, do not work in static mail content at this time.  However, you can make use of some special characters that display an icon in the letter, such as "=", which will display a purple star, "<", which will display a pink heart, the "$", which will be replaced with a gold coin, the ">", which will display a right arrow, the "`", which will display an up arrow, and the "+", which will display a head riding a skateboard (maybe?).  There may be additional special cases as well that are not yet documented.
 
You can softly reference the player's name, using "@", but other replace codes that may work in dialog texts, like %pet or %farm, do not work in static mail content at this time.  However, you can make use of some special characters that display an icon in the letter, such as "=", which will display a purple star, "<", which will display a pink heart, the "$", which will be replaced with a gold coin, the ">", which will display a right arrow, the "`", which will display an up arrow, and the "+", which will display a head riding a skateboard (maybe?).  There may be additional special cases as well that are not yet documented.
Line 339: Line 339:     
             // "MyModMail1" is referred to as the mail Id.  It is how you will uniquely identify and reference your mail.
 
             // "MyModMail1" is referred to as the mail Id.  It is how you will uniquely identify and reference your mail.
             // The @ will be replaced with the player's name.  Other items do not seem to work (i.e. %pet or %farm)
+
             // The @ will be replaced with the player's name.  Other items do not seem to work (''i.e.,'' %pet or %farm)
 
             // %item object 388 50 %%  - this adds 50 pieces of wood when added to the end of a letter.
 
             // %item object 388 50 %%  - this adds 50 pieces of wood when added to the end of a letter.
 
             // %item money 250 601  %%  - this sends a random amount of gold from 250 to 601 inclusive.
 
             // %item money 250 601  %%  - this sends a random amount of gold from 250 to 601 inclusive.
105,853

edits