Skip to content

WeatherLetterExtensions

juanosarg edited this page Jun 4, 2026 · 2 revisions

<- Back

WeatherLetterExtensions allows a weather to send a letter when starting.

      public LetterDef letterDef;
      public string letterTitle;
      public string letterText;

How do I use this code?

Add it to the <modExtensions> tag of your WeatherDef. Here is an example of use:

<li Class="VEF.Weathers.WeatherLetterExtensions">
  <letterDef>NeutralEvent</letterDef>
  <letterTitle>Hail</letterTitle>
  <letterText>Pellets of frozen rain fall from cumulonimbus clouds. Any person or creature not under the
 roof risks getting injured by them.</letterText>
</li>

Clone this wiki locally