123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- # kruchess
- $metka = ''
- $loc = 'kruchess'
- frost = 0
- gs'stat'
- if night_mode = 1:
- fcolor = rgb(255, 255, 255)
- bcolor = rgb(0, 0, 0)
- lcolor = rgb(106, 90, 205)
- elseif night_mode = 2:
- fcolor = rgb(255, 255, 255)
- bcolor = rgb(20, 20, 20)
- lcolor = rgb(106, 90, 205)
- else
- fcolor = rgb(0, 0, 0)
- bcolor = rgb(255, 255, 255)
- lcolor = rgb(106, 90, 205)
- end
- '<center><b><font color = maroon>Chess Club</font></b></center>'
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/chess/kruchess.jpg"></center>'
- if hour > 20:
- 'Chess club is closed. The coach and some players are tidying away the boards and pieces.'
- act 'Leave':gt'gdkkru'
- else
- if week ! 6:
- 'The kids are sitting around playing practice games, while being watched over and helped by coach Genrikh.'
- act 'Spend an hour practicing with assistance from the coach':
- cla
- *nl
- chess_exp += rand(pcs_intel/20,pcs_intel/10)
- intel_exp += 1
- minut += 60
- '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.'
- act 'Return': gt 'kruchess'
- end
- act 'Talk to the other players':
- *clr & cla
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/chess/talk.jpg"></center>'
- minut += 30
- pcs_mood +=5
- '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.'
- act 'Return': gt 'kruchess'
- end
- act 'Talk to Evgeny Kuznetsov':
- *clr & cla
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/chess/talk.jpg"></center>'
- minut += 30
- chess_exp += 2
- npc_rel['A151'] += 5
- '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.'
- act 'Return': gt 'kruchess'
- end
- else
- 'On Saturdays, after a week''s training, club members spend the whole day playing against each other.'
- if chess_win < 5:
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/chess/play' + rand(1,2) + '.jpg"></center>'
- '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+.'
- act'Play':
- *clr & cla
- $chess_name='Vitalik'
- chessV=40
- gt'chessplay'
- end
- elseif chess_win < 10:
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/chess/play' + rand(1,2) + '.jpg"></center>'
- 'You get to play against Kostya, who recently advanced to rank 3 after passing 1400 ELO points.'
- act'Play':
- *clr & cla
- $chess_name='Kostya'
- chessV=100
- gt'chessplay'
- end
- elseif chess_win < 15:
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/chess/play' + rand(1,2) + '.jpg"></center>'
- 'You sit down to play Sergei. You recall that he is a rank 2 player with an ELO rating of more than 1600.'
- act'Play':
- *clr & cla
- $chess_name='Sergei'
- chessV=300
- gt'chessplay'
- end
- elseif chess_win < 20:
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/chess/play' + rand(1,2) + '.jpg"></center>'
- '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.'
- act'Play':
- *clr & cla
- $chess_name='Coach Genrikh G.'
- chessV=800
- gt'chessplay'
- end
- else
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/chess/play' + rand(1,2) + '.jpg"></center>'
- '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.'
- act'Play':
- *clr & cla
- $chess_name='Evgeny'
- chessV=900
- gt'chessplay'
- end
- end
- end
- act 'Leave':gt'gdkkru'
- end
- --- kruchess ---------------------------------
|