Calculate lunar phases in GDScript (Godot 2.1.x). Based on a Python example at https://www.daniweb.com/programming/software-development/code/216727/moon-phase-calculator
Example output: Moon phase on 4 Sep 2019 is in its first quarter (increasing to full), light = 41%