Core Help Root: Objects: Weather System: Climate
Instances of the climate object are used to define general weather patterns for an area. The following information is stored on each climate object:
- A list of season names.
- A list of daylengths assigned to each season. Daylength is given as an offset, meaning that with +2, you have an early sunrise and late sunset. This number is interpreted by $world_time.
- A list of weathers, each with probabilities for every season. Probabilities are not percentages, instead, only their ratios really matter.
Climate commands
- @setup <this> seasons <any> daylengths <any>
- Erases all the data on a climate object, sets a new season list and daylength lists. Both arguments are list of items separated by space; they must be of the same length.
- @list-climate <this>
- Shows the information on climate.
- @add-weather <this> type <descendant of $weather> prob?abilities <any>
- Adds a weather object to $climate; the object must be already built. Probabilities is a ' '-separated list of integers, one element for each season.
- @del-weather <this> type <descendant of $weather>
- Removes weather from the climate.
No climate patterns should ever be defined on the base $climate object.
Climate | Weather | Attributes
the Cold Dark