123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- # 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 <<lubri>> time(s).'
- if krem > 0:'Sunblock, enough for <<krem>> more application(s).'
- if abonement > 0:'Fitness center subscription, valid for <<abonement>> more visit(s)'
- if dildo > 0:'Realistic Dildo.'
- 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 <<money>> <b>₽</b>.)")
- 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 <<stolmoney>> <b>₽</b> here.)")
- if stolOUT <= 0 or stolOUT > stolmoney:
- !!'Not correct operation.'
- else
- stolmoney -= stolOUT
- money += stolOUT
- !!'You debited <<kartaOUT>> <b>₽</b>, now on your account <<karta>> <b>₽</b>.'
- end
- gt 'stol', 'fin'
- end
- end
- end
- if $ARGS[0] = 'fin':
- cla
- gt $locM, $metkaM
- end
- if $ARGS[0] = 'stolPar':
- gs'stat'
- '<center><img src="images/pics/stol.jpg"></center>'
- 'You sat down at his desk.'
- act 'Check birth control': gt 'stol', 'bc'
- act 'Get up from the table':gt $locM, $metkaM
- 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
- '<center><img src="images/pic/homework.jpg"></center>'
- 'Sitting for a long time you learned yet they were able to learn.'
- act 'Get up from the table':gt $locM, $metkaM
- 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 <<iif(preziktype = 2, prezikcount, prezikcount+prezik)>> normal, and <<iif(preziktype = 2, prezik+preziksabo, preziksabo)>> sabotaged <a href="exec:dynamic $din_Table_Condom_Menu"><b>condoms.</b></a>'
- elseif preziktype < 2 and preziksabo = 0:
- 'You have <<prezik+prezikcount>> <a href="exec:dynamic $din_Table_Condom_Menu"><b>condoms.</b></a>'
- END
- NL
- else
- pl 'You are out of condoms.'
- end
- if tabletki > 0:
- 'You have <<tabletki>> <a href="exec:*clr & dynamic $d_tabletkiedt">birth control pills.</b></a>'
- else
- 'You are out of birth control pills.'
- end
- act 'Close the drawer':gt $locM, $metkaM
- end
- --- stol ---------------------------------
|