# autosalonF
if $ARGS[0] = 'start':
$loc_arg = $ARGS[0]
$loc = 'autosalonF'
$location_type = 'event'
menu_off = 1
cla
*clr
minut += 5
gs 'stat'
'
Car Dealership'
'> src="images/locations/city/industrial/cardealer/manager.jpg">'
nl
'Vehicles for sale, all brand new'
nl
$car_table = ''
$car_table += 'Car | | Price in ₽ | '
$car_table += 'LADA Kalina. | - | 535,800 ₽ | '
$car_table += '
LADA Vesta. | - | 645,000 ₽ | '
$car_table += '
Chevrolet NIVA. | - | 625,000 ₽ | '
$car_table += '
UAZ HUNTER. | - | 600,000 ₽ | '
$car_table += '
UAZ Patriot. | - | 760,000 ₽ | '
$car_table += '
Ford Focus. | - | 884,000 ₽ | '
$car_table += '
Renault LOGAN. | - | 649,990 ₽ | '
$car_table += '
Ford Mondeo. | - | 1,329,000 ₽ | '
$car_table += '
Toyota Camry. | - | 1,484,000 ₽ | '
$car_table += '
Mitsubishi L200. | - | 1,749,990 ₽ | '
$car_table += '
Toyota Corolla. | - | 1,097,000 ₽ | '
$car_table += '
Mazda 6. | - | 1,299,700 ₽ | '
$car_table += '
Mercedes-Benz E-Class. | - | 2,950,000 ₽ | '
$car_table += '
Audi A6. | - | 2,914,000 ₽ | '
$car_table += '
Lexus RX 350. | - | 3,374,000 ₽ | '
$car_table += '
BMW 3-Seria. | - | 2,721,000 ₽ | '
$car_table += '
BMW M5. | - | 7,000,000 ₽ | '
$car_table += '
BMW X6. | - | 5,366,000 ₽ | '
$car_table += '
Audi Q7. | - | 5,000,000 ₽ | '
$car_table += '
Porsche Cayenne. | - | 5,500,000 ₽ | '
$car_table += '
Jaguar XJ. | - | 6,500,000 ₽ | '
$car_table += '
Mercedes-Benz S-Class. | - | 7,600,000 ₽ | '
$car_table += '
Bentley Continental GT. | - | 13,000,000 ₽ | '
$car_table += '
Ferrari 458 Italia. | - | 14,000,000 ₽ | '
$car_table += '
'
$car_table
act 'Talk to the manager': gt 'autosalonF', 'manager1'
act 'Return': gt 'autotraidF', 'start'
end
if $ARGS[0] = 'manager1':
$loc_arg = $ARGS[0]
$loc = 'autosalonF'
$menu_arg = 'manager1'
$menu_loc = 'autosalonF'
menu_off = 0
cla
*clr
gs 'stat'
minut += 5
'Car Dealership'
'> src="images/locations/city/industrial/cardealer/manager.jpg">'
'You have <> ₽ in your bank account.'
'The manager smiles affably and explains routinely what is required to purchase a car: A driver''s license and the sum, in full, in your bank account.'
'"With how the economy is right now, we can''t accept payment by installments at this time I''m afraid," he apologizes. "A few new laws have also been passed too: We cannot accept cash payment - the Duma believes that will help fight crime - and it is currently not possible to own more than one car, according to the Oblast''s new anti-corruption law.'
act 'Leave': gt 'city_industrial'
if prava = 1:
if karta >= 535800:
act 'Buy a LADA Kalina (535,800 ₽)': gt 'autosalonF', 'buy', 535800, 'LADA Kalina', 6, 400
end
if karta >= 645000:
act 'Buy a LADA Vesta (645,000 ₽)': gt 'autosalonF', 'buy', 645000, 'LADA Vesta', 7, 450
end
if karta >= 625000:
act 'Buy a Chevrolet Niva (625,000 ₽)': gt 'autosalonF', 'buy', 625000, 'Chevrolet NIVA', 8, 500
end
if karta >= 600000:
act 'Buy a UAZ Hunter (600,000 ₽)': gt 'autosalonF', 'buy', 600000, 'UAZ HUNTER', 9, 300
end
if karta >= 760000:
act 'Buy a UAZ Patriot (760,000 ₽)': gt 'autosalonF', 'buy', 760000, 'UAZ Patriot', 10, 400
end
if karta >= 884000:
act 'Buy a Ford Focus (884,000 ₽)': gt 'autosalonF', 'buy', 884000, 'Ford Focus', 13, 800
end
if karta >= 649990:
act 'Buy a Renault LOGAN (649,990 ₽)': gt 'autosalonF', 'buy', 649990, 'Renault LOGAN', 102, 1000
end
if karta >= 1329000:
act 'Buy a Ford Mondeo (1,329,000 ₽)': gt 'autosalonF', 'buy', 1329000, 'Ford Mondeo', 110, 2000
end
if karta >= 1484000:
act 'Buy a Toyota Camry (1,484,000 ₽)': gt 'autosalonF', 'buy', 1484000, 'Toyota Camry', 104, 3000
end
if karta >= 1749990:
act 'Buy a Mitsubishi L200 (1,749,990 ₽)': gt 'autosalonF', 'buy', 1749990, 'Mitsubishi L200', 95, 2000
end
if karta >= 1097000:
act 'Buy a Toyota Corolla (1,097,000 ₽)': gt 'autosalonF', 'buy', 1097000, 'Toyota Corolla', 103, 3000
end
if karta >= 1299700:
act 'Buy a Mazda 6 (1,299,700 ₽)': gt 'autosalonF', 'buy', 1299700, 'Mazda 6', 105, 3000
end
if karta >= 2950000:
act 'Buy a Mercedes-Benz E-Class (2,950,000 ₽)': gt 'autosalonF', 'buy', 2950000, 'Mercedes-Benz E-Class', 106, 5000
end
if karta >= 2914000:
act 'Buy an Audi A6 (2,914,000 ₽)': gt 'autosalonF', 'buy', 2914000, 'Audi A6', 109, 5000
end
if karta >= 3374000:
act 'Buy a Lexus RX 350(3,374,000 ₽)': gt 'autosalonF', 'buy', 3374000, 'Lexus RX 350', 97, 4000
end
if karta >= 2721000:
act 'Buy a BMW 3-Seria (2,721,000 ₽)': gt 'autosalonF', 'buy', 2721000, 'BMW 3-Seria', 101, 4000
end
if karta >= 7000000:
act 'Buy a BMW M5 (7,000,000 ₽)': gt 'autosalonF', 'buy', 7000000, 'BMW M5', 107, 6000
end
if karta >= 5366000:
act 'Buy a BMW X6 (5,366,000 ₽)': gt 'autosalonF', 'buy', 5366000, 'BMW X6', 99, 4000
end
if karta >= 5000000:
act 'Buy an Audi Q7 (5,000,000 ₽)': gt 'autosalonF', 'buy', 5000000, 'Audi Q7', 96, 5000
end
if karta >= 5500000:
act 'Buy a Porsche Cayenne (5,500,000 ₽)': gt 'autosalonF', 'buy', 5500000, 'Porsche Cayenne', 98, 3000
end
if karta >= 6500000:
act 'Buy a Jaguar XJ (6,500,000 ₽)': gt 'autosalonF', 'buy', 6500000, 'Jaguar XJ', 108, 4000
end
if karta >= 7600000:
act 'Buy a Mercedes-Benz S-Class (7,600,000 ₽)': gt 'autosalonF', 'buy', 7600000, 'Mercedes-Benz S-Class', 100, 8000
end
if karta >= 13000000:
act 'Buy a Bentley Continental GT (13,000,000 ₽)': gt 'autosalonF', 'buy', 13000000, 'Bentley Continental GT', 111, 8000
end
if karta >= 14000000:
act 'Buy a Ferrari 458 Italia (14,000,000 ₽)': gt 'autosalonF', 'buy', 14000000, 'Ferrari 458 Italia', 112, 10000
end
end
end
if $ARGS[0] = 'buy':
cla
*clr
menu_off = 1
karta -= ARGS[1]
$car = $ARGS[2]
car = ARGS[3]
benz = 3
cardrive = 9
car['new_condition'] = ARGS[4]
car['current_condition'] = ARGS[4]
wrek = 0
'The manager draws up a purchasing contract, and you inform the bank of the impending transaction. Once the bank has confirmed the write-off, the manager hands you the key to your new car.'
'"It''s waiting for you outside," he says. "The fuel tank is almost empty though, so you should stop by the gas station right away."'
act 'Leave': gt'city_industrial'
end
--- autosalonF ---------------------------------