rinok 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  1. # rinok
  2. if $ARGS[0] = 'start':
  3. CLOSE ALL
  4. if sound = 0:
  5. if month >=11 and month <= 12 or month >=1 and month <=3:
  6. if hour >= 8 and hour <= 23: PLAY 'sound/rynok.mp3',30 & PLAY 'sound/zima.mp3',30
  7. if hour >= 0 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
  8. else
  9. if hour >= 8 and hour <= 23: PLAY 'sound/rynok.mp3',30 & PLAY 'sound/street_leto.mp3',30
  10. if hour >= 0 and hour <= 7:PLAY 'sound/street_night.mp3',30
  11. end
  12. end
  13. !if sound = 0:PLAY 'sound/street.mp3',30
  14. $rinbuy1 = {
  15. cla
  16. *clr
  17. portion = input ("How much you want to buy?")
  18. if portion <= 0:portion = 1
  19. if portion * 50 > money:'You do not have enough money.'
  20. if portion * 50 <= money:
  21. fairy += portion
  22. money -= portion * 50
  23. '<center><img src="images/etogame/kassa2.jpg"></center>'
  24. 'You bought dishwashing detergent and paid the money to the cashier.'
  25. end
  26. act 'Move away from the counter':gt 'rinok', 'start'
  27. }
  28. $rinbuy2 = {
  29. cla
  30. *clr
  31. portion = input ("How much you want to buy?")
  32. if portion <= 0:portion = 1
  33. if portion * 150 > money:'You do not have enough money.'
  34. if portion * 150 <= money:
  35. poroshok += portion
  36. money -= portion * 150
  37. '<center><img src="images/etogame/kassa2.jpg"></center>'
  38. 'You bought detergent and paid the money to the cashier.'
  39. end
  40. act 'Move away from the counter':gt 'rinok', 'start'
  41. }
  42. $rinbuy3 = {
  43. cla
  44. *clr
  45. portion = input ("How much you want to buy?")
  46. if portion <= 0:portion = 1
  47. if portion * 150 > money:'You do not have enough money.'
  48. if portion * 150 <= money:
  49. cltarelka += portion * 3
  50. money -= portion * 150
  51. '<center><img src="images/etogame/kassa2.jpg"></center>'
  52. 'You bought plates and paid the money to the cashier.'
  53. end
  54. act 'Move away from the counter':gt 'rinok', 'start'
  55. }
  56. $rinbuy4 = {
  57. cla
  58. *clr
  59. portion = input ("How much you want to buy?")
  60. if portion <= 0:portion = 1
  61. if portion * 500 > money:'You do not have enough money.'
  62. if portion * 500 <= money:
  63. kosmetica += portion * 25
  64. money -= portion * 500
  65. '<center><img src="images/etogame/kassa2.jpg"></center>'
  66. 'You bought cosmetics and paid the money to the cashier.'
  67. end
  68. act 'Move away from the counter':gt 'rinok', 'start'
  69. }
  70. $rinbuy5 = {
  71. cla
  72. *clr
  73. portion = input ("How much you want to buy?")
  74. if portion <= 0:portion = 1
  75. if portion * 200 > money:'You do not have enough money.'
  76. if portion * 200 <= money:
  77. stanok += portion * 10
  78. money -= portion * 200
  79. '<center><img src="images/etogame/kassa2.jpg"></center>'
  80. 'You bought razor and paid the money to the cashier.'
  81. end
  82. act 'Move away from the counter':gt 'rinok', 'start'
  83. }
  84. $rinbuy6 = {
  85. cla
  86. *clr
  87. portion = input ("How much you want to buy?")
  88. if portion <= 0:portion = 1
  89. if portion * 150 > money:'You do not have enough money.'
  90. if portion * 150 <= money:
  91. tampon += portion * 20
  92. money -= portion * 150
  93. '<center><img src="images/etogame/kassa2.jpg"></center>'
  94. 'You bought tampons and paid the money to the cashier.'
  95. end
  96. act 'Move away from the counter':gt 'rinok', 'start'
  97. }
  98. $rinbuy7 = {
  99. cla
  100. *clr
  101. portion = input ("How much you want to buy?")
  102. if portion <= 0:portion = 1
  103. if portion * 200 > money:'You do not have enough money.'
  104. if portion * 200 <= money:
  105. clrbelo += portion
  106. money -= portion * 200
  107. '<center><img src="images/etogame/kassa2.jpg"></center>'
  108. 'You pay the cashier and bought clothes.'
  109. end
  110. act 'Move away from the counter':gt 'rinok', 'start'
  111. }
  112. $rinbuy9 = {
  113. if money >= 1000 and umbrella < 1:
  114. cla
  115. *clr
  116. money -= 1000
  117. umbrella = 1
  118. '<center><img src="images/etogame/kassa2.jpg"></center>'
  119. 'You pay the cashier and bought an umbrella.'
  120. act 'Move away from the counter':gt 'rinok', 'start'
  121. else
  122. 'You do not have enough money.'
  123. end
  124. }
  125. cla
  126. *clr
  127. minut = minut + 5
  128. mag = 1
  129. $metka = $ARGS[0]
  130. $loc = $CURLOC
  131. $metkaM = $ARGS[0]
  132. $locM = $CURLOC
  133. '<center><b><font color="maroon">Marketplace</font></b></center>'
  134. '<center><img src="images/etogame/rinok.jpg"></center>'
  135. '<a href="exec:dynamic $rinbuy1">Dishwashing detergent - 50 rubles</a> <a href="exec:dynamic $rinbuy2">laundry detergent - 150 rubles</a> <a href="exec:dynamic $rinbuy3">a of 3 plates - 150 rubles</a> <a href="exec:dynamic $rinbuy4">Cosmetics - 500 rubles</a> <a href="exec:dynamic $rinbuy5">razor - 200 rubles</a> <a href="exec:dynamic $rinbuy6">tampons - 100 rubles</a> <a href="exec:dynamic $rinbuy7">Underwear - 200 rubles</a>'
  136. if umbrella < 1:'<a href="exec:dynamic $rinbuy9">Umbrella - 1,000 rubles</a>'
  137. 'On one of the tents hangs a sign <a href="exec:gt ''clothing'', ''view_clothing_list'', ''sell''">"Cash paid for secondhand clothes"</a>'
  138. if analplugIN = 1 and tanga = 0 and PCloSkirt > 2:
  139. nurand = rand(0, 100)
  140. if nurand >= 80:
  141. manna -= 5
  142. SUB += 1
  143. horny += SUB
  144. nudity += 1
  145. 'You feel someones hand gently touch <a href="exec:gt ''etoexhib'', ''pos15''">your butt</a>.'
  146. end
  147. end
  148. clr
  149. gs 'stat'
  150. gs 'time'
  151. act 'Leave':
  152. cla
  153. minut += 5
  154. gt 'street'
  155. end
  156. if workrin = 1:
  157. if week = 2 or week = 4 or week = 6:
  158. if hour < 9:
  159. 'Arthur is waiting to set up a stall for you.'
  160. act '<b>Set up stall</b>':
  161. cla
  162. *clr
  163. hour = 9
  164. minut = 0
  165. prodpayum = 1200
  166. 'Arthur unloads stuff from his truck and gives them to you. You start hanging the clothes on the stall.'
  167. 'Before leaving Arthur gives you instructions. "Sell at whatever price you want, but at the end of your shift I will charge you 1000 rubles for each item sold. You should be making me no less than <<arturplan>> rubles."'
  168. act 'To work':gt 'rinwork', 'start'
  169. end
  170. end
  171. end
  172. act 'Retire from work':
  173. cla
  174. work = 0
  175. workrin = 0
  176. 'You retired from work and collect papers.'
  177. act 'Leave':gt 'rinok', 'start'
  178. end
  179. end
  180. if (work = 0 and workrin = 0 and cheatWork = 0) or (workrin = 0 and cheatWork = 1):
  181. nl
  182. 'On one of the tents hangs an ad, "Need female market stall staff. Paychecks big."'
  183. act 'Approach the owner of the ad':
  184. cla
  185. *clr
  186. 'Hi, my name is Arthur. I own many stalls here, I need a saleswoman. The last one moved to St. Petersburg. Want the job?'
  187. 'Pay is a percentage of sales, paid at end of shift. Your shifts would be Tuesdays, Thursdays and Saturdays. From 8 till 14.'
  188. 'Government insist I have your papers, so it would be your main job.'
  189. act 'Leave':gt 'rinok', 'start'
  190. act 'Take the job':
  191. cla
  192. work = 1
  193. workrin = 1
  194. arturplan = 5000
  195. 'You give your papers to Arthur and shaking your hand he welcomes you on board.'
  196. act 'Leave':gt 'rinok', 'start'
  197. end
  198. end
  199. end
  200. act 'Go to the book tray':
  201. cls
  202. minut += 15
  203. gs'stat'
  204. 'On the counter is a very entertaining fantasy book, that is all 150 rubles and women`s novels are in paperback standing 300 rubles.'
  205. if money >= 150:
  206. act 'Buy a book of fantasy 150r':
  207. cls
  208. minut += 15
  209. money -= 150
  210. f_book += 1
  211. gs'stat'
  212. 'You bought the book for fantasy 150 rubles.'
  213. act 'Escape':gt'rinok','start'
  214. end
  215. end
  216. if money >= 300:
  217. act 'Buy ladies for romance 300r':
  218. cls
  219. minut += 15
  220. money -= 300
  221. w_book += 1
  222. gs'stat'
  223. 'You bought the novel for the ladies 300 rubles.'
  224. act 'Escape':gt'rinok','start'
  225. end
  226. end
  227. act 'Escape':gt'rinok','start'
  228. end
  229. if coat[5] < 1:
  230. 'On the market you see winter jackets for sale - 5,000 rubles'
  231. if coat[5] = 0:dynamic 'act ''Look at cheap coat 5'':gt ''clothing'', ''view_clothing_item'', ''shop'', ''coat'', 5, 1500'
  232. end
  233. act 'View clothing':
  234. cla
  235. minut += 5
  236. gt 'rinok', 'clo'
  237. end
  238. end
  239. if $ARGS[0] = 'clo':
  240. $metka = $ARGS[0]
  241. $loc = $CURLOC
  242. cls
  243. gs'stat'
  244. fcolor = rgb(0, 0, 0)
  245. bcolor = rgb(255, 255, 255)
  246. lcolor = rgb(106, 90, 205)
  247. '<center><b><font color="maroon">Clothes.</font></b></center>'
  248. 'Cheap clothing on the market stall.'
  249. act 'Return':
  250. cla
  251. minut += 5
  252. gt 'rinok', 'start'
  253. end
  254. i = 15
  255. :loopcheap
  256. if cheap[i] = 0:*p '<a href="exec: i = <<i>> & gt ''rinok'', ''marketclo''"><div style="width:100%; max-width:400px; max-height:400px;"><img src="images/Clothing/1cheap/Cheap<<i>>.jpg" height="400" /></div></a>'
  257. i += 1
  258. if i <= 20:jump 'loopcheap'
  259. end
  260. if $ARGS[0] = 'marketclo':
  261. cla
  262. if cheap[i] ! 0:
  263. msg 'You already own these clothes.'
  264. gt 'rinok', 'clo'
  265. end
  266. gt 'clothing', 'view_clothing_item', 'shop', 'cheap',i, 1500
  267. end
  268. if $ARGS[0] = 'tailor':
  269. CLOSE ALL
  270. cls
  271. gs 'stat'
  272. 'Above the window the sign says, Jacob Solomonovich Schneersohn, tailor, 8:00-16:00 Monday - Friday'
  273. act 'Speak to the tailor':
  274. cla
  275. *clr
  276. 'Elderly Jewish man makes a pattern at the table, he pulls his glasses down a little and looking over the top of them he points at you.'
  277. if portnoyQW > 0:
  278. 'Aah <<$name>>, come, come to adjust clothes again?'
  279. if money >= 500:
  280. act 'Take in the clothes you are wearing (500 rubles)':
  281. cla
  282. *clr
  283. minut += 15
  284. if CloStyle = 5 or $clothingworntype = 'exercise':
  285. 'What are you wasting my time for? This type of clothing does not need to be resized.'
  286. else
  287. money -= 500
  288. dynamic '<<$clothingworntype>>B[<<clothingwornnumber>>] = bedra'
  289. 'You undress and give the clothes you need adjusting to Jacob Solomonovich, it is fifteen minutes until your clothes and returned to you.'
  290. end
  291. act 'Leave':gt 'street'
  292. end
  293. act 'Take in different clothes':gt 'clothing', 'view_clothing_list', 'resize'
  294. act 'Take in all the clothes':gt 'portnoi2'
  295. end
  296. else
  297. 'Hello young lady. I am Solomonovich Jacob, for you simply Yasha. And what is your name?'
  298. act 'Tell him your name':
  299. cla
  300. portnoyQW = 1
  301. '"<<$name>>"'
  302. '"What a pretty name. <<$name>>, come, sit here on this chair. Anyway how can I help you?'
  303. act 'Ask him about your clothes':
  304. cla
  305. *clr
  306. minut += 15
  307. gs 'stat'
  308. '"Can you tailor my clothes to fit me better?"'
  309. '"Of course I can! Otherwise, what kind of tailor would I be? Here, let me see what you''re wearing."'
  310. 'Jacob Solomonovich jumps up smartly and nimbly removes the tape from his neck and begins to measure your chest, waist and hips.'
  311. '"Well, I can take in whatever clothing you bring to me for 500 rubles."'
  312. act 'Leave':gt 'street'
  313. end
  314. end
  315. end
  316. act 'Leave':gt 'street'
  317. end
  318. end
  319. --- rinok ---------------------------------