|
@@ -5,45 +5,45 @@ if $ARGS[0] = 'start':
|
|
|
menu_off = 1
|
|
|
gs 'stat'
|
|
|
minut += 30
|
|
|
- kolsorev += 1
|
|
|
- razdtumbler = 0
|
|
|
- begmon = month
|
|
|
- begminus = 0
|
|
|
+ runnerQW['races_ran'] += 1
|
|
|
+ !razdtumbler = 0 & !these do not appear anywhere else
|
|
|
+ !begmon = month & !these do not appear anywhere else
|
|
|
+ runnerQW['bmi_penalty'] = 0
|
|
|
|
|
|
- if razradbeg = 0:
|
|
|
+ if runnerQW['prof_stage'] = 0:
|
|
|
'You''re registered for an amateur''s race. The results will determine if you join the club''s junior squad and entry in the semi-professional runner circuit.'
|
|
|
|
|
|
act 'Go to the track field.':gt 'beg1', 'br'
|
|
|
- elseif razradbeg = 1:
|
|
|
+ elseif runnerQW['prof_stage'] = 1:
|
|
|
'As a member of your club''s junior squad, you''re registered for a semi-professional''s race. The results will determine if you join the veteran squad.'
|
|
|
|
|
|
act 'Go to the track field.':gt 'beg1', 'kms'
|
|
|
- elseif razradbeg = 2:
|
|
|
+ elseif runnerQW['prof_stage'] = 2:
|
|
|
'As a member of your club''s veteran squad, you''re registered for a semi-professional''s race. The results will determine your entry in the professional runner circuit.'
|
|
|
|
|
|
act 'Go to the track field.':gt 'beg1', 'ross'
|
|
|
- elseif razradbeg >= 3 and razradbeg < 14:
|
|
|
+ elseif runnerQW['prof_stage'] >= 3 and runnerQW['prof_stage'] < 14:
|
|
|
'As one of your club''s best athletes, you can take part in a series of qualifying races in the professional circuit. Winning 9 out of 11 would qualify you for the St. Petersburg Track Championship, that is celebrated seasonally.'
|
|
|
nl
|
|
|
- 'Qualifying Races Attended: <<razradbeg - 3>>'
|
|
|
- 'Top 3 finishes in Qualifying Races: <<razradbegK>>'
|
|
|
+ 'Qualifying Races Attended: <<runnerQW[''prof_stage''] - 3>>'
|
|
|
+ 'Top 3 finishes in Qualifying Races: <<runnerQW[''qualifiers'']>>'
|
|
|
|
|
|
act 'Go to the stadium':gt 'beg1', 'kval'
|
|
|
- elseif razradbeg = 14 and razradbegK < 9:
|
|
|
+ elseif runnerQW['prof_stage'] = 14 and runnerQW['qualifiers'] < 9:
|
|
|
cla
|
|
|
- razradbegK = 0
|
|
|
- razradbeg = 3
|
|
|
+ runnerQW['qualifiers'] = 0
|
|
|
+ runnerQW['prof_stage'] = 3
|
|
|
'You were unable to qualify for the St. Petersburg Championship.'
|
|
|
|
|
|
! WD: Argument is 'dressing room'
|
|
|
act 'Go back to the dressing room':gt 'fit', 'dressing_room'
|
|
|
- elseif razradbeg = 14 and razradbegK >= 9:
|
|
|
+ elseif runnerQW['prof_stage'] = 14 and runnerQW['qualifiers'] >= 9:
|
|
|
cla
|
|
|
- razradbegK = 0
|
|
|
- razradbeg = 3
|
|
|
+ runnerQW['qualifiers'] = 0
|
|
|
+ runnerQW['prof_stage'] = 3
|
|
|
'You qualified for the <<year>> St. Petersburg Track Championship, taking place this season in the Petrovsky Stadium.'
|
|
|
|
|
|
- act 'Go to the stadium':gt 'beg1', 'evro'
|
|
|
+ act 'Go to the stadium': gt 'beg1', 'evro'
|
|
|
end
|
|
|
end
|
|
|
|
|
@@ -51,13 +51,13 @@ if $ARGS[0] = 'br':
|
|
|
cla
|
|
|
gs 'exercise', 'tier2', 30, 'run'
|
|
|
|
|
|
- begminus = 0
|
|
|
+ runnerQW['bmi_penalty'] = 0
|
|
|
if pcs_bmi > 25:
|
|
|
- begminus = ((pcs_bmi - 25)*4)
|
|
|
+ runnerQW['bmi_penalty'] = ((pcs_bmi - 25)*4)
|
|
|
elseif pcs_bmi < 20:
|
|
|
- begminus = ((20 - pcs_bmi)*(20-pcs_bmi))
|
|
|
+ runnerQW['bmi_penalty'] = ((20 - pcs_bmi)*(20-pcs_bmi))
|
|
|
end
|
|
|
- begresult = pcs_run - begminus
|
|
|
+ runnerQW['result'] = pcs_run - runnerQW['bmi_penalty']
|
|
|
|
|
|
'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/race/ready.jpg"></center>'
|
|
|
'Your discipline: The Women''s 400 Meter Dash.'
|
|
@@ -73,35 +73,35 @@ if $ARGS[0] = 'br':
|
|
|
'Go! - You''re away!'
|
|
|
wait 725
|
|
|
|
|
|
- if begresult < 5:
|
|
|
+ if runnerQW['result'] < 5:
|
|
|
grupvalue[2] -= 3
|
|
|
'Sadly, you barely managed to reach the finish line, walking the last 100 meters. Of course, you came in last - but you also made a bit of a fool of yourself.'
|
|
|
- elseif begresult < 10:
|
|
|
+ elseif runnerQW['result'] < 10:
|
|
|
grupvalue[2] -= 2
|
|
|
'You performed well for an amateur but still only came in last (8th place).'
|
|
|
- elseif begresult < 15:
|
|
|
+ elseif runnerQW['result'] < 15:
|
|
|
grupvalue[2] -= 1
|
|
|
'You fought hard, but managed to only take the penultimate place (7th place).'
|
|
|
- elseif begresult < 20:
|
|
|
+ elseif runnerQW['result'] < 20:
|
|
|
'You fought hard, but only managed to take 6th place.'
|
|
|
- elseif begresult < 35:
|
|
|
+ elseif runnerQW['result'] < 35:
|
|
|
grupvalue[2] += 1
|
|
|
'You fought hard, but only managed to take 5th place.'
|
|
|
- elseif begresult < 40:
|
|
|
+ elseif runnerQW['result'] < 40:
|
|
|
grupvalue[2] += 2
|
|
|
'You fought hard, but only managed to take 4th place.'
|
|
|
- elseif begresult < 45:
|
|
|
+ elseif runnerQW['result'] < 45:
|
|
|
grupvalue[2] += 3
|
|
|
gs 'fame', 'city', 'running', 14
|
|
|
- bronzebeg += 1 & money += 150 & 'You fought hard and managed to take 3rd place, earning a prize: You receive a bronze badge and a prize of 150 <b>₽</b>'
|
|
|
- elseif begresult < 50:
|
|
|
+ runnerQW['bronze_medals'] += 1 & money += 150 & 'You fought hard and managed to take 3rd place, earning a prize: You receive a bronze badge and a prize of 150 <b>₽</b>'
|
|
|
+ elseif runnerQW['result'] < 50:
|
|
|
grupvalue[2] += 4
|
|
|
gs 'fame', 'city', 'running', rand(14,15)
|
|
|
- silverbeg += 1 & money += 300 & 'You fought hard and managed to take 2nd place, earning a prize: You receive a silver badge and a prize of 300 <b>₽</b>'
|
|
|
+ runnerQW['silver_medals'] += 1 & money += 300 & 'You fought hard and managed to take 2nd place, earning a prize: You receive a silver badge and a prize of 300 <b>₽</b>'
|
|
|
else
|
|
|
grupvalue[2] += 5
|
|
|
gs 'fame', 'city', 'running', rand(14,16)
|
|
|
- razradbeg = 1 & goldbeg += 1 & money += 600 & 'You fought hard and managed to take 1st place! You receive a gold badge, a prize of 600 <b>₽</b> and are now part of your club''s junior squad, performing at the semi-professional level.'
|
|
|
+ runnerQW['prof_stage'] = 1 & runnerQW['gold_medals'] += 1 & money += 600 & 'You fought hard and managed to take 1st place! You receive a gold badge, a prize of 600 <b>₽</b> and are now part of your club''s junior squad, performing at the semi-professional level.'
|
|
|
end
|
|
|
|
|
|
act 'Leave':gt 'fit', 'dressing_room'
|
|
@@ -111,13 +111,13 @@ if $ARGS[0] = 'kms':
|
|
|
cla
|
|
|
gs 'exercise', 'tier2', 30, 'run'
|
|
|
|
|
|
- begminus = 0
|
|
|
+ runnerQW['bmi_penalty'] = 0
|
|
|
if pcs_bmi > 25:
|
|
|
- begminus = ((pcs_bmi - 25)*4)
|
|
|
+ runnerQW['bmi_penalty'] = ((pcs_bmi - 25)*4)
|
|
|
elseif pcs_bmi < 20:
|
|
|
- begminus = ((20 - pcs_bmi)*(20-pcs_bmi))
|
|
|
+ runnerQW['bmi_penalty'] = ((20 - pcs_bmi)*(20-pcs_bmi))
|
|
|
end
|
|
|
- begresult = pcs_run - begminus
|
|
|
+ runnerQW['result'] = pcs_run - runnerQW['bmi_penalty']
|
|
|
|
|
|
'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/race/ready.jpg"></center>'
|
|
|
'Your discipline: The Women''s 400 Meter Dash.'
|
|
@@ -133,38 +133,38 @@ if $ARGS[0] = 'kms':
|
|
|
'Go! - You''re away!'
|
|
|
wait 725
|
|
|
|
|
|
- if begresult < 20:
|
|
|
+ if runnerQW['result'] < 20:
|
|
|
grupvalue[2] -= 2
|
|
|
- razradbeg = 0 & 'But you barely managed to reach the finish line, walking the last 100 meters. Of course, you came in last - but you also made of a fool of yourself. People on the ranks seem to be asking themselves how you even managed to make it this far. Maybe they are right? Your performance is so atrocious that the coach decides to return you to the amateur rank.'
|
|
|
- elseif begresult < 25:
|
|
|
+ runnerQW['prof_stage'] = 0 & 'But you barely managed to reach the finish line, walking the last 100 meters. Of course, you came in last - but you also made of a fool of yourself. People on the ranks seem to be asking themselves how you even managed to make it this far. Maybe they are right? Your performance is so atrocious that the coach decides to return you to the amateur rank.'
|
|
|
+ elseif runnerQW['result'] < 25:
|
|
|
grupvalue[2] -= 1
|
|
|
'You fought hard but still have a lot of work ahead of you if you want to be better than your competition. You didn''t manage to reach any classification.'
|
|
|
- elseif begresult < 30:
|
|
|
+ elseif runnerQW['result'] < 30:
|
|
|
'You fought hard but still have a lot of work ahead of you if you want to be better than your competition. You only came in last (8th place).'
|
|
|
- elseif begresult < 35:
|
|
|
+ elseif runnerQW['result'] < 35:
|
|
|
'You fought hard, but managed to only take the penultimate place (7th place).'
|
|
|
- elseif begresult < 40:
|
|
|
+ elseif runnerQW['result'] < 40:
|
|
|
grupvalue[2] += 1
|
|
|
'You fought hard, but only managed to take 6th place.'
|
|
|
- elseif begresult < 45:
|
|
|
+ elseif runnerQW['result'] < 45:
|
|
|
grupvalue[2] += 2
|
|
|
'You fought hard, but only managed to take 5th place.'
|
|
|
- elseif begresult < 50:
|
|
|
+ elseif runnerQW['result'] < 50:
|
|
|
grupvalue[2] += 3
|
|
|
gs 'fame', 'city', 'running', 14
|
|
|
'You fought hard, but only managed to take 4th place.'
|
|
|
- elseif begresult < 55:
|
|
|
+ elseif runnerQW['result'] < 55:
|
|
|
grupvalue[2] += 4
|
|
|
gs 'fame', 'city', 'running', rand(14,15)
|
|
|
- bronzebeg += 1 & money += 300 & 'You fought hard and managed to take 3rd place, earning a prize: You get a bronze medal and a prize of 300 <b>₽</b>'
|
|
|
- elseif begresult < 60:
|
|
|
+ runnerQW['bronze_medals'] += 1 & money += 300 & 'You fought hard and managed to take 3rd place, earning a prize: You get a bronze medal and a prize of 300 <b>₽</b>'
|
|
|
+ elseif runnerQW['result'] < 60:
|
|
|
grupvalue[2] += 5
|
|
|
gs 'fame', 'city', 'running', rand(14,16)
|
|
|
- silverbeg += 1 & money += 600 & 'You fought hard and managed to take 2nd place, earning a prize: You get a silver medal and a prize of 600 <b>₽</b>'
|
|
|
+ runnerQW['silver_medals'] += 1 & money += 600 & 'You fought hard and managed to take 2nd place, earning a prize: You get a silver medal and a prize of 600 <b>₽</b>'
|
|
|
else
|
|
|
grupvalue[2] += 6
|
|
|
gs 'fame', 'city', 'running', rand(14,17)
|
|
|
- razradbeg = 3 & goldbeg += 1 & money += 1000 & 'You fought hard and managed to take 1st place! You get a gold medal, a prize of 1,000 <b>₽</b> and are now part of your club''s veteran squad, performing at the semi-professional level.'
|
|
|
+ runnerQW['prof_stage'] = 3 & runnerQW['gold_medals'] += 1 & money += 1000 & 'You fought hard and managed to take 1st place! You get a gold medal, a prize of 1,000 <b>₽</b> and are now part of your club''s veteran squad, performing at the semi-professional level.'
|
|
|
end
|
|
|
act 'Leave':gt 'fit', 'dressing_room'
|
|
|
end
|
|
@@ -173,13 +173,13 @@ if $ARGS[0] = 'ross':
|
|
|
cla
|
|
|
gs 'exercise', 'tier2', 30, 'run'
|
|
|
|
|
|
- begminus = 0
|
|
|
+ runnerQW['bmi_penalty'] = 0
|
|
|
if pcs_bmi > 25:
|
|
|
- begminus = ((pcs_bmi - 25)*4)
|
|
|
+ runnerQW['bmi_penalty'] = ((pcs_bmi - 25)*4)
|
|
|
elseif pcs_bmi < 20:
|
|
|
- begminus = ((20 - pcs_bmi)*(20-pcs_bmi))
|
|
|
+ runnerQW['bmi_penalty'] = ((20 - pcs_bmi)*(20-pcs_bmi))
|
|
|
end
|
|
|
- begresult = pcs_run - begminus
|
|
|
+ runnerQW['result'] = pcs_run - runnerQW['bmi_penalty']
|
|
|
|
|
|
'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/race/ready.jpg"></center>'
|
|
|
'Your discipline: The Women''s 400 Meter Dash.'
|
|
@@ -195,38 +195,38 @@ if $ARGS[0] = 'ross':
|
|
|
'Go! - You''re away!'
|
|
|
wait 725
|
|
|
|
|
|
- if begresult < 30:
|
|
|
- razradbeg = 1 & 'But you barely managed to reach the finish line, walking the last 100 meters. Of course, you came in last - but you also made of a fool of yourself. People on the ranks seem to be asking themselves how you even managed to make it this far. Maybe they are right? Your performance is so atrocious that the coach decides to return you to the junior rank.'
|
|
|
- elseif begresult < 35:
|
|
|
+ if runnerQW['result'] < 30:
|
|
|
+ runnerQW['prof_stage'] = 1 & 'But you barely managed to reach the finish line, walking the last 100 meters. Of course, you came in last - but you also made of a fool of yourself. People on the ranks seem to be asking themselves how you even managed to make it this far. Maybe they are right? Your performance is so atrocious that the coach decides to return you to the junior rank.'
|
|
|
+ elseif runnerQW['result'] < 35:
|
|
|
'You fought hard but still have a lot of work ahead of you if you want to be better than your competition. You didn''t manage to reach any classification.'
|
|
|
- elseif begresult < 40:
|
|
|
+ elseif runnerQW['result'] < 40:
|
|
|
'You fought hard but still have a lot of work ahead of you if you want to be better than your competition. You only came in last (8th place).'
|
|
|
- elseif begresult < 45:
|
|
|
+ elseif runnerQW['result'] < 45:
|
|
|
grupvalue[2] += 1
|
|
|
'You fought hard, but managed to only take the penultimate place (7th place).'
|
|
|
- elseif begresult < 50:
|
|
|
+ elseif runnerQW['result'] < 50:
|
|
|
grupvalue[2] += 2
|
|
|
'You fought hard, but only managed to take 6th place.'
|
|
|
- elseif begresult < 55:
|
|
|
+ elseif runnerQW['result'] < 55:
|
|
|
grupvalue[2] += 3
|
|
|
gs 'fame', 'city', 'running', 14
|
|
|
'You fought hard, but only managed to take 5th place.'
|
|
|
- elseif begresult < 60:
|
|
|
+ elseif runnerQW['result'] < 60:
|
|
|
grupvalue[2] += 4
|
|
|
gs 'fame', 'city', 'running', rand(14,15)
|
|
|
'You fought hard, but only managed to take 4th place.'
|
|
|
- elseif begresult < 65:
|
|
|
+ elseif runnerQW['result'] < 65:
|
|
|
grupvalue[2] += 5
|
|
|
gs 'fame', 'city', 'running', rand(14,16)
|
|
|
- bronzebeg += 1 & money += 600 & 'You fought hard and managed to take 3rd place, earning a prize: You get a bronze medal and a prize of 600 <b>₽</b>'
|
|
|
- elseif begresult < 70:
|
|
|
+ runnerQW['bronze_medals'] += 1 & money += 600 & 'You fought hard and managed to take 3rd place, earning a prize: You get a bronze medal and a prize of 600 <b>₽</b>'
|
|
|
+ elseif runnerQW['result'] < 70:
|
|
|
grupvalue[2] += 6
|
|
|
gs 'fame', 'city', 'running', rand(14,17)
|
|
|
- silverbeg += 1 & money += 1000 & 'You fought hard and managed to take 2nd place, earning a prize: You get a silver medal and a prize of 1,000 <b>₽</b>'
|
|
|
+ runnerQW['silver_medals'] += 1 & money += 1000 & 'You fought hard and managed to take 2nd place, earning a prize: You get a silver medal and a prize of 1,000 <b>₽</b>'
|
|
|
else
|
|
|
grupvalue[2] += 7
|
|
|
gs 'fame', 'city', 'running', rand(14,18)
|
|
|
- razradbeg = 3 & goldbeg += 1 & money += 1500 & 'You fought hard and managed to take 1st place! You get a gold medal, a prize of 1,500 <b>₽</b> and gain entry to the professional circuit.'
|
|
|
+ runnerQW['prof_stage'] = 3 & runnerQW['gold_medals'] += 1 & money += 1500 & 'You fought hard and managed to take 1st place! You get a gold medal, a prize of 1,500 <b>₽</b> and gain entry to the professional circuit.'
|
|
|
end
|
|
|
act 'Leave':gt 'fit', 'dressing_room'
|
|
|
end
|
|
@@ -234,16 +234,16 @@ end
|
|
|
if $ARGS[0] = 'kval':
|
|
|
cla
|
|
|
gs 'exercise', 'tier2', 30, 'run'
|
|
|
- razradbeg += 1
|
|
|
+ runnerQW['prof_stage'] += 1
|
|
|
minut += 60
|
|
|
|
|
|
- begminus = 0
|
|
|
+ runnerQW['bmi_penalty'] = 0
|
|
|
if pcs_bmi > 25:
|
|
|
- begminus = ((pcs_bmi - 25)*4)
|
|
|
+ runnerQW['bmi_penalty'] = ((pcs_bmi - 25)*4)
|
|
|
elseif pcs_bmi < 20:
|
|
|
- begminus = ((20 - pcs_bmi)*(20-pcs_bmi))
|
|
|
+ runnerQW['bmi_penalty'] = ((20 - pcs_bmi)*(20-pcs_bmi))
|
|
|
end
|
|
|
- begresult = pcs_run - begminus
|
|
|
+ runnerQW['result'] = pcs_run - runnerQW['bmi_penalty']
|
|
|
|
|
|
'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/race/ready.jpg"></center>'
|
|
|
'Your discipline: The Women''s 400 Meter Dash.'
|
|
@@ -260,40 +260,40 @@ if $ARGS[0] = 'kval':
|
|
|
'Go! - You''re away!'
|
|
|
wait 725
|
|
|
|
|
|
- if begresult < 40:
|
|
|
+ if runnerQW['result'] < 40:
|
|
|
grupvalue[2] -= 1
|
|
|
- razradbeg = 2 & razradbegK = 0 & 'But you barely managed to reach the finish line, walking the last 100 meters. Of course, you came in last - but you also made of a fool of yourself. People on the ranks seem to be asking themselves how you even managed to make it this far. Maybe they are right? Your performance is so atrocious that the coach decides to return you to the semi-professional rank.'
|
|
|
- elseif begresult < 45:
|
|
|
+ runnerQW['prof_stage'] = 2 & runnerQW['qualifiers'] = 0 & 'But you barely managed to reach the finish line, walking the last 100 meters. Of course, you came in last - but you also made of a fool of yourself. People on the ranks seem to be asking themselves how you even managed to make it this far. Maybe they are right? Your performance is so atrocious that the coach decides to return you to the semi-professional rank.'
|
|
|
+ elseif runnerQW['result'] < 45:
|
|
|
'You fought hard but still have a lot of work ahead of you if you want to be better than your competition. You didn''t manage to reach any classification.'
|
|
|
- elseif begresult < 50:
|
|
|
+ elseif runnerQW['result'] < 50:
|
|
|
'You fought hard but still have a lot of work ahead of you if you want to be better than your competition. You only came in last (8th place).'
|
|
|
- elseif begresult < 55:
|
|
|
+ elseif runnerQW['result'] < 55:
|
|
|
grupvalue[2] += 2
|
|
|
'You fought hard, but managed to only take the penultimate place (7th place).'
|
|
|
- elseif begresult < 60:
|
|
|
+ elseif runnerQW['result'] < 60:
|
|
|
grupvalue[2] += 3
|
|
|
gs 'fame', 'city', 'running', 14
|
|
|
'You fought hard, but only managed to take 6th place.'
|
|
|
- elseif begresult < 65:
|
|
|
+ elseif runnerQW['result'] < 65:
|
|
|
grupvalue[2] += 4
|
|
|
gs 'fame', 'city', 'running', rand(14,15)
|
|
|
'You fought hard, but only managed to take 5th place.'
|
|
|
- elseif begresult < 70:
|
|
|
+ elseif runnerQW['result'] < 70:
|
|
|
grupvalue[2] += 5
|
|
|
gs 'fame', 'city', 'running', rand(14,16)
|
|
|
'You fought hard, but only managed to take 4th place.'
|
|
|
- elseif begresult < 75:
|
|
|
+ elseif runnerQW['result'] < 75:
|
|
|
grupvalue[2] += 6
|
|
|
gs 'fame', 'city', 'running', rand(14,17)
|
|
|
- razradbegK += 1 & bronzebeg += 1 & money += 1000 & 'You fought hard and managed to take 3rd place, earning a prize. You get a bronze badge and a prize of 1,000 <b>₽</b>, but sadly, only the 1st place adds to your qualification for the European championship.'
|
|
|
- elseif begresult < 80:
|
|
|
+ runnerQW['qualifiers'] += 1 & runnerQW['bronze_medals'] += 1 & money += 1000 & 'You fought hard and managed to take 3rd place, earning a prize. You get a bronze badge and a prize of 1,000 <b>₽</b>, but sadly, only the 1st place adds to your qualification for the European championship.'
|
|
|
+ elseif runnerQW['result'] < 80:
|
|
|
grupvalue[2] += 7
|
|
|
gs 'fame', 'city', 'running', rand(14,18)
|
|
|
- razradbegK += 1 & silverbeg += 1 & money += 1500 & 'You fought hard and managed to take 2nd place, earning a prize. You get a silver medal and a prize of 1,500 <b>₽</b>, but sadly, only the 1st place adds to your qualification for the European championship.'
|
|
|
+ runnerQW['qualifiers'] += 1 & runnerQW['silver_medals'] += 1 & money += 1500 & 'You fought hard and managed to take 2nd place, earning a prize. You get a silver medal and a prize of 1,500 <b>₽</b>, but sadly, only the 1st place adds to your qualification for the European championship.'
|
|
|
else
|
|
|
grupvalue[2] += 8
|
|
|
gs 'fame', 'city', 'running', rand(14,19)
|
|
|
- razradbegK += 1 & goldbeg += 1 & money += 2000 & 'You fought hard and managed to take 1st place! You get a gold medal, a prize of 2,000 <b>₽</b> and are one step closer to qualifying for the St. Petersburg Championship.'
|
|
|
+ runnerQW['qualifiers'] += 1 & runnerQW['gold_medals'] += 1 & money += 2000 & 'You fought hard and managed to take 1st place! You get a gold medal, a prize of 2,000 <b>₽</b> and are one step closer to qualifying for the St. Petersburg Championship.'
|
|
|
end
|
|
|
act 'Leave':gt 'fit', 'dressing_room'
|
|
|
end
|
|
@@ -303,13 +303,13 @@ if $ARGS[0] = 'evro':
|
|
|
gs 'exercise', 'tier2', 30, 'run'
|
|
|
minut += 120
|
|
|
|
|
|
- begminus = 0
|
|
|
+ runnerQW['bmi_penalty'] = 0
|
|
|
if pcs_bmi > 25:
|
|
|
- begminus = ((pcs_bmi - 25)*4)
|
|
|
+ runnerQW['bmi_penalty'] = ((pcs_bmi - 25)*4)
|
|
|
elseif pcs_bmi < 20:
|
|
|
- begminus = ((20 - pcs_bmi)*(20-pcs_bmi))
|
|
|
+ runnerQW['bmi_penalty'] = ((20 - pcs_bmi)*(20-pcs_bmi))
|
|
|
end
|
|
|
- begresult = pcs_run - begminus
|
|
|
+ runnerQW['result'] = pcs_run - runnerQW['bmi_penalty']
|
|
|
|
|
|
'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/race/ready.jpg"></center>'
|
|
|
'Your discipline: The Women''s 400 Meter Dash.'
|
|
@@ -326,57 +326,57 @@ if $ARGS[0] = 'evro':
|
|
|
'Go! - You''re away!'
|
|
|
wait 725
|
|
|
|
|
|
- if begresult < 50:
|
|
|
+ if runnerQW['result'] < 50:
|
|
|
grupvalue[2] -= 1
|
|
|
- razradbeg = 2 & razradbegK = 0 & 'But you barely managed to reach the finish line, walking the last 100 meters. Of course, you came in last - but you also made of a fool of yourself. People on the ranks seem to be asking themselves how you even managed to make it this far. Maybe they are right? Your performance is so atrocious that the coach decide to return you to the semi-proffessional rank.'
|
|
|
+ runnerQW['prof_stage'] = 2 & runnerQW['qualifiers'] = 0 & 'But you barely managed to reach the finish line, walking the last 100 meters. Of course, you came in last - but you also made of a fool of yourself. People on the ranks seem to be asking themselves how you even managed to make it this far. Maybe they are right? Your performance is so atrocious that the coach decide to return you to the semi-proffessional rank.'
|
|
|
gs 'fame', 'city', 'running', rand(14,19)
|
|
|
act 'Leave':gt 'fit', 'dressing_room'
|
|
|
- elseif begresult < 55:
|
|
|
+ elseif runnerQW['result'] < 55:
|
|
|
'You fought hard but still have a lot of work ahead of you if you want to be better than your competition. You didn''t manage to reach any classification.'
|
|
|
gs 'fame', 'city', 'running', rand(15,21)
|
|
|
act 'Leave':gt 'fit', 'dressing_room'
|
|
|
- elseif begresult < 60:
|
|
|
+ elseif runnerQW['result'] < 60:
|
|
|
gs 'fame', 'city', 'running', rand(16,23)
|
|
|
'You fought hard but still have a lot of work ahead of you if you want to be better than your competition. You only came in last (8th place).'
|
|
|
act 'Leave':gt 'fit', 'dressing_room'
|
|
|
- elseif begresult < 65:
|
|
|
+ elseif runnerQW['result'] < 65:
|
|
|
grupvalue[2] += 1
|
|
|
gs 'fame', 'city', 'running', rand(18,25)
|
|
|
'You fought hard, but managed to only take the penultimate place (7th place).'
|
|
|
act 'Leave':gt 'fit', 'dressing_room'
|
|
|
- elseif begresult < 70:
|
|
|
+ elseif runnerQW['result'] < 70:
|
|
|
grupvalue[2] += 2
|
|
|
gs 'fame', 'city', 'running', rand(20,25)
|
|
|
'You fought hard, but only managed to take 6th place.'
|
|
|
act 'Leave':gt 'fit', 'dressing_room'
|
|
|
- elseif begresult < 75:
|
|
|
+ elseif runnerQW['result'] < 75:
|
|
|
grupvalue[2] += 3
|
|
|
gs 'fame', 'city', 'running', rand(25,50)
|
|
|
'You fought hard, but only managed to take 5th place.'
|
|
|
act 'Leave':gt 'fit', 'dressing_room'
|
|
|
- elseif begresult < 80:
|
|
|
+ elseif runnerQW['result'] < 80:
|
|
|
grupvalue[2] += 4
|
|
|
gs 'fame', 'city', 'running', rand(50,100)
|
|
|
'You fought hard, but only managed to take 4th place.'
|
|
|
act 'Leave':gt 'fit', 'dressing_room'
|
|
|
- elseif begresult < 85:
|
|
|
+ elseif runnerQW['result'] < 85:
|
|
|
grupvalue[2] += 6
|
|
|
gs 'fame', 'city', 'running', 'BronzeMedal'
|
|
|
- razradbegEB += 1
|
|
|
+ runnerQW['champ_bronze'] += 1
|
|
|
money += 10000
|
|
|
'You fought hard and managed to take 3rd place, earning a prize. You get a bronze medal and a prize of 10,000 <b>₽</b>'
|
|
|
act 'Leave':gt 'fit', 'dressing_room'
|
|
|
- elseif begresult < 90:
|
|
|
+ elseif runnerQW['result'] < 90:
|
|
|
grupvalue[2] += 8
|
|
|
gs 'fame', 'city', 'running', 'SilverMedal'
|
|
|
- razradbegES += 1
|
|
|
+ runnerQW['champ_silver'] += 1
|
|
|
money += 15000
|
|
|
'You fought hard and managed to take 2nd place, earning a prize. You get a silver medal and a prize of 15,000 <b>₽</b>'
|
|
|
act 'Leave':gt 'fit', 'dressing_room'
|
|
|
else
|
|
|
grupvalue[2] += 10
|
|
|
gs 'fame', 'city', 'running', 'GoldMedal'
|
|
|
- razradbegEG += 1
|
|
|
+ runnerQW['champ_gold'] += 1
|
|
|
money += 20000
|
|
|
'You fought hard and managed to take 1st place. You get a gold medal, a prize of 20,000 <b>₽</b> and are now the "St. Petersburg Track Champion"!'
|
|
|
act 'Continue': gt 'beg1', 'Family extension'
|