Well I have only gone and published my first Lua script on the storefront.
This is a really useful day and night cycle script.
Attach it to any non-static object in your game for it to run - nothing else required!
The script will change the lighting within your live world in accordance with the game time of day.
(note - does not adjust the skybox or sky lighting at present)
Also displays the game time in 24hr clock format
and displays the game date, month and year
most functions are customizable -(details are in the notes in the script)
Change the passage of game time to real time or speed it up to any value you wish.
Built in auto game save feature which saves all the script variables to a file - currently set for every game hour but can be set to every game minute, day. month or year. This means you can exit game and reload it back to the same time that you exited - you can include many other variables to this script to save with the file.
Customizable Hud which incorporates the existing Hud.