# road
$polustanok = {
cls
gs 'stat'
'Ordinary railway platform.'
act 'Leave':minut += 10 & nroad = 5 & gt 'road'
if money >= 150:
act 'Buy a ticket to the town (150 rubles)':
cls
money -= 150
minut += 15
gs 'stat'
'
'
'You paid for the ticket and boarded the train going in the town.'
'After 15 minutes the train stopped at the station.'
act 'To go further':
cls
minut += 15
gs 'stat'
'
'
'After 15 minutes the train stopped at the station.'
act 'To go further':
cls
minut += 15
gs 'stat'
'
'
'After 15 minutes the train stopped in the Township.'
act 'Leave':minut += 20 & nroad = 20 & gt 'vokzalG'
end
act 'Leave':minut += 15 & nroad = 15 & gt 'road'
end
act 'Leave':minut += 10 & nroad = 10 & gt 'road'
end
end
if money >= 50:
act 'Buy a ticket to the Centre (50 rubles)':
cls
money -= 50
minut += 15
gs 'stat'
'
'
'You paid for the ticket and boarded the train going in the town.'
'After 15 minutes the train stopped at the Centre.'
act 'Leave':minut += 5 & nroad = 0 & gt 'Vokzal'
end
end
}
$polustanok2 = {
cls
gs 'stat'
'Ordinary railway platform.'
act 'Leave':minut += 10 & nroad = 10 & gt 'road'
if money >= 100:
act 'Buy a ticket to the town (100 rubles)':
cls
money -= 100
minut += 15
gs 'stat'
'
'
'You paid for the ticket and boarded the train going in the town.'
'After 15 minutes the train stopped at the station.'
act 'To go further':
cls
minut += 15
gs 'stat'
'
'
'After 15 minutes the train stopped in the Township.'
act 'Leave':minut += 20 & nroad = 20 & gt 'vokzalG'
end
act 'Leave':minut += 10 & nroad = 15 & gt 'road'
end
end
if money >= 100:
act 'Buy a ticket to the Center (100 rubles)':
cls
money -= 100
minut += 15
gs 'stat'
'
'
'You paid for the ticket and boarded the train going in the town.'
act 'To go further':
cls
minut += 15
gs 'stat'
'
'
'After 15 minutes the train stopped at the Centre.'
act 'Leave':minut += 5 & nroad = 0 & gt 'Vokzal'
end
act 'Leave':minut += 20 & nroad = 5 & gt 'road'
end
end
}
$polustanok3 = {
cls
gs 'stat'
'Ordinary railway platform.'
act 'Leave':minut += 15 & nroad = 15 & gt 'road'
if money >= 50:
act 'Buy a ticket to the town (50 rubles)':
cls
money -= 100
minut += 15
gs 'stat'
'
'
'You paid for the ticket and boarded the train going in the town.'
'After 15 minutes the train stopped in the Township.'
act 'Leave':minut += 20 & nroad = 20 & gt 'vokzalG'
end
end
if money >= 150:
act 'Buy a ticket to the Center (150 rubles)':
cls
money -= 150
minut += 15
gs 'stat'
'
'
'You paid for the ticket and boarded the train going in the town.'
act 'To go further':
cls
minut += 15
gs 'stat'
'
'
'After 15 minutes the train stopped at the station.'
act 'To go further':
cls
minut += 15
gs 'stat'
'
'
'After 15 minutes the train stopped at the Centre.'
act 'Leave':minut += 5 & nroad = 0 & gt 'Vokzal'
end
act 'Leave':minut += 5 & nroad = 5 & gt 'road'
end
act 'Leave':minut += 20 & nroad = 10 & gt 'road'
end
end
}
$metka = $ARGS[0]
$loc = $CURLOC
clr
gs 'stat'
gs 'time'
'
Northern Highway
'
'
'
'
<> km
'
'Highway which carried cars at high speed, with the hum of the wind enveloping sweep wagon.'
if car > 0 and cardrive = 19 and ncarroad = nroad:'Standing on the sidelines your <<$car>>.'
if nroad = 0:act 'Go to town':minut += 60 & gt 'nord'
if nroad = 16:act 'Go to object':minut += 60 & gt 'obekt'
if nroad = 20:act 'Go to town':minut += 60 & gt 'gorodok'
if nroad < 20:act 'Go north':minut += 60 & nroad += 1 & gt $curloc
if nroad > 0:act 'Go south':minut += 60 & nroad -= 1 & gt $curloc
if nroad = 0:
'Outskirts of the town which brought sad ramshackle huts of kryazhestyh trees.'
'At a roadside stand Lorry'
elseif nroad = 1:
'Not podaleku from the city could be seen houses.'
elseif nroad = 2:
''
elseif nroad = 3:
'Podaleku not seen from the road cemetery.'
elseif nroad = 4:
''
elseif nroad = 5:
'Not podaleku from the road is railway stop next to which is cottage cooperative.'
elseif nroad = 6:
''
elseif nroad = 7:
''
elseif nroad = 8:
''
elseif nroad = 9:
''
elseif nroad = 10:
'Not podaleku from the road is railway stop.'
elseif nroad = 11:
''
elseif nroad = 12:
''
elseif nroad = 13:
''
elseif nroad = 14:
'Near the road is motel'
elseif nroad = 15:
'Not podaleku from the road is railway stop.'
elseif nroad = 16:
'Not podaleku is seen from the road abandoned building.'
elseif nroad = 17:
''
elseif nroad = 18:
''
elseif nroad = 19:
''
elseif nroad = 20:
'Highway abuts the old provincial town.'
'At a roadside stand Lorry'
end
--- road ---------------------------------