- 143
- Posts
- 11
- Years
- Seen Jun 11, 2021
So I'm looking at the code for pbIsSeason, and I'm trying to adjust it, but I'm not sure how to do so.
Basically, I want to change this to where Spring identifies March, April, and May, Summer identifies June, July, and August, Fall identifies September, October, and November, and lastly Winter identifies December, January, and February.
Code:
def pbIsSpring; return pbIsSeason(0,0); end # Jan, May, Sep
def pbIsSummer; return pbIsSeason(0,1); end # Feb, Jun, Oct
def pbIsAutumn; return pbIsSeason(0,2); end # Mar, Jul, Nov
def pbIsFall; return pbIsAutumn; end
def pbIsWinter; return pbIsSeason(0,3); end # Apr, Aug, Dec