098_shop 32 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424
  1. # shop
  2. if $ARGS[0] = 'start':
  3. cla
  4. *clr
  5. set minut += 1
  6. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  7. $icecreem = {
  8. if hour >= 8 and hour <= 20:
  9. cls
  10. set minut += 3
  11. 'Ice cream offer for 50 rubles.'
  12. act 'Get out of the department': gt 'shop','start'
  13. if money >= 50:
  14. act 'Buy ice cream':
  15. cls
  16. money -= 50
  17. fat += 50
  18. manna += 500
  19. water = 20
  20. energy = 20
  21. perkice += 1
  22. gs 'stat'
  23. !icecreem
  24. '<center><img src="images\etogame\icecreem.jpg"></center>'
  25. 'You bought ice cream and ate it not going far.'
  26. act 'Get out of the department': gt 'shop','start'
  27. end
  28. end
  29. else
  30. 'Ice cream counter with closed'
  31. end
  32. }
  33. $sofood = {
  34. if hour >= 8 and hour <= 20:
  35. minut += 3
  36. gt 'shop','food'
  37. else
  38. 'Section closed'
  39. end
  40. }
  41. $socosm = {
  42. if hour >= 8 and hour <= 20:
  43. minut += 3
  44. gt 'shop','cosm'
  45. else
  46. 'Section closed'
  47. end
  48. }
  49. $sohos = {
  50. if hour >= 8 and hour <= 20:
  51. minut += 3
  52. gt 'shop','hos'
  53. else
  54. 'Section closed'
  55. end
  56. }
  57. $soclo = {
  58. if hour >= 8 and hour <= 20:
  59. minut += 3
  60. gt 'shop','clo'
  61. else
  62. 'Section closed'
  63. end
  64. }
  65. $soteh = {
  66. if hour >= 8 and hour <= 20:
  67. minut += 3
  68. gt 'shop','teh'
  69. else
  70. 'Section closed'
  71. end
  72. }
  73. $sobank = {
  74. if hour >= 8 and hour <= 20:
  75. if karta > 0:
  76. act 'Withdrawing money':
  77. cla
  78. set minut += 5
  79. kartaOUT = input ("How much money you want to withdraw?")
  80. if kartaOUT <= 0 or kartaOUT > karta:
  81. 'Invalid operation.'
  82. else
  83. set karta -= kartaOUT
  84. set money += kartaOUT
  85. 'You debited <<kartaOUT>> rubles, now on your account <<karta>> rubles.'
  86. end
  87. act 'Move away': gt 'shop','start'
  88. end
  89. else
  90. 'You do not have a bank card'
  91. end
  92. else
  93. 'ATM disabled'
  94. end
  95. }
  96. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  97. '<center><B><font color = maroon>Supermarket</font></B></center>'
  98. '<center><img src="images\etogame\shop.jpg"></center>'
  99. 'The hall stands <a href="exec: dynamic $sobank ">ATM</a>, from which you can withdraw the money unless you have it in the bank.'
  100. 'The greatest place in the supermarket takes <a href="exec: dynamic $sofood ">food hall</a>, but the store has more divisions <a href="exec: dynamic $socosm ">cosmetics</a>, <a href="exec: dynamic $sohos ">hardware</a>, <a href="exec: dynamic $soclo ">Clothing</a>, and department <a href="exec: dynamic $soteh ">household appliances</a>. Not far from the entrance stands <a href="exec: dynamic $icecreem ">counter with ice cream</a>'
  101. clr
  102. gs 'stat'
  103. fcolor = rgb(0,0,0)
  104. bcolor = rgb(255,255,255)
  105. LCOLOR = rgb(106,90,205)
  106. if $loc = 'gorodok':
  107. if week < 6:
  108. if hour >= 8 and hour < 16:
  109. 'Your sister <a href="exec:SiSonWork = 1 & GT ''sister''">Anne</a> sits at the checkout.'
  110. end
  111. end
  112. end
  113. if $loc = 'street':
  114. set evrand = RAND(1,100)
  115. if evrand >= 95 and dimaQW = 0:
  116. 'In the lobby of the store looks at you appreciatively what that man.'
  117. act 'See it': gt 'event','dima'
  118. end
  119. if evrand >= 95 and dimaQW = 1:
  120. 'In the lobby of the store you notice Dima and binds you fear, you can not move.'
  121. act 'See it': gt 'event','scoreslut1'
  122. end
  123. if evrand >= 95 and dimaqw = 2:
  124. 'You met the same Dima who boyfriend fucking amuse you. Dima cocky grin came to you and said hello.'
  125. act 'Hello':
  126. cla
  127. 'Come to me, I have no wife at home said Dima.'
  128. act 'No': gt 'shop','start'
  129. act 'Come':
  130. cla
  131. *clr
  132. Set gostrand = RAND(1,2)
  133. if gostrand = 1:
  134. cla
  135. Set sex += 1
  136. Set oral += 1
  137. Set throat += 1
  138. Set cumlip += 1
  139. set swallow += 1
  140. Set horny = 0
  141. 'Dima took you to his house and there has ordered you to kneel. You got on his knees and he calling you a bitch and fuck you cocksucker began in the mouth.'
  142. '<center><img src="images\pics\gostDT2.jpg"></center>'
  143. 'Dima finally finished your mouth, you obediently swallowed and licked the remnants of sperm with his big cock.'
  144. act 'Go home': gt 'street'
  145. end
  146. if gostrand = 2:
  147. cla
  148. Set sex += 1
  149. Set anal += 1
  150. Set cumass += 1
  151. Set spank += 1
  152. Set boom = 5
  153. Set horny = 0
  154. 'Dima has brought you to my house and right in the corridor began to kiss you and undress. After he stripped you he took you to the bathroom. There he sat in the bathroom and you unscrewing the showerhead put a water hose you in the ass. Quickly the feeling of fullness and Dima put you on the toilet. After an enema, he made you cancer and put you in the ass his big dick.'
  155. '<center><img src="images\pics\gostAnal2.jpg"></center>'
  156. 'Dima long you fucked in the ass and beat his hands, you first it was painful, but gradually you got the taste and began to catch the buzz finally your ass filled with hot liquid and Dima moan grabbed your buttocks.'
  157. act 'Go home': gt 'street'
  158. end
  159. end
  160. end
  161. end
  162. end
  163. if hour >= 8 and hour <= 20:
  164. 'In store crowd of buyers.'
  165. if TorgPredZ > 0:
  166. if $loc = 'street':
  167. if StreetShopTPday ! day:
  168. act 'Arrange products':
  169. cls
  170. mtprand = RAND(40,130)
  171. minut += mtprand
  172. TorgPredZ -= 1
  173. TorgPredZV += 1
  174. StreetShopTPday = day
  175. gs 'stat'
  176. '<center><img src="images\etogame\shop.jpg"></center>'
  177. 'You arranged the products for quite a while and when I finally managed, then went to the cashier and you check it struck.'
  178. act 'Exit': gt 'shop','start'
  179. end
  180. end
  181. end
  182. if $loc = 'Nord':
  183. if nordShopTPday ! day:
  184. act 'Arrange products':
  185. cls
  186. mtprand = RAND(40,130)
  187. minut += mtprand
  188. TorgPredZ -= 1
  189. TorgPredZV += 1
  190. nordShopTPday = day
  191. gs 'stat'
  192. '<center><img src="images\etogame\shop.jpg"></center>'
  193. 'You arranged the products for quite a while and when I finally managed, then went to the cashier and you check it struck.'
  194. act 'Exit': gt 'shop','start'
  195. end
  196. end
  197. end
  198. if $loc = 'down':
  199. if downShopTPday ! day:
  200. act 'Arrange products':
  201. cls
  202. mtprand = RAND(40,130)
  203. minut += mtprand
  204. TorgPredZ -= 1
  205. TorgPredZV += 1
  206. downShopTPday = day
  207. gs 'stat'
  208. '<center><img src="images\etogame\shop.jpg"></center>'
  209. 'You arranged the products for quite a while and when I finally managed, then went to the cashier and you check it struck.'
  210. act 'Exit': gt 'shop','start'
  211. end
  212. end
  213. end
  214. end
  215. else
  216. 'The store is closed.'
  217. end
  218. act 'Leave the store': gt $loc
  219. end
  220. if $ARGS[0] = 'food':
  221. cla
  222. *clr
  223. set minut += 1
  224. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  225. $buyfood = {
  226. if hour >= 8 and hour <= 20:
  227. if money >= 50:
  228. cla
  229. *clr
  230. set minut += 15
  231. portion = input ("How many servings you want to buy?")
  232. if portion <= 0: portion = 1
  233. if portion * 50 > money:
  234. 'You do not have enough money.'
  235. else
  236. set eda += portion
  237. set money -= portion*50
  238. '<center><img src="images\etogame\kassa.jpg"></center>'
  239. 'You bought food and paid the money to the cashier.'
  240. end
  241. act 'Move away from the counter': gt 'shop','food'
  242. else
  243. 'You do not have enough money'
  244. end
  245. else
  246. 'Section closed'
  247. end
  248. }
  249. $buyfood2 = {
  250. if hour >= 8 and hour <= 20:
  251. if money >= 250:
  252. cla
  253. *clr
  254. set minut += 15
  255. portion = input ("How many servings you want to buy?")
  256. if portion <= 0: portion = 1
  257. if portion * 250 > money:
  258. 'You do not have enough money.'
  259. else
  260. set edaD += portion
  261. set money -= portion*250
  262. '<center><img src="images\etogame\kassa.jpg"></center>'
  263. 'You bought food and paid the money to the cashier.'
  264. end
  265. act 'Move away from the counter': gt 'shop','food'
  266. else
  267. 'You do not have enough money'
  268. end
  269. else
  270. 'Section closed'
  271. end
  272. }
  273. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  274. '<center><B><font color = maroon>Food Division</font></B></center>'
  275. '<center><img src="images\etogame\shop1.jpg"></center>'
  276. '<a href="exec: dynamic $buyfood ">One serving of food - 50 rubles</a>'
  277. '<a href="exec: dynamic $buyfood2 ">One serving of diet food - 250 rubles</a>'
  278. clr
  279. gs 'stat'
  280. fcolor = rgb(0,0,0)
  281. bcolor = rgb(255,255,255)
  282. LCOLOR = rgb(106,90,205)
  283. act 'Get out of the department': gt 'shop','start'
  284. if money >= 300:
  285. act 'Buy tea biscuits - 300 rubles':
  286. cls
  287. money -= 300
  288. pranik += 10
  289. 'You bought a bag of cookies that will last you for ten times.'
  290. act 'Get out of the department': gt 'shop','food'
  291. end
  292. end
  293. if money >= 50 and bottle = 0 and bag > 0:
  294. act 'Buy a bottle of water - 50 rubles':
  295. cls
  296. money -= 50
  297. bottle = 1
  298. 'You bought a bottle of water and put it in her purse.'
  299. act 'Get out of the department': gt 'shop','food'
  300. end
  301. end
  302. if money >= 100 and buterbrod = 0 and bag > 0:
  303. act 'Buy a sandwich - 100 rubles':
  304. cls
  305. money -= 100
  306. buterbrod = 1
  307. 'You bought a sandwich and put it in her purse.'
  308. act 'Get out of the department': gt 'shop','food'
  309. end
  310. end
  311. end
  312. if $ARGS[0] = 'cosm':
  313. cla
  314. *clr
  315. set minut += 1
  316. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  317. $buykosm = {
  318. if hour >= 8 and hour <= 20:
  319. cla
  320. *clr
  321. portion = input ("How much you want to buy?")
  322. if portion <= 0: portion = 1
  323. if portion*1000 > money:
  324. 'You do not have enough money.'
  325. else
  326. set kosmetica += portion * 50
  327. set money -= portion * 1000
  328. '<center><img src="images\etogame\kassa.jpg"></center>'
  329. 'You pay the cashier and bought cosmetics.'
  330. end
  331. act 'Move away from the counter': gt 'shop','cosm'
  332. else
  333. 'Section closed'
  334. end
  335. }
  336. $buystanok = {
  337. if hour >= 8 and hour <= 20:
  338. cla
  339. *clr
  340. portion = input ("How much you want to buy?")
  341. if portion <= 0: portion = 1
  342. if portion*500 > money:
  343. 'You do not have enough money.'
  344. else
  345. set stanok += portion * 10
  346. set money -= portion * 500
  347. '<center><img src="images\etogame\kassa.jpg"></center>'
  348. 'You pay the cashier and bought razor.'
  349. end
  350. act 'Move away from the counter': gt 'shop','cosm'
  351. else
  352. 'Section closed'
  353. end
  354. }
  355. $buykrem = {
  356. if hour >= 8 and hour <= 20:
  357. cla
  358. *clr
  359. portion = input ("How much you want to buy?")
  360. if portion <= 0: portion = 1
  361. if portion*500 > money:
  362. 'You do not have enough money.'
  363. else
  364. set krem += portion * 20
  365. set money -= portion * 500
  366. '<center><img src="images\etogame\kassa.jpg"></center>'
  367. 'You pay the cashier and bought sunblock.'
  368. end
  369. act 'Move away from the counter': gt 'shop','cosm'
  370. else
  371. 'Section closed'
  372. end
  373. }
  374. $buytampon = {
  375. if hour >= 8 and hour <= 20:
  376. cla
  377. *clr
  378. portion = input ("How much you want to buy?")
  379. if portion <= 0: portion = 1
  380. if portion*200 > money:
  381. 'You do not have enough money.'
  382. else
  383. set tampon += portion * 20
  384. set money -= portion * 200
  385. '<center><img src="images\etogame\kassa.jpg"></center>'
  386. 'You pay the cashier and bought tampons.'
  387. end
  388. act 'Move away from the counter': gt 'shop','cosm'
  389. else
  390. 'Section closed'
  391. end
  392. }
  393. $buyshampoo = {
  394. if hour >= 8 and hour <= 20:
  395. cla
  396. *clr
  397. portion = input ("How much you want to buy?")
  398. if portion <= 0: portion = 1
  399. if portion*500 > money:
  400. 'You do not have enough money.'
  401. else
  402. set shampoo += portion * 30
  403. set money -= portion * 500
  404. '<center><img src="images\etogame\kassa.jpg"></center>'
  405. 'You pay the cashier and bought shampoo.'
  406. end
  407. act 'Move away from the counter': gt 'shop','cosm'
  408. else
  409. 'Section closed'
  410. end
  411. }
  412. !!! Maruda Hair Mod
  413. $buyhscrunch = {
  414. if hour >= 8 and hour <= 20:
  415. cla
  416. *clr
  417. portion = input ("How much you want to buy?")
  418. if portion <= 0: portion = 1
  419. if portion*80 > money:
  420. 'You do not have enough money.'
  421. else
  422. set hscrunch = portion * 10
  423. set money -= portion * 80
  424. '<center><img src="images\etogame\kassa.jpg"></center>'
  425. 'You pay the cashier and bought the small box.'
  426. end
  427. act 'Move away from the counter': gt 'shop','cosm'
  428. else
  429. 'Section closed'
  430. end
  431. }
  432. $buyhpingrip = {
  433. if hour >= 8 and hour <= 20:
  434. cla
  435. *clr
  436. portion = input ("How much you want to buy?")
  437. if portion <= 0: portion = 1
  438. if portion*100 > money:
  439. 'You do not have enough money.'
  440. else
  441. set hpingrip = portion * 12
  442. set money -= portion * 100
  443. '<center><img src="images\etogame\kassa.jpg"></center>'
  444. 'You pay the cashier and bought the small box.'
  445. end
  446. act 'Move away from the counter': gt 'shop','cosm'
  447. else
  448. 'Section closed'
  449. end
  450. }
  451. !!! Maruda Hair Mod
  452. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  453. '<center><B><font color = maroon>Department cosmetics</font></B></center>'
  454. '<center><img src="images\etogame\shop2.jpg"></center>'
  455. '<a href="exec: dynamic $buykosm ">Cosmetics - 1,000 rubles</a>'
  456. '<a href="exec: dynamic $buystanok ">Razor - 500 rubles</a>'
  457. '<a href="exec: dynamic $buykrem ">Sunblock - 500 rubles</a>'
  458. '<a href="exec: dynamic $buytampon ">Tampons - 200 rubles</a>'
  459. '<a href="exec: dynamic $buyshampoo ">Shampoo - 500 rubles</a>'
  460. !!! Maruda Hair Mod
  461. '<a href="exec: dynamic $buyhscrunch ">A Box of 10 Hairscrunchies - 80 rubles</a>'
  462. '<a href="exec: dynamic $buyhpingrip ">A Box of 12 Hairpins, -clips and -grips - 100 rubles</a>'
  463. !!! Maruda Hair Mod
  464. 'Handbag - 5,000 rubles'
  465. 'Wipes - 100 rubles'
  466. 'Portable Makeup - 1,000 rubles'
  467. 'Comb - 150 rubles'
  468. clr
  469. gs 'stat'
  470. fcolor = rgb(0,0,0)
  471. bcolor = rgb(255,255,255)
  472. LCOLOR = rgb(106,90,205)
  473. act 'Get out of the department': gt 'shop','start'
  474. if money >= 100 and bag > 0:
  475. act 'Buy wipes - 100 rubles':
  476. cls
  477. money -= 100
  478. salfetka += 10
  479. 'You bought wipes and put them in her purse.'
  480. act 'Get out of the department': gt 'shop','cosm'
  481. end
  482. end
  483. if money >= 1000 and bag > 0:
  484. act 'Buy a portable makeup - 1,000 rubles':
  485. cls
  486. money -= 1000
  487. kosmetitka += 10
  488. 'You bought a portable makeup bag and put it in her purse.'
  489. act 'Get out of the department': gt 'shop','cosm'
  490. end
  491. end
  492. if money >= 80 and greben = 0 and bag > 0:
  493. act 'Buy a comb - 150 rubles':
  494. cls
  495. money -= 150
  496. greben = 1
  497. 'You bought a comb and put it in her purse.'
  498. act 'Get out of the department': gt 'shop','cosm'
  499. end
  500. end
  501. if money >= 5000 and bag = 0:
  502. act 'Buy a handbag - 5,000 rubles':
  503. cls
  504. money -= 5000
  505. bag = 1
  506. 'You bought a handbag.'
  507. act 'Get out of the department': gt 'shop','cosm'
  508. end
  509. end
  510. end
  511. if $ARGS[0] = 'hos':
  512. cla
  513. *clr
  514. set minut += 1
  515. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  516. $buyfairy = {
  517. if hour >= 8 and hour <= 20:
  518. cla
  519. *clr
  520. portion = input ("How much you want to buy?")
  521. if portion <= 0: portion = 1
  522. if portion*100 > money:
  523. 'You do not have enough money.'
  524. else
  525. set fairy += portion * 20
  526. set money -= portion * 100
  527. '<center><img src="images\etogame\kassa.jpg"></center>'
  528. 'You pay the cashier and bought dishwashing detergent.'
  529. end
  530. act 'Move away from the counter': gt 'shop','hos'
  531. else
  532. 'Section closed'
  533. end
  534. }
  535. $buyporoshok = {
  536. if hour >= 8 and hour <= 20:
  537. cla
  538. *clr
  539. portion = input ("How much you want to buy?")
  540. if portion <= 0: portion = 1
  541. if portion*250 > money:
  542. 'You do not have enough money.'
  543. else
  544. set poroshok += portion * 30
  545. set money -= portion * 250
  546. '<center><img src="images\etogame\kassa.jpg"></center>'
  547. 'You pay the cashier and bought detergent.'
  548. end
  549. act 'Move away from the counter': gt 'shop','hos'
  550. else
  551. 'Section closed'
  552. end
  553. }
  554. $buycltarelka = {
  555. if hour >= 8 and hour <= 20:
  556. cla
  557. *clr
  558. portion = input ("How much you want to buy?")
  559. if portion <= 0: portion = 1
  560. if portion*300 > money:
  561. 'You do not have enough money.'
  562. else
  563. set cltarelka += portion * 5
  564. set money -= portion * 300
  565. '<center><img src="images\etogame\kassa.jpg"></center>'
  566. 'You pay the cashier and bought a set of the 5-plates.'
  567. end
  568. act 'Move away from the counter': gt 'shop','hos'
  569. else
  570. 'Section closed'
  571. end
  572. }
  573. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  574. '<center><B><font color = maroon>Division of household goods</font></B></center>'
  575. '<center><img src="images\etogame\shop3.jpg"></center>'
  576. '<a href="exec: dynamic $buyfairy ">Dishwashing detergent - 100 rubles</a>'
  577. '<a href="exec: dynamic $buyporoshok ">Washing powder - 250 rubles</a>'
  578. '<a href="exec: dynamic $buycltarelka ">Set of 5 plates - 300 rubles</a>'
  579. clr
  580. gs 'stat'
  581. fcolor = rgb(0,0,0)
  582. bcolor = rgb(255,255,255)
  583. LCOLOR = rgb(106,90,205)
  584. act 'Get out of the department': gt 'shop','start'
  585. end
  586. if $ARGS[0] = 'clo':
  587. cla
  588. *clr
  589. set minut += 5
  590. '<center><B><font color = maroon>Department of Women´s Clothing</font></B></center>'
  591. '<center><img src="images\etogame\shop4.jpg"></center>'
  592. 'Lingerie - 300 rubles'
  593. 'All women´s clothing for 2500 rubles'
  594. clr
  595. gs 'stat'
  596. fcolor = rgb(0,0,0)
  597. bcolor = rgb(255,255,255)
  598. LCOLOR = rgb(106,90,205)
  599. act 'WITHDRAW FROM THE DIVISION': gt 'shop','start'
  600. if money >= 300:
  601. act 'Buy lingerie 300 rubles.':
  602. cla
  603. *clr
  604. portion = input ("How much you want to buy?")
  605. if portion <= 0: portion = 1
  606. if portion * 300 > money: 'You do not have enough money.'
  607. if portion*300 <= money:
  608. set clrbelo += portion
  609. set money -= portion * 300
  610. '<center><img src="images\etogame\kassa.jpg"></center>'
  611. 'You pay the cashier and bought clothes.'
  612. end
  613. act 'Move away from the counter': gt 'shop','clo'
  614. end
  615. end
  616. if money >= 2000:
  617. act 'Buy a set of underwear "Nedelka" 2000 rubles.':
  618. cla
  619. *clr
  620. set money -= 2000
  621. set clrbelo += 7
  622. '<center><img src="images\etogame\kassa.jpg"></center>'
  623. 'You pay the cashier and bought clothes.'
  624. act 'Move away from the counter': gt 'shop','clo'
  625. end
  626. end
  627. if palto < 2:
  628. 'The store sells a winter coat. 10000 rubles'
  629. if money >= 10000:
  630. act 'Buy a winter coat':
  631. cla
  632. money -= 10000
  633. palto = 2
  634. $palto = 'winter coat'
  635. 'You bought a coat.'
  636. act 'QUIT': gt 'shop','clo'
  637. end
  638. end
  639. end
  640. if money >= 1000 and bikini < 1:
  641. act 'Buy swimsuit 1000 rubles.':
  642. cla
  643. *clr
  644. set money -= 1000
  645. set bikini = 1
  646. '<center><img src="images\etogame\kassa.jpg"></center>'
  647. 'You pay the cashier and bought a swimsuit.'
  648. act 'Move away from the counter': gt 'shop','clo'
  649. end
  650. end
  651. if money >= 2500:
  652. if profi[1] = 0:
  653. act 'Inspect office clothes number 1':
  654. cla
  655. *clr
  656. '<center><img src="images\clothes\profi1.jpg"></center>'
  657. 'Office clothes.'
  658. 'Costs 2500 rubles.'
  659. act 'Leave': gt 'shop','clo'
  660. act 'Buy':
  661. cla
  662. set money -= 2500
  663. set profi[1] = 1
  664. set profiH[1] = 60
  665. set profiB[1] = bedra
  666. gt 'shop','clo'
  667. end
  668. end
  669. end
  670. if profi[2] = 0:
  671. act 'Inspect office clothes number 2':
  672. cla
  673. *clr
  674. '<center><img src="images\clothes\profi2.jpg"></center>'
  675. 'Office clothes.'
  676. 'Costs 2500 rubles.'
  677. act 'Leave': gt 'shop','clo'
  678. act 'Buy':
  679. cla
  680. set money -= 2500
  681. set profi[2] = 1
  682. set profiH[2] = 60
  683. set profiB[2] = bedra
  684. gt 'shop','clo'
  685. end
  686. end
  687. end
  688. if sarafan[1] = 0:
  689. act 'Inspect colorful sundress':
  690. cla
  691. *clr
  692. '<center><img src="images\clothes\sarafan1.jpg"></center>'
  693. 'Simple sundress, its main advantage is its dimensionless.'
  694. 'Costs 2500 rubles.'
  695. act 'Leave': gt 'shop','clo'
  696. act 'Buy':
  697. cla
  698. set money -= 2500
  699. set sarafan[1] = 1
  700. set sarafanH[1] = 60
  701. gt 'shop','clo'
  702. end
  703. end
  704. end
  705. if sarafan[2] = 0:
  706. act 'Inspect light sundress':
  707. cla
  708. *clr
  709. '<center><img src="images\clothes\sarafan2.jpg"></center>'
  710. 'Simple sundress, its main advantage is its dimensionless.'
  711. 'Costs 2500 rubles.'
  712. act 'Leave': gt 'shop','clo'
  713. act 'Buy':
  714. cla
  715. set money -= 2500
  716. set sarafan[2] = 1
  717. set sarafanH[2] = 60
  718. gt 'shop','clo'
  719. end
  720. end
  721. end
  722. if short[1] = 0:
  723. act 'Inspect Black shorts with a purple T-shirt':
  724. cla
  725. *clr
  726. '<center><img src="images\clothes\short1.jpg"></center>'
  727. 'Black shorts with a purple jersey.'
  728. 'Costs 2500 rubles.'
  729. act 'Leave': gt 'shop','clo'
  730. act 'Buy':
  731. cla
  732. set money -= 2500
  733. set short[1] = 1
  734. set shortH[1] = 60
  735. set shortB[1] = bedra
  736. gt 'shop','clo'
  737. end
  738. end
  739. end
  740. if short[2] = 0:
  741. act 'Inspect Black shorts with a striped T-shirt':
  742. cla
  743. *clr
  744. '<center><img src="images\clothes\short2.jpg"></center>'
  745. 'Black shorts with striped jersey.'
  746. 'Costs 2500 rubles.'
  747. act 'Leave': gt 'shop','clo'
  748. act 'Buy':
  749. cla
  750. set money -= 2500
  751. set short[2] = 1
  752. set shortH[2] = 60
  753. set shortB[2] = bedra
  754. gt 'shop','clo'
  755. end
  756. end
  757. end
  758. if short[3] = 0:
  759. act 'Inspect Black shorts with black jersey':
  760. cla
  761. *clr
  762. '<center><img src="images\clothes\short3.jpg"></center>'
  763. 'Black shorts with a black T-shirt.'
  764. 'Costs 2500 rubles.'
  765. act 'Leave': gt 'shop','clo'
  766. act 'Buy':
  767. cla
  768. set money -= 2500
  769. set short[3] = 1
  770. set shortH[3] = 60
  771. set shortB[3] = bedra
  772. gt 'shop','clo'
  773. end
  774. end
  775. end
  776. if short[4] = 0:
  777. act 'Inspect pink shorts with pink jersey':
  778. cla
  779. *clr
  780. '<center><img src="images\clothes\short4.jpg"></center>'
  781. 'pink shorts with the pink jersey.'
  782. 'Costs 2500 rubles.'
  783. act 'Leave': gt 'shop','clo'
  784. act 'Buy':
  785. cla
  786. set money -= 2500
  787. set short[4] = 1
  788. set shortH[4] = 60
  789. set shortB[4] = bedra
  790. gt 'shop','clo'
  791. end
  792. end
  793. end
  794. if short[5] = 0:
  795. act 'Inspect the white shorts with a white bodice':
  796. cla
  797. *clr
  798. '<center><img src="images\clothes\short5.jpg"></center>'
  799. 'white shorts with a white bodice.'
  800. 'Costs 2500 rubles.'
  801. act 'Leave': gt 'shop','clo'
  802. act 'Buy':
  803. cla
  804. set money -= 2500
  805. set short[5] = 1
  806. set shortH[5] = 60
  807. set shortB[5] = bedra
  808. gt 'shop','clo'
  809. end
  810. end
  811. end
  812. if skirt[1] = 0:
  813. act 'Inspect the white skirt with a colorful blouse.':
  814. cla
  815. *clr
  816. '<center><img src="images\clothes\skirt1.jpg"></center>'
  817. 'White skirt with a colorful blouse.'
  818. 'Costs 2500 rubles.'
  819. act 'Leave': gt 'shop','clo'
  820. act 'Buy':
  821. cla
  822. set money -= 2500
  823. set skirt[1] = 1
  824. set skirtH[1] = 60
  825. set skirtB[1] = bedra
  826. gt 'shop','clo'
  827. end
  828. end
  829. end
  830. if skirt[2] = 0:
  831. act 'Inspect the black skirt with a red sweater.':
  832. cla
  833. *clr
  834. '<center><img src="images\clothes\skirt2.jpg"></center>'
  835. 'Black skirt with a red sweater.'
  836. 'Costs 2500 rubles.'
  837. act 'Leave': gt 'shop','clo'
  838. act 'Buy':
  839. cla
  840. set money -= 2500
  841. set skirt[2] = 1
  842. set skirtH[2] = 60
  843. set skirtB[2] = bedra
  844. gt 'shop','clo'
  845. end
  846. end
  847. end
  848. if skirt[3] = 0:
  849. act 'Inspect the white skirt with a striped shirt.':
  850. cla
  851. *clr
  852. '<center><img src="images\clothes\skirt3.jpg"></center>'
  853. 'White skirt with a striped shirt.'
  854. 'Costs 2500 rubles.'
  855. act 'Leave': gt 'shop','clo'
  856. act 'Buy':
  857. cla
  858. set money -= 2500
  859. set skirt[3] = 1
  860. set skirtH[3] = 60
  861. set skirtB[3] = bedra
  862. gt 'shop','clo'
  863. end
  864. end
  865. end
  866. if skirt[4] = 0:
  867. act 'Inspect the skin black skirt with a red blouse.':
  868. cla
  869. *clr
  870. '<center><img src="images\clothes\skirt4.jpg"></center>'
  871. 'Black skirt under the skin with a red blouse.'
  872. 'Costs 2500 rubles.'
  873. act 'Leave': gt 'shop','clo'
  874. act 'Buy':
  875. cla
  876. set money -= 2500
  877. set skirt[4] = 1
  878. set skirtH[4] = 60
  879. set skirtB[4] = bedra
  880. gt 'shop','clo'
  881. end
  882. end
  883. end
  884. if skirt[5] = 0:
  885. act 'Inspect the black skirt with a white blouse.':
  886. cla
  887. *clr
  888. '<center><img src="images\clothes\skirt5.jpg"></center>'
  889. 'Black skirt with a white blouse.'
  890. 'Costs 2500 rubles.'
  891. act 'Leave': gt 'shop','clo'
  892. act 'Buy':
  893. cla
  894. set money -= 2500
  895. set skirt[5] = 1
  896. set skirtH[5] = 60
  897. set skirtB[5] = bedra
  898. gt 'shop','clo'
  899. end
  900. end
  901. end
  902. if pants[1] = 0:
  903. act 'Inspect the pants with a blouse. Number 1':
  904. cla
  905. *clr
  906. '<center><img src="images\clothes\pants1.jpg"></center>'
  907. 'Pants with a blouse.'
  908. 'Costs 2500 rubles.'
  909. act 'Leave': gt 'shop','clo'
  910. act 'Buy':
  911. cla
  912. set money -= 2500
  913. set pants[1] = 1
  914. set pantsH[1] = 60
  915. set pantsB[1] = bedra
  916. gt 'shop','clo'
  917. end
  918. end
  919. end
  920. if pants[2] = 0:
  921. act 'Inspect the pants with a blouse. Number 2':
  922. cla
  923. *clr
  924. '<center><img src="images\clothes\pants2.jpg"></center>'
  925. 'Pants with a blouse.'
  926. 'Costs 2500 rubles.'
  927. act 'Leave': gt 'shop','clo'
  928. act 'Buy':
  929. cla
  930. set money -= 2500
  931. set pants[2] = 1
  932. set pantsH[2] = 60
  933. set pantsB[2] = bedra
  934. gt 'shop','clo'
  935. end
  936. end
  937. end
  938. if pants[3] = 0:
  939. act 'Inspect the pants with a blouse. Number 3':
  940. cla
  941. *clr
  942. '<center><img src="images\clothes\pants3.jpg"></center>'
  943. 'Pants with a blouse.'
  944. 'Costs 2500 rubles.'
  945. act 'Leave': gt 'shop','clo'
  946. act 'Buy':
  947. cla
  948. set money -= 2500
  949. set pants[3] = 1
  950. set pantsH[3] = 60
  951. set pantsB[3] = bedra
  952. gt 'shop','clo'
  953. end
  954. end
  955. end
  956. if pants[4] = 0:
  957. act 'Inspect the pants with a blouse. Number 4':
  958. cla
  959. *clr
  960. '<center><img src="images\clothes\pants4.jpg"></center>'
  961. 'Pants with a blouse.'
  962. 'Costs 2500 rubles.'
  963. act 'Leave': gt 'shop','clo'
  964. act 'Buy':
  965. cla
  966. set money -= 2500
  967. set pants[4] = 1
  968. set pantsH[4] = 60
  969. set pantsB[4] = bedra
  970. gt 'shop','clo'
  971. end
  972. end
  973. end
  974. if pants[5] = 0:
  975. act 'Inspect the pants with a blouse. Number 5':
  976. cla
  977. *clr
  978. '<center><img src="images\clothes\pants5.jpg"></center>'
  979. 'Pants with a blouse.'
  980. 'Costs 2500 rubles.'
  981. act 'Leave': gt 'shop','clo'
  982. act 'Buy':
  983. cla
  984. set money -= 2500
  985. set pants[5] = 1
  986. set pantsH[5] = 60
  987. set pantsB[5] = bedra
  988. gt 'shop','clo'
  989. end
  990. end
  991. end
  992. end
  993. end
  994. if $ARGS[0] = 'teh':
  995. cla
  996. *clr
  997. set minut += 1
  998. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  999. $buytv = {
  1000. if hour >= 8 and hour <= 20:
  1001. if money >= 5000 and TV < 1:
  1002. cla
  1003. *clr
  1004. set money -= 5000
  1005. set TV = 1
  1006. '<center><img src="images\etogame\kassa.jpg"></center>'
  1007. 'You paid the money to the cashier and bought TV'
  1008. act 'Leave': gt 'shop','teh'
  1009. elseif TV > 0:
  1010. 'Do you already have a TV'
  1011. else
  1012. 'You do not have enough money'
  1013. end
  1014. else
  1015. 'Section closed'
  1016. end
  1017. }
  1018. $buytv2 = {
  1019. if hour >= 8 and hour <= 20:
  1020. if money >= 35000 and TV < 2:
  1021. cla
  1022. *clr
  1023. set money -= 35000
  1024. set TV = 2
  1025. '<center><img src="images\etogame\kassa.jpg"></center>'
  1026. 'You paid the money to the cashier and bought TV'
  1027. act 'Leave': gt 'shop','teh'
  1028. elseif TV > 1:
  1029. 'Do you already have a TV'
  1030. else
  1031. 'You do not have enough money'
  1032. end
  1033. else
  1034. 'Section closed'
  1035. end
  1036. }
  1037. $buykomp = {
  1038. if hour >= 8 and hour <= 20:
  1039. if money >= 25000 and komp =0:
  1040. cla
  1041. *clr
  1042. set money -= 25000
  1043. set komp = 1
  1044. '<center><img src="images\etogame\kassa.jpg"></center>'
  1045. 'You get paid in cash and bought a computer'
  1046. act 'Leave': gt 'shop','teh'
  1047. elseif komp > 0:
  1048. 'Do you already have a computer'
  1049. else
  1050. 'You do not have enough money'
  1051. end
  1052. else
  1053. 'Section closed'
  1054. end
  1055. }
  1056. $buycd = {
  1057. if hour >= 8 and hour <= 20:
  1058. if money >= 500 and komp > 0 and GameCD = 0:
  1059. cla
  1060. *clr
  1061. set money -= 500
  1062. GameCD = 1
  1063. '<center><img src="images\etogame\kassa.jpg"></center>'
  1064. 'You get paid in cash and bought the game'
  1065. act 'Leave': gt 'shop','teh'
  1066. elseif komp = 0:
  1067. 'You do not have computer'
  1068. elseif GameCD > 0:
  1069. 'You already have this game'
  1070. else
  1071. 'You do not have enough money'
  1072. end
  1073. else
  1074. 'Section closed'
  1075. end
  1076. }
  1077. $buycd2 = {
  1078. if hour >= 8 and hour <= 20:
  1079. if money >= 500 and komp > 0 and GameCD2 = 0:
  1080. cla
  1081. *clr
  1082. set money -= 500
  1083. GameCD2 = 1
  1084. '<center><img src="images\etogame\kassa.jpg"></center>'
  1085. 'You get paid in cash and bought the game'
  1086. act 'Leave': gt 'shop','teh'
  1087. elseif komp = 0:
  1088. 'You do not have computer'
  1089. elseif GameCD2 > 0:
  1090. 'You already have this game'
  1091. else
  1092. 'You do not have enough money'
  1093. end
  1094. else
  1095. 'Section closed'
  1096. end
  1097. }
  1098. $buycd3 = {
  1099. if hour >= 8 and hour <= 20:
  1100. if money >= 500 and komp > 0 and GameCD3 = 0:
  1101. cla
  1102. *clr
  1103. set money -= 500
  1104. GameCD3 = 1
  1105. '<center><img src="images\etogame\kassa.jpg"></center>'
  1106. 'You get paid in cash and bought the game'
  1107. act 'Leave': gt 'shop','teh'
  1108. elseif komp = 0:
  1109. 'You do not have computer'
  1110. elseif GameCD3 > 0:
  1111. 'You already have this game'
  1112. else
  1113. 'You do not have enough money'
  1114. end
  1115. else
  1116. 'Section closed'
  1117. end
  1118. }
  1119. $buyposudmoi = {
  1120. if hour >= 8 and hour <= 20:
  1121. if money >= 50000 and posudomashina = 0:
  1122. cla
  1123. *clr
  1124. set money -= 50000
  1125. posudomashina = 1
  1126. '<center><img src="images\etogame\kassa.jpg"></center>'
  1127. 'You get paid in cash and bought a dishwasher'
  1128. act 'Leave': gt 'shop','teh'
  1129. elseif posudomashina > 0:
  1130. 'You already have a dishwasher'
  1131. else
  1132. 'You do not have enough money'
  1133. end
  1134. else
  1135. 'Section closed'
  1136. end
  1137. }
  1138. $buystiralka = {
  1139. if hour >= 8 and hour <= 20:
  1140. if money >= 50000 and stiralka = 0:
  1141. cla
  1142. *clr
  1143. set money -= 50000
  1144. stiralka = 1
  1145. '<center><img src="images\etogame\kassa.jpg"></center>'
  1146. 'You get paid in cash and bought a washing machine'
  1147. act 'Leave': gt 'shop','teh'
  1148. elseif stiralka > 0:
  1149. 'You already have a washing machine'
  1150. else
  1151. 'You do not have enough money'
  1152. end
  1153. else
  1154. 'Section closed'
  1155. end
  1156. }
  1157. $buyzenit = {
  1158. if hour >= 8 and hour <= 20:
  1159. if money >= 10000 and zenit = 0:
  1160. cla
  1161. *clr
  1162. set money -= 10000
  1163. zenit = 1
  1164. '<center><img src="images\etogame\kassa.jpg"></center>'
  1165. 'You get paid in cash and bought a camera'
  1166. act 'Leave': gt 'shop','teh'
  1167. elseif zenit > 0:
  1168. 'Do you already have a camera'
  1169. else
  1170. 'You do not have enough money'
  1171. end
  1172. else
  1173. 'Section closed'
  1174. end
  1175. }
  1176. $buyminifoto = {
  1177. if hour >= 8 and hour <= 20:
  1178. if money >= 40000 and minifoto = 0:
  1179. cla
  1180. *clr
  1181. set money -= 40000
  1182. minifoto = 1
  1183. '<center><img src="images\etogame\kassa.jpg"></center>'
  1184. 'You get paid in cash and bought a mini camera'
  1185. act 'Leave': gt 'shop','teh'
  1186. elseif minifoto > 0:
  1187. 'You already have a mini camera'
  1188. else
  1189. 'You do not have enough money'
  1190. end
  1191. else
  1192. 'Section closed'
  1193. end
  1194. }
  1195. $buyWebCam = {
  1196. if hour >= 8 and hour <= 20:
  1197. if money >= 80000 and webCam = 0:
  1198. cla
  1199. *clr
  1200. set money -= 80000
  1201. webCam = 1
  1202. '<center><img src="images\etogame\kassa.jpg"></center>'
  1203. 'You get paid in cash and bought a web-camera'
  1204. act 'Leave': gt 'shop','teh'
  1205. elseif webCam > 0:
  1206. 'You already have a web-camera'
  1207. else
  1208. 'You do not have enough money'
  1209. end
  1210. else
  1211. 'Section closed'
  1212. end
  1213. }
  1214. $buyDVDDisk = {
  1215. if hour >= 8 and hour <= 20:
  1216. if money >= 4000 :
  1217. cla
  1218. *clr
  1219. set money -= 4000
  1220. set DVDDisk += 20
  1221. '<center><img src="images\etogame\kassa.jpg"></center>'
  1222. 'You get paid in cash and bought 20 burnable DVD disks.'
  1223. act 'Leave': gt 'shop','teh'
  1224. else
  1225. 'You do not have enough money'
  1226. end
  1227. else
  1228. 'Section closed'
  1229. end
  1230. }
  1231. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  1232. '<center><B><font color = maroon>Division of household appliances</font></B></center>'
  1233. '<center><img src="images\etogame\shop5.jpg"></center>'
  1234. clr
  1235. gs 'stat'
  1236. fcolor = rgb(0,0,0)
  1237. bcolor = rgb(255,255,255)
  1238. LCOLOR = rgb(106,90,205)
  1239. if TV = 0: '<a href="exec: dynamic $buytv ">Not a big TV with a picture tube can be bought for 5,000 rubles</a>'
  1240. if TV ! 2: '<a href="exec: dynamic $buytv2 ">Large plasma TV can be bought for 35,000 rubles</a>'
  1241. if komp = 0: '<a href="exec: dynamic $buykomp ">Computer worth 25,000 rubles</a>'
  1242. !'<a href="exec: dynamic $buycd ">Computer game Disopl 500 rubles</a>'
  1243. if GameCD2 = 0: '<a href="exec: dynamic $buycd2 ">Computer game Dead Sunset 500 rubles</a>'
  1244. !'<a href="exec: dynamic $buycd3 ">Computer game Albida 500 rubles</a>'
  1245. if webCam = 0: '<a href="exec: dynamic $buyWebCam ">Computer webcam 80,000 rubles</a>'
  1246. if DVDDisk >= 0: '<a href="exec: dynamic $buyDVDDisk ">Burnable DVDs 4,000 rubles</a>'
  1247. if posudomashina = 0: '<a href="exec: dynamic $buyposudmoi ">The dishwasher can be bought for 50,000 rubles</a>'
  1248. if stiralka = 0: '<a href="exec: dynamic $buystiralka ">washing machine can be bought for 50,000 rubles</a>'
  1249. if zenit = 0: '<a href="exec: dynamic $buyzenit ">The camera can be bought for 10,000 rubles</a>'
  1250. if minifoto = 0: '<a href="exec: dynamic $buyminifoto ">Mini camera disguised as a cigarette pack can be purchased for 40,000 rubles</a>'
  1251. act 'Get out of the department': gt 'shop','start'
  1252. end
  1253. --- shop ---------------------------------