1
0

gdkkru.qsrc 2.5 KB

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