Grinok 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533
  1. # Grinok
  2. !{change log
  3. March 31, 2016
  4. Added rice wine quest
  5. April 20, 2016
  6. Fixed Rice wine event
  7. }
  8. if $ARGS[0] = '':
  9. $metka = $ARGS[0]
  10. $loc = $CURLOC
  11. CLOSE ALL
  12. if sound = 0:
  13. if month >=11 and month <= 12 or month >=1 and month <=3:
  14. if hour >= 8 and hour <= 23: PLAY 'sound/rynok.mp3',30 & PLAY 'sound/zima.mp3',30
  15. if hour >= 0 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
  16. else
  17. if hour >= 8 and hour <= 23: PLAY 'sound/rynok.mp3',30 & PLAY 'sound/street_leto.mp3',30
  18. if hour >= 0 and hour <= 7:PLAY 'sound/street_night.mp3',30
  19. end
  20. end
  21. clr
  22. gs 'stat'
  23. gs 'outdoors'
  24. '<center><h4>Market</h4></center>'
  25. '<center><img src="images/pic/Grinok.jpg"></center>'
  26. 'This small market is location near the station.'
  27. if arturQW = 1 and (week = 6 or week = 7) and hour < 12:
  28. act 'Wait for Arthur to arrive':hour = 12 & gt 'grinok'
  29. end
  30. if hour >= 8 and hour <= 18:
  31. 'In the market the sellers of goods are beckoning shoppers.'
  32. if gorslut > 2 and rand(0,9) = 0:
  33. '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."'
  34. act 'Go with him':gt 'gevent', '3'
  35. act 'Reject him':
  36. 'You pretend not to understand what he is saying.'
  37. act 'Return':gt 'Grinok'
  38. end
  39. exit
  40. end
  41. act 'Wander through the market': gt 'Grinok','events'
  42. !expand market events from 1.2.4
  43. if pornmarkonce = 1:
  44. act 'Go to the area with the porn':gt 'Gpornmark'
  45. end
  46. if arturKnow = 1 and arturQW = 0:
  47. act 'Go to Arthur':gt 'arturRinok', 'start'
  48. elseif arturQW = 1 and (week = 6 or week = 7):
  49. if hour = 12 or hour = 13:
  50. act 'Go to Arthur':gt 'arturRinok', 'work_1'
  51. end
  52. elseif arturQW = 2:
  53. if hour = 16 and minut <= 30:
  54. act 'Go to Arthur':gt 'arturRinok', 'work_2'
  55. elseif hour < 16:
  56. act 'Wait for Arthur to arrive':hour = 16 & minut = 0 & gt 'Grinok'
  57. end
  58. end
  59. act 'Go to the book seller':
  60. cls
  61. minut += 15
  62. gs 'stat'
  63. 'On the shelves are very entertaining fantasy books, which costs only 150 <b>₽</b> each and there are also women''s romance paperback novels for 300 <b>₽</b> each.'
  64. if money >= 150:
  65. act 'Buy a fantasy book (150 <b>₽</b>)':
  66. cls
  67. minut += 15
  68. money -= 150
  69. f_book += 1
  70. gs 'stat'
  71. 'You bought a fantasy book for 150 <b>₽</b>.'
  72. act 'Leave':gt $curloc
  73. end
  74. end
  75. if money >= 300:
  76. act 'Buy a romance novel (300 <b>₽</b>)':
  77. cls
  78. minut += 15
  79. money -= 300
  80. w_book += 1
  81. gs 'stat'
  82. 'You bought a romance novel for 300 <b>₽</b>.'
  83. act 'Leave':gt $curloc
  84. end
  85. end
  86. act 'Escape':gt $curloc
  87. end
  88. if gobelen > 0 and gobQW = 0:
  89. act'Sell ​​tapestry':
  90. cls
  91. gobQW = 1
  92. minut += 15
  93. gs'stat'
  94. 'You stood quietly by the entrance to the market, waiting for customers and displaying your tapestries. Shortly buyers started to gather, but a large, muscular man approached you and said, "It is illegal to trade in the market without a trader''s licence, but I may be interesting in buying your tapestries, 500 <b>₽</b> apiece. Come and see me at my stall."'
  95. 'Not wanting to get into trouble, you packed your stuff away. The man was already gone, but you saw which direction he went and he should be easy to find.'
  96. act 'Escape':gt $curloc
  97. end
  98. end
  99. if gobelen > 0 and gobQW >= 1:
  100. act'Sell ​​tapestry':
  101. cls
  102. minut += 15
  103. gs'stat'
  104. 'You went to the man who offered to buy your tapestries for 500 <b>₽</b>. You found him by his stall, smiling.'
  105. if gobQW = 2:
  106. 'Roman welcomed you. Interested and businesslike, he asked what you have for sale.'
  107. end
  108. if gobQW = 1:
  109. gobQW = 2
  110. minute + 5
  111. 'The man greeted you and introduced himself as Roman, you told him that your name is <<$name>>. After a brief chat Roman said that he is interested in seeing what you have for sale.'
  112. end
  113. act'Show tapestry':
  114. cls
  115. gobelen -= 1
  116. money += 500
  117. gs'stat'
  118. 'You show your tapestry to Roman and he gives you five hundred for it. You take the money and give him the tapestry.'
  119. act 'Escape':gt $curloc
  120. end
  121. if gobelen > 1:
  122. act'Sell ​​all tapestries':
  123. cls
  124. kolgob = gobelen
  125. gobelen = 0
  126. moneyGob = kolgob*500
  127. money += moneyGob
  128. gs'stat'
  129. 'You show Roman your tapestries and he gives you <<moneyGob>> <b>₽</b> for them. You take the money and give him the tapestries.'
  130. act 'Escape':gt $curloc
  131. end
  132. end
  133. act 'Leave':gt $curloc
  134. end
  135. end
  136. if ShowerIvan = 5 and porndeal = 0 and rand(1,100) <= 10 and lookwine ! daystart:
  137. cls
  138. cla
  139. gs 'stat'
  140. minut += 20
  141. lookwine = daystart
  142. '<center><img src="images/locations/Pavlovsk/Market/chinese_stall01.jpg"></center>'
  143. '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.'
  144. act 'Ask about huangjiu':
  145. '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.'
  146. '"Onry 2 kopec, hundred glam." she said in badly accented Russian, "You buy?"'
  147. '"No," you replied, "I need rice wine, rice wine."'
  148. 'She looked at you in confusion for a moment then suddenly brightened, "Ah!" she exclaimed, "Come, come!"'
  149. 'The old woman hurried to the other side of the stall and you followed her to where a number of smoked piglets hung in a row.'
  150. '"Here," the old woman crowed handing you one of r the pigs, "Nice swine, vely nice swine."'
  151. '"No, not nice swine," you cried in dispair, "Rice. Wine."'
  152. '"Yes, yes," the woman countered, "Nice swine, only 5 lubles."'
  153. 'Just as you were about to give up, a young Chinese boy about your brother''s age arrived.'
  154. '"I am sorry, my grandmother does not speak much Russian." he said as he stepped up beside the old woman who started to speak rapidly to him in what you assumed was Chinese.'
  155. '"My grandmother asks why you don''t like the piglets." he translated as the old woman stopped speaking.'
  156. '"I don''t want a pig," you replied in relief as his Russian is quite good, "I am looking for rice wine, wang-goo."'
  157. '"Ah, huangjiu!" he said in understanding then spoke to his grandmother in Chinese.'
  158. 'The old woman glared at you then hung the smoked pig back on its hook. She shuffled over to the shelf with the bottles and peered short-sightedly at the labels. She finally picked up one of them and brought it over to you.'
  159. '"Why you not say wanted lice wine." she asked in aggrieved tones, "2000 lubles."'
  160. if money >= 2000:
  161. act 'Buy the wine':
  162. money -= 2000
  163. ricewine = 1
  164. 'You hand the woman the money and she gives you the wine.'
  165. act 'Leave': gt $curloc
  166. end
  167. else
  168. 'You are astonished by the price and realize that you cannot afford the wine. You apologize and turn away.'
  169. act 'Leave the market': gt $curloc
  170. act 'Continue browsing the market':
  171. cls
  172. cla
  173. gs 'stat'
  174. minut += 15
  175. '<center><img src="images/locations/Pavlovsk/Market/market_boy01.jpg"></center>'
  176. 'You continued to wander through the market for another 15 minutes when the boy from the Chinese stall came up to you.'
  177. '"Hey, you really want that rice wine?" he asked after checking to make sure no one was watching.'
  178. '"Yes," you answered him, "But it costs too much. I can''t afford it."'
  179. '"I''ll make a deal with you." he said, "Go to the porn dealer and buy me a porn magazine and I''ll get you the wine."'
  180. if pornmarkonce = 0: pornmarkonce = 1 & '"Where is the porn dealer?" you asked and he gives you directions.'
  181. act 'Agree': porndeal = 1 & gt 'Gpornmark'
  182. act 'Refuse':
  183. 'You declined his offer and he shrugged and walked away.'
  184. act 'Leave': gt $curloc
  185. end
  186. end
  187. end
  188. end
  189. elseif ShowerIvan = 5 and lookwine ! daystart:
  190. cla
  191. cls
  192. gs 'stat'
  193. lookwine = daystart
  194. '<center><img src="images/pic/Grinok.jpg"></center>'
  195. 'You look around the market, but the Chinese vendors don''t seem to be here today.'
  196. act 'Leave': gt $curloc
  197. end
  198. if porndeal = 1 and porndealday ! daystart:
  199. cls
  200. cla
  201. gs 'stat'
  202. porndealday = daystart
  203. lookboy = 0
  204. '<center><img src="images/locations/Pavlovsk/Market/market_boy01.jpg"></center>'
  205. 'The boy from the Chinese stall comes up to you as you entered the market.'
  206. '"Do you have it?" he asked eagerly.'
  207. if haveporn = 1:
  208. porndeal = 2 & ! to close the ricewine event
  209. ricewine = 1
  210. '"Do you have the wine?" you countered.'
  211. 'He pulls the bottle out of his backpack and you trade items.'
  212. act 'Leave': gt $curloc
  213. else
  214. 'You told him you didn''t have his magazine yet but you were working on it.'
  215. act 'Leave': gt $curloc
  216. end
  217. end
  218. if porndeal = 1 and porndealday = daystart and lookboy = 0:
  219. cls
  220. cla
  221. gs 'stat'
  222. lookboy = 1
  223. '<center><img src="images/locations/Pavlovsk/Market/chinese_stall01.jpg"></center>'
  224. '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.'
  225. act 'Leave': gt $curloc
  226. end
  227. else
  228. 'There is no one in the market.'
  229. end
  230. act 'Go back to the station':minut += 3 & gt 'vokzalG'
  231. end
  232. if $ARGS[0] = 'events':
  233. cls
  234. cla
  235. '<center><h4>Market</h4></center>'
  236. minut += 10
  237. gs 'stat'
  238. !modify from 1.2.4(force 50%) and old one, set it 30~80% for events, with intel /2 by illume
  239. if (30 + intel/2) > RAND(0,100):
  240. rinevrand = rand(1,21)
  241. else
  242. ! no events
  243. rinevrand = 0
  244. end
  245. if rinevrand <= 1:
  246. $grinok_text[0]='You came across a beggar'
  247. $grinok_text[1]='You see a beggar asking alms'
  248. $grinok_text[2]='You see a beggar'
  249. $grinok_text[3]='disguised as a girl'
  250. $grinok_text[4]='what sort of a woman picks up her underwear'
  251. $grinok_text[5]='half-naked girl'
  252. $grinok_text[6]='girl trying on bra'
  253. $grinok_text[7]='Anything unusual you do not come across, all hlame, vegetables and tasteless clothing'
  254. $grinok_text[8]='You are not lucky and you continually run across old women in dressing gowns, Slippers and vests with pockets.'
  255. $grinok_text[9]='You don`t find anything interesting'
  256. $grinok_text[10]='You come across one Chinese consumer goods and nothing more'
  257. $grinok_text[11]='The market works in a regular mode. People with bags scurrying back and forth, children trick-or-treat toy from their parents and vociferous sellers.'
  258. $grinok_text[12]='The market as always a lot of people. Hustle and bustle makes you focus on your desires'
  259. !will killvar after events
  260. end
  261. ! def action
  262. act 'Wander further': gt 'Grinok','events'
  263. act 'Stop wandering': gt $curloc
  264. if rinevrand = 0:
  265. '<center><img src="images/qwest/alter/Grinok/brodit'+rand(1,8)+'.jpg"></center>'
  266. 'You are strolling through the market. ' + $grinok_text[rand(3,12)]
  267. killvar '$grinok_text'
  268. elseif rinevrand = 1:
  269. '<center><img src="images/qwest/alter/Grinok/poproshaika'+rand(1,3)+'.jpg"></center>'
  270. *pl $grinok_text[rand(0,2)]
  271. killvar '$grinok_text'
  272. act 'Throw a trifle':
  273. cla
  274. *clr
  275. money -= rand(3,20)
  276. willpower += 5
  277. manna += 5
  278. gs 'stat'
  279. '<center><img src="images/qwest/alter/Grinok/podaet.jpg"></center>'
  280. 'You gave the beggar a trifle'
  281. act 'Wander further': gt 'Grinok','events'
  282. end
  283. elseif rinevrand = 2:
  284. '<center><img src="images/qwest/alter/Grinok/dedgitara.jpg"></center>'
  285. 'You see my grandfather playing the guitar'
  286. elseif rinevrand = 3:
  287. '<center><img src="images/qwest/alter/grinok/girlvoyeur.jpg"></center>'
  288. 'You see a girl bending, exhibiting her pussy all on display'
  289. if girl > 0: horny += 10
  290. gs 'stat'
  291. elseif rinevrand = 4:
  292. '<center><img src="images/qwest/alter/Grinok/goodass.jpg"></center>'
  293. 'You saw a girl jealous and looked at her beautiful ass'
  294. elseif rinevrand = 5:
  295. '<center><img src="images/qwest/alter/Grinok/dedgitara.jpg"></center>'
  296. 'You see my grandfather playing the guitar'
  297. elseif rinevrand = 6:
  298. '<center><img src="images/qwest/alter/Grinok/nenavizublyadcigan.jpg"></center>'
  299. 'You met a Gypsy woman. She offered to tell fortunes for you'
  300. act 'Agree':
  301. cla
  302. *clr
  303. minut += 5
  304. '<center><img src="images/qwest/alter/Grinok/gadaet'+rand(1,2)+'.jpg"></center>'
  305. 'You agreed and Gypsy taking your hand began to predict you great happiness and lots of money. After graduating, she promptly walked away'
  306. act 'Look':
  307. cla
  308. *clr
  309. money = 0
  310. manna -= 50
  311. gs 'stat'
  312. '<center><img src="images/qwest/alter/Grinok/pusto.jpg"></center>'
  313. 'In your head sneaking suspicion and you start looking through your stuff. But your wallet you never found'
  314. act 'Hail a Gypsy':
  315. cla
  316. *clr
  317. '<center><img src="images/qwest/alter/Grinok/okliknut.jpg"></center>'
  318. 'You turned around hoping to see the thief, but she seemed to dissolve in the crowd'
  319. act 'Back': gt $curloc
  320. end
  321. end
  322. end
  323. elseif rinevrand = 7:
  324. '<center><img src="images/qwest/alter/Grinok/kosmetic.jpg"></center>'
  325. tovpay = rand(3, 8) * 100
  326. 'You see that cosmetics are for sale for <<tovpay>> <b>₽</b>.'
  327. if money >= tovpay:
  328. act 'Buy':
  329. cls
  330. minut += 15
  331. money -= tovpay
  332. kosmetica += rand(10, 40)
  333. gs 'stat'
  334. gt $curloc
  335. end
  336. end
  337. elseif rinevrand = 8:
  338. '<center><img src="images/qwest/alter/Grinok/vitaminki.jpg"></center>'
  339. tovpay = rand(2, 5) * 100
  340. 'You see vitamins for sale for <<tovpay>> <b>₽</b>.'
  341. if money >= tovpay:
  342. act 'Buy':
  343. cls
  344. minut += 15
  345. vitamin += 20
  346. money -= tovpay
  347. gt $curloc
  348. end
  349. end
  350. elseif rinevrand = 9:
  351. '<center><img src="images/qwest/alter/Grinok/condoms.jpg"></center>'
  352. tovpay = rand(2, 8) * 10
  353. 'You see a booth selling condoms for <<tovpay>> <b>₽</b>.'
  354. if money >= tovpay:
  355. act 'Buy':
  356. cls
  357. minut += 15
  358. prezik += 5
  359. money -= tovpay
  360. gt $curloc
  361. end
  362. end
  363. elseif rinevrand = 10:
  364. '<center><img src="images/qwest/alter/Grinok/balzam.jpg"></center>'
  365. tovpay = rand(5, 10) * 100
  366. 'There is lip balm for sale for <<tovpay>> <b>₽</b>.'
  367. if money >= tovpay:
  368. act 'Buy':
  369. cls
  370. minut += 15
  371. lipbalm += 20
  372. money -= tovpay
  373. gt $curloc
  374. end
  375. end
  376. elseif rinevrand = 11:
  377. if pornmarkonce = 0:pornmarkonce = 1
  378. 'Strolling through the market you accidentally wander into the far corner where they sell porn.'
  379. act 'Go to the area with the porn':gt 'Gpornmark'
  380. elseif rinevrand = 12:
  381. if arturKnow = 0:
  382. 'Someone suddenly called out to you, "Hey pretty girl, do you want a fresh, juicy tangerine?"'
  383. act 'Look': gt 'arturRinok','start'
  384. else
  385. 'Someone suddenly called out to you, "Hey <<$nickname>>, do you want a fresh, juicy tangerine?"'
  386. act 'Come': gt 'arturRinok','start'
  387. end
  388. elseif rinevrand = 13:
  389. '<center><img src="images/qwest/alter/grinok/cheburek.jpg"></center>'
  390. 'Walking through the market, you came across a grandmother sell pies'
  391. if energy <= 80:
  392. act 'Buy a pie for 20 <b>₽</b>':
  393. cla
  394. *clr
  395. fat+=3
  396. frost = 0
  397. health += 5
  398. manna += 5
  399. water -= 5
  400. energy+=5
  401. money-=20
  402. minut+=10
  403. gs 'stat'
  404. '<center><img src="images/qwest/alter/grinok/eat.jpg"></center>'
  405. 'You with pleasure ate a delicious pie'
  406. act 'Wander further': gt 'Grinok','events'
  407. end
  408. else
  409. *p ', But you are not hungry now.'
  410. end
  411. elseif rinevrand = 14:
  412. '<center><img src="images/qwest/alter/grinok/dropwallet.jpg"></center>'
  413. 'You see how going ahead the woman dropped the purse'
  414. cla
  415. act 'Tell her':
  416. cla
  417. *clr
  418. minut += 2
  419. '<center><img src="images/qwest/alter/grinok/vernutwallet.jpg"></center>'
  420. 'You called the woman and showed on the dropped wallet. She looked up gratefully at you and raising his lost, walked away'
  421. act 'Wander further': gt 'Grinok','events'
  422. end
  423. act 'Take the purse':
  424. cla
  425. *clr
  426. minut += 5
  427. i = rand(40,200)
  428. '<center><img src="images/qwest/alter/grinok/zaglanut.jpg"></center>'
  429. 'In the purse are <<i>> <b>₽</b>'
  430. act 'Take the money and throw the wallet':
  431. cla
  432. *clr
  433. money += i
  434. manna += 10
  435. gt $curloc
  436. end
  437. act 'Catch up with the woman and return her purse':
  438. cla
  439. *clr
  440. manna += 5
  441. '<center><img src="images/qwest/alter/grinok/proverka.jpg"></center>'
  442. 'You caught up with the woman and with words "You drop something" and give her the purse. The woman immediately began to count the money. Obidevshis that everything is in place, she thanked you and walked away'
  443. act 'Wander further': gt 'Grinok','events'
  444. end
  445. end
  446. elseif rinevrand = 15:
  447. '<center><img src="images/qwest/alter/grinok/rebenok.jpg"></center>'
  448. 'You see a young mother and her crying baby'
  449. elseif rinevrand = 16:
  450. '<center><img src="images/qwest/alter/grinok/rezba.jpg"></center>'
  451. 'You find a tent with beautiful things carved out of wood and metal'
  452. elseif rinevrand = 17:
  453. '<center><img src="images/qwest/alter/grinok/gruzchik.jpg"></center>'
  454. 'Gazing around, he almost collided with a loader'
  455. elseif rinevrand = 18:
  456. '<center><img src="images/qwest/alter/grinok/meatlavka.jpg"></center>'
  457. 'You wandered into the meat Department and see how the butcher works with an ax.'
  458. elseif rinevrand = 19:
  459. if vnesh >= 30:
  460. '<center><img src="images/qwest/alter/grinok/walk'+rand(1,2)+'.jpg"></center>'
  461. 'You walk, defiantly wagging booty. Some guys stare at you, unable to avert their eyes.'
  462. manna += 5
  463. else
  464. '<center><img src="images/qwest/alter/grinok/walk'+rand(3,4)+'.jpg"></center>'
  465. 'You walk, carefully twisting your waist. But people don`t give you slightest attention'
  466. manna -= 5
  467. end
  468. gs 'stat'
  469. elseif rinevrand = 20:
  470. '<center><img src="images/qwest/alter/grinok/dirka.jpg"></center>'
  471. 'When you crawl series with things you notice a small hole in the tent'
  472. act 'Look':
  473. cla
  474. *clr
  475. if girl > 1: horny += 5
  476. '<center><img src="images/qwest/alter/grinok/pereodev'+rand(1,15)+'.jpg"></center>'
  477. 'You look inside the tent and see ' + $grinokrandtext[rand(3,7)]
  478. act 'Leave': gt $curloc
  479. end
  480. else
  481. tovpay = rand(1, 5) * 1000
  482. 'You see someone selling a handbag for <<tovpay>> <b>₽</b>.'
  483. if bag = 0:
  484. if money >= tovpay:
  485. act 'Buy':
  486. cls
  487. minut += 15
  488. bag = 1
  489. money -= tovpay
  490. gt $curloc
  491. end
  492. end
  493. else
  494. 'But you already have a bag, so you move on.'
  495. end
  496. end
  497. end
  498. --- Grinok ---------------------------------