[Turn on line numbering]
arg cmdstr, cmd, this;
var out, x, i, hdr;
if (definer() == this())
return "The base climate object does not define anything--refer to its children.";
hdr = [];
for x in [1 .. listlen(seasons)] {
i = seasons[x] + " (" + daylengths[x] + ")";
hdr += [[i, pad("", strlen(i), "-")]];
}
return map i in (weathers) to ([i[1].name(), @i[2]]).transpose().tabulate([["Weather type", "------------"]] + hdr) + ["---"];
["// Miroslav Silovic ", "// Created 12-Aug-1996 as a part of ColdCore, see: @help Credit"]