123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785 |
- # shop
- !! This is the supermarket, located in several places
- !! Main entrance
- if $ARGS[0] = 'start':
- CLOSE ALL
- if sound = 0:PLAY 'sound/shop.mp3',30
- $shoplocation = 'main'
- end
- if $ARGS[0] = 'start' or $ARGS[0] = 'move':
- minut += 1
- end
- !! Main area
- if $shoplocation = 'main':
- cla
- *clr
- '<center><b><font color="maroon">Supermarket</font></b></center>'
- '<center><img src="images/etogame/shop.jpg"></center>'
- if hour < 8 or hour > 20:
- 'The supermarket is currently closed.'
- act 'Leave the store':gt $loc
- exit
- end
- '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.'
- 'There is a branch of communication giants <a href="exec:$shoplocation = ''megafon'' & gt ''shop'', ''move''">Bullhorn</a>.'
- '<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>.'
- clr
- gs 'stat'
- fcolor = rgb(0, 0, 0)
- bcolor = rgb(255, 255, 255)
- lcolor = rgb(106, 90, 205)
- !! The store in the town and in the altstart only
- if $loc = 'pavCommercial' and StoryLine = 1:
- if week < 6 and hour >= 8 and hour < 16:
- 'Your sister <a href="exec:$shoplocation = ''Anya'' & gt ''shop'', ''move''">Anya</a> is sitting at the cash register.'
- end
- end
- !! Store in the residential district
- if $loc = 'street':
- if rand(1, 20) = 20:
- if dimaQW = 0:
- 'By the store entrance a man is looking at you appreciatively.'
- act 'Return the look':gt 'event', 'dima'
- elseif dimaQW = 1:
- 'In the lobby of the store you notice Dima and you are frozen with fear, you want to run, but your legs wont respond.'
- 'Your heart is thumping in your chest, your vision narrows, you feel faint.'
- act 'Pass out':gt 'event', 'scoreslut1'
- else
- 'You meet the same Dima whos friend fucked and abused you. Dima grins confidently and says, "Hello."'
- act 'Hello':
- cla
- '"Come with me, My wife''s away", says Dima.'
- act 'Fuck no':gt 'shop', 'start'
- act 'I deserve this':
- cla
- *clr
- if rand(1, 2) = 1:
- cla
- sex += 1
- oral += 1
- throat += 1
- spafinloc = 12
- gs 'cum_manage'
- swallow += 1
- horny = 0
- minut += 10
- '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.'
- '<center><img src="images/pics/gostDT2.jpg"></center>'
- 'Dima finally finishes in your mouth, you obediently swallow and lick the remnants of sperm off his big cock.'
- act 'Leave':gt 'street'
- else
- cla
- sex += 1
- anal += 1
- spafinloc = 4
- gs 'cum_manage'
- spank += 1
- boom = 5
- horny = 0
- minut += 30
- '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.'
- '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.'
- '<center><img src="images/pics/gostAnal2.jpg"></center>'
- '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.'
- act 'Leave':gt 'street'
- end
- end
- end
- end
- end
- end
- '<br>The store is crowded with shoppers.'
- !! This is connected to the trade mission
- if TorgPredZ > 0:
- !! the location of the shop hasn''t been done today
- if ($loc = 'street' and StreetShopTPday ! daystart) or ($loc = 'Nord' and nordShopTPday ! daystart) or ($loc = 'down' and downShopTPday ! daystart):
- act 'Arrange products':
- if $loc = 'street':StreetShopTPday = daystart
- if $loc = 'Nord':nordShopTPday = daystart
- if $loc = 'down':downShopTPday = daystart
- cls
- mtprand = rand(40, 130)
- minut += mtprand
- TorgPredZ -= 1
- TorgPredZV += 1
- gs 'stat'
- '<center><img src="images/etogame/shop.jpg"></center>'
- 'You arranged the products for quite a while and when I finally managed, then went to the cashier and you check it struck.'
- act 'Exit':gt 'shop', 'start'
- end
- end
- end
- act 'Leave the store':gt $loc
- exit
- end
- !! ATM
- if $shoplocation = 'ATM':
- '<center><b><font color="maroon">ATM</font></b></center>'
- '<center><img src="images/bank/atm.jpg"></center>'
-
- if bankAccount = 1:
- if karta >= 0:
- 'You have <<karta>> <b>₽</b> in your account.'
- 'You have an approved credit of <font color="blue"><<bankDebtLimit>></font> <b>₽</b>!'
- else
- 'You have a debt of <font color="red"><<-1 * karta>></font> <b>₽</b>.'
- 'You have an approved credit of <font color="blue"><<bankDebtLimit + karta>></font> <b>₽</b>!'
- end
-
- '<br>ATM Deposit Fee: 100 <b>₽</b>'
-
- if atmDeposit = 0:
- act 'Deposit money':
- cla
- minut += 5
-
- kartaINATM = input ("How much money you want to deposit into the account?")
- if kartaINATM <= 0 or kartaINATM > money:
- 'This is not a valid input.'
- else
- atmDeposit += kartaINATM - 100
- atmDepositDate = daystart + 2
- money -= kartaINATM
- '<br>You deposited <<kartaINATM>> <b>₽</b> into your account.'
- 'It will take 2 days for funds to be available. Your new balance will be <<karta+atmDeposit>> <b>₽</b>.'
- end
-
- gs 'stat'
- act 'Move away': gt 'shop'
- end
- else
- '<br>★ Processing deposit of <<atmDeposit>> <b>₽</b> in <<atmDepositDate - daystart>> days.'
- end
-
- if karta + bankDebtLimit > 0:
- act 'Withdraw money from the ATM':
- cla
- minut += 5
-
- kartaOUT = input ("How much money you want to withdraw?")
- if kartaOUT <= 0 or kartaOUT > karta + bankDebtLimit:
- '<br>Invalid operation.'
- else
- karta -= kartaOUT
- money += kartaOUT
- '<br>You withdraw <<kartaOUT>> <b>₽</b>. You have <<karta>> <b>₽</b> left in your bank account.'
- end
-
- gs 'stat'
- act 'Move away': gt 'shop'
- end
- else
- 'You don''t have any money left in the bank.'
- end
- else
- 'You don''t have a bank account yet!'
- end
-
- act 'Move away':gt 'shop', 'start'
- end
- !! Grocery
- if $shoplocation = 'grocery':
- cla
- *clr
- '<center><b><font color="maroon">Grocery</font></b></center>'
- '<center><img src="images/etogame/shop1.jpg"></center>'
- if hour < 8 or hour > 20:
- 'The grocery is currently closed.'
- act 'Leave the grocery':gt 'shop', 'start'
- exit
- end
- !! output from purchase
- *p iif($ARGS[0] = 'start' or $ARGS[0] = '' or $ARGS[0] = 'move', '<br/>', '<center><<$ARGS[0]>></center>')
- *pl '<center><table align="center">' + _
- FUNC ('$stock_item', 1, 'Regular food', 50, 'eda', $CURLOC) + _
- FUNC ('$stock_item', 1, 'Diet food', 250, 'edaD', $CURLOC) + _
- FUNC ('$stock_item', 10, 'Tea biscuits', 300, 'pranik', $CURLOC) + _
- 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>') + _
- 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>') + _
- 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>') + _
- '</table></center>'
- clr
- gs 'stat'
- fcolor = rgb(0, 0, 0)
- bcolor = rgb(255, 255, 255)
- lcolor = rgb(106, 90, 205)
- act 'Leave the grocery':gt 'shop', 'start'
- end
- !! Cosmetics
- !! The scrunchies and hairpins sold here are from the Maruda Hair Mod
- if $shoplocation= 'cosmetics':
- cla
- *clr
- '<center><b><font color="maroon">Cosmetics Department</font></b></center>'
- '<center><img src="images/etogame/shop2.jpg"></center>'
- if hour < 8 or hour > 20:
- 'The cosmetics department is currently closed.'
- act 'Leave the cosmetics department':gt 'shop', 'start'
- exit
- end
- !! output from purchase
- *p iif($ARGS[0] = 'start' or $ARGS[0] = '' or $ARGS[0] = 'move', '<br/>', '<center><<$ARGS[0]>></center>')
- *pl '<center><table align="center">' + _
- FUNC ('$stock_item', 50, 'Cosmetics', 1000, 'kosmetica', $CURLOC) + _
- FUNC ('$stock_item', 10, 'Razors', 500, 'stanok', $CURLOC) + _
- FUNC ('$stock_item', 20, 'Sunblock', 500, 'krem', $CURLOC) + _
- FUNC ('$stock_item', 20, 'Tampons', 200, 'tampon', $CURLOC) + _
- FUNC ('$stock_item', 20, 'Sanitary napkins', 200, 'sanpad', $CURLOC) + _
- FUNC ('$stock_item', 30, 'Shampoo', 500, 'shampoo', $CURLOC) + _
- FUNC ('$stock_item', 10, 'Hair scrunchies', 80, 'hscrunch', $CURLOC) + _
- FUNC ('$stock_item', 12, 'Hair pins', 100, 'hpingrip', $CURLOC)
-
- *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>') + _
- 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>') + _
- 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>') + _
- 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>') + _
- FUNC ('$single_stock_item', 1, 'Handbag', 5000, 'bag', $CURLOC) + _
- '</table></center>'
- clr
- gs 'stat'
- fcolor = rgb(0, 0, 0)
- bcolor = rgb(255, 255, 255)
- lcolor = rgb(106, 90, 205)
- act 'Leave the cosmetics department':gt 'shop', 'start'
- end
- !! Hardware
- if $shoplocation = 'hardware':
- cla
- *clr
- '<center><b><font color="maroon">Division of household goods</font></b></center>'
- '<center><img src="images/etogame/shop3.jpg"></center>'
- if hour < 8 or hour > 20:
- 'The hardware department is currently closed.'
- act 'Leave the hardware department':gt 'shop', 'start'
- exit
- end
- !! output from purchase
- *p iif($ARGS[0] = 'start' or $ARGS[0] = '' or $ARGS[0] = 'move', '<br/>', '<center><<$ARGS[0]>></center>')
- *pl '<center><table align="center">' + _
- FUNC ('$stock_item', 20, 'Dishwashing detergent', 100, 'fairy', $CURLOC) + _
- FUNC ('$stock_item', 30, 'Clothing detergent', 250, 'poroshok', $CURLOC) + _
- FUNC ('$stock_item', 5, 'Plates', 300, 'cltarelka', $CURLOC) + _
- '</table></center>'
- clr
- gs 'stat'
- fcolor = rgb(0, 0, 0)
- bcolor = rgb(255, 255, 255)
- lcolor = rgb(106, 90, 205)
- act 'Leave the hardware department':gt 'shop', 'start'
-
- if poSkill >= 40:
- '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>.'
- if tkan <= 0:'Now you do not have tissue'
- if tkan > 0:'Now you have enough tissue to <<tkan>> lessons'
- if money >= 300:
- act'Buy cloth':
- cls
- portion = input ("How much do you want to buy?")
- if portion <= 0:portion = 1
- if portion*300 > money:'You do not have enough money.'
- if portion*300 <= money:
- tkan += portion
- money = money - portion*300
- '<center><img src="images/etogame/kassa.jpg"></center>'
- 'You paid the cashier and bought cloth.'
- end
- gs'stat'
- act 'Move away from the counter':gt'shop','hos'
- end
- end
-
- end
- end
- !! Women''s clothing
- if $shoplocation = 'clothing':
- cla
- *clr
- '<center><b><font color="maroon">Department of Women''s Clothing</font></b></center>'
- '<center><img src="images/etogame/shop4.jpg"></center>'
- if hour < 8 or hour > 20:
- 'The women''s clothing department is currently closed.'
- act 'Leave the women''s clothing department':gt 'shop', 'start'
- exit
- end
- *p iif($ARGS[0] = 'start' or $ARGS[0] = '' or $ARGS[0] = 'move', '<br/>', '<center><<$ARGS[0]>></center>')
- *pl '<center><table align="center">' + _
- FUNC ('$stock_item', 1, 'Underwear', 300, 'clrbelo', $CURLOC) + _
- FUNC ('$stock_item', 7, 'Sale pack of underwear', 2000, 'clrbelo', $CURLOC) + _
- '</table></center>'
- '<br/>Women''s clothing cost 2,500 <b>₽</b> each.'
- clr
- gs 'stat'
- fcolor = rgb(0, 0, 0)
- bcolor = rgb(255, 255, 255)
- lcolor = rgb(106, 90, 205)
- act 'Leave the women''s clothing department':gt 'shop', 'start'
- if konki!1:
- 'A pair of ice-skates are available for 500 <b>₽</b>.'
- if money >= 500:
- act 'Buy skates for 500 <b>₽</b>':
- cla
- *clr
- money = money - 500
- konki = 1
- '<center><img src="images/nigma/gor/lake/Katok/konki_shop.jpg"></center>'
- 'You buy a pair of skates.'
- act 'Move away from the counter':gt'shop'
- end
- end
- end
- if money >= 2500:
- if office[1] = 0:
- act 'Inspect Office clothes number 1':
- cla
- *clr
- '<center><img src="images/Clothing/5office/Office1.jpg"></center>'
- 'Office clothes.'
- 'Costs 2,500 <b>₽</b>.'
- act 'Leave':gt'shop'
- act 'Buy':
- cla
- money -= 2500
- office[1] = 1
- officeH[1] = 60
- officeB[1] = bedra
- gt'shop', '<font color="green">You bought <b>Office clothes number 1</b>.</font>'
- end
- end
- end
- if office[2] = 0:
- act 'Inspect Office clothes number 2':
- cla
- *clr
- '<center><img src="images/Clothing/5office/Office2.jpg"></center>'
- 'Office clothes.'
- 'Costs 2,500 <b>₽</b>.'
- act 'Leave':gt'shop'
- act 'Buy':
- cla
- money -= 2500
- office[2] = 1
- officeH[2] = 60
- officeB[2] = bedra
- gt'shop', '<font color="green">You bought <b>Office clothes number 2</b>.</font>'
- end
- end
- end
- if cheap[68] = 0:
- act 'Inspect cheap clothes 102':
- cla
- *clr
- '<center><img src="images/Clothing/1cheap/Cheap68.jpg"></center>'
- 'A cheap skirt and top.'
- 'Costs 2,500 <b>₽</b>.'
- act 'Leave':gt 'shop'
- act 'Buy':
- cla
- money -= 2500
- cheap[68] = 1
- cheapH[68] = 60
- cheapB[68] = bedra
- gt 'shop', '<font color="green">You bought <b>cheap clothes 68</b>.</font>'
- end
- end
- end
- if cheap[3] = 0:
- act 'Inspect cheap clothes 3':
- cla
- *clr
- '<center><img src="images/Clothing/1cheap/Cheap3.jpg"></center>'
- 'A cheap skirt and top.'
- 'Costs 2,500 <b>₽</b>.'
- act 'Leave':gt 'shop'
- act 'Buy':
- cla
- money -= 2500
- cheap[3] = 1
- cheapH[3] = 60
- cheapB[3] = bedra
- gt 'shop', '<font color="green">You bought <b>cheap clothes 3</b>.</font>'
- end
- end
- end
- if cheap[80] = 0:
- act 'Inspect cheap clothes 80':
- cla
- *clr
- '<center><img src="images/Clothing/1cheap/Cheap80.jpg"></center>'
- 'Cheap shorts and top.'
- 'Costs 2,500 <b>₽</b>.'
- act 'Leave':gt 'shop'
- act 'Buy':
- cla
- money -= 2500
- cheap[80] = 1
- cheapH[80] = 60
- cheapB[80] = bedra
- gt 'shop', '<font color="green">You bought <b>cheap clothes 80</b>.</font>'
- end
- end
- end
- if cheap[10] = 0:
- act 'Inspect cheap clothes 10':
- cla
- *clr
- '<center><img src="images/Clothing/1cheap/Cheap10.jpg"></center>'
- 'A cheap dress.'
- 'Costs 2,500 <b>₽</b>.'
- act 'Leave':gt 'shop'
- act 'Buy':
- cla
- money -= 2500
- cheap[10] = 1
- cheapH[10] = 60
- cheapB[10] = bedra
- gt 'shop', '<font color="green">You bought <b>cheap clothes 10</b>.</font>'
- end
- end
- end
- if cheap[45] = 0:
- act 'Inspect cheap clothes 45':
- cla
- *clr
- '<center><img src="images/Clothing/1cheap/Cheap45.jpg"></center>'
- 'Cheap jeans and top.'
- 'Costs 2,500 <b>₽</b>.'
- act 'Leave':gt 'shop'
- act 'Buy':
- cla
- money -= 2500
- cheap[45] = 1
- cheapH[45] = 60
- cheapB[45] = bedra
- gt 'shop', '<font color="green">You bought <b>cheap clothes 45</b>.</font>'
- end
- end
- end
- if cheap[51] = 0:
- act 'Inspect cheap clothes 51':
- cla
- *clr
- '<center><img src="images/Clothing/1cheap/Cheap51.jpg"></center>'
- 'Cheap leggings and top.'
- 'Costs 2,500 <b>₽</b>.'
- act 'Leave':gt 'shop'
- act 'Buy':
- cla
- money -= 2500
- cheap[51] = 1
- cheapH[51] = 60
- cheapB[51] = bedra
- gt 'shop', '<font color="green">You bought <b>cheap clothes 51</b>.</font>'
- end
- end
- end
- if swimwear[4] = 0:
- act 'Inspect swimwear 4':
- cla
- *clr
- '<center><img src="images/Clothing/12swimwear/Swimwear4.jpg"></center>'
- 'Swimwear.'
- 'Costs 1,000 <b>₽</b>.'
- act 'Leave':gt 'shop'
- act 'Buy':
- cla
- money -= 1000
- swimwear[4] = 1
- swimwearH[4] = 60
- swimwearB[4] = bedra
- gt 'shop', '<font color="green">You bought <b>swimwear 4</b>.</font>'
- end
- end
- end
- if exercise[4] = 0:
- act 'Inspect exercise clothes 4':
- cla
- *clr
- '<center><img src="images/Clothing/7exercise/Exercise4.jpg"></center>'
- 'Exercise clothes.'
- 'Costs 2,500 <b>₽</b>.'
- act 'Leave':gt 'shop'
- act 'Buy':
- cla
- money -= 2500
- exercise[4] = 1
- exerciseH[4] = 60
- gt 'shop', '<font color="green">You bought <b>exercise clothes 4</b>.</font>'
- end
- end
- end
- if exercise[20] = 0:
- act 'Inspect exercise clothes 20':
- cla
- *clr
- '<center><img src="images/Clothing/7exercise/Exercise20.jpg"></center>'
- 'Exercise clothes.'
- 'Costs 2,500 <b>₽</b>.'
- act 'Leave':gt 'shop'
- act 'Buy':
- cla
- money -= 2500
- exercise[20] = 1
- exerciseH[20] = 60
- gt 'shop', '<font color="green">You bought <b>exercise clothes 31</b>.</font>'
- end
- end
- end
- if coat[1] = 0:
- act 'Inspect coat 1':
- cla
- *clr
- '<center><img src="images/Clothing/11coat/Coat1.jpg"></center>'
- 'A coat.'
- 'Costs 7,500 <b>₽</b>.'
- act 'Leave':gt 'shop'
- act 'Buy':
- cla
- money -= 5000
- coat[1] = 1
- coatH[1] = 60
- gt 'shop', '<font color="green">You bought <b>coat 1</b>.</font>'
- end
- end
- end
- end
- end
- !! Household appliances
- if $shoplocation = 'tech':
- cla
- *clr
- '<center><b><font color="maroon">Department of household appliances</font></b></center>'
- '<center><img src="images/etogame/shop5.jpg"></center>'
- if hour < 8 or hour > 20:
- 'The household appliance department is currently closed.'
- act 'Leave the appliance department':gt 'shop', 'start'
- exit
- end
- *p iif($ARGS[0] = 'start' or $ARGS[0] = '' or $ARGS[0] = 'move', '<br/>', '<center><<$ARGS[0]>></center>')
- *pl '<center><table align="center">' + _
- 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>') + _
- 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>') + _
- FUNC ('$single_stock_item', 1, 'Computer', 25000, 'komp', $CURLOC)
- *p iif(komp > 0, FUNC ('$single_stock_item', 1, 'Computer game Dead Sunset', 500, 'GameCD2', $CURLOC), '') + _
- 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>') + _
- 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>') + _
- FUNC ('$single_stock_item', 1, 'Camera', 10000, 'zenit', $CURLOC) + _
- FUNC ('$single_stock_item', 1, 'Mini camera disguised as a cigarette pack', 40000, 'minifoto', $CURLOC)
- *p iif((vasya_shulgin>=30 and webcamera = 0) or (camwhore = 1 and webcamera = 0), FUNC ('$single_stock_item', 1, 'Webcam', 10000, 'webcamera', $CURLOC), '') + _
- '</table></center>'
- clr
- gs 'stat'
- fcolor = rgb(0, 0, 0)
- bcolor = rgb(255, 255, 255)
- lcolor = rgb(106, 90, 205)
- act 'Leave the appliance department':gt 'shop', 'start'
- end
- !! Ice cream counter
- if $shoplocation = 'icecream':
- 'Ice cream is available for sale for 50 <b>₽</b>.'
- act 'Move away from the counter':gt 'shop', 'start'
- if money >= 50:
- act 'Buy ice cream':
- cls
- money -= 50
- fat += 3
- manna += 500
- water += 60
- energy += 30
- cumspclnt = 2
- gs 'cum_cleanup'
- fbreath = 0
- gs 'stat'
- '<center><img src="images/etogame/icecreem.jpg"></center>'
- 'You bought ice cream and ate it not going far.'
- act 'Move away from the counter':gt 'shop', 'start'
- end
- end
- end
- if $shoplocation = 'megafon':
- cls
- minut+=3
- gs'stat'
- i = 0
- '<center><b><font color = maroon>Salon connection Megaphone</font></B></center>'
- '<center><img src="images/pic/phone/megafon2.jpg" ></center>'
- *pl '<center><table align="center">'
- :loopcard
- if i = 0:
- n = 5
- price = 60
- $buy_link = '<a' + iif(money >= 60, ' href="exec: gs ''$buy_item'', <<n>>, ''hours of internet access'', <<price>>, ''internet'', ''shop''">buy ','>buy ') +'</a>'
- elseif i = 1:
- n = 10
- price = 115
- $buy_link = '<a' + iif(money >= 115, ' href="exec: gs ''$buy_item'', <<n>>, ''hours of internet access'', <<price>>, ''internet'', ''shop''">buy ','>buy ') +'</a>'
- elseif i = 2:
- n = 20
- price = 220
- $buy_link = '<a' + iif(money >= 220, ' href="exec: gs ''$buy_item'', <<n>>, ''hours of internet access'', <<price>>, ''internet'', ''shop''">buy ','>buy ') +'</a>'
- elseif i = 3:
- n = 50
- price = 520
- $buy_link = '<a' + iif(money >= 520, ' href="exec: gs ''$buy_item'', <<n>>, ''hours of internet access'', <<price>>, ''internet'', ''shop''">buy ','>buy ') +'</a>'
- end
- i += 1
- '<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>'
- if i < 4:
- jump 'loopcard'
- end
- '</table></center>'
- act 'Exit Department':gt'shop','start'
- if money > 0:
- act 'Put the money on the phone':
- cla
- set minut = minut + 5
- obmennik = input ("How many <b>₽</b> do you want to deposit?")
- if obmennik <= 0:
- '<center><br><b>Do you want to think again?</b></center>'
- act 'Exit Department':gt'shop','start'
- else
- if money < obmennik:
- '<center><br>You do not have <b><<obmennik>></b> <b>₽</b>.</center>'
- act 'Exit Department':gt'shop','start'
- end
- if money >= obmennik:
- set balans = balans + obmennik
- set money = money - obmennik
- clr
- gs'stat'
- '<center><br>You put <b><<obmennik>></b> <b>₽</b> to the account.</center>'
- act 'Exit Department':gt'shop','start'
- end
- end
- end
- end
- end
- if $shoplocation = 'Anya':
- cla
- '<center><img src="images/qwest/alter/sister/sister.jpg"></center>'
- gs'dinsister'
- dynamic $sischecks
- '"<<$name>>, do not disturb me at work, can''t you see I have customers?""'
- act '<B>Move away</B>':gt'shop','start'
- end
- --- shop ---------------------------------
|