I managed to catch Thotter, when he peeked out of his hole, and forced him to code the DG_scripts part of seasons and Moon Phases. So all Builders will now be able to work with these variables in their zones and quests, which could add some extra spice to them.
For example Werewolvs can now turn at the appropriate time, and stay in the wolf shape as long as the full moon lasts, fruits can ripe on trees in autumn, birds can lay eggs in spring and fledlings can hatch in summer. And magic herbs for potions can be collected when the moon is in the waning crescent phase, for better effect.
Below is some code info about how ro use the new feature:
To get the current season, do %time.season%.
The seasons are:
winter (month 0-3), spring (month 4-7), summer (month 8-12) and autumn (month 13-16).
Note that the total amount of months is 17, and that summer has 5 months.
All other seasons have 4 months.
To get the current moon phase, do %time.moon%.
The moon phases are:
"full", "waning gibbous", "last quarter", "waning crescent", "new", "waxing crescent", "first quarter" and "waxing gibbous".
For example, if something in a script should only happen if the moon is waning gibbous, do
if %time.moon% == waning gibbous
%echo% leprechauns take over the world
end
Keep in mind that %time.moon% will return the current moon phase even if it's daytime.
This should be implemented fully now. (See the post in the scripting board). It has not yet been tested in praxis though, but I am about to do that soon.