1
0

autotraidF.qsrc 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360
  1. # autotraidF
  2. if $ARGS[0] = 'start':
  3. $metka = $ARGS[0]
  4. $loc = $CURLOC
  5. $location_type = 'event'
  6. $menu_arg = 'start'
  7. $menu_loc = 'autotraidF'
  8. menu_off = 0
  9. *clr & cla
  10. gs 'stat'
  11. '<center><b>Car Dealership</b></center>'
  12. '<center><img <<$set_imgh>> src="images/locations/city/industrial/usedcar/autotraid.jpg"></center>'
  13. 'Upon entering the yard, you see a laminated piece of paper pinned to a wall near the entrance:'
  14. '- We only sell to people with valid driver''s licenses.'
  15. '- New State law: No sale if you already own a car.'
  16. act 'Leave': minut += 5 & gt 'Nord'
  17. if hour <= 17:
  18. if car > 0:act 'Ask about selling your car':gt 'autotraidF', 'manager1'
  19. act 'Look at the new cars for sale': gt 'autosalonF', 'start'
  20. act 'Look at the used cars for sale':gt 'autotraidF', 'car'
  21. end
  22. end
  23. if $ARGS[0] = 'manager1':
  24. $metka = $ARGS[0]
  25. $loc = $CURLOC
  26. $menu_arg = 'manager1'
  27. $menu_loc = 'autotraidF'
  28. menu_off = 0
  29. *clr & cla
  30. gs 'stat'
  31. '<center><b>Used Car Dealership</b></center>'
  32. '<center><img <<$set_imgh>> src="images/locations/city/industrial/usedcar/autotraid.jpg"></center>'
  33. gs 'avb'
  34. act 'Leave': minut += 5 & gt 'Nord'
  35. if cardrive = 9 and car > 0:
  36. '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.'
  37. act 'No way, not at that price - Leave': minut += 5 & gt 'Nord'
  38. act 'Sell ​your car (<<bupay>> <b>₽</b>) (1:00)':
  39. cla
  40. menu_off = 1
  41. minut += 60
  42. money += bupay
  43. car = 0
  44. '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.'
  45. '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.'
  46. '"Maybe you see something you like."'
  47. act 'Leave': minut += 5 & gt 'Nord'
  48. end
  49. elseif cardrive ! 9:
  50. '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!"'
  51. if money >= 3000:
  52. act 'Pay for towing service to the car market (3,000 <b>₽</b>) (1:00)':
  53. cla
  54. menu_off = 1
  55. minut += 60
  56. cardrive = 9
  57. money -= 3000
  58. '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.'
  59. act 'Talk to the car salesman again':gt 'autotraidF', 'manager1'
  60. end
  61. end
  62. end
  63. end
  64. if $ARGS[0] = 'car':
  65. $metka = $ARGS[0]
  66. $loc = $CURLOC
  67. $menu_arg = 'car'
  68. $menu_loc = 'autotraidF'
  69. menu_off = 0
  70. *clr & cla
  71. minut += 5
  72. carT = 0
  73. gs 'stat'
  74. '<center><b>Used Car Dealership</b></center>'
  75. '<center><img <<$set_imgh>> src="images/locations/city/industrial/usedcar/autotraid.jpg"></center>'
  76. '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.'
  77. *nl
  78. '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.'
  79. act 'Return': gt 'autotraidF', 'start'
  80. if hour <= 17:
  81. act 'Inspect a 2107':
  82. cla
  83. *clr
  84. menu_off = 1
  85. '<center><b>2107</b></center>'
  86. '<center><img <<$set_imgh>> src="images/shared/accessories/car/car.jpg"></center>'
  87. tehNT = 200
  88. tehT = rand(10, tehNT)
  89. carT = 1
  90. gs 'avt'
  91. '<<$tehT>> The car salesman wants <<bupay>> <b>₽</b> for it.'
  92. act 'Look around some more':gt 'autotraidF', 'car'
  93. if car = 0 and prava = 1 and money >= bupay:
  94. act 'Buy the car (<<bupay>> <b>₽</b>)':
  95. cla
  96. money -= bupay
  97. $car = '2107'
  98. car = 1
  99. benz = 3
  100. cardrive = 9
  101. teh = tehT
  102. tehcar = 200
  103. wrek = 0
  104. '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.'
  105. '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.'
  106. act 'Leave': minut += 5 & gt 'Nord'
  107. end
  108. end
  109. end
  110. act 'Inspect another 2107 (Broken Engine)':
  111. cla
  112. *clr
  113. menu_off = 1
  114. '<center><b>2107 (Broken engine)</b></center>'
  115. '<center><img <<$set_imgh>> src="images/shared/accessories/car/car.jpg"></center>'
  116. tehNT = 200
  117. tehT = rand(10, tehNT)
  118. bupay = rand(10000, 50000)
  119. '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.'
  120. act 'Look around some more':gt 'autotraidf', 'car'
  121. if car = 0 and prava = 1 and money >= bupay:
  122. act 'Buy it for <<bupay>><b>₽</b>':
  123. cla
  124. money -= bupay
  125. $car = '2107'
  126. car = 1
  127. benz = 3
  128. cardrive = 9
  129. teh = tehT
  130. tehcar = 200
  131. wrek = 1
  132. '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.'
  133. '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.'
  134. 'If you want to get the car to a garage, you''ll have to go there and have it towed.'
  135. act 'Leave': minut += 5 & gt 'Nord'
  136. end
  137. end
  138. end
  139. act 'Inspect a VAZ 2115':
  140. cla
  141. *clr
  142. menu_off = 1
  143. tehNT = 300
  144. tehT = RAND(10,tehNT)
  145. carT = 1
  146. '<center><b>VAZ 2115</b></center>'
  147. '<center><img <<$set_imgh>> src="images/shared/accessories/car/car2.jpg"></center>'
  148. gs'avt'
  149. '<<$tehT>> The car salesman wants <<bupay>> <b>₽</b> for it.'
  150. act 'Look around some more':gt'autotraidF','car'
  151. if car = 0 and prava = 1 and money >= bupay:
  152. act 'Buy for <<bupay>> <b>₽</b>':
  153. cla
  154. money = money - bupay
  155. $car = 'VAZ 2115'
  156. car = 2
  157. benz = 3
  158. cardrive = 9
  159. teh = tehT
  160. tehcar = 300
  161. wrek = 0
  162. '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.'
  163. '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.'
  164. act 'Leave': minut += 5 & gt'Nord'
  165. end
  166. end
  167. end
  168. act 'Inspect a VAZ 2113':
  169. cla
  170. *clr
  171. menu_off = 1
  172. tehNT = 290
  173. tehT = RAND(10,tehNT)
  174. carT = 1
  175. '<center><b>VAZ 2113</b></center>'
  176. '<center><img <<$set_imgh>> src="images/shared/accessories/car/car3.jpg"></center>'
  177. gs'avt'
  178. '<<$tehT>> The car salesman wants <<bupay>> <b>₽</b> for it.'
  179. act 'Look around some more':gt'autotraidF','car'
  180. if car = 0 and prava = 1 and money >= bupay:
  181. act 'Buy for <<bupay>> <b>₽</b>':
  182. cla
  183. money = money - bupay
  184. $car = 'VAZ 2113'
  185. car = 3
  186. benz = 3
  187. cardrive = 9
  188. teh = tehT
  189. tehcar = 290
  190. wrek = 0
  191. '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.'
  192. '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.'
  193. act 'Leave': minut += 5 & gt'Nord'
  194. end
  195. end
  196. end
  197. act 'Inspect a VAZ 2114':
  198. cla
  199. *clr
  200. menu_off = 1
  201. tehNT = 300
  202. tehT = RAND(10,tehNT)
  203. carT = 1
  204. '<center><b>VAZ 2114</b></center>'
  205. '<center><img <<$set_imgh>> src="images/shared/accessories/car/car4.jpg"></center>'
  206. gs'avt'
  207. '<<$tehT>> The car salesman wants <<bupay>> <b>₽</b> for it.'
  208. act 'Look around some more':gt'autotraidF','car'
  209. if car = 0 and prava = 1 and money >= bupay:
  210. act 'Buy for <<bupay>> <b>₽</b>':
  211. cla
  212. money = money - bupay
  213. $car = 'VAZ 2114'
  214. car = 4
  215. benz = 3
  216. cardrive = 9
  217. teh = tehT
  218. tehcar = 300
  219. wrek = 0
  220. '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.'
  221. '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.'
  222. act 'Leave': minut += 5 & gt'Nord'
  223. end
  224. end
  225. end
  226. act 'Inspect a VAZ 2110':
  227. cla
  228. *clr
  229. menu_off = 1
  230. tehNT = 350
  231. tehT = RAND(10,tehNT)
  232. carT = 1
  233. '<center><b>VAZ 2110</b></center>'
  234. '<center><img <<$set_imgh>> src="images/shared/accessories/car/car5.jpg"></center>'
  235. gs'avt'
  236. '<<$tehT>> The car salesman wants <<bupay>> <b>₽</b> for it.'
  237. act 'Look around some more':gt'autotraidF','car'
  238. if car = 0 and prava = 1 and money >= bupay:
  239. act 'Buy for <<bupay>> <b>₽</b>':
  240. cla
  241. money = money - bupay
  242. $car = 'VAZ 2110'
  243. car = 5
  244. benz = 3
  245. cardrive = 9
  246. teh = tehT
  247. tehcar = 350
  248. wrek = 0
  249. '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.'
  250. '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.'
  251. act 'Leave': minut += 5 & gt'Nord'
  252. end
  253. end
  254. end
  255. act 'Inspect a GAZ 3102':
  256. cla
  257. *clr
  258. menu_off = 1
  259. '<center><b>3102 GAS</b></center>'
  260. '<center><img <<$set_imgh>> src="images/shared/accessories/car/car11.jpg"></center>'
  261. tehNT = 1000
  262. tehT = rand(10, tehNT)
  263. carT = 2
  264. gs 'avt'
  265. '<<$tehT>> The car salesman wants <<bupay>> <b>₽</b> for it.'
  266. act 'Look around some more':gt 'autotraidf', 'car'
  267. if car = 0 and prava = 1 and money >= bupay:
  268. act 'Buy <<bupay>><b>₽</b>':
  269. cla
  270. money -= bupay
  271. $car = 'GAZ 3102'
  272. car = 11
  273. benz = 5
  274. cardrive = 9
  275. teh = tehT
  276. tehcar = 1000
  277. wrek = 0
  278. '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.'
  279. '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.'
  280. act 'Leave': minut += 5 & gt 'Nord'
  281. end
  282. end
  283. end
  284. act 'Inspect a 3110':
  285. cla
  286. *clr
  287. menu_off = 1
  288. '<center><b>3110</b></center>'
  289. '<center><img <<$set_imgh>> src="images/shared/accessories/car/car12.jpg"></center>'
  290. tehNT = 800
  291. tehT = rand(10, tehNT)
  292. carT = 2
  293. gs 'avt'
  294. '<<$tehT>> The car salesman wants <<bupay>> <b>₽</b> for it.'
  295. act 'Look around some more':gt 'autotraidF', 'car'
  296. if car = 0 and prava = 1 and money >= bupay:
  297. act 'Buy (<<bupay>> <b>₽</b>)':
  298. cla
  299. money -= bupay
  300. $car = '3110'
  301. car = 12
  302. benz = 5
  303. cardrive = 9
  304. teh = tehT
  305. tehcar = 800
  306. wrek = 0
  307. '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.'
  308. '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.'
  309. act 'Leave': minut += 5 & gt 'Nord'
  310. end
  311. end
  312. end
  313. end
  314. end
  315. --- autotraidF ---------------------------------