1
0

gdkkru.qsrc 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. # gdkkru
  2. $metka = ''
  3. $loc = 'gdkkru'
  4. $menu_loc = 'gdkkru'
  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 'gdk'
  14. act 'Go to the toilets': gt 'gdktoilet', 'start'
  15. if nerd_night_game = 1 and nerd_night_game_day = daystart and hour = 20: act '<b>Join nerds</b>': gt 'gschool_socialchg','nerd game night'
  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 'gdkkru'
  37. end
  38. end
  39. act 'Leave':gt 'gdkkru'
  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 'gdkkru'
  61. end
  62. end
  63. act 'Leave': gt 'gdkkru'
  64. end
  65. end
  66. else
  67. 'Clubs closed.'
  68. end
  69. --- gdkkru ---------------------------------