# gaptek
$location_type = 'public_indoors'
if $ARGS[0] = 'start' or $message ! '':
CLOSE ALL
*clr & cla
$loc = 'gaptek'
$metka = 'start'
$menu_loc = 'gaptek'
$menu_arg = 'start'
menu_off = 0
if sound = 0:PLAY 'sound/shop.mp3',30
gs 'stat'
if gatabletkiday ! daystart: gap_bc_count = 0
if galubriday ! daystart: gap_lub_count = 0
if gapregday ! daystart: gap_preg_count = 0
if gaprezikday ! daystart: gap_condom_count = 0
if gabotsmlday ! daystart: gap_botsml_count = 0
if gabotmedday ! daystart: gap_botmed_count = 0
if (hour >= 14 and hour <= 20 and week < 6) or (hour >= 8 and hour < 12 and week >= 6):
gaptek_aunt_hours = 1
else
gaptek_aunt_hours = 0
end
'
Pharmacy'
if gaptek_aunt_hours = 1:
'
> src="images/locations/pavlovsk/pharmacy/apteka_aunt_1.jpg">'
else
if pav_pharma_day ! daystart: pav_pharma_day = daystart & pav_pharma_picrand = rand(1,4)
'
> src="images/locations/pavlovsk/pharmacy/apteka_worker_'+pav_pharma_picrand+'.jpg">'
end
*nl
if Olu_pay > 0 and gaptek_aunt_hours = 1:
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 counter': gt 'gaptek', 'start'
exit
end
act 'Leave the pharmacy':gt 'pavCommercial'
if $message ! '':
$message
killvar '$message'
'"Do you need anything else?"'
else
if StoryLine = 0 or gaptek_aunt_hours = 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
*nl
*pl ''
if gaptek_aunt_hours = 0:
if preziktype = 0:
*P FUNC ('$stock_item', 5, 'Condoms', 500, 'prezik', 'gaptek', 'start')
elseif preziktype = 1 or preziktype = 2:
*P FUNC ('$stock_item', 5, 'Condoms', 500, 'prezikcount', 'gaptek', 'start')
end
*P FUNC ('$stock_item', 1, 'Pregnancy test', 530, 'pregtest', 'gaptek', 'start')
*P FUNC ('$stock_item', 1, 'Birth control pills', 1870, 'tabletki', 'gaptek', 'start')
*P FUNC ('$stock_item', 10, 'Antibiotics', 580, 'lekarstvo', 'gaptek', 'start')
*P FUNC ('$stock_item', 30, 'Vitamins', 130, 'vitamin', 'gaptek', 'start')
*P FUNC ('$stock_item', 50, 'Painkillers', 435, 'painkiller', 'gaptek', 'start')
*P FUNC ('$stock_item', 10, 'Ointments for chafing', 372, 'mosolmaz', 'gaptek', 'start')
*P FUNC ('$stock_item', 1, 'Lubricant', 145, 'lubri', 'gaptek', 'start')
*P FUNC ('$stock_item', 30, 'Lip balm', 127, 'lipbalm', 'gaptek', 'start')
*P FUNC ('$stock_item', 12, 'Weight loss pill', 248, 'fatdel', 'gaptek', 'start')
*P FUNC ('$stock_item', 20, 'Tampons', 200, 'tampon', 'gaptek', 'start')
*P FUNC ('$stock_item', 20, 'Sanitary napkins', 100, 'sanpad', 'gaptek', 'start')
*P FUNC ('$single_stock_item', 1, 'Enema kit', 1250, 'klisma', 'gaptek', 'start')
*P FUNC ('$single_stock_item', 1, 'Breast pump', 2500, 'breastpump', 'gaptek', 'start')
*P FUNC ('$stock_item', 3, 'Breastmilk bottle S', 930, 'bpbottles', 'gaptek', 'start')
*P FUNC ('$stock_item', 2, 'Breastmilk bottle M', 930, 'bpbottlem', 'gaptek', 'start')
if pcs_knows_nipplecream = 1:
*P FUNC ('$stock_item', 20, 'Nipplebalm', 600, 'bpnipplebalm', 'gaptek', 'start')
end
*P FUNC ('$single_stock_item', 1, 'Antifungal medication', 1050, 'Kandidoz', 'gaptek', 'start')
*P '
'
elseif gaptek_aunt_hours = 1:
if preziktype = 0:
*P FUNC ('$stock_item', 5, 'Condoms', 500, 'prezik', 'gaptek', 'start', StoryLine, '(you have <>)','buy 5')
elseif preziktype = 1 or preziktype = 2:
*P FUNC ('$stock_item', 5, 'Condoms', 500, 'prezikcount', 'gaptek', 'start', StoryLine, '(you have <>)','buy 5')
end
*P FUNC ('$stock_item', 1, 'Pregnancy test', 530, 'pregtest', 'gaptek', 'start', StoryLine, '(you have <>)','buy 1')
*P FUNC ('$stock_item', 1, 'Birth control pills', 1870, 'tabletki', 'gaptek', 'start', StoryLine, '(you have <>)','buy 1')
*P FUNC ('$stock_item', 10, 'Antibiotics', 580, 'lekarstvo', 'gaptek', 'start')
*P FUNC ('$stock_item', 30, 'Vitamins', 130, 'vitamin', 'gaptek', 'start')
*P FUNC ('$stock_item', 50, 'Painkillers', 435, 'painkiller', 'gaptek', 'start')
*P FUNC ('$stock_item', 10, 'Ointments for chafing', 372, 'mosolmaz', 'gaptek', 'start')
*P FUNC ('$stock_item', 1, 'Lubricant', 145, 'lubri', 'gaptek', 'start', StoryLine, '(you have <>)','buy 1')
*P FUNC ('$stock_item', 30, 'Lip balm', 127, 'lipbalm', 'gaptek', 'start')
*P FUNC ('$stock_item', 12, 'Weight loss pill', 248, 'fatdel', 'gaptek', 'start')
*P FUNC ('$stock_item', 20, 'Tampons', 200, 'tampon', 'gaptek', 'start')
*P FUNC ('$stock_item', 20, 'Sanitary napkins', 100, 'sanpad', 'gaptek', 'start')
if klisma > 0:
*P FUNC ('$single_stock_item', 1, 'Enema kit', 1250, 'klisma', 'gaptek', 'start')
else
*P FUNC ('$single_stock_item', 1, 'Enema kit', 1250, 'klisma', 'gaptek', 'start', StoryLine, '(you have <>)','buy')
end
if breastpump > 0:
*P FUNC ('$single_stock_item', 1, 'Breast pump', 2500, 'breastpump', 'gaptek', 'start')
else
*P FUNC ('$single_stock_item', 1, 'Breast pump', 2500, 'breastpump', 'gaptek', 'start', StoryLine, '(you have <>)','buy')
end
*P FUNC ('$stock_item', 3, 'Breastmilk bottle S', 930, 'bpbottles', 'gaptek', 'start', StoryLine, '(you have <>)','buy')
*P FUNC ('$stock_item', 2, 'Breastmilk bottle M', 930, 'bpbottlem', 'gaptek', 'start', StoryLine, '(you have <>)','buy')
if pcs_knows_nipplecream = 1:
*P FUNC ('$stock_item', 20, 'Nipplebalm', 600, 'bpnipplebalm', 'gaptek', 'start')
end
if KandidNapr = 1: *P FUNC ('$single_stock_item', 1, 'Antifungal medication', 1050, 'Kandidoz', 'gaptek', 'start', StoryLine, '(you have 0)',''+iif(money >= 1050,'buy','')+'')
*P ''
if npc_QW['A29'] >= 2:
act 'Ask about the "garden"': gt 'gaptek', 'garden'
end
end
end
if $ARGS[0] = 'garden':
$loc = 'gaptek'
$metka = 'garden'
$menu_loc = 'gaptek'
$menu_arg = 'garden'
menu_off = 0
*clr & cla
gs 'stat'
'Pharmacy'
'
> src="images/locations/pavlovsk/pharmacy/apteka_aunt_1.jpg">'
*nl
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 <<$npc_nickname[''A29'']>> 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?"'
else
minut += rand(5, 15)
if gaprezikday ! daystart or gatabletkiday ! daystart or gabotmedday ! daystart or gabotsmlday ! daystart or gapregday ! daystart:
'You wait until the last customer leaves the pharmacy, and quickly dart over to the counter.'
'"Hi aunt Luda, my <<$npc_nickname[''A29'']>> needs a few more items for her garden."'
'"Your <<$npc_nickname[''A29'']>>, 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."'
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 or gabotmedday ! daystart or gabotsmlday ! daystart or gapregday ! 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.'
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 gabotmedday ! daystart or gabotsmlday ! daystart or gapregday ! 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.'
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
if $gardmess ! '':
$gardmess
killvar '$gardmess'
'"Do you need anything else?"'
end
*nl
*pl ''
if preziktype = 0:
*P FUNC ('$stock_item', 5, 'Condoms', 500, 'prezik', 'gaptek', 'garden', StoryLine, '(you have <>)',''+iif(money >= 500,'buy 5','')+'')
elseif preziktype = 1 or preziktype = 2:
*P FUNC ('$stock_item', 5, 'Condoms', 500, 'prezikcount', 'gaptek', 'garden', StoryLine, '(you have <>)',''+iif(money >= 500,'buy 5','')+'')
end
*P FUNC ('$stock_item', 1, 'Pregnancy test', 530, 'pregtest', 'gaptek', 'garden', StoryLine, '(you have <>)',''+iif(money >= 530,'buy 1','')+'')
*P FUNC ('$stock_item', 1, 'Birth control pills', 1870, 'tabletki', 'gaptek', 'garden', StoryLine, '(you have <>)',''+iif(money >= 1870,'buy 1','')+'')
*P FUNC ('$stock_item', 1, 'Lubricant', 145, 'lubri', 'gaptek', 'garden', StoryLine, '(you have <>)',''+iif(money >= 145,'buy 1','')+'')
if klisma > 0:
*P FUNC ('$single_stock_item', 1, 'Enema kit', 1250, 'klisma', 'gaptek', 'garden')
else
*P FUNC ('$single_stock_item', 1, 'Enema kit', 1250, 'klisma', 'gaptek', 'garden', StoryLine, '(you have <>)',''+iif(money >= 1250,'buy','')+'')
end
if breastpump > 0:
*P FUNC ('$single_stock_item', 1, 'Breast pump', 2500, 'breastpump', 'gaptek', 'garden')
else
*P FUNC ('$single_stock_item', 1, 'Breast pump', 2500, 'breastpump', 'gaptek', 'garden', StoryLine, '(you have <>)',''+iif(money >= 2500,'buy','')+'')
end
*P FUNC ('$stock_item', 3, 'Breastmilk bottle S', 930, 'bpbottles', 'gaptek', 'garden', StoryLine, '(you have <>)',''+iif(money >= 930,'buy','')+'')
*P FUNC ('$stock_item', 2, 'Breastmilk bottle M', 930, 'bpbottlem', 'gaptek', 'garden', StoryLine, '(you have <>)',''+iif(money >= 930,'buy','')+'')
*P '
'
act 'Move away from the counter':gt 'gaptek', 'start'
end
if $ARGS[0] = 'buy_condoms':
if gap_condom_count >= 2 and npc_QW['A29'] < 3 and gaprezikday = daystart:
$gardmess = 'You tell yourself: "Two packages should be enough". You shouldn''t buy too many at once, otherwise your aunt might get suspicious.'
*nl
gt 'gaptek', 'garden'
elseif gap_condom_count >= 5 and npc_QW['A29'] >= 3 and gaprezikday = daystart:
$gardmess = '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."'
*nl
gt 'gaptek', 'garden'
else
if preziktype = 0:
prezik += 5
elseif preziktype = 1 or preziktype = 2:
prezikcount += 5
end
money -= 500
gap_condom_count += 1
gaprezikday = daystart
gs 'stat'
if npc_QW['A29'] < 3:gaogorod += 5
$gardmess = 'You bought 5 Condoms.
You pay for the condoms and quickly put them in your pocket, before anyone sees you buy them.'
*nl
gt 'gaptek', 'garden'
end
end
if $ARGS[0] = 'buy_preg_test':
if gap_preg_count >= 1 and npc_QW['A29'] < 3 and gapregday = daystart:
$gardmess = 'It''s better if I don''t buy too many today, aunt Luda might get suspicious.'
*nl
gt 'gaptek', 'garden'
else
pregtest += 1
money -= 530
gap_preg_count += 1
gapregday = daystart
gs 'stat'
if npc_QW['A29'] < 3:gaogorod += 5
$gardmess = 'You bought 1 Pregnancy test.
You pay for the pregnancy tests and quickly put them in your pocket, before anyone sees you buy them.'
*nl
gt 'gaptek', 'garden'
end
end
if $ARGS[0] = 'buy_lube':
!! you can only buy lube here if your aunt arranged for it and you haven''t bought any today yet
if galubri = 1 and gap_lub_count >= 3 and galubriday = daystart:
$gardmess = '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."'
*nl
gt 'gaptek', 'garden'
else
lubri += 1
money -= 145
gap_lub_count += 1
galubriday = daystart
gs 'stat'
if npc_QW['A29'] < 3:gaogorod += 3
$gardmess = 'You bought 1 Lubricant.
You pay for the lubricant and quickly put the tubes in your pocket, before anyone sees you buy them.'
*nl
gt 'gaptek', 'garden'
end
end
if $ARGS[0] = 'buy_birth_control':
if gap_bc_count >= 1 and npc_QW['A29'] < 3 and gatabletkiday = daystart:
$gardmess = '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."'
*nl
gt 'gaptek', 'garden'
else
tabletki += 1
money -= 1870
gap_bc_count += 1
gatabletkiday = daystart
if npc_QW['A29'] < 3:gaogorod += 5
gs 'stat'
$gardmess = 'You bought 1 Birth control pills.
You pay for the birth control pills and quickly put the strips in your pocket, before anyone sees you buy them.'
*nl
gt 'gaptek', 'garden'
end
end
if $ARGS[0] = 'buy_enema':
klisma = 1
money -= 1250
$gardmess = 'You bought an Enema kit
You pay for the enema kit and quickly ask your aunt to put it in a paper bag, before the other customers see it.'
*nl
if npc_QW['A29'] < 3:gaogorod += 10
gt 'gaptek', 'garden'
end
if $ARGS[0] = 'buy_breast_pump':
breastpump = 1
money -= 2500
$gardmess = 'You bought a Breast pump
You quickly ask your aunt to put the breat pump in a paper bag, before anyone notices.'
*nl
gt 'gaptek', 'garden'
end
if $ARGS[0] = 'buy_bottle_sml':
if gap_botsml_count >= 1 and npc_QW['A29'] < 3 and gabotsmlday = daystart:
$gardmess = 'It''s better if I don''t buy too many today, aunt Luda might get suspicious.'
*nl
gt 'gaptek', 'garden'
else
bpbottles += 1
money -= 930
gap_botsml_count += 1
gabotsmlday = daystart
gs 'stat'
$gardmess = 'You bought 3 Small bottles.
You quickly hide the small bottles before anyone sees them.'
*nl
gt 'gaptek', 'garden'
end
end
if $ARGS[0] = 'buy_bottle_med':
if gap_botmed_count >= 1 and npc_QW['A29'] < 3 and gabotmedday = daystart:
$gardmess = 'It''s better if I don''t buy too many today, aunt Luda might get suspicious.'
*nl
gt 'gaptek', 'garden'
else
bpbottlem += 1
money -= 930
gap_botmed_count += 1
gabotmedday = daystart
gs 'stat'
$gardmess = 'You bought 2 Medium bottles.
You quickly hide the medium bottles before anyone notices.'
*nl
gt 'gaptek', 'garden'
end
end
if $ARGS[0] = 'buy_antifungal':
if Kandidoz >= 30:
money -= 1050
Kandidoz = 0
gs 'stat'
$gardmess = 'You bought 1 Antifungal medication.
You put the money on the counter and immediately open the package and swallow the tablet. A while later, you feel better.'
gt 'gaptek', 'start'
elseif Kandidoz < 30 and KandidozOnce > 0:
'You don''t need the medication right now. Your thrush is currently in remission, taking vitamins will ensure that it stays that way.'
else
msg 'You don''t need any antifungal medication right now.'
*nl
gt 'gaptek', 'start'
end
end
if $ARGS[0] = 'oops':
msg 'I better not buy this here, otherwise aunt will tell <<$npc_nickname[''A29'']>>!'
*nl
gt 'gaptek', 'start'
end
--- gaptek ---------------------------------