Comment on page
The Sun advances Beanstalk to the next Season through the
sunrisefunction in the Season Facet. Every time an hour passes,
sunrisecan be called 1 more time.
sunrisedoes the following steps:
- 1.Increments the Season number;
Weatherto adjust the Max Temperature and checks for Rain and Season of Plenty;
Sunto set the Soil and mint Beans if
deltaB > 0; and
msg.senderBeans for paying the transaction fee associated with calling the function.