# stol !{change log 31 March, 2016 Added birth control control options to desk in Pavlovsk and "Bric-a-Brac drawer" } if $ARGS[0] = 'start': cla clr gs 'stat' 'Bric-a-brac drawer.' act 'Check birth control': gt 'stol', 'bc' if lubri > 0:'Lubricant, enough for <> time(s).' if krem > 0:'Sunblock, enough for <> more application(s).' if abonement > 0:'Fitness center subscription, valid for <> more visit(s)' if dildo > 0:'Realistic Dildo.' if mentats_have > 0: pl'Take neurobooster pill. Uses left: <>. Warning on the box says not to take more than one per day.' end if steroid_have > 0: pl'Take steroids. Uses left: <>.' end if aphrodisiac_have > 0: pl'Chew aphrodisiac gum. Uses left: <>.' end act 'Close the drawer': cla gt 'stol', 'fin' end if money > 0: act 'Put some money in the drawer': cla stolIN = input ("How much money you want to put in the desk drawer? (Your purse contains <> .)") if stolIN <= 0 or stolIN > money: !!'Not correct operation.' else stolmoney += stolIN money -= stolIN end gt 'stol', 'fin' end end if stolmoney > 0: act 'Take some money from the desk.': cla stolOUT = input ("How much money do you want to put in your purse? (There is <> here.)") if stolOUT <= 0 or stolOUT > stolmoney: !!'Not correct operation.' else stolmoney -= stolOUT money += stolOUT !!'You debited <> , now on your account <> .' end gt 'stol', 'fin' end end end if $ARGS[0] = 'fin': cla gt $loc, $metka end if $ARGS[0] = 'stolPar': gs'stat' '
> src="images/shared/home/bedroom/stol.jpg">
' 'You sat down at his desk.' act 'Check birth control': gt 'stol', 'bc' act 'Get up from the table':gt $loc, $metka if mentats_have > 0: pl'Take neurobooster pill. Uses left: <>. Warning on the box says not to take more than one per day.' end if steroid_have > 0: pl'Take steroids. Uses left: <>.' end if aphrodisiac_have > 0: pl'Chew aphrodisiac gum. Uses left: <>.' end if lernHome > 0: act 'Learning lessons': cls if lernHome <= 2: minut += 60*lernHome lernHome = 0 lern += 1 gs'stat' elseif lernHome > 2: minut += 60*2 lernHome = 0 gs'stat' end '
> src="images/locations/shared/apartment/homework.jpg">
' 'Sitting for a long time you learned yet they were able to learn.' act 'Get up from the table':gt $loc, $metka end end end if $ARGS[0] = 'bc': cls cla gs 'stat' gs 'din_bad' 'In the drawer of your desk, you store your birth control.' if prezik + prezikcount + preziksabo > 0: if preziktype = 2 or preziksabo > 0: 'You have <> normal, and <> sabotaged condoms.' elseif preziktype < 2 and preziksabo = 0: 'You have <> condoms.' END NL else pl 'You are out of condoms.' end if tabletki > 0 and pillsleft[ptype] > 0: 'You have <> unopened packages of birth control pills and <> pills left in your opened package.' elseif tabletki = 0 and pillsleft[ptype] > 0: 'You have <> birth control pills left.' elseif tabletki > 0 and pillsleft[ptype] = 0: 'You have <> unopened packages of birth control pills.' else 'You are out of birth control pills.' end act 'Close the drawer':gt $loc, $metka end --- stol ---------------------------------