pav_train_market.qsrc 35 KB

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