kruchess.qsrc 4.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. # kruchess
  2. $metka = ''
  3. $loc = 'kruchess'
  4. frost = 0
  5. gs'stat'
  6. gs 'themes', 'indoors'
  7. '<center><b><font color = maroon>Chess Club</font></b></center>'
  8. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/chess/kruchess.jpg"></center>'
  9. if hour > 20:
  10. 'Chess club is closed. The coach and some players are tidying away the boards and pieces.'
  11. act 'Leave':gt'gdkkru'
  12. else
  13. if week ! 6:
  14. 'The kids are sitting around playing practice games, while being watched over and helped by coach Genrikh.'
  15. act 'Spend an hour practicing with assistance from the coach':
  16. cla
  17. *nl
  18. chess_exp += rand(pcs_intel/20,pcs_intel/10)
  19. intel_exp += 1
  20. minut += 60
  21. 'You spend the next hour practicing against the other players with the coach walking around and stopping to help out or point things out. You learn a little every time. You also discuss the various chess openings and which ones are the best, which can often get lively.'
  22. act 'Return': gt 'kruchess'
  23. end
  24. act 'Talk to the other players':
  25. *clr & cla
  26. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/chess/talk.jpg"></center>'
  27. minut += 30
  28. pcs_mood +=5
  29. 'You take a break from playing and talk to a couple of your fellow chess enthusiasts. After first focusing on chess for a while, the conversation drifts off to other topics. You have a good time chatting and relaxing.'
  30. act 'Return': gt 'kruchess'
  31. end
  32. act 'Talk to Evgeny Kuznetsov':
  33. *clr & cla
  34. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/chess/talk.jpg"></center>'
  35. minut += 30
  36. chess_exp += 2
  37. npc_rel['A151'] += 5
  38. 'You sit down next to Evgeny to talk. At first you try to catch his interest with ordinary things; he barely even responds to you, preoccupied playing against himself. Then you bring up a recent opening you have been trying and he perks up. Soon the two of you are talking about various openings and he shares with you some of his favorite ones and how he moves them to the mid game. You learn a bit about chess and feel like you are better friends with Evgeny.'
  39. act 'Return': gt 'kruchess'
  40. end
  41. else
  42. 'On Saturdays, after a week''s training, club members spend the whole day playing against each other.'
  43. if chess_win < 5:
  44. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/chess/play' + rand(1,2) + '.jpg"></center>'
  45. 'You are paired against Vitalik, the youngest boy in the club. Despite his age he has already achieved rank 4, the lowest official chess rank corresponding to an ELO rating of 1000+.'
  46. act'Play':
  47. *clr & cla
  48. $chess_name='Vitalik'
  49. chessV=40
  50. gt'chessplay'
  51. end
  52. elseif chess_win < 10:
  53. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/chess/play' + rand(1,2) + '.jpg"></center>'
  54. 'You get to play against Kostya, who recently advanced to rank 3 after passing 1400 ELO points.'
  55. act'Play':
  56. *clr & cla
  57. $chess_name='Kostya'
  58. chessV=100
  59. gt'chessplay'
  60. end
  61. elseif chess_win < 15:
  62. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/chess/play' + rand(1,2) + '.jpg"></center>'
  63. 'You sit down to play Sergei. You recall that he is a rank 2 player with an ELO rating of more than 1600.'
  64. act'Play':
  65. *clr & cla
  66. $chess_name='Sergei'
  67. chessV=300
  68. gt'chessplay'
  69. end
  70. elseif chess_win < 20:
  71. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/chess/play' + rand(1,2) + '.jpg"></center>'
  72. 'You are facing the chess coach. At his peak he achieved an ELO ranking of just over 2000, and despite his skills declining with age he still plays at the level of a rank 1 player.'
  73. act'Play':
  74. *clr & cla
  75. $chess_name='Coach Genrikh G.'
  76. chessV=800
  77. gt'chessplay'
  78. end
  79. else
  80. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/chess/play' + rand(1,2) + '.jpg"></center>'
  81. 'You are facing Evgeny Kuznetsov. He has already won the regional championship twice and placed well at the nationals each year he has attended. He is already rated above a 2200 in the ELO rankings.'
  82. act'Play':
  83. *clr & cla
  84. $chess_name='Evgeny'
  85. chessV=900
  86. gt'chessplay'
  87. end
  88. end
  89. end
  90. act 'Leave':gt'gdkkru'
  91. end
  92. --- kruchess ---------------------------------