gdkkru.qsrc 2.2 KB

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