diff --git a/Aardwolf_Clock/.gitattributes b/Aardwolf_Clock/.gitattributes new file mode 100644 index 0000000..bdb0cab --- /dev/null +++ b/Aardwolf_Clock/.gitattributes @@ -0,0 +1,17 @@ +# Auto detect text files and perform LF normalization +* text=auto + +# Custom for Visual Studio +*.cs diff=csharp + +# Standard to msysgit +*.doc diff=astextplain +*.DOC diff=astextplain +*.docx diff=astextplain +*.DOCX diff=astextplain +*.dot diff=astextplain +*.DOT diff=astextplain +*.pdf diff=astextplain +*.PDF diff=astextplain +*.rtf diff=astextplain +*.RTF diff=astextplain diff --git a/Aardwolf_Clock/.gitignore b/Aardwolf_Clock/.gitignore new file mode 100644 index 0000000..96374c4 --- /dev/null +++ b/Aardwolf_Clock/.gitignore @@ -0,0 +1,43 @@ +# Windows image file caches +Thumbs.db +ehthumbs.db + +# Folder config file +Desktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msm +*.msp + +# Windows shortcuts +*.lnk + +# ========================= +# Operating System Files +# ========================= + +# OSX +# ========================= + +.DS_Store +.AppleDouble +.LSOverride + +# Thumbnails +._* + +# Files that might appear on external disk +.Spotlight-V100 +.Trashes + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk diff --git a/Aardwolf_Clock/Aardwolf_Clock.xml b/Aardwolf_Clock/Aardwolf_Clock.xml new file mode 100644 index 0000000..0c941e6 --- /dev/null +++ b/Aardwolf_Clock/Aardwolf_Clock.xml @@ -0,0 +1,239 @@ + + + + + + + + + + + + + + + + + + + + + imagecount = 1 + clock_current = {Season = "%4", day = tonumber("%3"), order = clock_seasons["%4"][4]} + local sunrise, sunset = clock_seasons[clock_current.Season][2], clock_seasons[clock_current.Season][3] +if "%1" == "Noon" then +winimg = "im12" +imgcount = 12 +bgcolour = bgday +elseif "%1" == "Midnight" then +winimg = "im12" +imgcount = 24 +bgcolour = bgnight +else +winimg = "im%1" +if "%2" == "a" then +imgcount = tonumber("%1") +else +imgcount = tonumber("%1") + 12 +end +if imgcount >= sunrise and imgcount < sunset then +bgcolour = bgday +elseif imgcount >= sunset or imgcount < sunrise then +bgcolour = bgnight +end +end +update_image(winimg) + + + + + + + tprint(clock_current) + tprint(clock_seasons[clock_current.Season]) + + + + + + + + + diff --git a/Aardwolf_Clock/MUSH_Clocks.zip b/Aardwolf_Clock/MUSH_Clocks.zip new file mode 100644 index 0000000..54eb77c Binary files /dev/null and b/Aardwolf_Clock/MUSH_Clocks.zip differ