From: Edward J Glamkowski (
Date: 05/03/02

I'd like to propose a small little change to stock in the do_weather
command:  if an immort does the weather command, it should display
the pressure, change and sky.

I added in the zone-by-zone weather, but mine looks like:

first, in utils.h, right after IN_ROOM macro:
#define IN_ZONE(ch)  (world[IN_ROOM((ch))].zone)

the act.informative.c:
  if (OUTSIDE(ch))
    send_to_char(ch, "The sky is %s and %s.\r\n",
                 (zone_table[IN_ZONE(ch)].change >= 0 ?
                  "you feel a warm wind from south" :
                  "your foot tells you bad weather is due"));

    if (GET_LEVEL(ch) >= LVL_GOD)
      send_to_char(ch, "Pressure: %d (change: %d), Sky: %d (%s)\r\n",
  } else
    send_to_char(ch, "You have no feeling about the weather at all.\r\n");

Very handy if you are toying with weather control spells or just
with the weather in general.

Is your boss reading your email? ....Probably
Keep your messages private by using Lycos Mail.
Sign up today at

   | FAQ: |
   | Archives: |
   | Newbie List:   |

This archive was generated by hypermail 2b30 : 06/25/03 PDT