123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312 |
- # gaptek
- $location_type = 'public_indoors'
- if $ARGS[0] = 'start' or gaptek_loc = 1 or $message ! '':
- cls
- CLOSE ALL
- if sound = 0:PLAY 'sound/shop.mp3',30
- gs 'stat'
- '<center><B><font color="maroon">Pharmacy</font></B></center>'
- !'<center><img <<$set_imgh>> src="images/locations/pavlovsk/pharmacy/aptek.jpg"></center>'
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pharmacy/apteka_worker_1.jpg"></center>'
- act 'Leave the pharmacy':gt 'pavCommercial'
- if Olu_pay > 0:
- minut += RAND(5,10)
- money += Olu_pay * RAND(500,700)
- Olu_pay = 0
- 'You go back to the pharmacy, and wait for a slow moment so you can talk to your aunt undisturbed.'
- 'Your aunt smiles happily as she gives you a small envelope. "Thank you so much <<$pcs_firstname>>, this is the only way I can get some sleep. I really appreciate it. Here, please accept this money, you''ve earned it."'
- act 'Thank her and leave the pharmacy':gt'pavCommercial'
- exit
- end
- if hour < 8 or hour > 20:
- 'The pharmacy is currently closed. There''s a sign on the door, that says it''s open between 8:00 and 20:00 every day.'
- exit
- end
- '<center>'
- if $message ! '':
- $message
- killvar '$message'
- '"Do you need anything else?"'
- else
- if StoryLine = 0:
- 'The woman behind the counter in a white coat greets you, "Hello, what you need?"'
- else
- 'Aunt Luda is sitting behind the counter, as usual. She gives you a friendly nod when she sees you: "Hi <<$pcs_firstname>>! How are you?"'
- end
- end
- '</center>'
- *pl '<center><table align="center" width=80%>'
- *P FUNC ('$stock_item', 5, 'condoms', 500, 'prezikcount', $CURLOC, $ARGS[0], StoryLine, 'Aunt will tell mom!')
- *P FUNC ('$stock_item', 1, 'pregnancy test', 530, 'pregtest', $CURLOC, $ARGS[0], StoryLine, 'Aunt will tell mom!')
- *P FUNC ('$stock_item', 1, 'birth control pills', 1870, 'tabletki', $CURLOC, $ARGS[0], StoryLine, 'Aunt will tell mom!')
- *P FUNC ('$stock_item', 10, 'antibiotics', 580, 'lekarstvo', $CURLOC, $ARGS[0])
- *P FUNC ('$stock_item', 30, 'vitamins', 130, 'vitamin', $CURLOC, $ARGS[0])
- *P FUNC ('$stock_item', 50, 'painkillers', 435, 'painkiller', $CURLOC, $ARGS[0])
- *P FUNC ('$stock_item', 10, 'ointments for chafing', 372, 'mosolmaz', $CURLOC, $ARGS[0])
- *P FUNC ('$stock_item', 1, 'lubricant', 145, 'lubri', $CURLOC, $ARGS[0], StoryLine, 'Aunt will tell mom!')
- *P FUNC ('$stock_item', 30, 'lip balm', 127, 'lipbalm', $CURLOC, $ARGS[0])
- *P FUNC ('$stock_item', 12, 'weight loss pill', 248, 'fatdel', $CURLOC, $ARGS[0])
- *P FUNC ('$stock_item', 20, 'Tampons', 200, 'tampon', $CURLOC, $ARGS[0])
- *P FUNC ('$stock_item', 20, 'Sanitary napkins', 100, 'sanpad', $CURLOC, $ARGS[0])
- *P FUNC ('$single_stock_item', 1, 'enema kit', 1250, 'klisma', $CURLOC, $ARGS[0], StoryLine, 'You should be stealthy')
- *P FUNC ('$single_stock_item', 1, 'breast pump', 800, 'breastpump', $CURLOC, $ARGS[0])
- *P '</table></center>'
- !! for original start we can just use stockitem, for alt start there are other plot elements involved
- !strip polt-related item, other use new system
- if KandidNapr = 1:'Cure for yeast infection - 1,050 <b>₽</b>'
- !!this is the cost for a 1 day cure pack, use once and supposedly it gets rid of it. Also why not have this product always listed, seems silly to only list it when needed and gamey, if it is always listed it adds realism.
- if npc_QW['A29'] >= 2:
- act 'Ask about the "garden"':
- cls
- gaptekfirst = 1
- gs 'stat'
- '<center><b><font color="maroon">Pharmacy</font></b></center>'
- !'<center><img <<$set_imgh>> src="images/locations/pavlovsk/pharmacy/aptek.jpg"></center>'
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pharmacy/apteka_worker_1.jpg"></center>'
- if npc_QW['A29'] = 2 and gaogorod < 40:
- if gaptekfirst = 0:
- gaptekfirst = 1
- minut += 5
- 'You pretend to look at the goods positioned on the shelves, while you consider how to best approach your aunt. Your aunt notices you staring at the shelves, and comes from behind the counter when she''s done helping her last customer.'
- '"Hi <<$pcs_nickname>>, are you looking for something?"'
- 'You take a deep breath and say: "Erm... yes aunt. My mother needs some things for her ''garden''?" putting extra emphasis on the word.'
- 'Your aunt pretends to be confused, and teases you: "<<$pcs_nickname>>, are you sure you''re in the right store? This is a pharmacy, not a gardening center!"'
- 'You''re slightly confused now, and try again: "I know, aunt... my mom said I should say ''garden''."'
- 'She just laughs: "Just teasing, <<$pcs_nickname>>. Your mother has such green thumbs, she comes here all the time! Come on, I''ll show you what we have." She takes you by the hand and takes you to the counter holding the contraceptives.'
- '"Here you go. All of your gardening needs, right here. What can I get you?"'
- gs 'gaptek', 'garden'
- else
- minut += rand(5, 15)
- if gaprezikday ! daystart or gatabletkiday ! daystart:
- 'You wait until the last customer leaves the pharmacy, and quickly dart over to the counter.'
- '"Hi aunt Luda, my mom needs a few more items for her garden."'
- '"Your mom, huh? Sure, sure... it''s right here, take your pick!" she chuckles, as you try to hide your blush.'
- 'You intently stare at the items, avoiding her gaze as you mutter: "Thank you, Aunt..."'
- '"No problem, <<$pcs_nickname>>. But seriously, tell Natasha she shouldn''t spend so much time gardening. We keep running low on stock."'
- gs 'gaptek', 'garden'
- else
- minut += RAND(5,15)
- 'You linger around the pharmacy, waiting for your aunt to become available. However, as time passes the pharmacy only becomes more and more crowded, and your aunt has a long line of customers to deal with. You decide you''ve wasted enough time, and to try again later.'
- end
- end
- elseif npc_QW['A29'] = 2:
- gt 'motherQW','motherQW_3'
- elseif npc_QW['A29'] >= 3 and galubri = 0:
- if gaprezikday ! daystart or gatabletkiday ! daystart:
- minut += RAND(5,15)
- gs'stat'
- if RAND(0,5) = 0 and oluuosegunday ! daystart:
- gt 'motherQW','olu'
- else
- 'You wait for your turn and move to the counter, discretely nodding at the counter with the contraceptives. Your aunt gives you a small smile and asks what she can do for you today.'
- gs 'gaptek', 'garden'
- end
- elseif gaprezikday = daystart and gatabletkiday = daystart:
- minut += RAND(5,15)
- 'You wait for your turn and move up to the counter, discretely nodding at the counter with the contraceptives. She apologizes: "I''m sorry <<$pcs_nickname>>, those are all sold out." With some malice in her voice, she whispers: "Your stud will have to wait until tomorrow, unless you plan on entertaining him in some other way." Giving you a lewd grin, she ushers you away from the counter so she can help the next customer.'
- end
- elseif npc_QW['A29'] >= 3 and galubri = 1:
- if gaprezikday ! daystart or gatabletkiday ! daystart or galubriday ! daystart:
- minut += RAND(5,15)
- if RAND(0,5) = 0 and oluuosegunday ! daystart and tetyafirst < 3:
- gt 'motherQW','olu'
- else
- 'You wait for your turn and move to the counter, discretely nodding at the counter with the contraceptives. Your aunt gives you a small smile and asks what she can do for you today.'
- gs 'gaptek', 'garden'
- end
- elseif gaprezikday = daystart and gatabletkiday = daystart and galubriday = daystart:
- minut += RAND(5,15)
- 'You wait for your turn and move up to the counter, discretely nodding at the counter with the contraceptives. She apologizes: "I''m sorry <<$pcs_nickname>>, those are all sold out." With some malice in her voice, she whispers: "Your stud will have to wait until tomorrow, unless you plan on entertaining him in some other way." Giving you a lewd grin, she ushers you away from the counter so she can help the next customer.'
- end
- end
- act 'Move away from the counter':gt 'gaptek', 'start'
- end
- if money >= 1870:
- if gatabletkiday ! daystart and npc_QW['A29'] >= 2:
- act 'Buy birth control pills (1870 <b>₽</b>) <<iif(tabletki > 0, ''[left:<b>'' + tabletki + ''</b>]'', '''')>>':
- !!Apostrope fix for notepad display''''
- cla
- *clr
- portion = input ("How many packages do you want to buy?")
- if portion <= 0:
- cla
- 'You change your mind and feel flustered,'
- act 'Move away from the counter':gt 'gaptek', 'start'
- exit
- elseif portion > 1 and npc_QW['A29'] < 3:
- portion = 1
- 'You quietly think to yourself, while you put most of the packages back on the shelf: "Just the one should be enough. It''s probably better if I don''t buy too many at once, otherwise aunt Luda might become suspicious."'
- end
- if portion * 1870 <= money:
- tabletki += portion
- minut += 5
- money -= portion * 1870
- gatabletkiday = daystart
- '<center><img <<$set_imgh>> src="images/locations/shared/store/kassa.jpg"></center>'
- 'You pay for the birth control pills and quickly put the strips in your pocket, before anyone sees you buy them.'
- else
- 'You can''t afford to buy birth control pills.'
- end
- act 'Move away from the counter':gt 'gaptek', 'start'
- end
- end
- if klisma = 0 and npc_QW['A29'] >= 2 and gaptekfirst = 1:
- act 'Buy the enema kit (1250 <b>₽</b>)':
- cla
- *clr
- klisma = 1
- minut += 5
- money -= 1250
- '<center><img <<$set_imgh>> src="images/locations/shared/store/kassa.jpg"></center>'
- 'You pay for the enema kit and quickly ask your aunt to put it in a paper bag, before the other customers see it.'
- act 'Move away from the counter':gt 'gaptek', 'start'
- end
- end
- if KandidNapr = 1:
- act 'Buy tablets for your yeast infection (1,050 <b>₽</b>)':
- cla
- *clr
- money -= 1050
- Kandidoz = 0
- '<center><img <<$set_imgh>> src="images/locations/shared/store/kassa.jpg"></center>'
- 'You put the money on the counter and immediately open the package and swallow the tablet. A while later, you feel better.'
- act 'Move away from the counter':gt 'gaptek', 'start'
- end
- end
- end
- end
- end
- if $ARGS[0] = 'garden':
- *nl
- '<center>Condoms: 500 ₽ per pack - You currently have <b><<prezikcount>></b></center>'
- '<center>Pregnancy test: 530 ₽ per pack - You currently have <b><<pregtest>></b></center>'
- if money >= 145 and galubri = 1 and npc_QW['A29'] >= 2 and gaptekfirst = 1 and galubriday ! daystart:'<center>Lubricant: 145 ₽ each - You currently have <b><<lubri>></b></center>'
- if money >= 500 and npc_QW['A29'] >= 2 and gaptekfirst = 1 and gaprezikday ! daystart:
- act 'Buy condoms (500 <b>₽</b>) <<iif(prezikcount > 0, ''[left:<b>'' + prezikcount + ''</b>]'', '''')>>':
- !!Apostrope fix for notepad display''''
- cla
- *clr
- portion = input("How many packages you want to buy? (One package contains 5 condoms)")
- if portion <= 0:
- cla
- 'You change your mind and feel flustered,'
- act 'Move away from the counter':gt 'gaptek', 'start'
- exit
- end
- if portion > 2 and npc_QW['A29'] < 3:portion = 2 & 'You tell yourself: "Two packages should be enough". You shouldn''t buy too many at once, otherwise your aunt might get suspicious.'
- if portion > 5 and npc_QW['A29'] >= 3:portion = 5 & 'Your aunt laughs and shakes her head. "I''m sorry <<$pcs_nickname>>, I can only give you five. With the amounts you''re buying, the condom factory can barely keep up delivering new stock."'
- if portion * 500 <= money:
- prezik += portion * 5
- minut += 5
- money -= portion * 500
- gaprezikday = daystart
- '<center><img <<$set_imgh>> src="images/locations/shared/store/kassa.jpg"></center>'
- 'You pay for the condoms and quickly put them in your pocket, before anyone sees you buy them.'
- if npc_QW['A29'] < 3:gaogorod += portion
- else
- 'You can''t afford the condoms.'
- end
- act 'Move away from the counter':gt 'gaptek', 'start'
- end
- end
- if money >= 530 and npc_QW['A29'] >= 2 and gaptekfirst = 1:
- act 'Buy pregnancy tests (530 <b>₽</b>) <<iif(pregtest > 0, ''[left:<b>'' + pregtest + ''</b>]'', '''')>>':
- !!Apostrope fix for notepad display''''
- cla
- *clr
- portion = input("How many packages do you want to buy? (One package contains two testers)")
- if portion <= 0:
- cla
- 'You change your mind and feel flustered,'
- act 'Move away from the counter':gt 'gaptek', 'start'
- exit
- end
- if portion * 530 <= money:
- pregtest += portion * 2
- minut += 5
- money -= portion * 530
- '<center><img <<$set_imgh>> src="images/locations/shared/store/kassa.jpg"></center>'
- 'You pay for the pregnancy tests and quickly put them in your pocket, before anyone sees you buy them.'
- if npc_QW['A29'] < 3:gaogorod += portion
- else
- 'You can''t afford to buy the pregnancy tests, and have to put them back on the counter.'
- end
- act 'Move away from the counter':gt 'gaptek', 'start'
- end
- end
- !! you can only buy lube here if your aunt arranged for it and you haven''t bought any today yet
- if money >= 145 and galubri = 1 and npc_QW['A29'] >= 2 and gaptekfirst = 1 and galubriday ! daystart:
- act 'Buy <b>lubricant</b> (145 <b>₽</b>) <<iif(lubri > 0, ''[left:<b>'' + lubri + ''</b>]'', '''')>>':
- !!Apostrope fix for notepad display''''
- cla
- *clr
- portion = input ("How many tubes do you want to buy? (One tube lasts for 5 uses)")
- if portion <= 0:
- cla
- 'You change your mind and feel flustered,'
- act 'Move away from the counter':gt 'gaptek', 'start'
- exit
- end
- if portion > 3:portion = 3 & 'Your aunt shakes her head wearily: "Wow <<$pcs_nickname>>, you little vixen! You really love this stuff huh? I''m sorry but I can only sell you three, I need to keep a few in stock for other customers too. We don''t want the whole town to wonder where their supply of lubricant went."'
- if portion * 145 <= money:
- lubri += portion * 5
- minut += 5
- money -= portion * 145
- galubriday = daystart
- '<center><img <<$set_imgh>> src="images/locations/shared/store/kassa.jpg"></center>'
- 'You pay for the lubricant and quickly put the tubes in your pocket, before anyone sees you buy them.'
- if npc_QW['A29'] < 3:gaogorod += portion
- else
- 'You can''t afford to buy the lubricant.'
- end
- act 'Move away from the counter':gt 'gaptek', 'start'
- end
- end
- end
- --- gaptek ---------------------------------
|