131 lines
2.2 KiB
Plaintext
131 lines
2.2 KiB
Plaintext
void main()
|
|
{
|
|
if(GetTimeHour() == 1)
|
|
{
|
|
SpeakString("Sundial can't show time when it's dark!");
|
|
}
|
|
|
|
|
|
if(GetTimeHour() == 2)
|
|
{
|
|
SpeakString("Sundial can't show time when it's dark!");
|
|
}
|
|
|
|
|
|
if(GetTimeHour() == 3)
|
|
{
|
|
SpeakString("Sundial can't show time when it's dark!");
|
|
}
|
|
|
|
|
|
if(GetTimeHour() == 4)
|
|
{
|
|
SpeakString("Sundial can't show time when it's dark!");
|
|
}
|
|
|
|
|
|
if(GetTimeHour() == 5)
|
|
{
|
|
SpeakString("Sundial can't show time when it's dark!");
|
|
}
|
|
|
|
|
|
if(GetTimeHour() == 6)
|
|
{
|
|
SpeakString("Sundial shows that clock is 6 am");
|
|
}
|
|
|
|
if(GetTimeHour() == 7)
|
|
{
|
|
SpeakString("Sundial shows that clock is 7 am");
|
|
}
|
|
|
|
if(GetTimeHour() == 8)
|
|
{
|
|
SpeakString("Sundial shows that clock is 8 am");
|
|
}
|
|
|
|
if(GetTimeHour() == 9)
|
|
{
|
|
SpeakString("Sundial shows that clock is 9 am");
|
|
}
|
|
|
|
if(GetTimeHour() == 10)
|
|
{
|
|
SpeakString("Sundial shows that clock is 10 am");
|
|
}
|
|
|
|
if(GetTimeHour() == 11)
|
|
{
|
|
SpeakString("Sundial shows that clock is 11 am");
|
|
}
|
|
|
|
if(GetTimeHour() == 12)
|
|
{
|
|
SpeakString("Sundial shows that clock is 12 am");
|
|
}
|
|
|
|
if(GetTimeHour() == 13)
|
|
{
|
|
SpeakString("Sundial shows that clock is 1 pm");
|
|
}
|
|
|
|
if(GetTimeHour() == 14)
|
|
{
|
|
SpeakString("Sundial shows that clock is 2 pm");
|
|
}
|
|
|
|
if(GetTimeHour() == 15)
|
|
{
|
|
SpeakString("Sundial shows that clock is 3 pm");
|
|
}
|
|
|
|
if(GetTimeHour() == 16)
|
|
{
|
|
SpeakString("Sundial shows that clock is 4 pm");
|
|
}
|
|
|
|
if(GetTimeHour() == 17)
|
|
{
|
|
SpeakString("Sundial shows that clock is 5 pm");
|
|
}
|
|
|
|
if(GetTimeHour() == 18)
|
|
{
|
|
SpeakString("Sundial shows that clock is 6 pm");
|
|
}
|
|
|
|
if(GetTimeHour() == 19)
|
|
{
|
|
SpeakString("Sundial shows that clock is 7 pm");
|
|
}
|
|
|
|
if(GetTimeHour() == 20)
|
|
{
|
|
SpeakString("Sundial shows that clock is 8 pm");
|
|
}
|
|
|
|
if(GetTimeHour() == 21)
|
|
{
|
|
SpeakString("Sundial can't show time when it's dark!");
|
|
}
|
|
|
|
|
|
if(GetTimeHour() == 22)
|
|
{
|
|
SpeakString("Sundial can't show time when it's dark!");
|
|
}
|
|
|
|
|
|
if(GetTimeHour() == 23)
|
|
{
|
|
SpeakString("Sundial can't show time when it's dark!");
|
|
}
|
|
|
|
|
|
if(GetTimeHour() == 0)
|
|
{
|
|
SpeakString("Sundial can't show time when it's dark!");
|
|
}
|
|
}
|