# pharmacy $regular_items = { act 'Buy fat burners (1, 500 rubles) < 0, ''[left:'' + fatdel + '']'', '''')>>': if money >= 1500: cla *clr set fatdel += 1 set money -= 1500 '
' 'You bought a fat burning capsule and paid the money to the cashier.' else 'You do not have enough money.' end act 'Move away from the counter':gt 'pharmacy', 'start' end act 'Buy medicine (500 rubles) < 0, ''[left:'' + lekarstvo + '']'', '''')>>': cla *clr portion = input ("How many packages you want to buy?") if portion * 500 <= money: set lekarstvo+= portion * 10 set money -= portion * 500 '
' 'You bought drugs and paid the money to the cashier.' else 'You do not have enough money.' end act 'Move away from the counter':gt 'pharmacy', 'start' end act 'Buy vitamins (500 rubles) < 0, ''[left:'' + vitamin + '']'', '''')>>': cla *clr portion = input ("How many packages you want to buy?") if portion * 500 <= money: set vitamin+= portion * 20 set money -= portion * 500 '
' 'You bought vitamins and paid the money to the cashier.' else 'You do not have enough money.' end act 'Move away from the counter':gt 'pharmacy', 'start' end act 'Buy moisturizing lip balm (1,000 rubles) < 0, ''[left:'' + lipbalm + '']'', '''')>>': if money >= 1000: cla *clr set lipbalm+= 25 set money -= 1000 '
' 'You bought some lip balm and paid the money to the cashier.' else 'You do not have enough money.' end act 'Move away from the counter':gt 'pharmacy', 'start' end act 'Buy ointment for corns (600 rubles) < 0, ''[left:'' + mosolmaz + '']'', '''')>>': if money >= 600: cla *clr set money -= 600 mosolmaz += 10 '
' 'You bought tablets and paid the money to the cashier.' else 'You do not have enough money.' end act 'Move away from the counter':gt 'pharmacy', 'start' end if money >= 1500 and KandidNapr = 1: act 'Buy pills from yeast (1,500 rubles)': cla *clr set money -= 1500 Kandidoz = 0 '
' 'You bought tablets and paid the money to the cashier.' 'Immediately about cash you drank tablet.' act 'Move away from the counter':gt 'pharmacy', 'start' end end } if $ARGS[0] = 'start': cla *clr set minut += 5 '
Pharmacy
' *nl '
' clr gs 'stat' gs 'time' act 'Buy condoms (100 rubles) < 0, ''[left:'' + prezik + '']'', '''')>>': cla *clr portion = input ("How many packages you want to buy?") if portion * 100 <= money: set prezik += portion * 5 set money -= portion * 100 '
' 'You bought condoms and paid the money to the cashier.' else 'You do not have enough money.' end act 'Move away from the counter':gt 'pharmacy', 'start' end act 'Buy birth control pills (500 rubles) < 0, ''[left:'' + tabletki + '']'', '''')>>': cla *clr portion = input ("How many packages you want to buy?") if portion * 500 <= money: set tabletki += portion * 28 set money -= portion * 500 '
' 'You bought the pill and get paid in cash.' else 'You do not have enough money.' end act 'Move away from the counter':gt 'pharmacy', 'start' end if klisma = 0: act 'Buy enema (500 rubles)': if money >= 500: cla *clr set klisma = 1 set money -= 500 '
' 'You bought an enema and paid the money to the cashier.' else 'You do not have enough money.' end act 'Move away from the counter':gt 'pharmacy', 'start' end end dynamic $regular_items end act 'Quit':gt $loc --- pharmacy ---------------------------------