1
0

gdkkru.qsrc 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. # gdkkru
  2. $metka = ''
  3. $loc = 'gdkkru'
  4. $location_type = 'public_indoors'
  5. frost = 0
  6. gs'stat'
  7. if night_mode = 1:
  8. fcolor = rgb(255, 255, 255)
  9. bcolor = rgb(0, 0, 0)
  10. lcolor = rgb(106, 90, 205)
  11. else
  12. fcolor = rgb(0, 0, 0)
  13. bcolor = rgb(255, 255, 255)
  14. lcolor = rgb(106, 90, 205)
  15. end
  16. '<center><b><font color = maroon>The community center</font></b></center>'
  17. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/gdkkru.jpg"></center>'
  18. act 'Leave': gt 'gdk'
  19. act 'Go to the toilets': gt 'gdktoilet', 'start'
  20. 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'
  21. if hour >= 12 and hour < 20:
  22. 'At this time of day the community center operates various clubs.'
  23. if krumonth = month and kruyear = year:
  24. act 'Go to the sewing club': gt 'krupo'
  25. else
  26. act 'Go to the sewing club':
  27. cls
  28. gs 'stat'
  29. '<center><b><font color = maroon>Sewing circle</font></b></center>'
  30. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/krupo.jpg"></center>'
  31. '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."'
  32. if money >= 500:
  33. act 'Sign up':
  34. cls
  35. money -= 500
  36. krumonth = month
  37. kruyear = year
  38. gs 'stat'
  39. 'You pay the tuition.'
  40. act 'Leave': gt 'gdkkru'
  41. end
  42. end
  43. act 'Leave':gt 'gdkkru'
  44. end
  45. end
  46. if chessmonth=month and chessyear=year:
  47. act 'Go to the chess club': gt 'kruchess'
  48. else
  49. act 'Go to the chess club':
  50. cls
  51. gs 'stat'
  52. '<center><b><font color = maroon>Chess Circle</font></b></center>'
  53. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/kruchess.jpg"></center>'
  54. '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."'
  55. if money >= 500:
  56. act 'Sign up':
  57. cls
  58. money -= 500
  59. chessmonth = month
  60. chessyear = year
  61. gs'stat'
  62. 'You pay the tuition.'
  63. act 'Leave': gt 'gdkkru'
  64. end
  65. end
  66. act 'Leave': gt 'gdkkru'
  67. end
  68. end
  69. else
  70. 'Clubs closed.'
  71. end
  72. --- gdkkru ---------------------------------