shop 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783
  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. sex += 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. sex += 1
  73. 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/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. end
  146. if karta + bankDebtLimit > 0:
  147. act 'Withdraw money from the ATM':
  148. cla
  149. minut += 5
  150. kartaOUT = input ("How much money you want to withdraw?")
  151. if kartaOUT <= 0 or kartaOUT > karta + bankDebtLimit:
  152. '<br>Invalid operation.'
  153. else
  154. karta -= kartaOUT
  155. money += kartaOUT
  156. '<br>You withdraw <<kartaOUT>> <b>₽</b>. You have <<karta>> <b>₽</b> left in your bank account.'
  157. end
  158. gs 'stat'
  159. act 'Move away': gt 'shop'
  160. end
  161. else
  162. 'You don''t have any money left in the bank.'
  163. end
  164. else
  165. 'You don''t have a bank account yet!'
  166. end
  167. act 'Move away':gt 'shop', 'start'
  168. end
  169. !! Grocery
  170. if $shoplocation = 'grocery':
  171. cla
  172. *clr
  173. '<center><b><font color="maroon">Grocery</font></b></center>'
  174. '<center><img src="images/etogame/shop1.jpg"></center>'
  175. if hour < 8 or hour > 20:
  176. 'The grocery is currently closed.'
  177. act 'Leave the grocery':gt 'shop', 'start'
  178. exit
  179. end
  180. !! output from purchase
  181. *p iif($ARGS[0] = 'start' or $ARGS[0] = '' or $ARGS[0] = 'move', '<br/>', '<center><<$ARGS[0]>></center>')
  182. *pl '<center><table align="center">' + _
  183. FUNC ('$stock_item', 1, 'Regular food', 50, 'eda', $CURLOC) + _
  184. FUNC ('$stock_item', 1, 'Diet food', 250, 'edaD', $CURLOC) + _
  185. FUNC ('$stock_item', 10, 'Tea biscuits', 300, 'pranik', $CURLOC) + _
  186. 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 rubles</td></tr>') + _
  187. 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 rubles</td></tr>') + _
  188. 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 rubles</td></tr>') + _
  189. '</table></center>'
  190. clr
  191. gs 'stat'
  192. fcolor = rgb(0, 0, 0)
  193. bcolor = rgb(255, 255, 255)
  194. lcolor = rgb(106, 90, 205)
  195. act 'Leave the grocery':gt 'shop', 'start'
  196. end
  197. !! Cosmetics
  198. !! The scrunchies and hairpins sold here are from the Maruda Hair Mod
  199. if $shoplocation= 'cosmetics':
  200. cla
  201. *clr
  202. '<center><b><font color="maroon">Cosmetics Department</font></b></center>'
  203. '<center><img src="images/etogame/shop2.jpg"></center>'
  204. if hour < 8 or hour > 20:
  205. 'The cosmetics department is currently closed.'
  206. act 'Leave the cosmetics department':gt 'shop', 'start'
  207. exit
  208. end
  209. !! output from purchase
  210. *p iif($ARGS[0] = 'start' or $ARGS[0] = '' or $ARGS[0] = 'move', '<br/>', '<center><<$ARGS[0]>></center>')
  211. *pl '<center><table align="center">' + _
  212. FUNC ('$stock_item', 50, 'Cosmetics', 1000, 'kosmetica', $CURLOC) + _
  213. FUNC ('$stock_item', 10, 'Razors', 500, 'stanok', $CURLOC) + _
  214. FUNC ('$stock_item', 20, 'Sunblock', 500, 'krem', $CURLOC) + _
  215. FUNC ('$stock_item', 20, 'Tampons', 200, 'tampon', $CURLOC) + _
  216. FUNC ('$stock_item', 20, 'Sanitary napkins', 200, 'sanpad', $CURLOC) + _
  217. FUNC ('$stock_item', 30, 'Shampoo', 500, 'shampoo', $CURLOC) + _
  218. FUNC ('$stock_item', 10, 'Hair scrunchies', 80, 'hscrunch', $CURLOC) + _
  219. FUNC ('$stock_item', 12, 'Hair pins', 100, 'hpingrip', $CURLOC)
  220. *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 rubles</td></tr>') + _
  221. 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 rubles</td></tr>') + _
  222. 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 rubles</td></tr>') + _
  223. 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 rubles</td></tr>') + _
  224. FUNC ('$single_stock_item', 1, 'Handbag', 5000, 'bag', $CURLOC) + _
  225. '</table></center>'
  226. clr
  227. gs 'stat'
  228. fcolor = rgb(0, 0, 0)
  229. bcolor = rgb(255, 255, 255)
  230. lcolor = rgb(106, 90, 205)
  231. act 'Leave the cosmetics department':gt 'shop', 'start'
  232. end
  233. !! Hardware
  234. if $shoplocation = 'hardware':
  235. cla
  236. *clr
  237. '<center><b><font color="maroon">Division of household goods</font></b></center>'
  238. '<center><img src="images/etogame/shop3.jpg"></center>'
  239. if hour < 8 or hour > 20:
  240. 'The hardware department is currently closed.'
  241. act 'Leave the hardware department':gt 'shop', 'start'
  242. exit
  243. end
  244. !! output from purchase
  245. *p iif($ARGS[0] = 'start' or $ARGS[0] = '' or $ARGS[0] = 'move', '<br/>', '<center><<$ARGS[0]>></center>')
  246. *pl '<center><table align="center">' + _
  247. FUNC ('$stock_item', 20, 'Dishwashing detergent', 100, 'fairy', $CURLOC) + _
  248. FUNC ('$stock_item', 30, 'Clothing detergent', 250, 'poroshok', $CURLOC) + _
  249. FUNC ('$stock_item', 5, 'Plates', 300, 'cltarelka', $CURLOC) + _
  250. '</table></center>'
  251. clr
  252. gs 'stat'
  253. fcolor = rgb(0, 0, 0)
  254. bcolor = rgb(255, 255, 255)
  255. lcolor = rgb(106, 90, 205)
  256. act 'Leave the hardware department':gt 'shop', 'start'
  257. if poSkill >= 40:
  258. 'On the counter you can see that the fabric is suitable for teaching sewing. Bolt which is enough for one lesson stands 300 rubles.'
  259. if tkan <= 0:'Now you do not have tissue'
  260. if tkan > 0:'Now you have enough tissue to <<tkan>> lessons'
  261. if money >= 300:
  262. act'Buy cloth':
  263. cls
  264. portion = input ("How much do you want to buy?")
  265. if portion <= 0:portion = 1
  266. if portion*300 > money:'You do not have enough money.'
  267. if portion*300 <= money:
  268. tkan += portion
  269. money = money - portion*300
  270. '<center><img src="images/etogame/kassa.jpg"></center>'
  271. 'You paid the cashier and bought cloth.'
  272. end
  273. gs'stat'
  274. act 'Move away from the counter':gt'shop','hos'
  275. end
  276. end
  277. end
  278. end
  279. !! Women''s clothing
  280. if $shoplocation = 'clothing':
  281. cla
  282. *clr
  283. '<center><b><font color="maroon">Department of Women''s Clothing</font></b></center>'
  284. '<center><img src="images/etogame/shop4.jpg"></center>'
  285. if hour < 8 or hour > 20:
  286. 'The women''s clothing department is currently closed.'
  287. act 'Leave the women''s clothing department':gt 'shop', 'start'
  288. exit
  289. end
  290. *p iif($ARGS[0] = 'start' or $ARGS[0] = '' or $ARGS[0] = 'move', '<br/>', '<center><<$ARGS[0]>></center>')
  291. *pl '<center><table align="center">' + _
  292. FUNC ('$stock_item', 1, 'Underwear', 300, 'clrbelo', $CURLOC) + _
  293. FUNC ('$stock_item', 7, 'Sale pack of underwear', 2000, 'clrbelo', $CURLOC) + _
  294. '</table></center>'
  295. '<br/>Women''s clothing cost 2,500 rubles each.'
  296. clr
  297. gs 'stat'
  298. fcolor = rgb(0, 0, 0)
  299. bcolor = rgb(255, 255, 255)
  300. lcolor = rgb(106, 90, 205)
  301. act 'Leave the women''s clothing department':gt 'shop', 'start'
  302. if konki!1:
  303. 'A pair of ice-skates are available for 500 rubles.'
  304. if money >= 500:
  305. act 'Buy skates for 500 rubles':
  306. cla
  307. *clr
  308. money = money - 500
  309. konki = 1
  310. '<center><img src="images/nigma/gor/lake/Katok/konki_shop.jpg"></center>'
  311. 'You buy a pair of skates.'
  312. act 'Move away from the counter':gt'shop'
  313. end
  314. end
  315. end
  316. if money >= 2500:
  317. if office[1] = 0:
  318. act 'Inspect Office clothes number 1':
  319. cla
  320. *clr
  321. '<center><img src="images/Clothing/5office/Office1.jpg"></center>'
  322. 'Office clothes.'
  323. 'Costs 2,500 rubles.'
  324. act 'Leave':gt'shop'
  325. act 'Buy':
  326. cla
  327. money -= 2500
  328. office[1] = 1
  329. officeH[1] = 60
  330. officeB[1] = bedra
  331. gt'shop', '<font color="green">You bought <b>Office clothes number 1</b>.</font>'
  332. end
  333. end
  334. end
  335. if office[2] = 0:
  336. act 'Inspect Office clothes number 2':
  337. cla
  338. *clr
  339. '<center><img src="images/Clothing/5office/Office2.jpg"></center>'
  340. 'Office clothes.'
  341. 'Costs 2,500 rubles.'
  342. act 'Leave':gt'shop'
  343. act 'Buy':
  344. cla
  345. money -= 2500
  346. office[2] = 1
  347. officeH[2] = 60
  348. officeB[2] = bedra
  349. gt'shop', '<font color="green">You bought <b>Office clothes number 2</b>.</font>'
  350. end
  351. end
  352. end
  353. if cheap[68] = 0:
  354. act 'Inspect cheap clothes 102':
  355. cla
  356. *clr
  357. '<center><img src="images/Clothing/1cheap/Cheap68.jpg"></center>'
  358. 'A cheap skirt and top.'
  359. 'Costs 2,500 rubles.'
  360. act 'Leave':gt 'shop'
  361. act 'Buy':
  362. cla
  363. money -= 2500
  364. cheap[68] = 1
  365. cheapH[68] = 60
  366. cheapB[68] = bedra
  367. gt 'shop', '<font color="green">You bought <b>cheap clothes 68</b>.</font>'
  368. end
  369. end
  370. end
  371. if cheap[3] = 0:
  372. act 'Inspect cheap clothes 3':
  373. cla
  374. *clr
  375. '<center><img src="images/Clothing/1cheap/Cheap3.jpg"></center>'
  376. 'A cheap skirt and top.'
  377. 'Costs 2,500 rubles.'
  378. act 'Leave':gt 'shop'
  379. act 'Buy':
  380. cla
  381. money -= 2500
  382. cheap[3] = 1
  383. cheapH[3] = 60
  384. cheapB[3] = bedra
  385. gt 'shop', '<font color="green">You bought <b>cheap clothes 3</b>.</font>'
  386. end
  387. end
  388. end
  389. if cheap[80] = 0:
  390. act 'Inspect cheap clothes 80':
  391. cla
  392. *clr
  393. '<center><img src="images/Clothing/1cheap/Cheap80.jpg"></center>'
  394. 'Cheap shorts and top.'
  395. 'Costs 2,500 rubles.'
  396. act 'Leave':gt 'shop'
  397. act 'Buy':
  398. cla
  399. money -= 2500
  400. cheap[80] = 1
  401. cheapH[80] = 60
  402. cheapB[80] = bedra
  403. gt 'shop', '<font color="green">You bought <b>cheap clothes 80</b>.</font>'
  404. end
  405. end
  406. end
  407. if cheap[10] = 0:
  408. act 'Inspect cheap clothes 10':
  409. cla
  410. *clr
  411. '<center><img src="images/Clothing/1cheap/Cheap10.jpg"></center>'
  412. 'A cheap dress.'
  413. 'Costs 2,500 rubles.'
  414. act 'Leave':gt 'shop'
  415. act 'Buy':
  416. cla
  417. money -= 2500
  418. cheap[10] = 1
  419. cheapH[10] = 60
  420. cheapB[10] = bedra
  421. gt 'shop', '<font color="green">You bought <b>cheap clothes 10</b>.</font>'
  422. end
  423. end
  424. end
  425. if cheap[45] = 0:
  426. act 'Inspect cheap clothes 45':
  427. cla
  428. *clr
  429. '<center><img src="images/Clothing/1cheap/Cheap45.jpg"></center>'
  430. 'Cheap jeans and top.'
  431. 'Costs 2,500 rubles.'
  432. act 'Leave':gt 'shop'
  433. act 'Buy':
  434. cla
  435. money -= 2500
  436. cheap[45] = 1
  437. cheapH[45] = 60
  438. cheapB[45] = bedra
  439. gt 'shop', '<font color="green">You bought <b>cheap clothes 45</b>.</font>'
  440. end
  441. end
  442. end
  443. if cheap[51] = 0:
  444. act 'Inspect cheap clothes 51':
  445. cla
  446. *clr
  447. '<center><img src="images/Clothing/1cheap/Cheap51.jpg"></center>'
  448. 'Cheap leggings and top.'
  449. 'Costs 2,500 rubles.'
  450. act 'Leave':gt 'shop'
  451. act 'Buy':
  452. cla
  453. money -= 2500
  454. cheap[51] = 1
  455. cheapH[51] = 60
  456. cheapB[51] = bedra
  457. gt 'shop', '<font color="green">You bought <b>cheap clothes 51</b>.</font>'
  458. end
  459. end
  460. end
  461. if swimwear[4] = 0:
  462. act 'Inspect swimwear 4':
  463. cla
  464. *clr
  465. '<center><img src="images/Clothing/12swimwear/Swimwear4.jpg"></center>'
  466. 'Swimwear.'
  467. 'Costs 1,000 rubles.'
  468. act 'Leave':gt 'shop'
  469. act 'Buy':
  470. cla
  471. money -= 1000
  472. swimwear[4] = 1
  473. swimwearH[4] = 60
  474. swimwearB[4] = bedra
  475. gt 'shop', '<font color="green">You bought <b>swimwear 4</b>.</font>'
  476. end
  477. end
  478. end
  479. if exercise[4] = 0:
  480. act 'Inspect exercise clothes 4':
  481. cla
  482. *clr
  483. '<center><img src="images/Clothing/7exercise/Exercise4.jpg"></center>'
  484. 'Exercise clothes.'
  485. 'Costs 2,500 rubles.'
  486. act 'Leave':gt 'shop'
  487. act 'Buy':
  488. cla
  489. money -= 2500
  490. exercise[4] = 1
  491. exerciseH[4] = 60
  492. gt 'shop', '<font color="green">You bought <b>exercise clothes 4</b>.</font>'
  493. end
  494. end
  495. end
  496. if exercise[20] = 0:
  497. act 'Inspect exercise clothes 20':
  498. cla
  499. *clr
  500. '<center><img src="images/Clothing/7exercise/Exercise20.jpg"></center>'
  501. 'Exercise clothes.'
  502. 'Costs 2,500 rubles.'
  503. act 'Leave':gt 'shop'
  504. act 'Buy':
  505. cla
  506. money -= 2500
  507. exercise[20] = 1
  508. exerciseH[20] = 60
  509. gt 'shop', '<font color="green">You bought <b>exercise clothes 31</b>.</font>'
  510. end
  511. end
  512. end
  513. if coat[1] = 0:
  514. act 'Inspect coat 1':
  515. cla
  516. *clr
  517. '<center><img src="images/Clothing/11coat/Coat1.jpg"></center>'
  518. 'A coat.'
  519. 'Costs 7,500 rubles.'
  520. act 'Leave':gt 'shop'
  521. act 'Buy':
  522. cla
  523. money -= 5000
  524. coat[1] = 1
  525. coatH[1] = 60
  526. gt 'shop', '<font color="green">You bought <b>coat 1</b>.</font>'
  527. end
  528. end
  529. end
  530. end
  531. end
  532. !! Household appliances
  533. if $shoplocation = 'tech':
  534. cla
  535. *clr
  536. '<center><b><font color="maroon">Department of household appliances</font></b></center>'
  537. '<center><img src="images/etogame/shop5.jpg"></center>'
  538. if hour < 8 or hour > 20:
  539. 'The household appliance department is currently closed.'
  540. act 'Leave the appliance department':gt 'shop', 'start'
  541. exit
  542. end
  543. *p iif($ARGS[0] = 'start' or $ARGS[0] = '' or $ARGS[0] = 'move', '<br/>', '<center><<$ARGS[0]>></center>')
  544. *pl '<center><table align="center">' + _
  545. 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 rubles</td><td>You need your own home</td></tr>') + _
  546. 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 rubles</td><td>You need your own home</td></tr>') + _
  547. FUNC ('$single_stock_item', 1, 'Computer', 25000, 'komp', $CURLOC)
  548. *p iif(komp > 0, FUNC ('$single_stock_item', 1, 'Computer game Dead Sunset', 500, 'GameCD2', $CURLOC), '') + _
  549. iif(housr > 0, FUNC ('$single_stock_item', 1, 'Dishwasher', 50000, 'posudomashina', $CURLOC), '<tr><td>Dishwasher</td><td colspan=2>costs 50000 rubles</td><td>You need your own home</td></tr>') + _
  550. iif(housr > 0, FUNC ('$single_stock_item', 1, 'Washing machine', 50000, 'stiralka', $CURLOC), '<tr><td>Washing machine</td><td colspan=2>costs 50000 rubles</td><td>You need your own home</td></tr>') + _
  551. FUNC ('$single_stock_item', 1, 'Camera', 10000, 'zenit', $CURLOC) + _
  552. FUNC ('$single_stock_item', 1, 'Mini camera disguised as a cigarette pack', 40000, 'minifoto', $CURLOC)
  553. *p iif((vasya_shulgin>=30 and webcamera = 0) or (camwhore = 1 and webcamera = 0), FUNC ('$single_stock_item', 1, 'Webcam', 10000, 'webcamera', $CURLOC), '') + _
  554. '</table></center>'
  555. clr
  556. gs 'stat'
  557. fcolor = rgb(0, 0, 0)
  558. bcolor = rgb(255, 255, 255)
  559. lcolor = rgb(106, 90, 205)
  560. act 'Leave the appliance department':gt 'shop', 'start'
  561. end
  562. !! Ice cream counter
  563. if $shoplocation = 'icecream':
  564. 'Ice cream is available for sale for 50 rubles.'
  565. act 'Move away from the counter':gt 'shop', 'start'
  566. if money >= 50:
  567. act 'Buy ice cream':
  568. cls
  569. money -= 50
  570. fat += 3
  571. manna += 500
  572. water += 60
  573. energy += 30
  574. cumspclnt = 2
  575. gs 'cum_cleanup'
  576. fbreath = 0
  577. gs 'stat'
  578. '<center><img src="images/etogame/icecreem.jpg"></center>'
  579. 'You bought ice cream and ate it not going far.'
  580. act 'Move away from the counter':gt 'shop', 'start'
  581. end
  582. end
  583. end
  584. if $shoplocation = 'megafon':
  585. cls
  586. minut+=3
  587. gs'stat'
  588. i = 0
  589. '<center><b><font color = maroon>Salon connection Megaphone</font></B></center>'
  590. '<center><img src="images/pic/phone/megafon2.jpg" ></center>'
  591. *pl '<center><table align="center">'
  592. :loopcard
  593. if i = 0:
  594. n = 5
  595. price = 60
  596. $buy_link = '<a' + iif(money >= 60, ' href="exec: gs ''$buy_item'', <<n>>, ''hours of internet access'', <<price>>, ''internet'', ''shop''">buy ','>buy ') +'</a>'
  597. elseif i = 1:
  598. n = 10
  599. price = 115
  600. $buy_link = '<a' + iif(money >= 115, ' href="exec: gs ''$buy_item'', <<n>>, ''hours of internet access'', <<price>>, ''internet'', ''shop''">buy ','>buy ') +'</a>'
  601. elseif i = 2:
  602. n = 20
  603. price = 220
  604. $buy_link = '<a' + iif(money >= 220, ' href="exec: gs ''$buy_item'', <<n>>, ''hours of internet access'', <<price>>, ''internet'', ''shop''">buy ','>buy ') +'</a>'
  605. elseif i = 3:
  606. n = 50
  607. price = 520
  608. $buy_link = '<a' + iif(money >= 520, ' href="exec: gs ''$buy_item'', <<n>>, ''hours of internet access'', <<price>>, ''internet'', ''shop''">buy ','>buy ') +'</a>'
  609. end
  610. i += 1
  611. '<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>> rubles</td></tr>'
  612. if i < 4:
  613. jump 'loopcard'
  614. end
  615. '</table></center>'
  616. act 'Exit Department':gt'shop','start'
  617. if money > 0:
  618. act 'Put the money on the phone':
  619. cla
  620. set minut = minut + 5
  621. obmennik = input ("How many rubles do you want to deposit?")
  622. if obmennik <= 0:
  623. '<center><br><b>Do you want to think again?</b></center>'
  624. act 'Exit Department':gt'shop','start'
  625. else
  626. if money < obmennik:
  627. '<center><br>You do not have <b><<obmennik>></b> rubles.</center>'
  628. act 'Exit Department':gt'shop','start'
  629. end
  630. if money >= obmennik:
  631. set balans = balans + obmennik
  632. set money = money - obmennik
  633. clr
  634. gs'stat'
  635. '<center><br>You put <b><<obmennik>></b> rubles to the account.</center>'
  636. act 'Exit Department':gt'shop','start'
  637. end
  638. end
  639. end
  640. end
  641. end
  642. if $shoplocation = 'Anya':
  643. cla
  644. '<center><img src="images/qwest/alter/sister/sister.jpg"></center>'
  645. gs'dinsister'
  646. dynamic $sischecks
  647. '"<<$name>>, do not disturb me at work, can''t you see I have customers?""'
  648. act '<B>Move away</B>':gt'shop','start'
  649. end
  650. --- shop ---------------------------------