A New Breed of MUSH Server

Configuring the Weather System

  • [config]

To configure the Weather plugin:

  1. Select Admin -> Setup.
  2. Edit weather.yml

How Weather Works

Ares has a fairly simplistic weather system. You can define climates with different weather patterns available by season. Each weather pattern consists of a temperature and a condition.

The temperature and condition combine to a weather report like: “It is a hot spring morning. The skies are clear.”

Here’s what a sample climate might look like.

        temperature: hot hot hot hot hot warm warm warm cool cool
        condition:  clear clear clear fair fair fair drizzling drizzling overcast raining
        stability: 70
        temperature: cool cool cool cool cool warm warm warm warm warm
        condition:  clear clear clear fair fair fair drizzling drizzling overcast raining
        stability: 70

Every time the weather cron job runs, there’s a chance the weather will change. That chance is determined by the stability of the weather. If the stability is 70, that means there’s a 30% chance of the weather changing. In other words, the weather will shift roughly once every 8 hours.

When the weather does change, the system will select a random temperature and condition from the seasonal list. By default, there are 10 entries in the list, meaning each entry has a 10% chance of occurring. You can make some entries more likely than others by repeating them multiple times. In the spring example above, there’s a 30% chance of clear skies, 30% chance of fair weather, 20% chance of drizzling, 10% overcast, 10% raining.

Seasons follow the RL northern hemisphere dates based on the IC time. In other words, January would be winter and July summer. If you want to make this more sophisticated (like accounting for different seasons on different planets, or months like November which are half winter and half fall), you’ll have to change the code.

climate_for_area and default_climate

The weather system lets you configure a climate for each room area. You can use ‘none’ to disable the weather system for an area.

If the climate for an area is not specified, the weather system will look at the area’s parent, and it’s parent’s parent, and so on until it finds a climate. If all else fails, it will use the default_climate.

For example, the following config will use the polar climate for the North area and disable weather in the offstage area. Any other areas will use the temperate climate.

    Offstage: none
    North: polar
default_climate: temperate

To disable weather completely, you can just make the default_climate ‘none’.

temperatures and conditions

The ‘temperatures’ and ‘conditions’ lists control what temperatures and weather conditions are available for your use in weather patterns.

If you add new ones, you may want to add them to the weather descriptions config, described below.


The descriptions configuration can override the default (lame) weather descriptions.

The condition description is simply the current condition:

clear: The skies are clear.
misty: There's a mist in the air.

The temperature description is a combination of the actual temperature, the season, and the time of day (morning, day, evening, night):

hot_spring_morning: It is a hot spring morning.
warm_summer_day: It is a warm summer day.


The game will periodically change the weather. There is a cron job to control when this happens. By default it does this every hour. See the Cron Job Tutorial for help if you want to change this or turn it off.