shop 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789
  1. # shop
  2. !! This is the supermarket, located in several places
  3. !! Main entrance
  4. if $ARGS[0] = 'start':
  5. CLOSE ALL
  6. if sound = 0:PLAY 'sound/shop.mp3',30
  7. $shoplocation = 'main'
  8. end
  9. if $ARGS[0] = 'start' or $ARGS[0] = 'move':
  10. minut += 1
  11. end
  12. !! Main area
  13. if $shoplocation = 'main':
  14. cla
  15. *clr
  16. '<center><b><font color="maroon">Supermarket</font></b></center>'
  17. '<center><img src="images/etogame/shop.jpg"></center>'
  18. if hour < 8 or hour > 20:
  19. 'The supermarket is currently closed.'
  20. act 'Leave the store':gt $loc
  21. exit
  22. end
  23. 'In the hall stands an <a href="exec:$shoplocation = ''ATM'' & gt ''shop'', ''move''">ATM</a>, from which you can withdraw money from your bank account.'
  24. 'There is a branch of communication giants <a href="exec:$shoplocation = ''megafon'' & gt ''shop'', ''move''">Bullhorn</a>.'
  25. '<br>Most of the space in the supermarket is taken up by the <a href="exec:$shoplocation = ''grocery'' & gt ''shop'', ''move''">grocery department</a>, but the store has many smaller departments as well. <a href="exec:$shoplocation=''cosmetics'' & gt ''shop'', ''move''">Cosmetics</a>, <a href="exec:$shoplocation = ''hardware'' & gt ''shop'', ''move''">hardware</a>, <a href="exec:$shoplocation = ''clothing'' & gt ''shop'', ''move''">clothing</a> and the department of <a href="exec:$shoplocation = ''tech'' & gt ''shop'', ''move''">household appliances</a>. Not far from the entrance is a <a href="exec:$shoplocation = ''icecream'' & gt ''shop'', ''move''">counter selling ice cream</a>.'
  26. clr
  27. gs 'stat'
  28. fcolor = rgb(0, 0, 0)
  29. bcolor = rgb(255, 255, 255)
  30. lcolor = rgb(106, 90, 205)
  31. !! The store in the town and in the altstart only
  32. if $loc = 'pavCommercial' and StoryLine = 1:
  33. if week < 6 and hour >= 8 and hour < 16:
  34. 'Your sister <a href="exec:$shoplocation = ''Anya'' & gt ''shop'', ''move''">Anya</a> is sitting at the cash register.'
  35. end
  36. end
  37. !! Store in the residential district
  38. if $loc = 'street':
  39. if rand(1, 20) = 20:
  40. if dimaQW = 0:
  41. 'By the store entrance a man is looking at you appreciatively.'
  42. act 'Return the look':gt 'event', 'dima'
  43. elseif dimaQW = 1:
  44. 'In the lobby of the store you notice Dima and you are frozen with fear, you want to run, but your legs wont respond.'
  45. 'Your heart is thumping in your chest, your vision narrows, you feel faint.'
  46. act 'Pass out':gt 'event', 'scoreslut1'
  47. else
  48. 'You meet the same Dima whos friend fucked and abused you. Dima grins confidently and says, "Hello."'
  49. act 'Hello':
  50. cla
  51. '"Come with me, My wife''s away", says Dima.'
  52. act 'Fuck no':gt 'shop', 'start'
  53. act 'I deserve this':
  54. cla
  55. *clr
  56. if rand(1, 2) = 1:
  57. cla
  58. stat['vaginal'] += 1
  59. oral += 1
  60. throat += 1
  61. spafinloc = 12
  62. gs 'cum_manage'
  63. swallow += 1
  64. horny = 0
  65. minut += 10
  66. 'Dima takes you to his house and orders you to lie across the sofa. You get on into position, he calls you a bitch and a starts fucking you in the mouth.'
  67. '<center><img src="images/pics/gostdt2.jpg"></center>'
  68. 'Dima finally finishes in your mouth, you obediently swallow and lick the remnants of sperm off his big cock.'
  69. act 'Leave':gt 'street'
  70. else
  71. cla
  72. stat['vaginal'] += 1
  73. stat['anal'] += 1
  74. spafinloc = 4
  75. gs 'cum_manage'
  76. spank += 1
  77. boom = 5
  78. horny = 0
  79. minut += 30
  80. 'Dima has brings you to his house and right in the corridor begins to kiss and undress you. When you are naked he takes you to the bathroom.'
  81. 'There he unscrews the showerhead and puts the hose in your ass. Quickly you feel the fullness and Dima sits you on the toilet. After he rough enema, he bends you over and puts his big dick in your ass.'
  82. '<center><img src="images/pics/gostanal2.jpg"></center>'
  83. 'Dima fucks you in the ass whilst slapping your butt, at first it is painful, but gradually you get it and it feels amazing. Finally, your ass fills with hot liquid and Dima moans and grabs your buttocks.'
  84. act 'Leave':gt 'street'
  85. end
  86. end
  87. end
  88. end
  89. end
  90. end
  91. '<br>The store is crowded with shoppers.'
  92. !! This is connected to the trade mission
  93. if TorgPredZ > 0:
  94. !! the location of the shop hasn''t been done today
  95. if ($loc = 'street' and StreetShopTPday ! daystart) or ($loc = 'Nord' and nordShopTPday ! daystart) or ($loc = 'down' and downShopTPday ! daystart):
  96. act 'Arrange products':
  97. if $loc = 'street':StreetShopTPday = daystart
  98. if $loc = 'Nord':nordShopTPday = daystart
  99. if $loc = 'down':downShopTPday = daystart
  100. cls
  101. mtprand = rand(40, 130)
  102. minut += mtprand
  103. TorgPredZ -= 1
  104. TorgPredZV += 1
  105. gs 'stat'
  106. '<center><img src="images/etogame/shop.jpg"></center>'
  107. 'You arranged the products for quite a while and when I finally managed, then went to the cashier and you check it struck.'
  108. act 'Exit':gt 'shop', 'start'
  109. end
  110. end
  111. end
  112. act 'Leave the store':gt $loc
  113. exit
  114. end
  115. !! ATM
  116. if $shoplocation = 'ATM':
  117. '<center><b><font color="maroon">ATM</font></b></center>'
  118. '<center><img src="images/pics/bank/atm.jpg"></center>'
  119. if bankAccount = 1:
  120. if karta >= 0:
  121. 'You have <<karta>> <b>₽</b> in your account.'
  122. 'You have an approved credit of <font color="blue"><<bankDebtLimit>></font> <b>₽</b>!'
  123. else
  124. 'You have a debt of <font color="red"><<-1 * karta>></font> <b>₽</b>.'
  125. 'You have an approved credit of <font color="blue"><<bankDebtLimit + karta>></font> <b>₽</b>!'
  126. end
  127. '<br>ATM Deposit Fee: 100 <b>₽</b>'
  128. if atmDeposit = 0:
  129. act 'Deposit money':
  130. cla
  131. minut += 5
  132. kartaINATM = input ("How much money you want to deposit into the account?")
  133. if kartaINATM <= 0 or kartaINATM > money:
  134. 'This is not a valid input.'
  135. else
  136. atmDeposit += kartaINATM - 100
  137. atmDepositDate = daystart + 2
  138. money -= kartaINATM
  139. '<br>You deposited <<kartaINATM>> <b>₽</b> into your account.'
  140. 'It will take 2 days for funds to be available. Your new balance will be <<karta+atmDeposit>> <b>₽</b>.'
  141. end
  142. gs 'stat'
  143. act 'Move away': gt 'shop'
  144. end
  145. else
  146. '<br>★ Processing deposit of <<atmDeposit>> <b>₽</b> in <<atmDepositDate - daystart>> days.'
  147. end
  148. if karta + bankDebtLimit > 0:
  149. act 'Withdraw money from the ATM':
  150. cla
  151. minut += 5
  152. kartaOUT = input ("How much money you want to withdraw?")
  153. if kartaOUT <= 0 or kartaOUT > karta + bankDebtLimit:
  154. '<br>Invalid operation.'
  155. else
  156. karta -= kartaOUT
  157. money += kartaOUT
  158. '<br>You withdraw <<kartaOUT>> <b>₽</b>. You have <<karta>> <b>₽</b> left in your bank account.'
  159. end
  160. gs 'stat'
  161. act 'Move away': gt 'shop'
  162. end
  163. else
  164. 'You don''t have any money left in the bank.'
  165. end
  166. else
  167. 'You don''t have a bank account yet!'
  168. end
  169. act 'Move away':gt 'shop', 'start'
  170. end
  171. !! Grocery
  172. if $shoplocation = 'grocery':
  173. cla
  174. *clr
  175. '<center><b><font color="maroon">Grocery</font></b></center>'
  176. '<center><img src="images/etogame/shop1.jpg"></center>'
  177. if hour < 8 or hour > 20:
  178. 'The grocery is currently closed.'
  179. act 'Leave the grocery':gt 'shop', 'start'
  180. exit
  181. end
  182. !! output from purchase
  183. *p iif($ARGS[0] = 'start' or $ARGS[0] = '' or $ARGS[0] = 'move', '<br/>', '<center><<$ARGS[0]>></center>')
  184. *pl '<center><table align="center">' + _
  185. FUNC ('$stock_item', 1, 'Regular food', 50, 'eda', $CURLOC) + _
  186. FUNC ('$stock_item', 1, 'Diet food', 250, 'edaD', $CURLOC) + _
  187. FUNC ('$stock_item', 10, 'Tea biscuits', 300, 'pranik', $CURLOC) + _
  188. iif(bag > 0, FUNC ('$single_stock_item', 1, 'Bottle of water', 50, 'bottle', $CURLOC), '<tr><td>Bottle of water</td><td colspan=2>You need a handbag</td><td>for 50 <b>₽</b></td></tr>') + _
  189. iif(bag > 0, FUNC ('$single_stock_item', 1, 'Sandwich', 100, 'buterbrod', $CURLOC), '<tr><td>Sandwich</td><td colspan=2>You need a handbag</td><td>for 100 <b>₽</b></td></tr>') + _
  190. iif(bag > 0, FUNC ('$single_stock_item', 1, 'Bottle of wine', 500, 'wine', $CURLOC), '<tr><td>Bottle of wine</td><td colspan=2>You need a handbag</td><td>for 500 <b>₽</b></td></tr>') + _
  191. '</table></center>'
  192. clr
  193. gs 'stat'
  194. fcolor = rgb(0, 0, 0)
  195. bcolor = rgb(255, 255, 255)
  196. lcolor = rgb(106, 90, 205)
  197. act 'Leave the grocery':gt 'shop', 'start'
  198. end
  199. !! Cosmetics
  200. !! The scrunchies and hairpins sold here are from the Maruda Hair Mod
  201. if $shoplocation= 'cosmetics':
  202. cla
  203. *clr
  204. '<center><b><font color="maroon">Cosmetics Department</font></b></center>'
  205. '<center><img src="images/etogame/shop2.jpg"></center>'
  206. if hour < 8 or hour > 20:
  207. 'The cosmetics department is currently closed.'
  208. act 'Leave the cosmetics department':gt 'shop', 'start'
  209. exit
  210. end
  211. !! output from purchase
  212. *p iif($ARGS[0] = 'start' or $ARGS[0] = '' or $ARGS[0] = 'move', '<br/>', '<center><<$ARGS[0]>></center>')
  213. *pl '<center><table align="center">' + _
  214. FUNC ('$stock_item', 50, 'Cosmetics', 1000, 'kosmetica', $CURLOC) + _
  215. FUNC ('$stock_item', 10, 'Razors', 500, 'stanok', $CURLOC) + _
  216. FUNC ('$stock_item', 20, 'Sunblock', 500, 'krem', $CURLOC) + _
  217. FUNC ('$stock_item', 20, 'Tampons', 200, 'tampon', $CURLOC) + _
  218. FUNC ('$stock_item', 20, 'Sanitary napkins', 200, 'sanpad', $CURLOC) + _
  219. FUNC ('$stock_item', 30, 'Shampoo', 500, 'shampoo', $CURLOC) + _
  220. FUNC ('$stock_item', 10, 'Hair scrunchies', 80, 'hscrunch', $CURLOC) + _
  221. FUNC ('$stock_item', 12, 'Hair pins', 100, 'hpingrip', $CURLOC)
  222. *pl iif(bag > 0, FUNC ('$stock_item', 10, 'Wipes', 100, 'salfetka', $CURLOC), '<tr><td>Wipes</td><td colspan=2>You need a handbag</td><td>for 100 <b>₽</b></td></tr>') + _
  223. iif(bag > 0, FUNC ('$stock_item', 10, 'Portable makeup', 1000, 'kosmetitka', $CURLOC), '<tr><td>Portable makeup</td><td colspan=2>You need a handbag</td><td>for 1000 <b>₽</b></td></tr>') + _
  224. iif(bag > 0, FUNC ('$stock_item', 20, 'Mouthwash', 400, 'mouthwash', $CURLOC), '<tr><td>Mouthwash</td><td colspan=2>You need a handbag</td><td>for 400 <b>₽</b></td></tr>') + _
  225. iif(bag > 0, FUNC ('$single_stock_item', 1, 'Comb', 150, 'greben', $CURLOC), '<tr><td>Comb</td><td colspan=2>You need a handbag</td><td>for 150 <b>₽</b></td></tr>') + _
  226. FUNC ('$single_stock_item', 1, 'Handbag', 5000, 'bag', $CURLOC) + _
  227. '</table></center>'
  228. clr
  229. gs 'stat'
  230. fcolor = rgb(0, 0, 0)
  231. bcolor = rgb(255, 255, 255)
  232. lcolor = rgb(106, 90, 205)
  233. act 'Leave the cosmetics department':
  234. if menu_option = 1:dynamic $menu_addoldmenu
  235. if menu_option = 0:gs 'obj_din', 'new'
  236. gt 'shop', 'start'
  237. end
  238. end
  239. !! Hardware
  240. if $shoplocation = 'hardware':
  241. cla
  242. *clr
  243. '<center><b><font color="maroon">Division of household goods</font></b></center>'
  244. '<center><img src="images/etogame/shop3.jpg"></center>'
  245. if hour < 8 or hour > 20:
  246. 'The hardware department is currently closed.'
  247. act 'Leave the hardware department':gt 'shop', 'start'
  248. exit
  249. end
  250. !! output from purchase
  251. *p iif($ARGS[0] = 'start' or $ARGS[0] = '' or $ARGS[0] = 'move', '<br/>', '<center><<$ARGS[0]>></center>')
  252. *pl '<center><table align="center">' + _
  253. FUNC ('$stock_item', 20, 'Dishwashing detergent', 100, 'fairy', $CURLOC) + _
  254. FUNC ('$stock_item', 30, 'Clothing detergent', 250, 'poroshok', $CURLOC) + _
  255. FUNC ('$stock_item', 5, 'Plates', 300, 'cltarelka', $CURLOC) + _
  256. '</table></center>'
  257. clr
  258. gs 'stat'
  259. fcolor = rgb(0, 0, 0)
  260. bcolor = rgb(255, 255, 255)
  261. lcolor = rgb(106, 90, 205)
  262. act 'Leave the hardware department':gt 'shop', 'start'
  263. if poSkill >= 40:
  264. 'On the counter you can see that the fabric is suitable for teaching sewing. Bolt which is enough for one lesson stands 300 <b>₽</b>.'
  265. if tkan <= 0:'Now you do not have tissue'
  266. if tkan > 0:'Now you have enough tissue to <<tkan>> lessons'
  267. if money >= 300:
  268. act'Buy cloth':
  269. cls
  270. portion = input ("How much do you want to buy?")
  271. if portion <= 0:portion = 1
  272. if portion*300 > money:'You do not have enough money.'
  273. if portion*300 <= money:
  274. tkan += portion
  275. money = money - portion*300
  276. '<center><img src="images/etogame/kassa.jpg"></center>'
  277. 'You paid the cashier and bought cloth.'
  278. end
  279. gs'stat'
  280. act 'Move away from the counter':gt'shop'
  281. end
  282. end
  283. end
  284. end
  285. !! Women''s clothing
  286. if $shoplocation = 'clothing':
  287. cla
  288. *clr
  289. '<center><b><font color="maroon">Department of Women''s Clothing</font></b></center>'
  290. '<center><img src="images/etogame/shop4.jpg"></center>'
  291. if hour < 8 or hour > 20:
  292. 'The women''s clothing department is currently closed.'
  293. act 'Leave the women''s clothing department':gt 'shop', 'start'
  294. exit
  295. end
  296. *p iif($ARGS[0] = 'start' or $ARGS[0] = '' or $ARGS[0] = 'move', '<br/>', '<center><<$ARGS[0]>></center>')
  297. *pl '<center><table align="center">' + _
  298. FUNC ('$stock_item', 1, 'Underwear', 300, 'clrbelo', $CURLOC) + _
  299. FUNC ('$stock_item', 7, 'Sale pack of underwear', 2000, 'clrbelo', $CURLOC) + _
  300. '</table></center>'
  301. '<br/>Women''s clothing cost 2,500 <b>₽</b> each.'
  302. clr
  303. gs 'stat'
  304. fcolor = rgb(0, 0, 0)
  305. bcolor = rgb(255, 255, 255)
  306. lcolor = rgb(106, 90, 205)
  307. act 'Leave the women''s clothing department':gt 'shop', 'start'
  308. if konki!1:
  309. 'A pair of ice-skates are available for 500 <b>₽</b>.'
  310. if money >= 500:
  311. act 'Buy skates for 500 <b>₽</b>':
  312. cla
  313. *clr
  314. money = money - 500
  315. konki = 1
  316. '<center><img src="images/nigma/gor/lake/katok/konki_shop.jpg"></center>'
  317. 'You buy a pair of skates.'
  318. act 'Move away from the counter':gt'shop'
  319. end
  320. end
  321. end
  322. if money >= 2500:
  323. if office[1] = 0:
  324. act 'Inspect Office clothes number 1':
  325. cla
  326. *clr
  327. '<center><img src="images/clothing/5office/office1.jpg"></center>'
  328. 'Office clothes.'
  329. 'Costs 2,500 <b>₽</b>.'
  330. act 'Leave':gt'shop'
  331. act 'Buy':
  332. cla
  333. money -= 2500
  334. office[1] = 1
  335. officeH[1] = 60
  336. officeB[1] = bedra
  337. gt'shop', '<font color="green">You bought <b>Office clothes number 1</b>.</font>'
  338. end
  339. end
  340. end
  341. if office[2] = 0:
  342. act 'Inspect Office clothes number 2':
  343. cla
  344. *clr
  345. '<center><img src="images/clothing/5office/office2.jpg"></center>'
  346. 'Office clothes.'
  347. 'Costs 2,500 <b>₽</b>.'
  348. act 'Leave':gt'shop'
  349. act 'Buy':
  350. cla
  351. money -= 2500
  352. office[2] = 1
  353. officeH[2] = 60
  354. officeB[2] = bedra
  355. gt'shop', '<font color="green">You bought <b>Office clothes number 2</b>.</font>'
  356. end
  357. end
  358. end
  359. if cheap[68] = 0:
  360. act 'Inspect cheap clothes 102':
  361. cla
  362. *clr
  363. '<center><img src="images/clothing/1cheap/cheap68.jpg"></center>'
  364. 'A cheap skirt and top.'
  365. 'Costs 2,500 <b>₽</b>.'
  366. act 'Leave':gt 'shop'
  367. act 'Buy':
  368. cla
  369. money -= 2500
  370. cheap[68] = 1
  371. cheapH[68] = 60
  372. cheapB[68] = bedra
  373. gt 'shop', '<font color="green">You bought <b>cheap clothes 68</b>.</font>'
  374. end
  375. end
  376. end
  377. if cheap[3] = 0:
  378. act 'Inspect cheap clothes 3':
  379. cla
  380. *clr
  381. '<center><img src="images/clothing/1cheap/cheap3.jpg"></center>'
  382. 'A cheap skirt and top.'
  383. 'Costs 2,500 <b>₽</b>.'
  384. act 'Leave':gt 'shop'
  385. act 'Buy':
  386. cla
  387. money -= 2500
  388. cheap[3] = 1
  389. cheapH[3] = 60
  390. cheapB[3] = bedra
  391. gt 'shop', '<font color="green">You bought <b>cheap clothes 3</b>.</font>'
  392. end
  393. end
  394. end
  395. if cheap[80] = 0:
  396. act 'Inspect cheap clothes 80':
  397. cla
  398. *clr
  399. '<center><img src="images/clothing/1cheap/cheap80.jpg"></center>'
  400. 'Cheap shorts and top.'
  401. 'Costs 2,500 <b>₽</b>.'
  402. act 'Leave':gt 'shop'
  403. act 'Buy':
  404. cla
  405. money -= 2500
  406. cheap[80] = 1
  407. cheapH[80] = 60
  408. cheapB[80] = bedra
  409. gt 'shop', '<font color="green">You bought <b>cheap clothes 80</b>.</font>'
  410. end
  411. end
  412. end
  413. if cheap[10] = 0:
  414. act 'Inspect cheap clothes 10':
  415. cla
  416. *clr
  417. '<center><img src="images/clothing/1cheap/cheap10.jpg"></center>'
  418. 'A cheap dress.'
  419. 'Costs 2,500 <b>₽</b>.'
  420. act 'Leave':gt 'shop'
  421. act 'Buy':
  422. cla
  423. money -= 2500
  424. cheap[10] = 1
  425. cheapH[10] = 60
  426. cheapB[10] = bedra
  427. gt 'shop', '<font color="green">You bought <b>cheap clothes 10</b>.</font>'
  428. end
  429. end
  430. end
  431. if cheap[45] = 0:
  432. act 'Inspect cheap clothes 45':
  433. cla
  434. *clr
  435. '<center><img src="images/clothing/1cheap/cheap45.jpg"></center>'
  436. 'Cheap jeans and top.'
  437. 'Costs 2,500 <b>₽</b>.'
  438. act 'Leave':gt 'shop'
  439. act 'Buy':
  440. cla
  441. money -= 2500
  442. cheap[45] = 1
  443. cheapH[45] = 60
  444. cheapB[45] = bedra
  445. gt 'shop', '<font color="green">You bought <b>cheap clothes 45</b>.</font>'
  446. end
  447. end
  448. end
  449. if cheap[51] = 0:
  450. act 'Inspect cheap clothes 51':
  451. cla
  452. *clr
  453. '<center><img src="images/clothing/1cheap/cheap51.jpg"></center>'
  454. 'Cheap leggings and top.'
  455. 'Costs 2,500 <b>₽</b>.'
  456. act 'Leave':gt 'shop'
  457. act 'Buy':
  458. cla
  459. money -= 2500
  460. cheap[51] = 1
  461. cheapH[51] = 60
  462. cheapB[51] = bedra
  463. gt 'shop', '<font color="green">You bought <b>cheap clothes 51</b>.</font>'
  464. end
  465. end
  466. end
  467. if swimwear[4] = 0:
  468. act 'Inspect swimwear 4':
  469. cla
  470. *clr
  471. '<center><img src="images/clothing/12swimwear/swimwear4.jpg"></center>'
  472. 'Swimwear.'
  473. 'Costs 1,000 <b>₽</b>.'
  474. act 'Leave':gt 'shop'
  475. act 'Buy':
  476. cla
  477. money -= 1000
  478. swimwear[4] = 1
  479. swimwearH[4] = 60
  480. swimwearB[4] = bedra
  481. gt 'shop', '<font color="green">You bought <b>swimwear 4</b>.</font>'
  482. end
  483. end
  484. end
  485. if exercise[4] = 0:
  486. act 'Inspect exercise clothes 4':
  487. cla
  488. *clr
  489. '<center><img src="images/clothing/7exercise/exercise4.jpg"></center>'
  490. 'Exercise clothes.'
  491. 'Costs 2,500 <b>₽</b>.'
  492. act 'Leave':gt 'shop'
  493. act 'Buy':
  494. cla
  495. money -= 2500
  496. exercise[4] = 1
  497. exerciseH[4] = 60
  498. gt 'shop', '<font color="green">You bought <b>exercise clothes 4</b>.</font>'
  499. end
  500. end
  501. end
  502. if exercise[20] = 0:
  503. act 'Inspect exercise clothes 20':
  504. cla
  505. *clr
  506. '<center><img src="images/clothing/7exercise/exercise20.jpg"></center>'
  507. 'Exercise clothes.'
  508. 'Costs 2,500 <b>₽</b>.'
  509. act 'Leave':gt 'shop'
  510. act 'Buy':
  511. cla
  512. money -= 2500
  513. exercise[20] = 1
  514. exerciseH[20] = 60
  515. gt 'shop', '<font color="green">You bought <b>exercise clothes 31</b>.</font>'
  516. end
  517. end
  518. end
  519. if coat[1] = 0:
  520. act 'Inspect coat 1':
  521. cla
  522. *clr
  523. '<center><img src="images/clothing/11coat/coat1.jpg"></center>'
  524. 'A coat.'
  525. 'Costs 7,500 <b>₽</b>.'
  526. act 'Leave':gt 'shop'
  527. act 'Buy':
  528. cla
  529. money -= 5000
  530. coat[1] = 1
  531. coatH[1] = 60
  532. gt 'shop', '<font color="green">You bought <b>coat 1</b>.</font>'
  533. end
  534. end
  535. end
  536. end
  537. end
  538. !! Household appliances
  539. if $shoplocation = 'tech':
  540. cla
  541. *clr
  542. '<center><b><font color="maroon">Department of household appliances</font></b></center>'
  543. '<center><img src="images/etogame/shop5.jpg"></center>'
  544. if hour < 8 or hour > 20:
  545. 'The household appliance department is currently closed.'
  546. act 'Leave the appliance department':gt 'shop', 'start'
  547. exit
  548. end
  549. *p iif($ARGS[0] = 'start' or $ARGS[0] = '' or $ARGS[0] = 'move', '<br/>', '<center><<$ARGS[0]>></center>')
  550. *pl '<center><table align="center">' + _
  551. iif(housr > 0, FUNC ('$single_stock_item', 1, 'Scondhand Small CRT TV', 5000, 'TV', $CURLOC), '<tr><td>Scondhand Small CRT TV</td><td colspan=2>costs 5000 <b>₽</b></td><td>You need your own home</td></tr>') + _
  552. iif(housr > 0, FUNC ('$single_stock_item', 2, 'Large Plasma TV', 35000, 'TV', $CURLOC), '<tr><td>Large Plasma TV</td><td colspan=2>costs 35000 <b>₽</b></td><td>You need your own home</td></tr>') + _
  553. FUNC ('$single_stock_item', 1, 'Computer', 25000, 'komp', $CURLOC)
  554. *p iif(komp > 0, FUNC ('$single_stock_item', 1, 'Computer game Dead Sunset', 500, 'GameCD2', $CURLOC), '') + _
  555. iif(housr > 0, FUNC ('$single_stock_item', 1, 'Dishwasher', 50000, 'posudomashina', $CURLOC), '<tr><td>Dishwasher</td><td colspan=2>costs 50000 <b>₽</b></td><td>You need your own home</td></tr>') + _
  556. iif(housr > 0, FUNC ('$single_stock_item', 1, 'Washing machine', 50000, 'stiralka', $CURLOC), '<tr><td>Washing machine</td><td colspan=2>costs 50000 <b>₽</b></td><td>You need your own home</td></tr>') + _
  557. FUNC ('$single_stock_item', 1, 'Camera', 10000, 'zenit', $CURLOC) + _
  558. FUNC ('$single_stock_item', 1, 'Mini camera disguised as a cigarette pack', 40000, 'minifoto', $CURLOC)
  559. *p iif((vasya_shulgin>=30 and webcamera = 0) or (camwhore = 1 and webcamera = 0), FUNC ('$single_stock_item', 1, 'Webcam', 10000, 'webcamera', $CURLOC), '') + _
  560. '</table></center>'
  561. clr
  562. gs 'stat'
  563. fcolor = rgb(0, 0, 0)
  564. bcolor = rgb(255, 255, 255)
  565. lcolor = rgb(106, 90, 205)
  566. act 'Leave the appliance department':gt 'shop', 'start'
  567. end
  568. !! Ice cream counter
  569. if $shoplocation = 'icecream':
  570. 'Ice cream is available for sale for 50 <b>₽</b>.'
  571. act 'Move away from the counter':gt 'shop', 'start'
  572. if money >= 50:
  573. act 'Buy ice cream':
  574. cls
  575. money -= 50
  576. fat += 3
  577. manna += 500
  578. water += 60
  579. energy += 30
  580. cumspclnt = 2
  581. gs 'cum_cleanup'
  582. fbreath = 0
  583. gs 'stat'
  584. '<center><img src="images/etogame/icecreem.jpg"></center>'
  585. 'You bought ice cream and ate it not going far.'
  586. act 'Move away from the counter':gt 'shop', 'start'
  587. end
  588. end
  589. end
  590. if $shoplocation = 'megafon':
  591. cls
  592. minut+=3
  593. gs'stat'
  594. i = 0
  595. '<center><b><font color = maroon>Salon connection Megaphone</font></B></center>'
  596. '<center><img src="images/pic/phone/megafon2.jpg" ></center>'
  597. *pl '<center><table align="center">'
  598. :loopcard
  599. if i = 0:
  600. n = 5
  601. price = 60
  602. $buy_link = '<a' + iif(money >= 60, ' href="exec: gs ''$buy_item'', <<n>>, ''hours of internet access'', <<price>>, ''internet'', ''shop''">buy ','>buy ') +'</a>'
  603. elseif i = 1:
  604. n = 10
  605. price = 115
  606. $buy_link = '<a' + iif(money >= 115, ' href="exec: gs ''$buy_item'', <<n>>, ''hours of internet access'', <<price>>, ''internet'', ''shop''">buy ','>buy ') +'</a>'
  607. elseif i = 2:
  608. n = 20
  609. price = 220
  610. $buy_link = '<a' + iif(money >= 220, ' href="exec: gs ''$buy_item'', <<n>>, ''hours of internet access'', <<price>>, ''internet'', ''shop''">buy ','>buy ') +'</a>'
  611. elseif i = 3:
  612. n = 50
  613. price = 520
  614. $buy_link = '<a' + iif(money >= 520, ' href="exec: gs ''$buy_item'', <<n>>, ''hours of internet access'', <<price>>, ''internet'', ''shop''">buy ','>buy ') +'</a>'
  615. end
  616. i += 1
  617. '<tr><td align="center"><<n>> hour internet card </td><td align="right">(you have <<internet>> hours of internet access) </td><td align="right"><<$buy_link>> </td><td align="left">for <<price>> <b>₽</b></td></tr>'
  618. if i < 4:
  619. jump 'loopcard'
  620. end
  621. '</table></center>'
  622. act 'Exit Department':gt'shop','start'
  623. if money > 0:
  624. act 'Put the money on the phone':
  625. cla
  626. set minut = minut + 5
  627. obmennik = input ("How many <b>₽</b> do you want to deposit?")
  628. if obmennik <= 0:
  629. '<center><br><b>Do you want to think again?</b></center>'
  630. act 'Exit Department':gt'shop','start'
  631. else
  632. if money < obmennik:
  633. '<center><br>You do not have <b><<obmennik>></b> <b>₽</b>.</center>'
  634. act 'Exit Department':gt'shop','start'
  635. end
  636. if money >= obmennik:
  637. set balans = balans + obmennik
  638. set money = money - obmennik
  639. clr
  640. gs'stat'
  641. '<center><br>You put <b><<obmennik>></b> <b>₽</b> to the account.</center>'
  642. act 'Exit Department':gt'shop','start'
  643. end
  644. end
  645. end
  646. end
  647. end
  648. if $shoplocation = 'Anya':
  649. cla
  650. '<center><img src="images/qwest/alter/sister/sister.jpg"></center>'
  651. gs'dinsister'
  652. dynamic $sischecks
  653. '"<<$name>>, do not disturb me at work, can''t you see I have customers?""'
  654. act '<B>Move away</B>':gt'shop','start'
  655. end
  656. --- shop ---------------------------------