123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187 |
- # autosalonF
- if $ARGS[0] = 'start':
- $loc_arg = $ARGS[0]
- $loc = 'autosalonF'
- $location_type = 'event'
- menu_off = 1
- cla
- *clr
- minut += 5
- gs 'stat'
- '<center><b>Car Dealership</b></center>'
- '<center><img <<$set_imgh>> src="images/locations/city/industrial/cardealer/manager.jpg"></center>'
- nl
- '<b><center>Vehicles for sale, all brand new</center></b>'
- nl
- $car_table = '<center><table border=0>'
- $car_table += '<TH>Car</TH><TH></TH><TH>Price in <b>₽</b></TH>'
- $car_table += '<TR><TD><a href="exec:GS ''carF1'',''6''">LADA Kalina</a>.</TD><TD> - </TD><TD> 535,800 <b>₽</b> </TD>'
- $car_table += '<TR><TD><a href="exec:GS ''carF1'',''7''">LADA Vesta</a>.</TD><TD> - </TD><TD> 645,000 <b>₽</b> </TD>'
- $car_table += '<TR><TD><a href="exec:GS ''carF1'',''8''">Chevrolet NIVA</a>.</TD><TD> - </TD><TD> 625,000 <b>₽</b> </TD>'
- $car_table += '<TR><TD><a href="exec:GS ''carF1'',''9''">UAZ HUNTER</a>.</TD><TD> - </TD><TD> 600,000 <b>₽</b> </TD>'
- $car_table += '<TR><TD><a href="exec:GS ''carF1'',''10''">UAZ Patriot</a>.</TD><TD> - </TD><TD> 760,000 <b>₽</b> </TD>'
- $car_table += '<TR><TD><a href="exec:GS ''carF1'',''13''">Ford Focus</a>.</TD><TD> - </TD><TD> 884,000 <b>₽</b> </TD>'
- $car_table += '<TR><TD><a href="exec:GS ''carF1'',''102''">Renault LOGAN</a>.</TD><TD> - </TD><TD> 649,990 <b>₽</b> </TD>'
- $car_table += '<TR><TD><a href="exec:GS ''carF1'',''110''">Ford Mondeo</a>.</TD><TD> - </TD><TD> 1,329,000 <b>₽</b> </TD>'
- $car_table += '<TR><TD><a href="exec:GS ''carF1'',''104''">Toyota Camry</a>.</TD><TD> - </TD><TD> 1,484,000 <b>₽</b> </TD>'
- $car_table += '<TR><TD><a href="exec:GS ''carF1'',''95''">Mitsubishi L200</a>.</TD><TD> - </TD><TD> 1,749,990 <b>₽</b> </TD>'
- $car_table += '<TR><TD><a href="exec:GS ''carF1'',''103''">Toyota Corolla</a>.</TD><TD> - </TD><TD> 1,097,000 <b>₽</b> </TD>'
- $car_table += '<TR><TD><a href="exec:GS ''carF1'',''105''">Mazda 6</a>.</TD><TD> - </TD><TD> 1,299,700 <b>₽</b> </TD>'
- $car_table += '<TR><TD><a href="exec:GS ''carF1'',''106''">Mercedes-Benz E-Class</a>.</TD><TD> - </TD><TD> 2,950,000 <b>₽</b> </TD>'
- $car_table += '<TR><TD><a href="exec:GS ''carF1'',''109''">Audi A6</a>.</TD><TD> - </TD><TD> 2,914,000 <b>₽</b> </TD>'
- $car_table += '<TR><TD><a href="exec:GS ''carF1'',''97''">Lexus RX 350</a>.</TD><TD> - </TD><TD> 3,374,000 <b>₽</b> </TD>'
- $car_table += '<TR><TD><a href="exec:GS ''carF1'',''101''">BMW 3-Seria</a>.</TD><TD> - </TD><TD> 2,721,000 <b>₽</b> </TD>'
- $car_table += '<TR><TD><a href="exec:GS ''carF1'',''107''">BMW M5</a>.</TD><TD> - </TD><TD> 7,000,000 <b>₽</b> </TD>'
- $car_table += '<TR><TD><a href="exec:GS ''carF1'',''99''">BMW X6</a>.</TD><TD> - </TD><TD> 5,366,000 <b>₽</b> </TD>'
- $car_table += '<TR><TD><a href="exec:GS ''carF1'',''96''">Audi Q7</a>.</TD><TD> - </TD><TD> 5,000,000 <b>₽</b> </TD>'
- $car_table += '<TR><TD><a href="exec:GS ''carF1'',''98''">Porsche Cayenne</a>.</TD><TD> - </TD><TD> 5,500,000 <b>₽</b> </TD>'
- $car_table += '<TR><TD><a href="exec:GS ''carF1'',''108''">Jaguar XJ</a>.</TD><TD> - </TD><TD> 6,500,000 <b>₽</b> </TD>'
- $car_table += '<TR><TD><a href="exec:GS ''carF1'',''100''">Mercedes-Benz S-Class</a>.</TD><TD> - </TD><TD> 7,600,000 <b>₽</b> </TD>'
- $car_table += '<TR><TD><a href="exec:GS ''carF1'',''111''">Bentley Continental GT</a>.</TD><TD> - </TD><TD> 13,000,000 <b>₽</b> </TD>'
- $car_table += '<TR><TD><a href="exec:GS ''carF1'',''112''">Ferrari 458 Italia</a>.</TD><TD> - </TD><TD> 14,000,000 <b>₽</b> </TD>'
- $car_table += '</table></center>'
- $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
- '<center><b>Car Dealership</b></center>'
- '<center><img <<$set_imgh>> src="images/locations/city/industrial/cardealer/manager.jpg"></center>'
- 'You have <<karta - bankDebtLimit>> <b>₽</b> 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 <b>₽</b>)': gt 'autosalonF', 'buy', 535800, 'LADA Kalina', 6, 400
- end
- if karta >= 645000:
- act 'Buy a LADA Vesta (645,000 <b>₽</b>)': gt 'autosalonF', 'buy', 645000, 'LADA Vesta', 7, 450
- end
- if karta >= 625000:
- act 'Buy a Chevrolet Niva (625,000 <b>₽</b>)': gt 'autosalonF', 'buy', 625000, 'Chevrolet NIVA', 8, 500
- end
- if karta >= 600000:
- act 'Buy a UAZ Hunter (600,000 <b>₽</b>)': gt 'autosalonF', 'buy', 600000, 'UAZ HUNTER', 9, 300
- end
- if karta >= 760000:
- act 'Buy a UAZ Patriot (760,000 <b>₽</b>)': gt 'autosalonF', 'buy', 760000, 'UAZ Patriot', 10, 400
- end
- if karta >= 884000:
- act 'Buy a Ford Focus (884,000 <b>₽</b>)': gt 'autosalonF', 'buy', 884000, 'Ford Focus', 13, 800
- end
- if karta >= 649990:
- act 'Buy a Renault LOGAN (649,990 <b>₽</b>)': gt 'autosalonF', 'buy', 649990, 'Renault LOGAN', 102, 1000
- end
- if karta >= 1329000:
- act 'Buy a Ford Mondeo (1,329,000 <b>₽</b>)': gt 'autosalonF', 'buy', 1329000, 'Ford Mondeo', 110, 2000
- end
- if karta >= 1484000:
- act 'Buy a Toyota Camry (1,484,000 <b>₽</b>)': gt 'autosalonF', 'buy', 1484000, 'Toyota Camry', 104, 3000
- end
- if karta >= 1749990:
- act 'Buy a Mitsubishi L200 (1,749,990 <b>₽</b>)': gt 'autosalonF', 'buy', 1749990, 'Mitsubishi L200', 95, 2000
- end
- if karta >= 1097000:
- act 'Buy a Toyota Corolla (1,097,000 <b>₽</b>)': gt 'autosalonF', 'buy', 1097000, 'Toyota Corolla', 103, 3000
- end
- if karta >= 1299700:
- act 'Buy a Mazda 6 (1,299,700 <b>₽</b>)': gt 'autosalonF', 'buy', 1299700, 'Mazda 6', 105, 3000
- end
- if karta >= 2950000:
- act 'Buy a Mercedes-Benz E-Class (2,950,000 <b>₽</b>)': gt 'autosalonF', 'buy', 2950000, 'Mercedes-Benz E-Class', 106, 5000
- end
- if karta >= 2914000:
- act 'Buy an Audi A6 (2,914,000 <b>₽</b>)': gt 'autosalonF', 'buy', 2914000, 'Audi A6', 109, 5000
- end
- if karta >= 3374000:
- act 'Buy a Lexus RX 350(3,374,000 <b>₽</b>)': gt 'autosalonF', 'buy', 3374000, 'Lexus RX 350', 97, 4000
- end
- if karta >= 2721000:
- act 'Buy a BMW 3-Seria (2,721,000 <b>₽</b>)': gt 'autosalonF', 'buy', 2721000, 'BMW 3-Seria', 101, 4000
- end
- if karta >= 7000000:
- act 'Buy a BMW M5 (7,000,000 <b>₽</b>)': gt 'autosalonF', 'buy', 7000000, 'BMW M5', 107, 6000
- end
- if karta >= 5366000:
- act 'Buy a BMW X6 (5,366,000 <b>₽</b>)': gt 'autosalonF', 'buy', 5366000, 'BMW X6', 99, 4000
- end
- if karta >= 5000000:
- act 'Buy an Audi Q7 (5,000,000 <b>₽</b>)': gt 'autosalonF', 'buy', 5000000, 'Audi Q7', 96, 5000
- end
- if karta >= 5500000:
- act 'Buy a Porsche Cayenne (5,500,000 <b>₽</b>)': gt 'autosalonF', 'buy', 5500000, 'Porsche Cayenne', 98, 3000
- end
- if karta >= 6500000:
- act 'Buy a Jaguar XJ (6,500,000 <b>₽</b>)': gt 'autosalonF', 'buy', 6500000, 'Jaguar XJ', 108, 4000
- end
- if karta >= 7600000:
- act 'Buy a Mercedes-Benz S-Class (7,600,000 <b>₽</b>)': gt 'autosalonF', 'buy', 7600000, 'Mercedes-Benz S-Class', 100, 8000
- end
- if karta >= 13000000:
- act 'Buy a Bentley Continental GT (13,000,000 <b>₽</b>)': gt 'autosalonF', 'buy', 13000000, 'Bentley Continental GT', 111, 8000
- end
- if karta >= 14000000:
- act 'Buy a Ferrari 458 Italia (14,000,000 <b>₽</b>)': 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 ---------------------------------
|