# 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
'List of vehicles for sale'
nl
''
'
Kalina VAZ. | - | New. Price: 400,000 ₽ |
'
'WHA PRIORA. | - | New. Price: 450,000 ₽ |
'
'Chevrolet NIVA. | - | New. Price: 500,000 ₽ |
'
'UAZ HUNTER. | - | New. Price: 500,000 ₽ |
'
'UAZ Patriot. | - | New. Price: 600,000 ₽ |
'
'Ford Focus 2. | - | New. Price: 500,000 ₽ |
'
'Renault LOGAN. | - | New. Price: 700,000 ₽ |
'
'Ford Mondeo. | - | New. Price: 850,000 ₽ |
'
'Toyota Celica. | - | New. Price: 1,000,000 ₽ |
'
'Mitsubishi l200. | - | New. Price: 1,000,000 ₽ |
'
'Toyota Corolla. | - | New. Price: 1,100,000 ₽ |
'
'Mazda 6. | - | New. Price: 1,200,000 ₽ |
'
'Mercedes-Benz E 212. | - | New. Price: 1,700,000 ₽ |
'
'Audi A6. | - | New. Price: 1,900,000 ₽ |
'
'Cadillac Escalade. | - | New. Price: 2,000,000 ₽ |
'
'BMW Z4. | - | New. Price: 3,000,000 ₽ |
'
'BMW M5. | - | New. Price: 4,500,000 ₽ |
'
'BMW X6. | - | New. Price: 4,500,000 ₽ |
'
'Audi Q7. | - | New. Price: 5,000,000 ₽ |
'
'Porsche Cayenne. | - | New. Price: 5,000,000 ₽ |
'
'Jaguar XKR-S. | - | New. Price: 7,000,000 ₽ |
'
'Mercedes-Benz S 600. | - | New. Price: 8,000,000 ₽ |
'
'Bentley Continental gt. | - | New. Price: 10,000,000 ₽ |
'
'Ferrari 458 Italia. | - | New. Price: 20,000,000 ₽ |
'
'
'
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 + bankDebtLimit >= 400000:
act 'Buy a Kalina VAZ (400,000 ₽)':gt 'autosalonF', 'buy', 400000, 'Kalina VAZ', 6, 400
end
if karta + bankDebtLimit >= 450000:
act 'Buy a VAZ Priora (450,000 ₽)':gt 'autosalonF', 'buy', 450000, 'WHA PRIORA', 7, 450
end
if karta + bankDebtLimit >= 500000:
act 'Buy a Chevrolet Niva (500,000 ₽)':gt 'autosalonF', 'buy', 500000, 'Chevrolet NIVA', 8, 500
end
if karta + bankDebtLimit >= 500000:
act 'Buy a UAZ Hunter (500,000 ₽)':gt 'autosalonF', 'buy', 500000, 'UAZ HUNTER', 9, 300
end
if karta + bankDebtLimit >= 600000:
act 'Buy a UAZ Patriot (600,000 ₽)':gt 'autosalonF', 'buy', 600000, 'UAZ Patriot', 10, 400
end
if karta + bankDebtLimit >= 500000:
act 'Buy a Ford Focus 2 (500,000 ₽)':gt 'autosalonF', 'buy', 500000, 'Ford Focus 2', 13, 800
end
if karta + bankDebtLimit >= 700000:
act 'Buy a Renault LOGAN (700,000 ₽)':gt 'autosalonF', 'buy', 700000, 'Renault LOGAN', 102, 1000
end
if karta + bankDebtLimit >= 850000:
act 'Buy a Ford Mondeo (850,000 ₽)':gt 'autosalonF', 'buy', 850000, 'Ford Mondeo', 110, 2000
end
if karta + bankDebtLimit >= 1000000:
act 'Buy a Toyota Celica (1,000,000 ₽)':gt 'autosalonF', 'buy', 1000000, 'Toyota Celica', 104, 3000
end
if karta + bankDebtLimit >= 1000000:
act 'Buy a Mitsubishi l200 (1,000,000 ₽)':gt 'autosalonF', 'buy', 1000000, 'Mitsubishi l200', 95, 2000
end
if karta + bankDebtLimit >= 1100000:
act 'Buy a Toyota Corolla (1,100,000 ₽)':gt 'autosalonF', 'buy', 1100000, 'Toyaboutta Corolla', 103, 3000
end
if karta + bankDebtLimit >= 1200000:
act 'Buy a Mazda 6 (1,200,000 ₽)':gt 'autosalonF', 'buy', 1200000, 'Mazda 6', 105, 3000
end
if karta + bankDebtLimit >= 1700000:
act 'Buy a Mercedes-Benz E 212 (1,700,000 ₽)':gt 'autosalonF', 'buy', 1700000, 'Mercedes-Benz E 212', 106, 5000
end
if karta + bankDebtLimit >= 1900000:
act 'Buy an Audi A6 (1,900,000 ₽)':gt 'autosalonF', 'buy', 1900000, 'Audi A6', 109, 5000
end
if karta + bankDebtLimit >= 2000000:
act 'Buy a Cadillac Escalade (2,000,000 ₽)':gt 'autosalonF', 'buy', 2000000, 'Cadillac Escalade', 97, 4000
end
if karta + bankDebtLimit >= 3000000:
act 'Buy a BMW Z4 (3,000,000 ₽)':gt 'autosalonF', 'buy', 3000000, 'BMW Z4', 101, 4000
end
if karta + bankDebtLimit >= 4500000:
act 'Buy a BMW M5 (4,500,000 ₽)':gt 'autosalonF', 'buy', 4500000, 'BMW M5', 107, 6000
end
if karta + bankDebtLimit >= 4500000:
act 'Buy a BMW X6 (4,500,000 ₽)':gt 'autosalonF', 'buy', 4500000, 'BMW X6', 99, 4000
end
if karta + bankDebtLimit >= 5000000:
act 'Buy an Audi Q7 (5,000,000 ₽)':gt 'autosalonF', 'buy', 5000000, 'Audi Q7', 96, 5000
end
if karta + bankDebtLimit >= 5000000:
act 'Buy a Porsche Cayenne (5,000,000 ₽)':gt 'autosalonF', 'buy', 5000000, 'Porsche Cayenne', 98, 3000
end
if karta + bankDebtLimit >= 7000000:
act 'Buy a Jaguar XKR-S (7,000,000 ₽)':gt 'autosalonF', 'buy', 7000000, 'Jaguar XKR-S', 108, 4000
end
if karta + bankDebtLimit >= 8000000:
act 'Buy a Mercedes-Benz S 600 (8,000,000 ₽)':gt 'autosalonF', 'buy', 8000000, 'Mercedes-Benz S 600', 100, 8000
end
if karta + bankDebtLimit >= 10000000:
act 'Buy a Bentley Continental GT (10,000,000 ₽)':gt 'autosalonF', 'buy', 10000000, 'Bentley Continental GT', 111, 8000
end
if karta + bankDebtLimit >= 20000000:
act 'Buy a Ferrari 458 Italia (20,000,000 ₽)':gt 'autosalonF', 'buy', 20000000, '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
teh = ARGS[4]
tehcar = 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 ---------------------------------