# shop
!! This is the supermarket, located in several places
!! Main entrance
!!2022/03/17
if $ARGS[0] = 'start':
$menu_loc = 'shop'
$menu_arg = 'start'
menu_off = 0
CLOSE ALL
$location_type = 'public_indoors'
gs 'themes', 'indoors'
if sound = 0:PLAY 'sound/shop.mp3',30
$shoplocation = 'main'
end
if $ARGS[0] = 'start' or $ARGS[0] = 'move': minut += 1
!! Main area
if $shoplocation = 'main':
*clr & cla
'
Supermarket'
'> src="images/locations/shared/store/shop.jpg">'
if hour < 8 or hour > 20:
'The supermarket is currently closed.'
if $loc = 'shop':
if $loc_bak = 'shop':
$loc = torgpred
else
$loc = $loc_bak
end
end
act 'Leave the store':minut += 3 & gt $loc
exit
end
'An ATM, from which you can withdraw money from your bank account, stands against a wall.'
'There is a branch of the communications giant MegaFon.'
'A Public notice board, where you can check various private and official advertisements, is sitting on a nearby wall.'
'
Most of the space in the supermarket is taken up by the grocery department, but the store has many smaller departments as well.'
'These include cosmetics, hardware, clothing and household appliances. Not far from the entrance is a counter selling ice cream.'
gs 'stat'
gs 'themes', 'indoors'
gs 'family_schedule'
!! The store in the town and in the altstart only
if $loc = 'pav_commercial':
if anyaloc = 7:
*nl
'Your sister Anya is sitting at the cash register.'
end
end
!! Store in the residential district
if $loc = 'city_residential':
if rand(1, 20) = 20:
if dimaQW = 0:
'A man is standing by the entrance, looking at you appreciatively.'
act 'Return the look':gt 'event', 'dima'
elseif dimaQW = 1:
'You notice Dima nearby and are frozen with fear. You want to run, but your legs won''t respond.'
'Your heart thumps in your chest, your vision narrows and you feel faint.'
act 'Pass out':gt 'event', 'scoreslut1'
else
'You meet the same Dima whose friend fucked and abused you. Dima grins confidently. "Hello there..."'
act 'Hello':
cla
'"Come with me. My wife''s away..." he says with a grin.'
gs 'willpower', 'sex', 'resist'
if will_cost <= pcs_willpwr:
act 'No (<> Willpower)':
gs 'willpower', 'pay', 'resist'
gt 'shop', 'start'
end
else
act 'No (<> Willpower)': '
You don''t have enough willpower to use this action.'
end
act 'I deserve this':
*clr & cla
if rand(1, 2) = 1:
cla
'Dima takes you to his house and orders you to lie across the sofa. You get into position and he calls you a bitch before he starts fucking you in the mouth.'
'> src="images/locations/city/residential/street/sex/gostdt2.jpg">'
'Dima finally finishes in your mouth. You obediently swallow and lick the remnants of sperm off his cock.'
gs 'arousal', 'bj', 10, 'sub', 'deepthroat', 'humiliation'
gs 'arousal', 'end'
gs 'cum_call', 'mouth_swallow', 'A169', 1
gs 'stat'
act 'Leave': minut += 3 & gt 'city_residential'
else
cla
gs 'pain', 6, 'asscheeks', 'slap'
spank += 1
'Dima brings you to his house and begins to kiss and undress you in the hall. Once you''re naked, he takes you to the bathroom.'
'He unscrews the shower head and shoves the hose in your ass. You feel the rush of water quickly filling you before Dima sits you on the toilet. After the rough enema, he bends you over and inserts his dick into your ass.'
'> src="images/locations/city/residential/street/sex/gostanal2.jpg">'
'He fucks and slaps your ass for a few minutes before he moans and you feel a warmth filling your ass.'
gs 'arousal', 'anal', 30, 'sub', 'rough', 'humiliation'
gs 'arousal', 'end'
gs 'cum_call', 'anus', 'A169', 1
gs 'stat'
act 'Leave': minut += 3 & gt 'city_residential'
end
end
end
end
end
end
'
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 = 'city_residential' and StreetShopTPday ! daystart) or ($loc = 'city_industrial' and nordShopTPday ! daystart) or ($loc = 'torgcentr' and downShopTPday ! daystart):
act 'Promote products':
*clr & cla
if $loc = 'city_residential':StreetShopTPday = daystart
if $loc = 'city_industrial':nordShopTPday = daystart
if $loc = 'torgcentr':downShopTPday = daystart
mtprand = rand(40, 130)
minut += mtprand
TorgPredZ -= 1
TorgPredZV += 1
gs 'stat'
'> src="images/locations/shared/store/shop.jpg">'
'You promote the products for quite a while, and when you finally finish, you go to the cashier and tell them that they sold.'
act 'Leave':gt 'shop', 'start'
end
end
end
act 'Leave the store': minut += 3 & gt $loc
exit
end
if $shoplocation = 'ATM':
'ATM'
'> src="images/locations/shared/store/atm.jpg">'
if bankAccount = 1:
if karta >= 0:
'You have <> ₽ in your account.'
'You have an overdraft limit of <>!'
else
'You are overdrawn by <<-1 * karta>> ₽.'
'You have a remaining credit limit of <>!'
end
'
ATM Deposit Fee: 100 ₽'
if atmDeposit = 0:
act 'Deposit money':
cla
minut += 5
kartaINATM = input ("How much money do you want to deposit into the account? Note: A service charge of 100 ₽ will be deducted from the amount deposited.")
if kartaINATM < 100 or kartaINATM > money:
'This is not a valid input.'
else
atmDeposit += kartaINATM - 100
atmDepositDate = daystart + 2
money -= kartaINATM
'
You deposit <> ₽ into your account.'
'It will take 2 days for funds to be available. Your new balance will be <> ₽.'
end
gs 'stat'
act 'Move away': gt 'shop'
end
else
'
★ Processing deposit of <> ₽ in <> days.'
end
if karta + bankDebtLimit > 0:
act 'Withdraw money from the ATM':
cla
minut += 5
kartaOUT = input ("How much money do you want to withdraw?")
if kartaOUT <= 0 or kartaOUT > karta + bankDebtLimit:
'
Invalid operation.'
else
karta -= kartaOUT
money += kartaOUT
if karta > 0:
'
You withdraw <> ₽. You have <> ₽ left in your bank account.'
elseif karta = 0:
'
You withdraw <> ₽. You have no money left in your bank account.'
else
'
You withdraw <> ₽. Your bank account is overdrawn by <> ₽.'
end
end
gs 'stat'
act 'Move away': gt 'shop'
end
else
'You have maxed out your overdraft.'
end
else
'You don''t have a bank account yet!'
end
act 'Move away':gt 'shop', 'start'
end
if $shoplocation = 'grocery':
*clr & cla
'Grocery'
'> src="images/locations/shared/store/shop1.jpg">'
if hour < 8 or hour > 20:
'The grocery department is currently closed.'
act 'Leave':gt 'shop', 'start'
exit
end
!! output from purchase
if $message ! '':
''+$message+''
killvar '$message'
else
''
end
*pl ''
*p func ('$stock_item', 1, 'Regular food', 80, 'eda', $curloc)
*p func ('$stock_item', 10, 'Regular food', 800, 'eda', $curloc)
*p func ('$stock_item', 1, 'Diet food', 300, 'edaD', $curloc)
*p func ('$stock_item', 10, 'Diet food', 3000, 'edaD', $curloc)
*p func ('$stock_item', 10, 'Tea biscuits', 400, 'pranik', $curloc)
*p func ('$single_stock_item', 1, 'Bottle of water', 100, 'bottle', $curloc, '', iif(bag > 0, 0, 1), 'You need a handbag')
*p func ('$single_stock_item', 1, 'Sandwich', 100, 'buterbrod', $curloc, '', iif(bag > 0, 0, 1), 'You need a handbag')
*p func ('$single_stock_item', 1, 'Cheap Bottle of wine', 200, 'wine', $curloc, '', iif(bag > 0, 0, 1), 'You need a handbag')
*p '
'
gs 'stat'
gs 'themes', 'indoors'
act 'Leave the grocery department':gt 'shop', 'start'
act 'Go to the pet aisle':gt 'shop', 'dog_items'
end
if $ARGS[0] = 'dog_items':
*clr & cla
minut += 1
menu_off = 1
$location_type = 'public_indoors'
gs 'stat'
'> src="images/characters/shared/rex/pet_isle.jpg">'
'You''re currently in the pet aisle, where you can buy food, treats and other things for your dog.'
act 'Leave': gt 'shop', 'start'
if curr_home ! 2:
act 'Buy dog food':
*clr & cla
minut += 1
gs 'stat'
'> src="images/characters/shared/rex/dog_food.jpg">'
'The store sells dog food for 600 ₽. Inside each pack is enough food for 20 meals. You have <>.'
if money >= 600:
act 'Buy enough for 20 meals (600 ₽, pay cash)':
money -= 600
objects['dog_food'] += 20
gt 'shop', 'dog_items'
end
else
'
You don''t have enough money to buy food.'
end
if money >= 1200:
act 'Buy enough for 40 meals (1200 ₽, pay cash)':
money -= 1200
objects['dog_food'] += 40
gt 'shop', 'dog_items'
end
end
if money >= 2400:
act 'Buy enough for 80 meals (2400 ₽, pay cash)':
money -= 2400
objects['dog_food'] += 80
gt 'shop', 'dog_items'
end
end
end
else
'
You don''t need to buy dog food. Your parents pay for it.'
end
act 'Buy some dog treats':
*clr & cla
minut += 1
gs 'stat'
'> src="images/characters/shared/rex/treat_'+rand(0,2)+'.jpg">'
'The store sells dog treats for 300 ₽. Inside each pack are 20 treats. You have <>.'
act 'Go back': gt 'shop', 'dog_items'
if money >= 300:
act 'Buy a pack (300 ₽, pay cash)':
money -= 300
objects['treats'] += 20
gt 'shop', 'dog_items'
end
else
'You don''t have enough money to buy a pack.'
end
end
act 'Buy a chew toy for your dog':
*clr & cla
minut += 1
gs 'stat'
'> src="images/characters/shared/rex/chew.jpg">'
'The store sells a chew toy for 800 ₽.'
act 'Go back': gt 'shop', 'dog_items'
if money >= 800:
act 'Buy one (800 ₽, pay cash)':
money -= 800
objects['chew'] += 10
gt 'shop', 'dog_items'
end
else
'You don''t have enough money to buy it.'
end
end
if objects['toys'] = 0:
act 'Buy fetch balls':
*clr & cla
minut += 1
gs 'stat'
'> src="images/characters/shared/rex/balls.jpg">'
'The store sells rubber balls for 900 ₽ that you can use to play fetch with your dog.'
act 'Go back': gt 'shop', 'dog_items'
if money >= 900:
act 'Buy them (900 ₽, pay cash)':
money -= 900
objects['toys'] = 1
gt 'shop', 'dog_items'
end
else
'You don''t have enough money to buy them.'
end
end
end
end
if $shoplocation= 'cosmetics':
*clr & cla
'Cosmetics Department'
'> src="images/locations/shared/store/shop2.jpg">'
if hour < 8 or hour > 20:
'The cosmetics department is currently closed.'
act 'Leave':gt 'shop', 'start'
exit
end
!! output from purchase
if $message ! '':
''+$message+''
killvar '$message'
else
''
end
*pl ''
*p func ('$stock_item', 50, 'Cosmetics', 1300, 'kosmetica', $curloc)
*p func ('$stock_item', 30, 'Moisturizer', 2100, 'item_moisturizer', $curloc)
*P func ('$stock_item', 30, 'Lip balm', 127, 'lipbalm', $curloc)
*p func ('$stock_item', 10, 'Plain false lashes', 1500, 'falselashesplain',$curloc)
*p func ('$stock_item', 3, 'Mink false lashes', 900, 'falselashesmink',$curloc)
*p func ('$stock_item', 25, 'Razors (number of shaves)', 350, 'stanok', $curloc)
*p func ('$stock_item', 20, 'Sunblock', 500, 'krem', $curloc)
*p func ('$stock_item', 40, 'Deodorant', 200, 'deodorant', $curloc)
*p func ('$stock_item', 20, 'Tampons', 200, 'tampon', $curloc)
*p func ('$stock_item', 20, 'Sanitary napkins', 100, 'sanpad', $curloc)
*p func ('$stock_item', 30, 'Shampoo', 250, 'shampoo', $curloc)
*p func ('$stock_item', 10, 'Hair scrunchies', 80, 'hscrunch', $curloc)
*p func ('$stock_item', 12, 'Hair pins', 100, 'hpingrip', $curloc)
*p func ('$stock_item', 10, 'Wipes', 50, 'salfetka', $curloc, '', iif(bag > 0, 0, 1), 'You need a handbag')
*p func ('$stock_item', 10, 'Portable makeup', 700, 'kosmetitka', $curloc, '', iif(bag > 0, 0, 1), 'You need a handbag')
*p func ('$stock_item', 20, 'Mouthwash', 150, 'mouthwash', $curloc, '', iif(bag > 0, 0, 1), 'You need a handbag')
*p func ('$single_stock_item', 1, 'Comb', 150, 'greben', $curloc, '', iif(bag > 0, 0, 1), 'You need a handbag')
*p func ('$single_stock_item', 1, 'Compact Mirror', 1150, 'compact_mirror', $curloc, '', iif(bag > 0, 0, 1), 'You need a handbag')
*p '
'
gs 'stat'
gs 'themes', 'indoors'
act 'Leave the cosmetics department': gt 'shop', 'start'
if $loc = 'torgcentr': gs 'shoplifting', 'city'
end
if $shoplocation = 'hardware':
*clr & cla
'Division of household goods'
'> src="images/locations/shared/store/shop3.jpg">'
if hour < 8 or hour > 20:
'The hardware department is currently closed.'
act 'Leave':gt 'shop', 'start'
exit
end
!! output from purchase
if $message ! '':
''+$message+''
killvar '$message'
else
''
end
*pl ''
*p func ('$stock_item', 20, 'Dishwashing detergent', 500, 'fairy', $curloc)
*p func ('$stock_item', 30, 'Clothing detergent', 500, 'poroshok', $curloc)
*p func ('$stock_item', 5, 'Plates', 450, 'cltarelka', $curloc)
*p func ('$stock_item', 5, 'Fabric', 250, 'tkan', $curloc)
*p func ('$single_stock_item', 1, 'Sewing kit', 500, 'sewing_kit', $curloc)
*p func ('$single_stock_item', 1, 'Umbrella', 1000, 'umbrella', $curloc, '', iif(bag > 0, 0, 1), 'You need a purse')
*p '
'
*nl
gs 'stat'
gs 'themes', 'indoors'
act 'Leave the hardware department':gt 'shop', 'start'
'You see fabric suitable for sewing on the counter. It''s sold in large squares costing 50 ₽ each. You have <> squares of fabric.'
if pod_whore_countQW > 15 and paint_blue = 0 and money >= 200:
act 'Buy paint to cover graffiti (200 ₽)':
money -= 200
paint_blue = 1
gt 'shop', 'You bought a tin of paint.'
end
end
end
if $shoplocation = 'clothing':
*clr & cla
'Department of Women''s Clothing'
'> src="images/locations/shared/store/shop4.jpg">'
'This department only sells cheap underwear and ice skates.'
if hour < 8 or hour > 20:
'The women''s clothing department is currently closed.'
act 'Leave':gt 'shop', 'start'
exit
else
if $message ! '':
''+$message+''
killvar '$message'
else
''
end
'Women''s panties and bras 300₽ each'
gs 'stat'
gs 'themes', 'indoors'
act 'Leave the women''s clothing department':gt 'shop', 'start'
act 'View underwear': $shoplocation = 'underwear' & gt 'shop'
if konki!1:
'A pair of ice-skates are available for 3000 ₽.'
if money >= 3000:
act 'Buy ice skates (3000 ₽)':
*clr & cla
money -= 3000
konki = 1
'> src="images/locations/pavlovsk/lake/konki_shop.jpg">'
'You buy a pair of ice skates.'
act 'Move away from the counter':gt'shop'
end
end
end
end
end
!! Women''s clothing underwear viewer
if $shoplocation = 'underwear':
*clr & cla
if $loc ! 'shop': $loc_bak = $loc
$loc = 'shop'
'Click on an item to view details'
if cheap_panties[7] = 0:*p ''
if cheap_panties[9] = 0:*p ''
if cheap_panties[12] = 0:*p ''
if cheap_panties[21] = 0:*p ''
if cheap_panties[37] = 0:*p ''
*nl
if cheap_bras[11] = 0:*p ''
if cheap_bras[12] = 0:*p ''
if cheap_bras[16] = 0:*p ''
if cheap_bras[18] = 0:*p ''
act 'Return':
$loc = $loc_bak
$shoplocation = 'clothing'
gt 'shop'
end
end
!! Household appliances
if $shoplocation = 'tech':
*clr & cla
'Department of household appliances'
'> src="images/locations/shared/store/shop5.jpg">'
if hour < 8 or hour > 20:
'The household appliance department is currently closed.'
act 'Leave':gt 'shop', 'start'
exit
end
if $message ! '':
''+$message+''
killvar '$message'
else
''
end
*pl ''
*p func ('$single_stock_item', 1, 'Small TV', 15000, 'TV', $curloc, '', iif(home_owned[1] > 0 or home_owned[3] > 0 or home_owned[4] = 1 or home_owned[5] > 2, 0, 1), 'You need your own home')
*p func ('$single_stock_item', 2, 'Large Plasma TV', 30000, 'TV', $curloc, '', iif(home_owned[1] > 0 or home_owned[3] > 0 or home_owned[4] = 1 or home_owned[5] > 2, 0, 1), 'You need your own home')
*p func ('$single_stock_item', 1, 'Computer', 40000, 'komp', $curloc)
*p func ('$single_stock_item', 1, 'Computer game Dead Sunset', 800, 'GameCD2', $curloc, '', iif(komp > 0, 0, 1), 'You need a computer')
*p func ('$single_stock_item', 1, 'Dishwasher', 28000, 'posudomashina', $curloc, '', iif(home_owned[1] > 0 or home_owned[3] > 0 or home_owned[4] = 1 or home_owned[5] > 2, 0, 1), 'You need your own home')
*p func ('$single_stock_item', 1, 'Washing machine', 30000, 'stiralka', $curloc, '', iif(home_owned[1] > 0 or home_owned[3] > 0 or home_owned[4] = 1 or home_owned[5] > 2, 0, 1), 'You need your own home')
*p func ('$single_stock_item', 1, 'Camera', 20000, 'zenit', $curloc)
*p func ('$single_stock_item', 1, 'Mini camera disguised as a cigarette pack', 100000, 'minifoto', $curloc)
*p func ('$single_stock_item', 1, 'Webcam', 2000, 'webcamera', $curloc, '', iif((npc_rel['A11']>=30 and webcamera = 0) or (camwhore = 1 and webcamera = 0), 0, 1), 'You have no use for this')
*p '
'
gs 'stat'
gs 'themes', 'indoors'
act 'Leave the appliance department':gt 'shop', 'start'
end
!! Ice cream counter
if $shoplocation = 'icecream':
'> src="images/shared/store/icecreamcounter.jpg">'
'Ice cream is available for 50 ₽.'
act 'Move away from the counter':gt 'shop', 'start'
if money >= 50:
act 'Buy ice cream':
*clr & cla
money -= 50
fat += 3
pcs_mood += 50
pcs_hydra += 60
pcs_energy += 30
cumspclnt = 2
gs 'cum_cleanup'
pcs_breath = 0
gs 'stat'
'> src="images/shared/food/icecreem.jpg">'
'You buy some ice cream and eat it.'
act 'Move away from the counter':gt 'shop', 'start'
end
end
end
if $shoplocation = 'megafon':
*clr & cla
minut+=3
gs'stat'
i = 0
'MegaFon shop'
''
*pl ''
:loopcard
if i = 0:
n = 5
price = 60
$buy_link = '= 60, ' href="exec: gs ''$buy_item'', <>, ''hours of internet access'', <>, ''internet'', ''shop''">buy ','>buy ') +''
elseif i = 1:
n = 10
price = 115
$buy_link = '= 115, ' href="exec: gs ''$buy_item'', <>, ''hours of internet access'', <>, ''internet'', ''shop''">buy ','>buy ') +''
elseif i = 2:
n = 20
price = 220
$buy_link = '= 220, ' href="exec: gs ''$buy_item'', <>, ''hours of internet access'', <>, ''internet'', ''shop''">buy ','>buy ') +''
elseif i = 3:
n = 50
price = 520
$buy_link = '= 520, ' href="exec: gs ''$buy_item'', <>, ''hours of internet access'', <>, ''internet'', ''shop''">buy ','>buy ') +''
end
i += 1
'<> hour internet card | (you have <> hours of internet access) | <<$buy_link>> | for <> ₽ |
'
if i < 4:
jump 'loopcard'
end
'
'
act 'Return to the supermarket':gt'shop','start'
if money > 0:
act 'Put credit in your phone':
cla
set minut = minut + 5
obmennik = input ("How much ₽ do you want to add?")
if obmennik <= 0:
'
Invalid amount.'
act 'Leave':gt'shop','start'
else
if money < obmennik:
'
You do not have <> ₽.'
act 'Leave':gt'shop','start'
end
if money >= obmennik:
set balans = balans + obmennik
set money = money - obmennik
clr
gs'stat'
'
You add <> ₽ worth of credit to your phone account.'
act 'Leave':gt'shop','start'
end
end
end
end
end
if $shoplocation = 'Anya':
cla
'> src="images/characters/pavlovsk/resident/anya/anyabusywork.jpg">'
gs 'sister_chat', 'checks'
'"Don''t disturb me at work, <<$pcs_nickname>>! Can''t you see that I have customers?""'
act 'Move away':gt'shop','start'
end
--- shop ---------------------------------