pavtrain_market.qsrc 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889
  1. # pavtrain_market
  2. $location_type = 'public_outdoors'
  3. if $ARGS[0] = 'start':
  4. $metka = 'start'
  5. $loc = 'pavtrain_market'
  6. $menu_loc = 'pavtrain_market'
  7. $menu_arg = 'start'
  8. menu_off = 0
  9. CLOSE ALL
  10. if sound = 0:
  11. if month >=11 and month <= 12 or month >=1 and month <=3:
  12. if hour >= 8 and hour <= 23: PLAY 'sound/rynok.mp3',30 & PLAY 'sound/zima.mp3',30
  13. if hour >= 0 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
  14. else
  15. if hour >= 8 and hour <= 23: PLAY 'sound/rynok.mp3',30 & PLAY 'sound/street_leto.mp3',30
  16. if hour >= 0 and hour <= 7:PLAY 'sound/street_night.mp3',30
  17. end
  18. end
  19. clr
  20. gs 'stat'
  21. '<center><h2>Market</h2></center>'
  22. if month >= 11 or month <= 3:
  23. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/grinokw.jpg"></center>'
  24. else
  25. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/grinok.jpg"></center>'
  26. end
  27. *nl
  28. 'This small open air market is located near the train station.'
  29. if arturQW = 1 and (week = 6 or week = 7) and hour < 12: act 'Wait for Arthur to arrive':hour = 12 & gt 'pavtrain_market', 'start'
  30. *nl
  31. if hour >= 8 and hour <= 18:
  32. 'The market stalls are buzzing with shoppers. Everyone seems to be in a good mood and you can hear back and forth bargaining as you pass by.'
  33. if pav_slut >= 50 and rand(0,9) = 0:
  34. menu_off = 1
  35. gs 'stat'
  36. 'An Armenian man comes up to you and in broken Russian says, "You girl who like men, no? Come meet real men have good time."'
  37. act 'Reject him':
  38. *clr & cla
  39. 'You pretend not to understand what he is saying, smiling and shaking your head as you move away from him.'
  40. act 'Return':gt 'pavtrain_market', 'start'
  41. end
  42. act 'Go with him':gt 'gevent', '3'
  43. exit
  44. end
  45. act 'Go back to the station': minut += 3 & gt 'pavtrain'
  46. act 'Wander through the market': gt 'pavtrain_market','events'
  47. if pavtrain_book = 1: act 'Go to the book stall': minut += 5 & gt 'pavtrain_market', 3
  48. if pavmarket_porn = 1: act 'Go to the porn stall': minut += 5 & gt 'pavtrain_market', 4
  49. if arturKnow = 1 and arturQW = 0:
  50. act 'Look for Arthur':gt 'arturRinok', 'start'
  51. elseif arturQW = 1 and (week = 6 or week = 7):
  52. if hour = 12 or hour = 13:
  53. act 'Look for Arthur':gt 'arturRinok', 'work_1'
  54. end
  55. elseif arturQW = 2:
  56. if hour = 16 and minut <= 30:
  57. act 'Look for Arthur':gt 'arturRinok', 'work_2'
  58. elseif hour < 16:
  59. act 'Wait for Arthur to arrive':hour = 16 & minut = 0 & gt 'pavtrain_market', 'start'
  60. end
  61. end
  62. if gobelen > 0 and gobQW = 0:
  63. act'Sell ​​tapestry':
  64. menu_off = 1
  65. *clr & cla
  66. gobQW = 1
  67. minut += 15
  68. gs'stat'
  69. 'You stand quietly by the entrance to the market, waiting for customers and displaying your tapestries. Shortly buyers start to gather, but a large, muscular man approaches you and says, "It is illegal to trade in the market without a trader''s license, but I may be interesting in buying your tapestries, 1000 <b>₽</b> apiece. Come and see me at my stall."'
  70. 'Not wanting to get into trouble, you pack your stuff away. The man was already gone, but you saw which direction he went and he should be easy to find.'
  71. act 'Leave':gt 'pavtrain_market', 'start'
  72. end
  73. elseif gobelen > 0 and gobQW >= 1:
  74. act'Sell ​​tapestry':
  75. menu_off = 1
  76. *clr & cla
  77. minut += 15
  78. gs'stat'
  79. 'You go to the man who offered to buy your tapestries for 1000 <b>₽</b>. You find him by his stall, smiling.'
  80. if gobQW = 2:
  81. 'Roman welcomes you. He is interested and businesslike as he asks what you have for sale.'
  82. elseif gobQW = 1:
  83. gobQW = 2
  84. minut += 5
  85. 'The man greets you and introduces himself as Roman, you tell him that your name is <<$pcs_nickname>>. After a brief chat Roman says that he is interested in seeing what you have for sale.'
  86. end
  87. act 'Leave':gt 'pavtrain_market', 'start'
  88. act'Show your tapestry':
  89. *clr & cla
  90. gobelen -= 1
  91. money += 1000
  92. gs'stat'
  93. 'You show your tapestry to Roman and he gives you five hundred for it. You take the money and give him the tapestry.'
  94. act 'Leave':gt 'pavtrain_market', 'start'
  95. end
  96. if gobelen > 1:
  97. act'Sell all of your tapestries':
  98. *clr & cla
  99. 'You show Roman your tapestries and he gives you <<gobelen * 1000>> <b>₽</b> for them. You take the money and give him the tapestries.'
  100. money += gobelen * 1000
  101. gobelen = 0
  102. gs'stat'
  103. act 'Leave':gt 'pavtrain_market', 'start'
  104. end
  105. end
  106. end
  107. end
  108. if ShowerIvan = 5 and porndeal = 0 and rand(1,10) <= 4 and ricewine ! 1 and lookwine ! daystart:
  109. *clr & cla
  110. gs 'stat'
  111. minut += 20
  112. menu_off = 1
  113. lookwine = daystart
  114. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/chinese_stall01.jpg"></center>'
  115. 'You were looking through the market when you came upon a stall selling Chinese foods. On a shelf behind the old woman minding the stall there are a number of bottles.'
  116. act 'Ask about wang-goo':
  117. cla
  118. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/chinese_stall01.jpg"></center>'
  119. 'You asked the old woman if she has any rice wine to sell. She smiles at you and points to a basket filled with rice.'
  120. '"Onry 2 <b>₽</b>, hundred glam." she said in badly accented Russian, "You buy?"'
  121. '"No," you reply, "I need rice wine, rice wine."'
  122. 'She looks at you in confusion for a moment then suddenly brightened, "Ah!" she exclaims, "Come, come!"'
  123. 'The old woman hurries to the other side of the stall as you follow her to where a number of smoked piglets are hung in a row.'
  124. '"Here," the old woman crowed handing you one of the pigs, "Nice swine, vely nice swine."'
  125. '"No, not nice swine," you sigh out in despair, "Rice! Wine."'
  126. '"Yes, yes," the woman counters, "Nice swine, only 5 <b>₽</b>."'
  127. *nl
  128. 'Just as you were about to give up, a young Chinese boy about your brother''s age arrives.'
  129. '"I am sorry, my grandmother does not speak much Russian." he says as he steps beside the old woman who started to speak rapidly to him in what you assume is Chinese.'
  130. '"My grandmother asks why you don''t like the piglets?" he translates as the old woman stops.'
  131. '"I don''t want a pig," you reply in relief as his Russian is quite good, "I am looking for rice wine, wang-goo."'
  132. '"Ah, huangjiu!" he exclaims as he turns to his grandmother and starts speaking in Chinese.'
  133. 'The old woman glares at you, hangs back the smoked pig and shuffles over to the shelf with the bottles. She finally picks up one of them and brings it over to you.'
  134. '"Why you not say wanted rice wine." she asked in aggrieved tones, "500 <b>₽</b>."'
  135. if money >= 500:
  136. act 'Buy the wine':
  137. *clr & cla
  138. money -= 500
  139. ricewine = 1
  140. 'You hand the woman the money and she gives you the wine.'
  141. act 'Leave': gt 'pavtrain_market', 'start'
  142. end
  143. else
  144. 'You are chocked by the high price and realize that you cannot afford the wine. You apologize and turn away.'
  145. act 'Leave the market': gt 'pavtrain_market', 'start'
  146. act 'Continue browsing the market':
  147. *clr & cla
  148. gs 'stat'
  149. minut += 15
  150. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/market_boy01.jpg"></center>'
  151. 'You continue to wander through the market for another 15 minutes when the boy from the Chinese stall comes up to you.'
  152. '"Hey, you really want that rice wine?" he asks after checking to make sure that no one is watching.'
  153. '"Yes," you answer him, "But it''s too expensive. I can''t afford it."'
  154. '"How about we make a deal." he says, "Go to the porn dealer and buy me a porn magazine and I''ll get you the wine."'
  155. if pornmarkonce = 0: pornmarkonce = 1 & '"Where can I find the porn dealer?" you ask and he happily gives you directions.'
  156. act 'Refuse':
  157. 'You decline his offer as he upsettingly walks away.'
  158. act 'Leave': gt 'pavtrain_market', 'start'
  159. end
  160. act 'Agree': porndeal = 1 & gt 'pavtrain_market', 4
  161. end
  162. end
  163. end
  164. elseif ShowerIvan = 5 and ricewine ! 1 and lookwine ! daystart:
  165. *clr & cla
  166. menu_off = 1
  167. gs 'stat'
  168. lookwine = daystart
  169. if month >= 11 or month <= 3:
  170. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/grinokw.jpg"></center>'
  171. else
  172. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/grinok.jpg"></center>'
  173. end
  174. 'You look around the market, but the Chinese vendors don''t seem to be here today.'
  175. act 'Leave': gt 'pavtrain_market', 'start'
  176. end
  177. if porndeal = 1 and ricewine ! 1 and porndealday ! daystart:
  178. *clr & cla
  179. menu_off = 1
  180. gs 'stat'
  181. porndealday = daystart
  182. lookboy = 0
  183. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/market_boy01.jpg"></center>'
  184. 'The boy from the Chinese stall comes up to you as you enter the market.'
  185. '"Do you have it?" he asks eagerly.'
  186. if haveporn = 1:
  187. porndeal = 2 & ! to close the ricewine event
  188. ricewine = 1
  189. '"Do you have the wine?" you counter.'
  190. 'He pulls the bottle out of his backpack and you trade items.'
  191. act 'Leave': gt 'pavtrain_market', 'start'
  192. else
  193. 'You tell him that you haven''t had time to pick up the magazine yet but you were working on it.'
  194. act 'Leave': gt 'pavtrain_market', 'start'
  195. end
  196. elseif porndeal = 1 and ricewine ! 1 and porndealday = daystart and lookboy = 0:
  197. *clr & cla
  198. menu_off = 1
  199. gs 'stat'
  200. lookboy = 1
  201. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/chinese_stall01.jpg"></center>'
  202. 'You look around the market for the boy from the Chinese stall, but you can''t find him. You decide to look for him another day.'
  203. act 'Leave': gt 'pavtrain_market', 'start'
  204. end
  205. else
  206. 'The market stalls are empty. The market is only open between 08:00 and 19:00.'
  207. act 'Go back to the station': minut += 3 & gt 'pavtrain'
  208. end
  209. end
  210. if $ARGS[0] = 'events':
  211. *clr & cla
  212. minut += 10
  213. menu_off = 1
  214. gs 'stat'
  215. '<center><h2>Market</h2></center>'
  216. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/brodit'+rand(1,8)+'.jpg"></center>'
  217. 'You wander around the market taking in the sounds and colours but nothing catches your eye.'
  218. act 'Stop wandering': gt 'pavtrain_market', 'start'
  219. act 'Wander around the market': gt 'pavtrain_market','events'
  220. if rand(0,3) = 0: gt 'pavtrain_market', rand(1,19)
  221. end
  222. if ARGS[0] = 1:
  223. *clr & cla
  224. menu_off = 1
  225. gs 'stat'
  226. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/poproshaika1.jpg"></center>'
  227. 'You are strolling through the market when a beggar asks you for some change.'
  228. act 'Don''t give money':
  229. *clr & cla
  230. gs 'stat'
  231. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/poproshaika2.jpg"></center>'
  232. 'You ignore the beggar and pretend not to hear him.'
  233. act 'Stop wandering': gt 'pavtrain_market', 'start'
  234. act 'Wander around the market': gt 'pavtrain_market','events'
  235. end
  236. act 'Give some money':
  237. *clr & cla
  238. money -= rand(3,20)
  239. pcs_mood += 5
  240. gs 'stat'
  241. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/podaet.jpg"></center>'
  242. 'You give the beggar a few rubles which he kindly thanks you for.'
  243. act 'Stop wandering': gt 'pavtrain_market', 'start'
  244. act 'Wander around the market': gt 'pavtrain_market','events'
  245. end
  246. end
  247. if ARGS[0] = 2:
  248. *clr & cla
  249. menu_off = 1
  250. minut += 5
  251. gs 'stat'
  252. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/dedgitara.jpg"></center>'
  253. 'You see an old man playing the guitar. He''s trying to avert as much attention as he can to himself.'
  254. act 'Stop wandering': gt 'pavtrain_market', 'start'
  255. act 'Wander around the market': gt 'pavtrain_market','events'
  256. end
  257. if ARGS[0] = 3:
  258. *clr & cla
  259. menu_off = 1
  260. pavtrain_book = 1
  261. gs 'stat'
  262. if month >= 11 or month <= 3:
  263. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/bookw.jpg"></center>'
  264. else
  265. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/book.jpg"></center>'
  266. end
  267. 'You find a stall selling various books, there are fantasy books, science fiction and romance novels, all of which costs only 350 <b>₽</b> each.'
  268. act 'Stop wandering': gt 'pavtrain_market', 'start'
  269. act 'Wander around the market': gt 'pavtrain_market','events'
  270. if money >= 350:
  271. act 'Buy a fantasy book (350 <b>₽</b>)':
  272. *clr & cla
  273. minut += 15
  274. money -= 350
  275. f_book += 1
  276. gs 'stat'
  277. '<center><img <<$set_imgh>> src="images/shared/accessories/books/fantasy' + rand(1,9) + '.jpg"></center>'
  278. 'You bought a fantasy book for 350 <b>₽</b>.'
  279. act 'Leave':gt 'pavtrain_market', 'start'
  280. end
  281. end
  282. if money >= 350:
  283. act 'Buy a science fiction book (350 <b>₽</b>)':
  284. *clr & cla
  285. minut += 15
  286. money -= 350
  287. f_book += 1
  288. gs 'stat'
  289. '<center><img <<$set_imgh>> src="images/shared/accessories/books/scifi' + rand(1,6) + '.jpg"></center>'
  290. 'You bought a science ficiton book for 350 <b>₽</b>.'
  291. act 'Leave':gt 'pavtrain_market', 'start'
  292. end
  293. end
  294. if money >= 350:
  295. act 'Buy a romance novel (350 <b>₽</b>)':
  296. *clr & cla
  297. minut += 15
  298. money -= 350
  299. w_book += 1
  300. gs 'stat'
  301. '<center><img <<$set_imgh>> src="images/shared/accessories/books/romance' + rand(1,20) + '.jpg"></center>'
  302. 'You bought a romance novel for 350 <b>₽</b>.'
  303. act 'Leave':gt 'pavtrain_market', 'start'
  304. end
  305. end
  306. end
  307. if ARGS[0] = 4:
  308. *clr & cla
  309. menu_off = 1
  310. pavmarket_porn = 1
  311. gs 'stat'
  312. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  313. 'You find a small stall that has many shelves with a large variety of porn magazines, a pack of brand new porn playing cards, and you can see several sex toys just behind the counter. The salesman watches over his stall with shifty eyes.'
  314. act 'Stop wandering': gt 'pavtrain_market', 'start'
  315. act 'Wander around the market': gt 'pavtrain_market','events'
  316. if money >= 699 and card < 2:
  317. act 'Buy cards (699 <b>₽</b>)':
  318. *clr & cla
  319. minut += 5
  320. money -= 699
  321. card = 2
  322. TimesBuyPorno += 1
  323. delact 'Buy cards'
  324. gs 'stat'
  325. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  326. 'You try not to look into the eyes of the porn dealer as you count the money. You quickly grab the cards and shove them in your purse.'
  327. act 'Leave':gt 'pavtrain_market', 'start'
  328. act 'Buy something else':gt 'pavtrain_market', 4
  329. end
  330. end
  331. if porndeal = 1:
  332. if money >= 400:
  333. act 'Buy a porn magazine for the Chinese boy (400 <b>₽</b>)':
  334. *clr & cla
  335. minut += 5
  336. money -= 400
  337. haveporn = 1
  338. gs 'stat'
  339. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  340. 'You try your best not to look into the eyes of the porn dealer as you count the money. You take the magazine and quickly hide it.'
  341. act 'Leave':gt 'pavtrain_market', 'start'
  342. act 'Buy something else':gt 'pavtrain_market', 4
  343. end
  344. end
  345. else
  346. act 'Browse the porn magazines':
  347. *clr & cla
  348. gs 'arousal', 'voyeur', 5
  349. gs 'arousal', 'end'
  350. gs 'stat'
  351. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  352. act 'Leave':gt 'pavtrain_market', 'start'
  353. act 'Look for something else':gt 'pavtrain_market', 4
  354. if TimesBuyPorno = 0:
  355. 'You look over the magazine covers, covered in images of half-naked girls on them. Many of them appear to be near your own age. The porn dealer notices your interest and looks at you expectantly.'
  356. act 'Look through a magazine':
  357. cla
  358. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  359. 'You pick up one of the magazines and flip through the pages. Inside the magazines, you see men with large erect penis engaging in sexual acts with women who are either half-naked or fully naked, most of them look close to your own age. You feel yourself getting aroused looking at the images.'
  360. act 'Leave':gt 'pavtrain_market', 'start'
  361. act 'Look for something else':gt 'pavtrain_market', 4
  362. act 'Ask for the price':
  363. *clr & cla
  364. minut += 5
  365. gs 'stat'
  366. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  367. 'Blushing profusely right down to your roots, you approach the porn dealer and stammeringly ask him the price on the magazines. The porn dealer smiles at you and says, "All magazines are 400 <b>₽</b> each."'
  368. act 'Leave':gt 'pavtrain_market', 'start'
  369. act 'Look for something else':gt 'pavtrain_market', 4
  370. if money >= 400:
  371. act 'Buy magazine (400 <b>₽</b>)':
  372. *clr & cla
  373. minut += 5
  374. money -= 400
  375. pornMagazine = 40
  376. TimesBuyPorno += 1
  377. gs 'stat'
  378. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  379. 'You try not to look into the porn dealers eyes as you hand him the money. You take the magazine and quickly hide it under your shirt.'
  380. act 'Leave':gt 'pavtrain_market', 'start'
  381. act 'Buy something else':gt 'pavtrain_market', 4
  382. end
  383. end
  384. end
  385. end
  386. elseif TimesBuyPorno > 0 and TimesBuyPorno < 5:
  387. 'The porn dealer notices you coming over and asks, "Looking to buy a magazine? They''re only 400 <b>₽</b> each."'
  388. act 'Look through a magazine':
  389. cla
  390. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  391. 'You pick up one of the magazines and flip through the pages. Inside the magazines, you see men with large erect penis engaging in sexual acts with women who are either half-naked or fully naked, most of them look close to your own age. You feel yourself getting aroused looking at the images.'
  392. act 'Leave':gt 'pavtrain_market', 'start'
  393. act 'Look for something else':gt 'pavtrain_market', 4
  394. if money >= 400:
  395. act 'Buy magazine (400 <b>₽</b>)':
  396. *clr & cla
  397. minut += 5
  398. money -= 400
  399. pornMagazine = 40
  400. TimesBuyPorno += 1
  401. gs 'stat'
  402. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  403. 'You try not to look into the porn dealers eyes as you hand him the money. You take the magazine and quickly hide it under your shirt.'
  404. act 'Leave':gt 'pavtrain_market', 'start'
  405. act 'Buy something else':gt 'pavtrain_market', 4
  406. end
  407. end
  408. end
  409. elseif TimesBuyPorno >= 5:
  410. 'The porn dealer sees you approaching the stall, "Ah, my best customer! Welcome back!"'
  411. act 'Look through a magazine':
  412. cla
  413. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  414. 'You pick up one of the magazines and flip through the pages. Inside the magazines, you see men with large erect penis engaging in sexual acts with women who are either half-naked or fully naked, most of them look close to your own age. You feel yourself getting aroused looking at the images.'
  415. act 'Leave':gt 'pavtrain_market', 'start'
  416. act 'Look for something else':gt 'pavtrain_market', 4
  417. if money >= 400:
  418. act 'Buy magazine (400 <b>₽</b>)':
  419. *clr & cla
  420. minut += 5
  421. money -= 400
  422. pornMagazine = 40
  423. TimesBuyPorno += 1
  424. gs 'stat'
  425. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pornmag.jpg"></center>'
  426. 'You try not to look into the porn dealers eyes as you hand him the money. You take the magazine and quickly hide it under your shirt.'
  427. act 'Leave':gt 'pavtrain_market', 'start'
  428. act 'Buy something else':gt 'pavtrain_market', 4
  429. end
  430. end
  431. end
  432. end
  433. end
  434. end
  435. act 'Ask to see the sex toys':
  436. *clr & cla
  437. gs 'stat'
  438. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/sextoys.jpg"></center>'
  439. 'He lets you step behind the counter so you can get a better look, as you do he says. "Take a look and let me know what you would like." You see several 15cm dildos. Each with a tag, "Only 700 <b>₽</b> each." You also see a small selection of vibrators in various colors, mostly pink. "Only 700 <b>₽</b> each." To one side you see many butt plugs, rubber and metal. "Only 700 <b>₽</b>each." Near the bottom is several strapon harnesses without a dildo. "Only 500 <b>₽</b>each."'
  440. act 'Leave':gt 'pavtrain_market', 'start'
  441. act 'Look for something else':gt 'pavtrain_market', 4
  442. if money >= 700 and middildo = 0:
  443. act 'Buy a 15cm dildo (700 <b>₽</b>)':
  444. cla
  445. minut += 5
  446. middildo = 1
  447. money -= 700
  448. pcs_horny += 10
  449. TimesBuyPorno += 1
  450. '<center><img <<$set_imgh>> src="images/pc/items/15cm.jpg"></center>'
  451. if pcs_horny >= 50 and pav_slut < 75:
  452. 'You buy a dildo and hastily hide it, while your face blushes with embarrassment.'
  453. else
  454. 'You buy a dildo and calmly hide it.'
  455. end
  456. act 'Leave':gt 'pavtrain_market', 'start'
  457. act 'Buy something else':gt 'pavtrain_market', 4
  458. end
  459. end
  460. if money >= 700 and vibrator = 0:
  461. act 'Buy vibrator (700 <b>₽</b>)':
  462. cla
  463. minut += 5
  464. vibrator = 1
  465. money -= 700
  466. pcs_horny += 10
  467. TimesBuyPorno += 1
  468. if pcs_horny >= 50 and pav_slut < 75:
  469. 'You buy a vibrator and hastily hide it, while your face blushes with embarrassment.'
  470. else
  471. 'You buy a vibrator and calmly hide it.'
  472. end
  473. act 'Leave':gt 'pavtrain_market', 'start'
  474. act 'Buy something else':gt 'pavtrain_market', 4
  475. end
  476. end
  477. if money >= 700 and analplug = 0:
  478. act 'Buy butt plug (700 <b>₽</b>)':
  479. cla
  480. minut += 5
  481. money -= 700
  482. analplug = 1
  483. !!this needs to be changed from analplug bought to smallbp for the smallone
  484. pcs_horny += 10
  485. TimesBuyPorno += 1
  486. '<center><img <<$set_imgh>> src="images/pc/items/smallbp.jpg"></center>'
  487. if pcs_horny >= 50 and pav_slut < 75:
  488. 'You buy a butt plug and hastily hide it, while your face blushes with embarrassment.'
  489. else
  490. 'You buy a butt plug and calmly hide it.'
  491. end
  492. act 'Leave':gt 'pavtrain_market', 'start'
  493. act 'Buy something else':gt 'pavtrain_market', 4
  494. end
  495. end
  496. if dildo = 1:
  497. if money >= 500 and strapon = 0:
  498. act 'Buy strap-on harness (500 <b>₽</b>)':
  499. cla
  500. minut += 5
  501. strapon = 1
  502. strapnumber = 1
  503. money -= 500
  504. pcs_horny += 10
  505. TimesBuyPorno += 1
  506. '<center><img <<$set_imgh>> src="images/pc/items/harness.jpg"></center>'
  507. if pcs_horny >= 50 and pav_slut < 75:
  508. 'You buy a strap-on harness and hastily hide it, while your face blushes with embarrassment.'
  509. else
  510. 'You buy a strap-on harness and calmly hide it.'
  511. end
  512. act 'Leave':gt 'pavtrain_market', 'start'
  513. act 'Buy something else':gt 'pavtrain_market', 4
  514. end
  515. end
  516. else
  517. if money >= 1200 and strapon = 0 and middildo = 0:
  518. act 'Buy strap-on harness with a 15cm dildo (1200 <b>₽</b>)':
  519. cla
  520. minut += 5
  521. strapon = 1
  522. middildo = 1
  523. strapnumber = 1
  524. money -= 1200
  525. pcs_horny += 10
  526. TimesBuyPorno += 1
  527. '<center><img <<$set_imgh>> src="images/pc/items/harness.jpg"></center>'
  528. if pcs_horny >= 50 and pav_slut < 75:
  529. 'You buy a strap-on harness and hastily hide it, while your face blushes with embarrassment.'
  530. else
  531. 'You buy a strap-on harness and calmly hide it.'
  532. end
  533. act 'Leave':gt 'pavtrain_market', 'start'
  534. act 'Buy something else':gt 'pavtrain_market', 4
  535. end
  536. end
  537. end
  538. end
  539. end
  540. if ARGS[0] = 5:
  541. *clr & cla
  542. menu_off = 1
  543. minut += 5
  544. gs 'stat'
  545. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/dedgitara.jpg"></center>'
  546. 'You see an old man playing the guitar. He''s trying to avert as much attention as he can to himself.'
  547. act 'Stop wandering': gt 'pavtrain_market', 'start'
  548. act 'Wander around the market': gt 'pavtrain_market','events'
  549. end
  550. if ARGS[0] = 6:
  551. *clr & cla
  552. menu_off = 1
  553. minut += 5
  554. gs 'stat'
  555. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/nenavizublyadcigan.jpg"></center>'
  556. 'You meet a Gypsy woman. She offers to tell your fortune.'
  557. act 'Decline': gt 'pavtrain_market', 'start'
  558. act 'Accept':
  559. *clr & cla
  560. minut += 5
  561. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/gadaet'+rand(1,2)+'.jpg"></center>'
  562. 'You agree and Gypsy takes your hand before she predicts you will have great happiness and lots of money. Afterwards, she promptly walks away.'
  563. act 'Something''s wrong':
  564. *clr & cla
  565. money = 0
  566. pcs_mood -= 50
  567. gs 'stat'
  568. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pusto.jpg"></center>'
  569. 'With a sneaking suspicion you start looking through your stuff. Your wallet is nowhere to be found!'
  570. act 'Find the Gypsy':
  571. *clr & cla
  572. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/okliknut.jpg"></center>'
  573. 'You search the area hoping to find the thief, but she has already disappeared into the crowd.'
  574. act 'Back': gt 'pavtrain_market', 'start'
  575. end
  576. end
  577. end
  578. end
  579. if ARGS[0] = 7:
  580. *clr & cla
  581. menu_off = 1
  582. minut += 5
  583. gs 'stat'
  584. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/kosmetic.jpg"></center>'
  585. tovpay = 800
  586. 'You see some cosmetics on sale for <<tovpay>> <b>₽</b>.'
  587. act 'Stop wandering': gt 'pavtrain_market', 'start'
  588. act 'Wander around the market': gt 'pavtrain_market','events'
  589. if money >= tovpay:
  590. act 'Buy the cosmetics (800 <b>₽</b>)':
  591. minut += 15
  592. money -= tovpay
  593. kosmetica += 50
  594. gt 'pavtrain_market', 'start'
  595. end
  596. end
  597. end
  598. if ARGS[0] = 8:
  599. *clr & cla
  600. menu_off = 1
  601. minut += 5
  602. gs 'stat'
  603. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/vitaminki.jpg"></center>'
  604. tovpay = 105
  605. 'You see some vitamins on sale for <<tovpay>> <b>₽</b>.'
  606. act 'Stop wandering': gt 'pavtrain_market', 'start'
  607. act 'Wander around the market': gt 'pavtrain_market','events'
  608. if money >= tovpay:
  609. act 'Buy vitamins (105 <b>₽</b>)':
  610. minut += 15
  611. vitamin += 20
  612. money -= tovpay
  613. gt 'pavtrain_market', 'start'
  614. end
  615. end
  616. end
  617. if ARGS[0] = 9:
  618. *clr & cla
  619. menu_off = 1
  620. minut += 5
  621. gs 'stat'
  622. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/condoms.jpg"></center>'
  623. tovpay = 80
  624. 'You see a booth selling condoms for <<tovpay>> <b>₽</b>.'
  625. act 'Stop wandering': gt 'pavtrain_market', 'start'
  626. act 'Wander around the market': gt 'pavtrain_market','events'
  627. if money >= tovpay:
  628. act 'Buy condoms (80 <b>₽</b>)':
  629. minut += 15
  630. prezik += 5
  631. i = 5
  632. :cndmlp
  633. if rand(0,49)-6*(8-tovpay/10) <= 0:badprezik += 1
  634. if i > 0: i-= 1 & jump 'cndmlp'
  635. killvar 'i'
  636. money -= tovpay
  637. gt 'pavtrain_market', 'start'
  638. end
  639. end
  640. end
  641. if ARGS[0] = 10:
  642. *clr & cla
  643. menu_off = 1
  644. minut += 5
  645. gs 'stat'
  646. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/balzam.jpg"></center>'
  647. tovpay = 100
  648. 'There is lip balm on sale for <<tovpay>> <b>₽</b>.'
  649. act 'Stop wandering': gt 'pavtrain_market', 'start'
  650. act 'Wander around the market': gt 'pavtrain_market','events'
  651. if money >= tovpay:
  652. act 'Buy lip balm (100 <b>₽</b>)':
  653. *clr & cla
  654. minut += 15
  655. lipbalm += 30
  656. money -= tovpay
  657. gt 'pavtrain_market', 'start'
  658. end
  659. end
  660. end
  661. if ARGS[0] = 11:
  662. *clr & cla
  663. menu_off = 1
  664. minut += 5
  665. gs 'stat'
  666. '<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/arthur/artur.jpg"></center>'
  667. if arturKnow = 0:
  668. 'Someone suddenly calls out to you, "Hey pretty girl, do you want a fresh, juicy tangerine?"'
  669. act 'Look': gt 'arturRinok','start'
  670. else
  671. 'Someone suddenly calls out to you, "Hey <<$pcs_nickname>>, do you want a fresh, juicy tangerine?"'
  672. act 'Go and see Arthur': gt 'arturRinok','start'
  673. end
  674. end
  675. if ARGS[0] = 12:
  676. *clr & cla
  677. menu_off = 1
  678. minut += 5
  679. gs 'stat'
  680. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/cheburek.jpg"></center>'
  681. 'Walking through the market, you came across an old woman selling pies.'
  682. act 'Stop wandering': gt 'pavtrain_market', 'start'
  683. act 'Wander around the market': gt 'pavtrain_market','events'
  684. if pcs_energy <= 80:
  685. act 'Buy a pie for 20 <b>₽</b>':
  686. *clr & cla
  687. fat+=3
  688. frost = 0
  689. pcs_health += 5
  690. pcs_mood += 5
  691. pcs_hydra -= 5
  692. pcs_energy+=5
  693. money-=20
  694. minut+=10
  695. gs 'stat'
  696. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/eat.jpg"></center>'
  697. 'The pie is still warm as the woman hands it over to you. Barely able to keep yourself away from it, you find a place to sit down and enjoy the pie.'
  698. act 'Continue walking through the market': gt 'pavtrain_market','events'
  699. end
  700. else
  701. *p ', But you are not hungry right now.'
  702. end
  703. end
  704. if ARGS[0] = 13:
  705. *clr & cla
  706. menu_off = 1
  707. minut += 5
  708. gs 'stat'
  709. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/dropwallet.jpg"></center>'
  710. 'You see a wallet fall out of a woman''s purse.'
  711. act 'Tell her':
  712. *clr & cla
  713. minut += 2
  714. gs 'stat'
  715. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/vernutwallet.jpg"></center>'
  716. 'You call to the woman and hold out her wallet. She looks at you and releasing she gratefully takes her wallet back and walks away.'
  717. act 'Continue walking through the market': gt 'pavtrain_market','events'
  718. end
  719. act 'Look through the purse':
  720. *clr & cla
  721. minut += 5
  722. i = rand(40,200)
  723. gs 'stat'
  724. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/zaglanut.jpg"></center>'
  725. 'You open the wallet and you see that there''s <<i>> <b>₽</b>'
  726. gs 'willpower', 'misc', 'self', 'easy'
  727. if will_cost <= pcs_willpwr:
  728. act 'Take the money and throw away the wallet (<<will_cost>> Willpower)':
  729. *clr & cla
  730. money += i
  731. pcs_mood += 10
  732. killvar 'i'
  733. gs 'willpower', 'pay', 'resist'
  734. gs 'stat'
  735. 'You just need the money.'
  736. act 'Continue': gt 'pavtrain_market','start'
  737. end
  738. else
  739. act 'Take the money and throw away the wallet (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  740. end
  741. act 'Catch up with the woman and return her purse':
  742. *clr & cla
  743. pcs_mood += 5
  744. gs 'stat'
  745. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/proverka.jpg"></center>'
  746. 'You catch up with the woman and telling her she dropped something you hand her the purse. The woman checks her money is still there and seeing that everything is in place, she thanks you and walked away.'
  747. act 'Stop wandering': gt 'pavtrain_market', 'start'
  748. act 'Wander around the market': gt 'pavtrain_market','events'
  749. end
  750. end
  751. end
  752. if ARGS[0] = 14:
  753. *clr & cla
  754. menu_off = 1
  755. minut += 5
  756. gs 'stat'
  757. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/rebenok.jpg"></center>'
  758. 'You see a young mother and her crying baby.'
  759. act 'Stop wandering': gt 'pavtrain_market', 'start'
  760. act 'Wander around the market': gt 'pavtrain_market','events'
  761. end
  762. if ARGS[0] = 15:
  763. *clr & cla
  764. menu_off = 1
  765. minut += 5
  766. gs 'stat'
  767. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/rezba.jpg"></center>'
  768. 'You find a stall with beautiful things carved out of wood and metal.'
  769. act 'Stop wandering': gt 'pavtrain_market', 'start'
  770. act 'Wander around the market': gt 'pavtrain_market','events'
  771. end
  772. if ARGS[0] = 16:
  773. *clr & cla
  774. menu_off = 1
  775. minut += 5
  776. gs 'stat'
  777. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/gruzchik.jpg"></center>'
  778. 'Looking around, you almost collide with a man pulling a small cart.'
  779. act 'Stop wandering': gt 'pavtrain_market', 'start'
  780. act 'Wander around the market': gt 'pavtrain_market','events'
  781. end
  782. if ARGS[0] = 17:
  783. *clr & cla
  784. menu_off = 1
  785. minut += 5
  786. gs 'stat'
  787. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/meatlavka.jpg"></center>'
  788. 'You wander past a the meet seller and see a butcher working with an axe.'
  789. act 'Stop wandering': gt 'pavtrain_market', 'start'
  790. act 'Wander around the market': gt 'pavtrain_market','events'
  791. end
  792. if ARGS[0] = 18:
  793. *clr & cla
  794. menu_off = 1
  795. minut += 5
  796. gs 'stat'
  797. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/dirka.jpg"></center>'
  798. 'As you walk past a stall you notice a small hole torn in the canvas.'
  799. act 'Stop wandering': gt 'pavtrain_market', 'start'
  800. act 'Wander around the market': gt 'pavtrain_market','events'
  801. gs 'willpower', 'voyeur', 'self', 'easy'
  802. if will_cost <= pcs_willpwr:
  803. act 'Look through the hole (<<will_cost>> Willpower)':
  804. *clr & cla
  805. gs 'arousal', 'voyeur', 2
  806. gs 'willpower', 'pay', 'resist'
  807. gs 'stat'
  808. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/pereodev'+rand(1,15)+'.jpg"></center>'
  809. 'You look inside the tent and see ' + $pavtrain_marketrandtext[rand(3,7)]
  810. act 'Leave': gt 'pavtrain_market', 'start'
  811. end
  812. else
  813. act 'Look through the hole (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  814. end
  815. end
  816. if ARGS[0] = 19:
  817. *clr & cla
  818. menu_off = 1
  819. minut += 5
  820. gs 'stat'
  821. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/birthcontrolpills.jpg"></center>'
  822. tovpay = 1500
  823. 'You see a booth selling birth control pills for <<tovpay>> <b>₽</b>.'
  824. act 'Stop wandering': gt 'pavtrain_market', 'start'
  825. act 'Wander around the market': gt 'pavtrain_market','events'
  826. if money >= tovpay:
  827. act 'Buy birth control pills (1500 <b>₽</b>)':
  828. *clr & cla
  829. minut += 15
  830. tabletki += 1
  831. if rand(0,49) - (6*(8-tovpay/50)) <= 0:
  832. temp = rand(0,3)
  833. if temp = 0:
  834. tabletkiold += 1 & !Pills are expired and less effective
  835. elseif temp = 1:
  836. tabletkifake += 1 & !Pills are counterfeit and useless
  837. elseif temp = 2:
  838. tabletkirej += 1 & !Pills are factory rejects with variable strength
  839. else
  840. !Pills were tampered with
  841. if rand(0,100) = 0:
  842. tabletkifert += 1 & ! pills were replaced with fertility hormones
  843. else
  844. tabletkisug += 1 & ! pills were all replaced with sugar pills
  845. end
  846. end
  847. end
  848. money -= tovpay
  849. gt 'pavtrain_market', 'start'
  850. end
  851. end
  852. end
  853. --- pavtrain_market ---------------------------------