Your browser lacks required capabilities. Please upgrade it or switch to another to continue.
Loading…
<<button "+1 hour" Start>><<set $hour++>><</button>>
<<button "+4 hour" Start>><<set $hour to $hour + 4>><</button>>
<<button "+8 hour" Start>><<set $hour to $hour + 8>><</button>>
<<button "+12 hour" Start>><<set $hour to $hour + 12>><</button>>
<<button "+1 day" Start>><<set $day++>><<set $MonthDays++>><</button>>
<<button "+7 day" Start>><<set $day to $day + 7>><<set $MonthDays to $MonthDays+7>><</button>>
<<button "+14 day" Start>><<set $day to $day + 14>><<set $MonthDays to $MonthDays+14>><</button>>
<<button "+1 month" Start>><<set $month++>><</button>><<nobr>><<set $minute to State.turns % 60>>
<<if $minute >= 59>><<set $hour++>><</if>>
<<if $hour >= 24>><<set $hour to 0>><<set $day++>><<set $MonthDays++>><</if>>
<<switch $month>>
<<case 0 2 4 6 7 9 11>>
/*31 day in month*/
<<if $MonthDays is 31>><<set $MonthDays to 0>><<set $month++>><</if>>
<<case 3 5 8 10>>
/*30 day in month*/
<<if $MonthDays is 30>><<set $MonthDays to 0>><<set $month++>><</if>>
<<case 1>>
/*28 day in month*/
<<if $MonthDays is 28>><<set $MonthDays to 0>><<set $month++>><</if>>
<<default>>
default error
<</switch>>
<<include seasons>>
<</nobr>>
----
Now <<print setup.MDAYS[$MonthDays % 31]>>th of <<print setup.MONTHS[$month % 12]>>
Today is <<print setup.DAYS[$day % 7]>>
Time is $hour:$minute.
<<nobr>>
<<if $hour > 4 and $hour <= 6>>It is sunrise.<</if>>
<<if $hour > 6 and $hour <= 8>>It is morning.<</if>>
<<if $hour > 8 and $hour <= 12>>It is mid-morning.<</if>>
<<if $hour > 12 and $hour <= 16>>It is afternoon.<</if>>
<<if $hour > 16 and $hour <= 21>>It is evening.<</if>>
<<if $hour > 21 >>It is night.<</if>>
<<if $hour <= 4>>It is night.<</if>>
<</nobr>>
<<include outsideThings>>
----<<set $minute to 0>>
<<set $hour to 0>>
<<set setup.DAYS to ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]>>
<<set setup.MDAYS to ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31"]>>
<<set setup.MONTHS to ["January", "Febrary", "March", "April", "May", "Juny", "July", "August", "September", "Oktober", "November", "December"]>>
<<set $day to 1>>
<<set $MonthDays to 0>>
<<set $month to 0>><<nobr>>
<<switch $month>>
<<case 2 3 4>>
/*spring*/
It's shiny and warm weather
<<case 5 6 7>>
/*summer*/
It's very hot weather
<<case 8 9 10>>
/*autum*/
It's lil' beat cold and rainy weather
<<case 0 1 11>>
/*winter*/
It's cold and snowy weather
<<default>>
default error <</switch>>
<</nobr>><<nobr>>
<<if $hour > 4 and $hour <= 6>>People just wake up.<</if>>
<<if $hour > 6 and $hour <= 8>>You see some people, they going to the job.<</if>>
<<if $hour > 8 and $hour <= 12>>More and more people on the streets.<</if>>
<<if $hour > 12 and $hour <= 16>>Mans, womens, kids. How much people living there?!<</if>>
<<if $hour > 16 and $hour <= 21>>People close they shop, and go home.<</if>>
<<if $hour > 21 >>What are you doing there? May be you need go to sleep? Streets is dangerous place at the night.<</if>>
<<if $hour <= 4>>What are you doing there? May be you need go to sleep? Streets is dangerous place at the night.<</if>>
<</nobr>>