http://www.terrariaonline.com/threads/1-2-ingame-cheat-menu.109988/page-42#post-3009636 (couldn't set Main.dayTime to a float because it's an int)