Skip to content

Instantly share code, notes, and snippets.

@Samu-kun
Created December 29, 2014 20:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Samu-kun/fbe55ccb4641ed9ec756 to your computer and use it in GitHub Desktop.
Save Samu-kun/fbe55ccb4641ed9ec756 to your computer and use it in GitHub Desktop.
screen calendar:
zorder 200
drag:
drag_name "drag_calendar"
drag_handle (0,0,1.0,1.0)
xalign 0.5 yalign 0.5
imagemap:
ground "UI/calendar_base.png"
hover "UI/calendar_hover.png"
selected_idle "UI/calendar_active.png"
selected_hover "UI/calendar_active.png"
hotspot (723, 105, 330, 64):
action (Hide('calendar'),SetVariable("show_events",False))
hover_sound "Sounds/hover1.ogg"
activate_sound "Sounds/button1.ogg"
hbox:
xpos 34 ypos 139
imagebutton:
idle "UI/cal_m1_base.png"
hover "UI/cal_m1_hover.png"
selected_idle "UI/cal_m1_select.png"
action SetVariable("disp_month",1)
xpadding 2
hover_sound "Sounds/hover1.ogg"
activate_sound "Sounds/button1.ogg"
imagebutton:
idle "UI/cal_m2_base.png"
hover "UI/cal_m2_hover.png"
selected_idle "UI/cal_m2_select.png"
action SetVariable("disp_month",2)
xpadding 2
hover_sound "Sounds/hover1.ogg"
activate_sound "Sounds/button1.ogg"
imagebutton:
idle "UI/cal_m3_base.png"
hover "UI/cal_m3_hover.png"
selected_idle "UI/cal_m3_select.png"
action SetVariable("disp_month",3)
xpadding 2
hover_sound "Sounds/hover1.ogg"
activate_sound "Sounds/button1.ogg"
imagebutton:
idle "UI/cal_m4_base.png"
hover "UI/cal_m4_hover.png"
selected_idle "UI/cal_m4_select.png"
action SetVariable("disp_month",4)
xpadding 2
hover_sound "Sounds/hover1.ogg"
activate_sound "Sounds/button1.ogg"
imagebutton:
idle "UI/cal_m5_base.png"
hover "UI/cal_m5_hover.png"
selected_idle "UI/cal_m5_select.png"
action SetVariable("disp_month",5)
xpadding 2
hover_sound "Sounds/hover1.ogg"
activate_sound "Sounds/button1.ogg"
imagebutton:
idle "UI/cal_m6_base.png"
hover "UI/cal_m6_hover.png"
selected_idle "UI/cal_m6_select.png"
action SetVariable("disp_month",6)
xpadding 2
hover_sound "Sounds/hover1.ogg"
activate_sound "Sounds/button1.ogg"
imagebutton:
idle "UI/cal_m7_base.png"
hover "UI/cal_m7_hover.png"
selected_idle "UI/cal_m7_select.png"
action SetVariable("disp_month",7)
xpadding 2
hover_sound "Sounds/hover1.ogg"
activate_sound "Sounds/button1.ogg"
imagebutton:
idle "UI/cal_m8_base.png"
hover "UI/cal_m8_hover.png"
selected_idle "UI/cal_m8_select.png"
action SetVariable("disp_month",8)
xpadding 2
hover_sound "Sounds/hover1.ogg"
activate_sound "Sounds/button1.ogg"
imagebutton:
idle "UI/cal_m9_base.png"
hover "UI/cal_m9_hover.png"
selected_idle "UI/cal_m9_select.png"
action SetVariable("disp_month",9)
xpadding 2
hover_sound "Sounds/hover1.ogg"
activate_sound "Sounds/button1.ogg"
imagebutton:
idle "UI/cal_m0_base.png"
hover "UI/cal_m0_hover.png"
selected_idle "UI/cal_m0_select.png"
action SetVariable("disp_month",10)
xpadding 2
hover_sound "Sounds/hover1.ogg"
activate_sound "Sounds/button1.ogg"
add "UI/cal_currentmonth.png":
xpos (65*month)-29 ypos 139
vbox:
xpos 104 ypos 277
xmaximum 500 ymaximum 281
if (week >= 2 and disp_month <= month) or disp_month < month:
hbox:
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
if (week >= 3 and disp_month <= month) or disp_month < month:
hbox:
ypos 34
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
if (week >= 4 and disp_month <= month) or disp_month < month:
hbox:
ypos 68
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
if (week == 5 and disp_month <= month) or disp_month < month:
hbox:
ypos 100
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
if disp_month < month:
hbox:
ypos 133
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
text " x " color "#841a1a" size 23 kerning 10.1
hbox:
ypos (33*week)-33
if disp_month == month:
if day >= 2 or day == 0:
text " x " color "#841a1a" size 23 kerning 10.1
if day >= 3 or day == 0:
text " x " color "#841a1a" size 23 kerning 10.1
if day >= 4 or day == 0:
text " x " color "#841a1a" size 23 kerning 10.1
if day >= 5 or day == 0:
text " x " color "#841a1a" size 23 kerning 10.1
if day >= 6 or day == 0:
text " x " color "#841a1a" size 23 kerning 10.1
if day >= 7 or day == 0:
text " x " color "#841a1a" size 23 kerning 10.1
if day >= 8 or day == 0:
text " x " color "#841a1a" size 23 kerning 10.1
if day == 9 or day == 0:
text " x " color "#841a1a" size 23 kerning 10.1
if day == 0:
text " x " color "#841a1a" size 23 kerning 10.1
if disp_month == month:
text " O "color "#30942e" size 23 kerning 10.1 outlines [ (2, "#282828", 0, 0) ] xpos -4
###########################################################################################SET
if disp_month == 1:
$ cal_item1 = "1. {b}M1|W1|D1{/b}: First day of school"
$ cal_item2 = "2. {b}M1|W2|D1{/b}: Club recruitment festival"
$ cal_item3 = "3. {b}M1|W3|D9{/b}: Kendo Tournament"
$ cal_item4 = "4. {b}M1|W4|D4{/b}: HOLIDAY: Winter Festival"
$ cal_item5 = "5. {b}M1|W4|D0{/b}: Swim Meet"
$ cal_item6 = "6. {b}M1|W5|D8{/b}: Exam"
$ cal_item7 = " "
$ cal_item8 = " "
$ cal_item9 = " "
$ cal_item10 = " "
$ cal_item11 = " "
$ cal_item12 = " "
$ cal_item1_x = 144
$ cal_item1_y = 272
$ cal_item2_x = 144
$ cal_item2_y = 332
$ cal_item3_x = 617
$ cal_item3_y = 390
$ cal_item4_x = 321
$ cal_item4_y = 448
$ cal_item5_x = 676
$ cal_item5_y = 449
$ cal_item6_x = 555
$ cal_item6_y = 508
$ cal_item7_x = 0
$ cal_item7_y = 0
$ cal_item8_x = 0
$ cal_item8_y = 0
$ cal_item9_x = 0
$ cal_item9_y = 0
$ cal_item10_x = 0
$ cal_item10_y = 0
$ cal_item11_x = 0
$ cal_item11_y = 0
$ cal_item12_x = 0
$ cal_item12_y = 0
if disp_month == 2:
$ cal_item1 = "1. {b}M2|W2|D9{/b}: Kendo Tournament"
$ cal_item2 = "2. {b}M2|W3|D5{/b}: Science Exhibition"
$ cal_item3 = "3. {b}M2|W4|D0{/b}: Swim Meet"
$ cal_item4 = "4. {b}M2|W5|D8{/b}: Exam"
$ cal_item5 = " "
$ cal_item6 = " "
$ cal_item7 = " "
$ cal_item8 = " "
$ cal_item9 = " "
$ cal_item10 = " "
$ cal_item11 = " "
$ cal_item12 = " "
$ cal_item1_x = 617
$ cal_item1_y = 332
$ cal_item2_x = 381
$ cal_item2_y = 390
$ cal_item3_x = 676
$ cal_item3_y = 449
$ cal_item4_x = 555
$ cal_item4_y = 508
$ cal_item5_x = 0
$ cal_item5_y = 0
$ cal_item6_x = 0
$ cal_item6_y = 0
$ cal_item7_x = 0
$ cal_item7_y = 0
$ cal_item8_x = 0
$ cal_item8_y = 0
$ cal_item9_x = 0
$ cal_item9_y = 0
$ cal_item10_x = 0
$ cal_item10_y = 0
$ cal_item11_x = 0
$ cal_item11_y = 0
$ cal_item12_x = 0
$ cal_item12_y = 0
if disp_month == 3:
$ cal_item1 = "1. {b}M3|W2|D9{/b}: Kendo Tournament"
$ cal_item2 = "2. {b}M3|W3|D4{/b}: HOLIDAY: Elder's Day"
$ cal_item3 = "3. {b}M3|W3|D0{/b}: Swim Meet"
$ cal_item4 = "4. {b}M3|W4|D5{/b}: Science Exhibition"
$ cal_item5 = "5. {b}M3|W5|D8{/b}: Exams"
$ cal_item6 = " "
$ cal_item7 = " "
$ cal_item8 = " "
$ cal_item9 = " "
$ cal_item10 = " "
$ cal_item11 = " "
$ cal_item12 = " "
$ cal_item1_x = 617
$ cal_item1_y = 332
$ cal_item2_x = 321
$ cal_item2_y = 390
$ cal_item3_x = 676
$ cal_item3_y = 390
$ cal_item4_x = 381
$ cal_item4_y = 448
$ cal_item5_x = 555
$ cal_item5_y = 508
$ cal_item6_x = 0
$ cal_item6_y = 0
$ cal_item7_x = 0
$ cal_item7_y = 0
$ cal_item8_x = 0
$ cal_item8_y = 0
$ cal_item9_x = 0
$ cal_item9_y = 0
$ cal_item10_x = 0
$ cal_item10_y = 0
$ cal_item11_x = 0
$ cal_item11_y = 0
$ cal_item12_x = 0
$ cal_item12_y = 0
if disp_month == 4:
$ cal_item1 = "1. {b}M4|W1|D3{/b}: Asaga's Birthday"
$ cal_item2 = "2. {b}M4|W1|D0{/b}: Swim Meet"
$ cal_item3 = "3. {b}M4|W2|D9{/b}: Kendo Tournament"
$ cal_item4 = "4. {b}M4|W3|D1{/b}: Start of HOLIDAYS"
$ cal_item5 = "5. {b}M4|W3|D6{/b}: HOLIDAY: Liberation Day"
$ cal_item6 = "6. {b}M4|W3|D8{/b}: End of HOLIDAYS"
$ cal_item7 = "7. {b}M4|W5|D5{/b}: Science Exhibition"
$ cal_item8 = "8. {b}M4|W8|D8{/b}: Exams"
$ cal_item9 = " "
$ cal_item10 = " "
$ cal_item11 = " "
$ cal_item12 = " "
$ cal_item1_x = 262
$ cal_item1_y = 272
$ cal_item2_x = 676
$ cal_item2_y = 272
$ cal_item3_x = 617
$ cal_item3_y = 332
$ cal_item4_x = 144
$ cal_item4_y = 390
$ cal_item5_x = 438
$ cal_item5_y = 390
$ cal_item6_x = 556
$ cal_item6_y = 390
$ cal_item7_x = 381
$ cal_item7_y = 508
$ cal_item8_x = 555
$ cal_item8_y = 508
$ cal_item9_x = 0
$ cal_item9_y = 0
$ cal_item10_x = 0
$ cal_item10_y = 0
$ cal_item11_x = 0
$ cal_item11_y = 0
$ cal_item12_x = 0
$ cal_item12_y = 0
if disp_month == 5:
$ cal_item1 = "1. {b}M5|W1|D2{/b}: Pure Day"
$ cal_item2 = "2. {b}M5|W2|D3{/b}: BREAK: Study Day"
$ cal_item3 = "3. {b}M5|W2|D4{/b}: BREAK: Study Day"
$ cal_item4 = "4. {b}M5|W2|D6{/b}: Final Exams"
$ cal_item5 = "5. {b}M5|W2|D7{/b}: Final Exams"
$ cal_item6 = "6. {b}M5|W2|D8{/b}: Final Exams"
$ cal_item7 = "7. {b}M5|W3|D1{/b}: START OF VACATION"
$ cal_item8 = "8. {b}M5|W4|D3{/b}: Maray's Birthday"
$ cal_item9 = " "
$ cal_item10 = " "
$ cal_item11 = " "
$ cal_item12 = " "
$ cal_item1_x = 203
$ cal_item1_y = 272
$ cal_item2_x = 262
$ cal_item2_y = 332
$ cal_item3_x = 321
$ cal_item3_y = 332
$ cal_item4_x = 438
$ cal_item4_y = 332
$ cal_item5_x = 497
$ cal_item5_y = 332
$ cal_item6_x = 555
$ cal_item6_y = 332
$ cal_item7_x = 144
$ cal_item7_y = 390
$ cal_item8_x = 262
$ cal_item8_y = 448
$ cal_item9_x = 0
$ cal_item9_y = 0
$ cal_item10_x = 0
$ cal_item10_y = 0
$ cal_item11_x = 0
$ cal_item11_y = 0
$ cal_item12_x = 0
$ cal_item12_y = 0
if disp_month == 6:
$ cal_item1 = "1. {b}M6|W1|D1{/b}: Start of second term"
$ cal_item2 = "2. {b}M6|W2|D1{/b}: Club recruitment festival"
$ cal_item3 = "3. {b}M6|W2|D6{/b}: My Birthday"
$ cal_item4 = "4. {b}M6|W2|D9{/b}: Kendo Tournament"
$ cal_item5 = "5. {b}M6|W3|D4{/b}: JOB DAY: Future Day"
$ cal_item6 = "6. {b}M6|W3|D5{/b}: Science Exhibition"
$ cal_item7 = "7. {b}M6|W4|D9{/b}: Swim Meet"
$ cal_item8 = "8. {b}M6|W5|D8{/b}: Exams"
$ cal_item9 = "9. {b}M6|W5|D9{/b}: Ava's Birthday"
$ cal_item10 = " "
$ cal_item11 = " "
$ cal_item12 = " "
$ cal_item1_x = 144
$ cal_item1_y = 272
$ cal_item2_x = 144
$ cal_item2_y = 332
$ cal_item3_x = 438
$ cal_item3_y = 332
$ cal_item4_x = 617
$ cal_item4_y = 332
$ cal_item5_x = 321
$ cal_item5_y = 390
$ cal_item6_x = 381
$ cal_item6_y = 390
$ cal_item7_x = 617
$ cal_item7_y = 448
$ cal_item8_x = 555
$ cal_item8_y = 508
$ cal_item9_x = 617
$ cal_item9_y = 508
$ cal_item10_x = 0
$ cal_item10_y = 0
$ cal_item11_x = 0
$ cal_item11_y = 0
$ cal_item12_x = 0
$ cal_item12_y = 0
if disp_month == 7:
$ cal_item1 = "1. {b}M7|W1|D4{/b}: HOLIDAY: Trader's Day"
$ cal_item2 = "2. {b}M7|W2|D7{/b}: HOLIDAY: Remembrance"
$ cal_item3 = "3. {b}M7|W2|D8{/b}: HOLIDAY: Remembrance"
$ cal_item4 = "4. {b}M7|W2|D9{/b}: Kendo Nat'l Qualifier"
$ cal_item5 = "5. {b}M7|W4|D5{/b}: Science Exhibition"
$ cal_item6 = "6. {b}M7|W4|D9{/b}: Swim Nat'l Qualifier"
$ cal_item7 = "7. {b}M7|W5|D8{/b}: Exams"
$ cal_item8 = " "
$ cal_item9 = " "
$ cal_item10 = " "
$ cal_item11 = " "
$ cal_item12 = " "
$ cal_item1_x = 321
$ cal_item1_y = 272
$ cal_item2_x = 497
$ cal_item2_y = 332
$ cal_item3_x = 555
$ cal_item3_y = 332
$ cal_item4_x = 617
$ cal_item4_y = 332
$ cal_item5_x = 381
$ cal_item5_y = 448
$ cal_item6_x = 617
$ cal_item6_y = 448
$ cal_item7_x = 555
$ cal_item7_y = 508
$ cal_item8_x = 0
$ cal_item8_y = 0
$ cal_item9_x = 0
$ cal_item9_y = 0
$ cal_item10_x = 0
$ cal_item10_y = 0
$ cal_item11_x = 0
$ cal_item11_y = 0
$ cal_item12_x = 0
$ cal_item12_y = 0
if disp_month == 8:
$ cal_item1 = "1. {b}M8|W1|D1{/b}: HOLIDAY: Student's Day"
$ cal_item2 = "2. {b}M8|W2|D5{/b}: Regional Exhibition"
$ cal_item3 = "3. {b}M8|W3|D9{/b}: Kendo Nat'l Championships"
$ cal_item4 = "4. {b}M8|W4|D2{/b}: Culture Festival Day 1"
$ cal_item5 = "5. {b}M8|W4|D3{/b}: Culture Festival Day 2"
$ cal_item6 = "6. {b}M8|W4|D4{/b}: Culture Festival Day 3"
$ cal_item7 = "7. {b}M8|W4|D9{/b}: Swim Nat'l Championships"
$ cal_item8 = "8. {b}M8|W5|D8{/b}: Exams"
$ cal_item9 = " "
$ cal_item10 = " "
$ cal_item11 = " "
$ cal_item12 = " "
$ cal_item1_x = 144
$ cal_item1_y = 272
$ cal_item2_x = 381
$ cal_item2_y = 332
$ cal_item3_x = 617
$ cal_item3_y = 390
$ cal_item4_x = 203
$ cal_item4_y = 448
$ cal_item5_x = 262
$ cal_item5_y = 448
$ cal_item6_x = 321
$ cal_item6_y = 448
$ cal_item7_x = 617
$ cal_item7_y = 448
$ cal_item8_x = 555
$ cal_item8_y = 508
$ cal_item9_x = 0
$ cal_item9_y = 0
$ cal_item10_x = 0
$ cal_item10_y = 0
$ cal_item11_x = 0
$ cal_item11_y = 0
$ cal_item12_x = 0
$ cal_item12_y = 0
if disp_month == 9:
$ cal_item1 = "1. {b}M9|W1|D3{/b}: Chigara's Birthday"
$ cal_item2 = "2. {b}M9|W2|D5{/b}: National Exhibition"
$ cal_item3 = "3. {b}M9|W3|D2{/b}: Sola's Birthday"
$ cal_item4 = "4. {b}M9|W3|D9{/b}: Kendo Gal Championships"
$ cal_item5 = "5. {b}M9|W4|D9{/b}: Swim Gal Championships"
$ cal_item6 = "6. {b}M9|W5|D3{/b}: BREAK: Study Day"
$ cal_item7 = "7. {b}M9|W5|D4{/b}: BREAK: Study Day"
$ cal_item8 = "8. {b}M9|W5|D6{/b}: Final Exams"
$ cal_item9 = "9. {b}M9|W5|D7{/b}: Final Exams"
$ cal_item10 = "10. {b}M9|W5|D8{/b}: Final Exams"
$ cal_item11 = " "
$ cal_item12 = " "
$ cal_item1_x = 262
$ cal_item1_y = 272
$ cal_item2_x = 381
$ cal_item2_y = 332
$ cal_item3_x = 203
$ cal_item3_y = 390
$ cal_item4_x = 617
$ cal_item4_y = 390
$ cal_item5_x = 617
$ cal_item5_y = 448
$ cal_item6_x = 262
$ cal_item6_y = 508
$ cal_item7_x = 321
$ cal_item7_y = 508
$ cal_item8_x = 438
$ cal_item8_y = 508
$ cal_item9_x = 497
$ cal_item9_y = 508
$ cal_item10_x = 555
$ cal_item10_y = 508
$ cal_item11_x = 0
$ cal_item11_y = 0
$ cal_item12_x = 0
$ cal_item12_y = 0
if disp_month == 10:
$ cal_item1 = "1. {b}M0|W1|D1{/b}: Start of Vacation"
$ cal_item2 = "2. {b}M0|W1|D3{/b}: Galactic Exhibition"
$ cal_item3 = "3. {b}M0|W1|D7{/b}: END: Graduation"
$ cal_item4 = " "
$ cal_item5 = " "
$ cal_item6 = " "
$ cal_item7 = " "
$ cal_item8 = " "
$ cal_item9 = " "
$ cal_item10 = " "
$ cal_item11 = " "
$ cal_item12 = " "
$ cal_item1_x = 144
$ cal_item1_y = 272
$ cal_item2_x = 262
$ cal_item2_y = 272
$ cal_item3_x = 497
$ cal_item3_y = 272
$ cal_item4_x = 0
$ cal_item4_y = 0
$ cal_item5_x = 0
$ cal_item5_y = 0
$ cal_item6_x = 0
$ cal_item6_y = 0
$ cal_item7_x = 0
$ cal_item7_y = 0
$ cal_item8_x = 0
$ cal_item8_y = 0
$ cal_item9_x = 0
$ cal_item9_y = 0
$ cal_item10_x = 0
$ cal_item10_y = 0
$ cal_item11_x = 0
$ cal_item11_y = 0
$ cal_item12_x = 0
$ cal_item12_y = 0
###################################################################################################END SET
vbox:
xpos 710 ypos 270
xmaximum 355 ymaximum 327
if cal_item1_hover == False:
text "[cal_item1]" color "#000000" font "Fonts/SourceCodePro-Regular.ttf" size 15
if cal_item1_hover == True:
text "[cal_item1]" color "#ffc600" font "Fonts/SourceCodePro-Regular.ttf" size 15
if cal_item2_hover == False:
text "[cal_item2]" color "#000000" font "Fonts/SourceCodePro-Regular.ttf" size 15
if cal_item2_hover == True:
text "[cal_item2]" color "#ffc600" font "Fonts/SourceCodePro-Regular.ttf" size 15
if cal_item3_hover == False:
text "[cal_item3]" color "#000000" font "Fonts/SourceCodePro-Regular.ttf" size 15
if cal_item3_hover == True:
text "[cal_item3]" color "#ffc600" font "Fonts/SourceCodePro-Regular.ttf" size 15
if cal_item4_hover == False:
text "[cal_item4]" color "#000000" font "Fonts/SourceCodePro-Regular.ttf" size 15
if cal_item4_hover == True:
text "[cal_item4]" color "#ffc600" font "Fonts/SourceCodePro-Regular.ttf" size 15
if cal_item5_hover == False:
text "[cal_item5]" color "#000000" font "Fonts/SourceCodePro-Regular.ttf" size 15
if cal_item5_hover == True:
text "[cal_item5]" color "#ffc600" font "Fonts/SourceCodePro-Regular.ttf" size 15
if cal_item6_hover == False:
text "[cal_item6]" color "#000000" font "Fonts/SourceCodePro-Regular.ttf" size 15
if cal_item6_hover == True:
text "[cal_item6]" color "#ffc600" font "Fonts/SourceCodePro-Regular.ttf" size 15
if cal_item7_hover == False:
text "[cal_item7]" color "#000000" font "Fonts/SourceCodePro-Regular.ttf" size 15
if cal_item7_hover == True:
text "[cal_item7]" color "#ffc600" font "Fonts/SourceCodePro-Regular.ttf" size 15
if cal_item8_hover == False:
text "[cal_item8]" color "#000000" font "Fonts/SourceCodePro-Regular.ttf" size 15
if cal_item8_hover == True:
text "[cal_item8]" color "#ffc600" font "Fonts/SourceCodePro-Regular.ttf" size 15
if cal_item9_hover == False:
text "[cal_item9]" color "#000000" font "Fonts/SourceCodePro-Regular.ttf" size 15
if cal_item9_hover == True:
text "[cal_item9]" color "#ffc600" font "Fonts/SourceCodePro-Regular.ttf" size 15
if cal_item10_hover == False:
text "[cal_item10]" color "#000000" font "Fonts/SourceCodePro-Regular.ttf" size 15
if cal_item10_hover == True:
text "[cal_item10]" color "#ffc600" font "Fonts/SourceCodePro-Regular.ttf" size 15
if cal_item11_hover == False:
text "[cal_item11]" color "#000000" font "Fonts/SourceCodePro-Regular.ttf" size 15
if cal_item11_hover == True:
text "[cal_item11]" color "#ffc600" font "Fonts/SourceCodePro-Regular.ttf" size 15
if cal_item12_hover == False:
text "[cal_item12]" color "#000000" font "Fonts/SourceCodePro-Regular.ttf" size 15
if cal_item12_hover == True:
text "[cal_item12]" color "#ffc600" font "Fonts/SourceCodePro-Regular.ttf" size 15
vbox:
xpos 710 ypos 270
xmaximum 355 ymaximum 327
if cal_item1 != " ":
button:
background None
xmaximum 150
ymaximum 19
action NullAction()
hover_sound "Sounds/hover1.ogg"
hovered SetVariable("cal_item1_hover",True)
unhovered SetVariable("cal_item1_hover",False)
if cal_item2 != " ":
button:
background None
xmaximum 150
ymaximum 19
action NullAction()
hover_sound "Sounds/hover1.ogg"
hovered SetVariable("cal_item2_hover",True)
unhovered SetVariable("cal_item2_hover",False)
if cal_item3 != " ":
button:
background None
xmaximum 150
ymaximum 19
action NullAction()
hover_sound "Sounds/hover1.ogg"
hovered SetVariable("cal_item3_hover",True)
unhovered SetVariable("cal_item3_hover",False)
if cal_item4 != " ":
button:
background None
xmaximum 150
ymaximum 19
action NullAction()
hover_sound "Sounds/hover1.ogg"
hovered SetVariable("cal_item4_hover",True)
unhovered SetVariable("cal_item4_hover",False)
if cal_item5 != " ":
button:
background None
xmaximum 150
ymaximum 19
action NullAction()
hover_sound "Sounds/hover1.ogg"
hovered SetVariable("cal_item5_hover",True)
unhovered SetVariable("cal_item5_hover",False)
if cal_item6 != " ":
button:
background None
xmaximum 150
ymaximum 19
action NullAction()
hover_sound "Sounds/hover1.ogg"
hovered SetVariable("cal_item6_hover",True)
unhovered SetVariable("cal_item6_hover",False)
if cal_item7 != " ":
button:
background None
xmaximum 150
ymaximum 19
action NullAction()
hover_sound "Sounds/hover1.ogg"
hovered SetVariable("cal_item7_hover",True)
unhovered SetVariable("cal_item7_hover",False)
if cal_item8 != " ":
button:
background None
xmaximum 150
ymaximum 19
action NullAction()
hover_sound "Sounds/hover1.ogg"
hovered SetVariable("cal_item8_hover",True)
unhovered SetVariable("cal_item8_hover",False)
if cal_item9 != " ":
button:
background None
xmaximum 150
ymaximum 19
action NullAction()
hover_sound "Sounds/hover1.ogg"
hovered SetVariable("cal_item9_hover",True)
unhovered SetVariable("cal_item9_hover",False)
if cal_item10 != " ":
button:
background None
xmaximum 150
ymaximum 19
action NullAction()
hover_sound "Sounds/hover1.ogg"
hovered SetVariable("cal_item10_hover",True)
unhovered SetVariable("cal_item10_hover",False)
if cal_item11 != " ":
button:
background None
xmaximum 150
ymaximum 19
action NullAction()
hover_sound "Sounds/hover1.ogg"
hovered SetVariable("cal_item11_hover",True)
unhovered SetVariable("cal_item11_hover",False)
if cal_item12 != " ":
button:
background None
xmaximum 150
ymaximum 19
action NullAction()
hover_sound "Sounds/hover1.ogg"
hovered SetVariable("cal_item12_hover",True)
unhovered SetVariable("cal_item12_hover",False)
if cal_item1 != " ":
text "1" color "#000000" font "Fonts/SourceCodePro-Regular.ttf" size 20 xpos cal_item1_x ypos cal_item1_y
if cal_item1_hover == False:
imagebutton:
idle "UI/cal_event.png"
hover "UI/cal_event_hover.png"
xanchor 37 yanchor -6 xpos cal_item1_x ypos cal_item1_y
action NullAction()
hovered SetVariable("cal_item1_hover",True)
unhovered SetVariable("cal_item1_hover",False)
hover_sound "Sounds/hover1.ogg"
if cal_item1_hover == True:
imagebutton:
idle "UI/cal_event_activate.png"
hover "UI/cal_event_activate.png"
xanchor 37 yanchor -6 xpos cal_item1_x ypos cal_item1_y
hovered SetVariable("cal_item1_hover",True)
unhovered SetVariable("cal_item1_hover",False)
action NullAction()
if cal_item2 != " ":
text "2" color "#000000" font "Fonts/SourceCodePro-Regular.ttf" size 20 xpos cal_item2_x ypos cal_item2_y
if cal_item2_hover == False:
imagebutton:
idle "UI/cal_event.png"
hover "UI/cal_event_hover.png"
xanchor 37 yanchor -6 xpos cal_item2_x ypos cal_item2_y
action NullAction()
hovered SetVariable("cal_item2_hover",True)
unhovered SetVariable("cal_item2_hover",False)
hover_sound "Sounds/hover1.ogg"
if cal_item2_hover == True:
imagebutton:
idle "UI/cal_event_activate.png"
hover "UI/cal_event_activate.png"
xanchor 37 yanchor -6 xpos cal_item2_x ypos cal_item2_y
hovered SetVariable("cal_item2_hover",True)
unhovered SetVariable("cal_item2_hover",False)
action NullAction()
if cal_item3 != " ":
text "3" color "#000000" font "Fonts/SourceCodePro-Regular.ttf" size 20 xpos cal_item3_x ypos cal_item3_y
if cal_item3_hover == False:
imagebutton:
idle "UI/cal_event.png"
hover "UI/cal_event_hover.png"
xanchor 37 yanchor -6 xpos cal_item3_x ypos cal_item3_y
action NullAction()
hovered SetVariable("cal_item3_hover",True)
unhovered SetVariable("cal_item3_hover",False)
hover_sound "Sounds/hover1.ogg"
if cal_item3_hover == True:
imagebutton:
idle "UI/cal_event_activate.png"
hover "UI/cal_event_activate.png"
xanchor 37 yanchor -6 xpos cal_item3_x ypos cal_item3_y
hovered SetVariable("cal_item3_hover",True)
unhovered SetVariable("cal_item3_hover",False)
action NullAction()
if cal_item4 != " ":
text "4" color "#000000" font "Fonts/SourceCodePro-Regular.ttf" size 20 xpos cal_item4_x ypos cal_item4_y
if cal_item4_hover == False:
imagebutton:
idle "UI/cal_event.png"
hover "UI/cal_event_hover.png"
xanchor 37 yanchor -6 xpos cal_item4_x ypos cal_item4_y
action NullAction()
hovered SetVariable("cal_item4_hover",True)
unhovered SetVariable("cal_item4_hover",False)
hover_sound "Sounds/hover1.ogg"
if cal_item4_hover == True:
imagebutton:
idle "UI/cal_event_activate.png"
hover "UI/cal_event_activate.png"
xanchor 37 yanchor -6 xpos cal_item4_x ypos cal_item4_y
hovered SetVariable("cal_item4_hover",True)
unhovered SetVariable("cal_item4_hover",False)
action NullAction()
if cal_item5 != " ":
text "5" color "#000000" font "Fonts/SourceCodePro-Regular.ttf" size 20 xpos cal_item5_x ypos cal_item5_y
if cal_item5_hover == False:
imagebutton:
idle "UI/cal_event.png"
hover "UI/cal_event_hover.png"
xanchor 37 yanchor -6 xpos cal_item5_x ypos cal_item5_y
action NullAction()
hovered SetVariable("cal_item5_hover",True)
unhovered SetVariable("cal_item5_hover",False)
hover_sound "Sounds/hover1.ogg"
if cal_item5_hover == True:
imagebutton:
idle "UI/cal_event_activate.png"
hover "UI/cal_event_activate.png"
xanchor 37 yanchor -6 xpos cal_item5_x ypos cal_item5_y
hovered SetVariable("cal_item5_hover",True)
unhovered SetVariable("cal_item5_hover",False)
action NullAction()
if cal_item6 != " ":
text "6" color "#000000" font "Fonts/SourceCodePro-Regular.ttf" size 20 xpos cal_item6_x ypos cal_item6_y
if cal_item6_hover == False:
imagebutton:
idle "UI/cal_event.png"
hover "UI/cal_event_hover.png"
xanchor 37 yanchor -6 xpos cal_item6_x ypos cal_item6_y
action NullAction()
hovered SetVariable("cal_item6_hover",True)
unhovered SetVariable("cal_item6_hover",False)
hover_sound "Sounds/hover1.ogg"
if cal_item6_hover == True:
imagebutton:
idle "UI/cal_event_activate.png"
hover "UI/cal_event_activate.png"
xanchor 37 yanchor -6 xpos cal_item6_x ypos cal_item6_y
hovered SetVariable("cal_item6_hover",True)
unhovered SetVariable("cal_item6_hover",False)
action NullAction()
if cal_item7 != " ":
text "7" color "#000000" font "Fonts/SourceCodePro-Regular.ttf" size 20 xpos cal_item7_x ypos cal_item7_y
if cal_item7_hover == False:
imagebutton:
idle "UI/cal_event.png"
hover "UI/cal_event_hover.png"
xanchor 37 yanchor -6 xpos cal_item7_x ypos cal_item7_y
action NullAction()
hovered SetVariable("cal_item7_hover",True)
unhovered SetVariable("cal_item7_hover",False)
hover_sound "Sounds/hover1.ogg"
if cal_item7_hover == True:
imagebutton:
idle "UI/cal_event_activate.png"
hover "UI/cal_event_activate.png"
xanchor 37 yanchor -6 xpos cal_item7_x ypos cal_item7_y
hovered SetVariable("cal_item7_hover",True)
unhovered SetVariable("cal_item7_hover",False)
action NullAction()
if cal_item8 != " ":
text "8" color "#000000" font "Fonts/SourceCodePro-Regular.ttf" size 20 xpos cal_item8_x ypos cal_item8_y
if cal_item8_hover == False:
imagebutton:
idle "UI/cal_event.png"
hover "UI/cal_event_hover.png"
xanchor 37 yanchor -6 xpos cal_item8_x ypos cal_item8_y
action NullAction()
hovered SetVariable("cal_item8_hover",True)
unhovered SetVariable("cal_item8_hover",False)
hover_sound "Sounds/hover1.ogg"
if cal_item8_hover == True:
imagebutton:
idle "UI/cal_event_activate.png"
hover "UI/cal_event_activate.png"
xanchor 37 yanchor -6 xpos cal_item8_x ypos cal_item8_y
hovered SetVariable("cal_item8_hover",True)
unhovered SetVariable("cal_item8_hover",False)
action NullAction()
if cal_item9 != " ":
text "9" color "#000000" font "Fonts/SourceCodePro-Regular.ttf" size 20 xpos cal_item9_x ypos cal_item9_y
if cal_item9_hover == False:
imagebutton:
idle "UI/cal_event.png"
hover "UI/cal_event_hover.png"
xanchor 37 yanchor -6 xpos cal_item9_x ypos cal_item9_y
action NullAction()
hovered SetVariable("cal_item9_hover",True)
unhovered SetVariable("cal_item9_hover",False)
hover_sound "Sounds/hover1.ogg"
if cal_item9_hover == True:
imagebutton:
idle "UI/cal_event_activate.png"
hover "UI/cal_event_activate.png"
xanchor 37 yanchor -6 xpos cal_item9_x ypos cal_item9_y
hovered SetVariable("cal_item9_hover",True)
unhovered SetVariable("cal_item9_hover",False)
action NullAction()
if cal_item10 != " ":
text "10" color "#000000" font "Fonts/SourceCodePro-Regular.ttf" size 20 xpos cal_item10_x ypos cal_item10_y
if cal_item10_hover == False:
imagebutton:
idle "UI/cal_event.png"
hover "UI/cal_event_hover.png"
xanchor 37 yanchor -6 xpos cal_item10_x ypos cal_item10_y
action NullAction()
hovered SetVariable("cal_item10_hover",True)
unhovered SetVariable("cal_item10_hover",False)
hover_sound "Sounds/hover1.ogg"
if cal_item10_hover == True:
imagebutton:
idle "UI/cal_event_activate.png"
hover "UI/cal_event_activate.png"
xanchor 37 yanchor -6 xpos cal_item10_x ypos cal_item10_y
hovered SetVariable("cal_item10_hover",True)
unhovered SetVariable("cal_item10_hover",False)
action NullAction()
if cal_item11 != " ":
text "11" color "#000000" font "Fonts/SourceCodePro-Regular.ttf" size 20 xpos cal_item11_x ypos cal_item11_y
if cal_item11_hover == False:
imagebutton:
idle "UI/cal_event.png"
hover "UI/cal_event_hover.png"
xanchor 37 yanchor -6 xpos cal_item11_x ypos cal_item11_y
action NullAction()
hovered SetVariable("cal_item11_hover",True)
unhovered SetVariable("cal_item11_hover",False)
hover_sound "Sounds/hover1.ogg"
if cal_item11_hover == True:
imagebutton:
idle "UI/cal_event_activate.png"
hover "UI/cal_event_activate.png"
xanchor 37 yanchor -6 xpos cal_item11_x ypos cal_item11_y
hovered SetVariable("cal_item11_hover",True)
unhovered SetVariable("cal_item11_hover",False)
action NullAction()
if cal_item12 != " ":
text "12" color "#000000" font "Fonts/SourceCodePro-Regular.ttf" size 20 xpos cal_item12_x ypos cal_item12_y
if cal_item12_hover == False:
imagebutton:
idle "UI/cal_event.png"
hover "UI/cal_event_hover.png"
xanchor 37 yanchor -6 xpos cal_item12_x ypos cal_item12_y
action NullAction()
hovered SetVariable("cal_item12_hover",True)
unhovered SetVariable("cal_item12_hover",False)
hover_sound "Sounds/hover1.ogg"
if cal_item12_hover == True:
imagebutton:
idle "UI/cal_event_activate.png"
hover "UI/cal_event_activate.png"
xanchor 37 yanchor -6 xpos cal_item12_x ypos cal_item12_y
hovered SetVariable("cal_item12_hover",True)
unhovered SetVariable("cal_item12_hover",False)
action NullAction()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment