123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360 |
- # autotraidF
- if $ARGS[0] = 'start':
- $metka = $ARGS[0]
- $loc = $CURLOC
- $location_type = 'event'
- $menu_arg = 'start'
- $menu_loc = 'autotraidF'
- menu_off = 0
- *clr & cla
- gs 'stat'
- '<center><b>Car Dealership</b></center>'
- '<center><img <<$set_imgh>> src="images/locations/city/industrial/usedcar/autotraid.jpg"></center>'
- 'Upon entering the yard, you see a laminated piece of paper pinned to a wall near the entrance:'
- '- We only sell to people with valid driver''s licenses.'
- '- New State law: No sale if you already own a car.'
- act 'Leave': minut += 5 & gt 'Nord'
-
- if hour <= 17:
- if car > 0:act 'Ask about selling your car':gt 'autotraidF', 'manager1'
- act 'Look at the new cars for sale': gt 'autosalonF', 'start'
- act 'Look at the used cars for sale':gt 'autotraidF', 'car'
- end
- end
- if $ARGS[0] = 'manager1':
- $metka = $ARGS[0]
- $loc = $CURLOC
- $menu_arg = 'manager1'
- $menu_loc = 'autotraidF'
- menu_off = 0
- *clr & cla
- gs 'stat'
- '<center><b>Used Car Dealership</b></center>'
- '<center><img <<$set_imgh>> src="images/locations/city/industrial/usedcar/autotraid.jpg"></center>'
- gs 'avb'
- act 'Leave': minut += 5 & gt 'Nord'
-
- if cardrive = 9 and car > 0:
- 'The shifty-looking salesman circles around your car a couple of times, making exaggerated displeased noises all the while and pointing out practically every speck of dust as if it was a huge damage. When he turns to you, he states that the best he can do is <<bupay>> <b>₽</b> - while he claims that he''s taking a risk with that price, you''re pretty sure he''s ripping you off.'
- act 'No way, not at that price - Leave': minut += 5 & gt 'Nord'
-
- act 'Sell your car (<<bupay>> <b>₽</b>) (1:00)':
- cla
- menu_off = 1
- minut += 60
- money += bupay
- car = 0
- 'While you are almost certain that he''s offering less than the car is actually worth, you doubt that you''re gonna find somebody who''s gonna offer you more for it and your attempts at haggling with the fence fall flat - he''s just too experienced at this.'
- 'So, as much as you hate it, you give your car one last look before you shake hands with him and follow him into the tiny shed he calls his "office" to sign the papers. He hands you the money in cash and, with a nasty grin, suggests that you look around the yard.'
- '"Maybe you see something you like."'
- act 'Leave': minut += 5 & gt 'Nord'
- end
- elseif cardrive ! 9:
- 'The salesman tells you, his smile sneering rather than friendly, that he needs to look at you car before he can tell you how much it''s worth. "But if you want, I can have somebody tow it here. It only costs 3000 <b>₽</b>. Very cheap!"'
- if money >= 3000:
- act 'Pay for towing service to the car market (3,000 <b>₽</b>) (1:00)':
- cla
- menu_off = 1
- minut += 60
- cardrive = 9
- money -= 3000
- 'You give him the money - certain that he''s ripping you off - and wait for an hour until the tow truck finally drives into the yard and your car.'
- act 'Talk to the car salesman again':gt 'autotraidF', 'manager1'
- end
- end
- end
- end
- if $ARGS[0] = 'car':
- $metka = $ARGS[0]
- $loc = $CURLOC
- $menu_arg = 'car'
- $menu_loc = 'autotraidF'
- menu_off = 0
- *clr & cla
- minut += 5
- carT = 0
- gs 'stat'
- '<center><b>Used Car Dealership</b></center>'
- '<center><img <<$set_imgh>> src="images/locations/city/industrial/usedcar/autotraid.jpg"></center>'
- 'There are so many cars on the parking lot that you could spend a lifetime looking around without ever seeing all of them. And according to the salesman, several cars are currently being test-driven or maintained. You doubt that there''s actually any maintenance going on, though: Several of the cars are visibly damaged or make awful sounds when they are started.'
- *nl
- 'It''s obvious that most, if not all of them have sustained some visible or invisible damage. Buying a car here could be a fantastic bargain... or a complete waste of money. If you are to buy any of them, you know that the first place to visit should be a service center.'
- act 'Return': gt 'autotraidF', 'start'
-
- if hour <= 17:
- act 'Inspect a 2107':
- cla
- *clr
- menu_off = 1
- '<center><b>2107</b></center>'
- '<center><img <<$set_imgh>> src="images/shared/accessories/car/car.jpg"></center>'
- tehNT = 200
- tehT = rand(10, tehNT)
- carT = 1
- gs 'avt'
- '<<$tehT>> The car salesman wants <<bupay>> <b>₽</b> for it.'
- act 'Look around some more':gt 'autotraidF', 'car'
- if car = 0 and prava = 1 and money >= bupay:
- act 'Buy the car (<<bupay>> <b>₽</b>)':
- cla
- money -= bupay
- $car = '2107'
- car = 1
- benz = 3
- cardrive = 9
- teh = tehT
- tehcar = 200
- wrek = 0
- 'You agree. Before you know it, the car salesman and you have signed all the necessary documents, you hand over the <<bupay>> <b>₽</b> in cash and the car is yours.'
- 'Since it''s crammed in between about a million other vehicles, the car salesman moves it outside near the yard''s entrance for you and warns you that there is very little gas in the tank.'
- act 'Leave': minut += 5 & gt 'Nord'
- end
- end
- end
- act 'Inspect another 2107 (Broken Engine)':
- cla
- *clr
- menu_off = 1
- '<center><b>2107 (Broken engine)</b></center>'
- '<center><img <<$set_imgh>> src="images/shared/accessories/car/car.jpg"></center>'
- tehNT = 200
- tehT = rand(10, tehNT)
- bupay = rand(10000, 50000)
- 'The car is basically a wreck. It doesn''t even start. When you ask the salesman how much it costs, he tells you "<<bupay>> <b>₽</b>" without hesitation.'
- act 'Look around some more':gt 'autotraidf', 'car'
- if car = 0 and prava = 1 and money >= bupay:
- act 'Buy it for <<bupay>><b>₽</b>':
- cla
- money -= bupay
- $car = '2107'
- car = 1
- benz = 3
- cardrive = 9
- teh = tehT
- tehcar = 200
- wrek = 1
- 'You agree. Before you know it, the car salesman and you have signed all the necessary documents, you hand over the <<bupay>> <b>₽</b> in cash and the car is yours.'
- 'Since it''s crammed in between about a million other vehicles, the car salesman moves it outside near the yard''s entrance for you... and that''s it.'
- 'If you want to get the car to a garage, you''ll have to go there and have it towed.'
- act 'Leave': minut += 5 & gt 'Nord'
- end
- end
- end
- act 'Inspect a VAZ 2115':
- cla
- *clr
- menu_off = 1
- tehNT = 300
- tehT = RAND(10,tehNT)
- carT = 1
- '<center><b>VAZ 2115</b></center>'
- '<center><img <<$set_imgh>> src="images/shared/accessories/car/car2.jpg"></center>'
- gs'avt'
- '<<$tehT>> The car salesman wants <<bupay>> <b>₽</b> for it.'
- act 'Look around some more':gt'autotraidF','car'
- if car = 0 and prava = 1 and money >= bupay:
- act 'Buy for <<bupay>> <b>₽</b>':
- cla
- money = money - bupay
- $car = 'VAZ 2115'
- car = 2
- benz = 3
- cardrive = 9
- teh = tehT
- tehcar = 300
- wrek = 0
- 'You agree. Before you know it, the car salesman and you have signed all the necessary documents, you hand over the <<bupay>> <b>₽</b> in cash and the car is yours.'
- 'Since it''s crammed in between about a million other vehicles, the car salesman moves it outside near the yard''s entrance for you and warns you that there is very little gas in the tank.'
- act 'Leave': minut += 5 & gt'Nord'
- end
- end
- end
- act 'Inspect a VAZ 2113':
- cla
- *clr
- menu_off = 1
- tehNT = 290
- tehT = RAND(10,tehNT)
- carT = 1
- '<center><b>VAZ 2113</b></center>'
- '<center><img <<$set_imgh>> src="images/shared/accessories/car/car3.jpg"></center>'
- gs'avt'
- '<<$tehT>> The car salesman wants <<bupay>> <b>₽</b> for it.'
- act 'Look around some more':gt'autotraidF','car'
- if car = 0 and prava = 1 and money >= bupay:
- act 'Buy for <<bupay>> <b>₽</b>':
- cla
- money = money - bupay
- $car = 'VAZ 2113'
- car = 3
- benz = 3
- cardrive = 9
- teh = tehT
- tehcar = 290
- wrek = 0
- 'You agree. Before you know it, the car salesman and you have signed all the necessary documents, you hand over the <<bupay>> <b>₽</b> in cash and the car is yours.'
- 'Since it''s crammed in between about a million other vehicles, the car salesman moves it outside near the yard''s entrance for you and warns you that there is very little gas in the tank.'
- act 'Leave': minut += 5 & gt'Nord'
- end
- end
- end
- act 'Inspect a VAZ 2114':
- cla
- *clr
- menu_off = 1
- tehNT = 300
- tehT = RAND(10,tehNT)
- carT = 1
- '<center><b>VAZ 2114</b></center>'
- '<center><img <<$set_imgh>> src="images/shared/accessories/car/car4.jpg"></center>'
- gs'avt'
- '<<$tehT>> The car salesman wants <<bupay>> <b>₽</b> for it.'
- act 'Look around some more':gt'autotraidF','car'
- if car = 0 and prava = 1 and money >= bupay:
- act 'Buy for <<bupay>> <b>₽</b>':
- cla
- money = money - bupay
- $car = 'VAZ 2114'
- car = 4
- benz = 3
- cardrive = 9
- teh = tehT
- tehcar = 300
- wrek = 0
- 'You agree. Before you know it, the car salesman and you have signed all the necessary documents, you hand over the <<bupay>> <b>₽</b> in cash and the car is yours.'
- 'Since it''s crammed in between about a million other vehicles, the car salesman moves it outside near the yard''s entrance for you and warns you that there is very little gas in the tank.'
- act 'Leave': minut += 5 & gt'Nord'
- end
- end
- end
- act 'Inspect a VAZ 2110':
- cla
- *clr
- menu_off = 1
- tehNT = 350
- tehT = RAND(10,tehNT)
- carT = 1
- '<center><b>VAZ 2110</b></center>'
- '<center><img <<$set_imgh>> src="images/shared/accessories/car/car5.jpg"></center>'
- gs'avt'
- '<<$tehT>> The car salesman wants <<bupay>> <b>₽</b> for it.'
- act 'Look around some more':gt'autotraidF','car'
- if car = 0 and prava = 1 and money >= bupay:
- act 'Buy for <<bupay>> <b>₽</b>':
- cla
- money = money - bupay
- $car = 'VAZ 2110'
- car = 5
- benz = 3
- cardrive = 9
- teh = tehT
- tehcar = 350
- wrek = 0
- 'You agree. Before you know it, the car salesman and you have signed all the necessary documents, you hand over the <<bupay>> <b>₽</b> in cash and the car is yours.'
- 'Since it''s crammed in between about a million other vehicles, the car salesman moves it outside near the yard''s entrance for you and warns you that there is very little gas in the tank.'
- act 'Leave': minut += 5 & gt'Nord'
- end
- end
- end
- act 'Inspect a GAZ 3102':
- cla
- *clr
- menu_off = 1
- '<center><b>3102 GAS</b></center>'
- '<center><img <<$set_imgh>> src="images/shared/accessories/car/car11.jpg"></center>'
- tehNT = 1000
- tehT = rand(10, tehNT)
- carT = 2
- gs 'avt'
- '<<$tehT>> The car salesman wants <<bupay>> <b>₽</b> for it.'
- act 'Look around some more':gt 'autotraidf', 'car'
- if car = 0 and prava = 1 and money >= bupay:
- act 'Buy <<bupay>><b>₽</b>':
- cla
- money -= bupay
- $car = 'GAZ 3102'
- car = 11
- benz = 5
- cardrive = 9
- teh = tehT
- tehcar = 1000
- wrek = 0
- 'You agree. Before you know it, the car salesman and you have signed all the necessary documents, you hand over the <<bupay>> <b>₽</b> in cash and the car is yours.'
- 'Since it''s crammed in between about a million other vehicles, the car salesman moves it outside near the yard''s entrance for you and warns you that there is very little gas in the tank.'
- act 'Leave': minut += 5 & gt 'Nord'
- end
- end
- end
- act 'Inspect a 3110':
- cla
- *clr
- menu_off = 1
- '<center><b>3110</b></center>'
- '<center><img <<$set_imgh>> src="images/shared/accessories/car/car12.jpg"></center>'
- tehNT = 800
- tehT = rand(10, tehNT)
- carT = 2
- gs 'avt'
- '<<$tehT>> The car salesman wants <<bupay>> <b>₽</b> for it.'
- act 'Look around some more':gt 'autotraidF', 'car'
- if car = 0 and prava = 1 and money >= bupay:
- act 'Buy (<<bupay>> <b>₽</b>)':
- cla
- money -= bupay
- $car = '3110'
- car = 12
- benz = 5
- cardrive = 9
- teh = tehT
- tehcar = 800
- wrek = 0
- 'You agree. Before you know it, the car salesman and you have signed all the necessary documents, you hand over the <<bupay>> <b>₽</b> in cash and the car is yours.'
- 'Since it''s crammed in between about a million other vehicles, the car salesman moves it outside near the yard''s entrance for you and warns you that there is very little gas in the tank.'
- act 'Leave': minut += 5 & gt 'Nord'
- end
- end
- end
- end
- end
- --- autotraidF ---------------------------------
|