uni_grounds.qsrc 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. # uni_grounds
  2. if $ARGS[0] = 'main':
  3. music_loop = 0
  4. CLOSE ALL
  5. $loc = 'uni_grounds'
  6. $loc_arg = 'main'
  7. $menu_loc = 'uni_grounds'
  8. $menu_arg = 'main'
  9. $location_type = 'public_outdoors'
  10. menu_off = 0
  11. *clr & cla
  12. killvar '$locclass'
  13. !! New sounds should probably be found or used if anything appropriate is already in the files
  14. if sound = 0:
  15. if month >=11 and month <= 12 or month >=1 and month <=3:
  16. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/street7.mp3',30 & PLAY 'sound/zima.mp3',30
  17. if hour >= 0 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
  18. else
  19. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/street7.mp3',30 & PLAY 'sound/street_leto.mp3',30
  20. if hour >= 0 and hour <= 7: PLAY 'sound/street_night_leto.mp3' & PLAY 'sound/street_night.mp3',30
  21. end
  22. end
  23. '<center><b>University Campus</b></center>'
  24. if month >= 11 or month <= 3:
  25. if daystage = 2 or daystage = 3:
  26. '<center><img <<$set_imgh>> src="images/locations/city/island/university/uni_day_winter.jpg"></center>'
  27. 'The University boasts a large amount of buildings hosting many different types of classes.'
  28. !!day winter desc here
  29. if week = 7:
  30. 'The campus is pretty quiet right now. Most of the students are relaxing, trying to recover from the weekend.'
  31. elseif week >= 5:
  32. 'The campus is quite lively right now. Many of the students are moving around the courtyard visiting with each other or just enjoying their weekend, despite the cold weather.'
  33. else
  34. 'The campus is quite lively right now. Most of the students are on their way to the next class, trying not to slip on any icy spots in the courtyard.'
  35. end
  36. else
  37. '<center><img <<$set_imgh>> src="images/locations/city/island/university/uni_night_winter.jpg"></center>'
  38. 'The University boasts a large amount of buildings hosting many different types of classes.'
  39. !!night winter desc here
  40. if week = 7:
  41. 'The campus is quiet right now, most of the students seem to be sleeping, worn out from the weekend.'
  42. elseif week >= 5:
  43. 'The campus is quite lively right now. Many of the students are moving around the courtyard visiting with each other or just enjoying their weekend, despite the cold weather.'
  44. else
  45. 'The campus is quiet right now, most of the students seem to be sleeping or studying late.'
  46. end
  47. end
  48. else
  49. if daystage = 2 or daystage = 3:
  50. '<center><img <<$set_imgh>> src="images/locations/city/island/university/uni_day.jpg"></center>'
  51. 'The University boasts a large amount of buildings hosting many different types of classes.'
  52. !!day desc here
  53. if week = 7:
  54. 'The campus is pretty quiet right now. Most of the students are relaxing, trying to recover from the weekend.'
  55. elseif week >= 5:
  56. 'The campus is quite lively right now. Many of the students are moving around the courtyard visiting with each other or just enjoying their weekend.'
  57. else
  58. 'The campus is quite lively right now. Most of the students are on their way to the next class, or hanging out with friends.'
  59. end
  60. else
  61. '<center><img <<$set_imgh>> src="images/locations/city/island/university/uni_night.jpg"></center>'
  62. 'The University boasts a large amount of buildings hosting many different types of classes.'
  63. !!night desc here
  64. if week = 7:
  65. 'The campus is quiet right now, most of the students seem to be sleeping, worn out from the weekend.'
  66. elseif week >= 5:
  67. 'The campus is quite lively right now. Many of the students are moving around the courtyard visiting with each other or just enjoying their weekend.'
  68. else
  69. 'The campus is quiet right now, most of the students seem to be sleeping or studying late.'
  70. end
  71. end
  72. end
  73. act 'Return to the City':
  74. minut += 5
  75. gt 'city_island'
  76. end
  77. if university['semester_week'] > 0: gs 'uni_lessons', 'schedule'
  78. if university['exam_week'] > 0: gs 'uni_lessons', 'exam_schedule'
  79. !! I don''t think this should be locked if not attending UNI like it used to be, just Svetas room should be locked in dorm file, so she can visit friends if not enrolled
  80. act 'Got to the dorms':
  81. minut += 5
  82. gt 'uni_dorm', 'start'
  83. end
  84. !!act 'Got to the Gym':
  85. !! minut += 3
  86. !! gt '', ''
  87. !!end
  88. if (week < 6 and hour > 7) or (hour > 8 and hour < 23):
  89. act 'Got to the Library':
  90. minut += 2
  91. gt 'uni_library', 'start'
  92. end
  93. end
  94. if week < 6 and hour > 7 and hour < 17:
  95. act 'Go to the University Administration':
  96. minut += 2
  97. gt 'uni_admin', 'start'
  98. end
  99. end
  100. !! any student/random events will go below here, to keep any main actions on top of the extra options
  101. end
  102. --- uni_grounds ---------------------------------