gdkkru 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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 hour >= 12 and hour <= 20:
  21. 'At this time of day the community center operates various clubs.'
  22. if krumonth = month and kruyear = year:
  23. act 'Go to the sewing club': gt 'krupo'
  24. else
  25. act 'Go to the sewing club':
  26. cls
  27. gs 'stat'
  28. '<center><b><font color = maroon>Sewing circle</font></b></center>'
  29. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/krupo.jpg"></center>'
  30. '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."'
  31. if money >= 500:
  32. act 'Sign up':
  33. cls
  34. money -= 500
  35. krumonth = month
  36. kruyear = year
  37. gs 'stat'
  38. 'You pay the tuition.'
  39. act 'Leave': gt 'gdkkru'
  40. end
  41. end
  42. act 'Leave':gt 'gdkkru'
  43. end
  44. end
  45. if chessmonth=month and chessyear=year:
  46. act 'Go to the chess club': gt 'kruchess'
  47. else
  48. act 'Go to the chess club':
  49. cls
  50. gs 'stat'
  51. '<center><b><font color = maroon>Chess Circle</font></b></center>'
  52. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/kruchess.jpg"></center>'
  53. '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."'
  54. if money >= 500:
  55. act 'Sign up':
  56. cls
  57. money -= 500
  58. chessmonth = month
  59. chessyear = year
  60. gs'stat'
  61. 'You pay the tuition.'
  62. act 'Leave': gt 'gdkkru'
  63. end
  64. end
  65. act 'Leave': gt 'gdkkru'
  66. end
  67. end
  68. else
  69. 'Clubs closed.'
  70. end
  71. --- gdkkru ---------------------------------