1
0

pav_commclubs.qsrc 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. # pav_commclubs
  2. $loc_arg = ''
  3. $loc = 'pav_commclubs'
  4. $menu_loc = 'pav_commclubs'
  5. $menu_arg = ''
  6. menu_off = 0
  7. $location_type = 'public_indoors'
  8. frost = 0
  9. gs 'stat'
  10. gs 'themes', 'indoors'
  11. '<center><b><font color = maroon>The community center</font></b></center>'
  12. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/gdkkru.jpg"></center>'
  13. act 'Leave': gt 'pav_commcenter'
  14. act 'Go to the toilets': gt 'gdktoilet', 'start'
  15. if nerd_game['game_day'] = daystart and hour = 20: act '<b>Join nerds</b>': gt 'nerd_game_night','game'
  16. if hour >= 12 and hour < 20:
  17. 'At this time of day the community center operates various clubs.'
  18. if krumonth = month and kruyear = year:
  19. act 'Go to the sewing club': gt 'krupo'
  20. else
  21. act 'Go to the sewing club':
  22. cls
  23. menu_off = 1
  24. gs 'stat'
  25. '<center><b><font color = maroon>Sewing circle</font></b></center>'
  26. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/krupo.jpg"></center>'
  27. 'You went to the sewing club room, as you walked in, a teacher looked at you said. "It costs 500 <b>₽</b> for one month to join, you can come as many days as you like. Once the month is up any days you did not attend are not transferred."'
  28. if money >= 500:
  29. act 'Sign up':
  30. cls
  31. money -= 500
  32. krumonth = month
  33. kruyear = year
  34. gs 'stat'
  35. 'You pay the tuition.'
  36. act 'Leave': gt 'pav_commclubs'
  37. end
  38. end
  39. act 'Leave': gt 'pav_commclubs'
  40. end
  41. end
  42. if chessmonth = month and chessyear = year:
  43. act 'Go to the chess club': gt 'kruchess'
  44. else
  45. act 'Go to the chess club':
  46. cls
  47. menu_off = 1
  48. gs 'stat'
  49. '<center><b><font color = maroon>Chess Circle</font></b></center>'
  50. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/kruchess.jpg"></center>'
  51. 'You went to the chess club room, as you walked in, a teacher looked at you said. "It costs 500 <b>₽</b> for one month to join, you can come as many days as you like. Once the month is up any days you did not attend are not transferred."'
  52. if money >= 500:
  53. act 'Sign up':
  54. cls
  55. money -= 500
  56. chessmonth = month
  57. chessyear = year
  58. gs'stat'
  59. 'You pay the tuition.'
  60. act 'Leave': gt 'pav_commclubs'
  61. end
  62. end
  63. act 'Leave': gt 'pav_commclubs'
  64. end
  65. end
  66. if ml_guitarlesson['advertisement'] = 1 and ml_guitarlesson['enquired'] = 0:
  67. act 'Enquire about the guitar lessons': gt 'music_guitarlesson', 'enquiry'
  68. end
  69. if ml_guitarlesson['lessonday'] = 8:
  70. act 'Arrange a lesson day': gt 'music_guitarlesson', 'setlessonday'
  71. end
  72. if (ml_guitarlesson['nextlesson'] = daystart):
  73. if (ml_guitarlesson['lessonhour']-1 = hour):
  74. if (money >= ml_guitarlesson['lessoncost']):
  75. act 'Wait for your guitar lesson (<<ml_guitarlesson[''lessoncost'']>> rubles)':
  76. minut += (60 - minut)
  77. gt 'music_guitarlesson', 'lesson'
  78. end
  79. else
  80. act 'Wait for your guitar lesson (<font color="red"><<ml_guitarlesson[''lessoncost'']>> rubles</font>))':'<font color="red">You don''t have enough money to pay for the lesson.</font>'
  81. end
  82. end
  83. if (ml_guitarlesson['lessonhour'] = hour):
  84. if (money >= ml_guitarlesson['lessoncost']):
  85. act 'Go to your guitar lesson (<<ml_guitarlesson[''lessoncost'']>> rubles)': gt 'music_guitarlesson', 'lesson'
  86. else
  87. act 'Go to your guitar lesson (<font color="red"><<ml_guitarlesson[''lessoncost'']>> rubles</font>))':'<font color="red">You don''t have enough money to pay for the lesson.</font>'
  88. end
  89. end
  90. end
  91. else
  92. 'Club''s closed.'
  93. end
  94. --- pav_commclubs ---------------------------------