stol.qsrc 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. # stol
  2. if $ARGS[0] = 'start':
  3. *clr & cla
  4. menu_off = 1
  5. '<center><h1>Desk</h1></center>'
  6. '<center><img <<$set_imgh>> src="images/shared/home/bedroom/stol.jpg"></center>'
  7. *nl
  8. gs 'stat'
  9. 'Bric-a-brac drawer.'
  10. if lubri > 0:'Lubricant, enough for <<lubri>> time(s).'
  11. if krem > 0:'Sunblock, enough for <<krem>> more application(s).'
  12. if abonement > 0:'Fitness center subscription, valid for <<abonement>> more visit(s)'
  13. if dildo > 0:'Realistic Dildo.'
  14. if mentats_have > 0:
  15. '<a href="exec:dynamic $use_mentats & gt ''stol'', ''start''"><b>Take neurobooster pill.</b></a> Uses left: <<mentats_have>>. Warning on the box says not to take more than one per day.'
  16. end
  17. if steroid_have > 0:
  18. '<a href="exec:dynamic $use_steroids & gt ''stol'', ''start''"><b>Take steroids.</b></a> Uses left: <<steroid_have>>.'
  19. end
  20. if aphrodisiac_have > 0:
  21. '<a href="exec:dynamic $use_aphrodisiac & gt ''stol'', ''start''"><b>Chew aphrodisiac gum.</b></a> Uses left: <<aphrodisiac_have>>.'
  22. end
  23. act 'Close the drawer': gt $loc, $metka
  24. act 'Check birth control': gt 'stol', 'bc'
  25. if siga > 0:
  26. act 'Hide some cigarettes in your drawer':
  27. cla
  28. cigIN = input ("How many cigarettes do you want to hide in your drawer? (Your purse contains <<siga>> cigarettes.)")
  29. if cigIN <= 0 or cigIN > siga:
  30. 'You can''t put this amount into the drawer.'
  31. else
  32. stolcigarettes += cigIN
  33. siga -= cigIN
  34. end
  35. gt 'stol', 'start'
  36. end
  37. end
  38. if stolcigarettes > 0:
  39. act 'Take some cigarettes from your drawer':
  40. cla
  41. cigOUT = input ("How many cigarettes do you want to put in your purse? (There are <<stolcigarettes>> cigarettes here.)")
  42. if cigOUT <= 0 or cigOUT > stolcigarettes:
  43. 'You can''t take this amount from your drawer.'
  44. else
  45. stolcigarettes -= cigOUT
  46. siga += cigOUT
  47. end
  48. gt 'stol', 'start'
  49. end
  50. end
  51. if money > 0:
  52. act 'Put some money in the drawer':
  53. cla
  54. stolIN = input ("How much money you want to put in the desk drawer? (Your purse contains <<money>> <b>₽</b>.)")
  55. if stolIN <= 0 or stolIN > money:
  56. !!'Not correct operation.'
  57. else
  58. stolmoney += stolIN
  59. money -= stolIN
  60. end
  61. gt 'stol', 'start'
  62. end
  63. end
  64. if stolmoney > 0:
  65. act 'Take some money from the desk.':
  66. cla
  67. stolOUT = input ("How much money do you want to put in your purse? (There is <<stolmoney>> <b>₽</b> here.)")
  68. if stolOUT <= 0 or stolOUT > stolmoney:
  69. !!'Not correct operation.'
  70. else
  71. stolmoney -= stolOUT
  72. money += stolOUT
  73. !!'You debited <<kartaOUT>> <b>₽</b>, now on your account <<karta>> <b>₽</b>.'
  74. end
  75. gt 'stol', 'start'
  76. end
  77. end
  78. end
  79. if $ARGS[0] = 'stolPar':
  80. *clr & cla
  81. menu_off = 1
  82. gs'stat'
  83. '<center><h1>Desk</h1></center>'
  84. '<center><img <<$set_imgh>> src="images/shared/home/bedroom/stol.jpg"></center>'
  85. *nl
  86. 'You sit down at your desk.'
  87. act 'Get up':gt $loc, $metka
  88. act 'Check your birth control': gt 'stol', 'bc'
  89. if mentats_have > 0: '<a href="exec:dynamic $use_mentats & gt ''stol'', ''stolPar''"><b>Take neurobooster pill.</b></a> Uses left: <<mentats_have>>. Warning on the box says not to take more than one per day.'
  90. if steroid_have > 0: '<a href="exec:dynamic $use_steroids & gt ''stol'', ''stolPar''"><b>Take steroids.</b></a> Uses left: <<steroid_have>>.'
  91. if aphrodisiac_have > 0: '<a href="exec:dynamic $use_aphrodisiac & gt ''stol'', ''stolPar''"><b>Chew aphrodisiac gum.</b></a> Uses left: <<aphrodisiac_have>>.'
  92. if lernHome > 0:
  93. '<br>You have to do homework for school. Finishing everything will take <<lernHome>> hours.'
  94. act 'Do your homework (1 hour)':
  95. cla & *clr
  96. '<center><img <<$set_imgh>> src="images/locations/shared/apartment/homework.jpg"></center>'
  97. minut += 60
  98. lernHome -= 1
  99. lern += 1
  100. 'It took you one hour to '+iif(lernHome = 0, 'complete', 'do a part of')+' your homework.'
  101. gs'stat'
  102. act 'Continue':gt 'stol', 'stolPar'
  103. end
  104. end
  105. if lernHome > 1:
  106. act 'Finish all of your homework (<<lernHome>> hours)':
  107. cla & *clr
  108. '<center><img <<$set_imgh>> src="images/locations/shared/apartment/homework.jpg"></center>'
  109. minut += 60 * lernHome
  110. lern += 1 + lernHome/2
  111. 'It took you <<lernHome>> hours to complete your homework.'
  112. lernHome = 0
  113. gs'stat'
  114. act 'Continue':gt 'stol', 'stolPar'
  115. end
  116. end
  117. !{
  118. !! use gs 'boyStat', 'D<<strapnumber>>' to recall which dildo is attached?
  119. if strapon = 1:
  120. if dildo + middildo + largedildo + bigdildo + extradildo + superdildo + maddildo > 1:
  121. act 'Check out your strapon harness':
  122. *clr
  123. '<center><h1>Desk</h1></center>'
  124. '<center><img <<$set_imgh>> src="images/shared/home/bedroom/stol.jpg"></center>'
  125. *nl
  126. if strapnumber = 0:
  127. 'Your strapon harness doesn''t have a dildo attached to it.'
  128. elseif strapnumber = 1:
  129. 'Your 10cm dildo is attached to your strapon harness.'
  130. elseif strapnumber = 2:
  131. 'Your 15cm dildo is attached to your strapon harness.'
  132. elseif strapnumber = 3:
  133. 'Your 20cm dildo is attached to your strapon harness.'
  134. elseif strapnumber = 4:
  135. 'Your 25cm dildo is attached to your strapon harness.'
  136. elseif strapnumber = 5:
  137. 'Your 30cm dildo is attached to your strapon harness.'
  138. elseif strapnumber = 6:
  139. 'Your 35cm dildo is attached to your strapon harness.'
  140. elseif strapnumber = 7:
  141. 'Your 40cm dildo is attached to your strapon harness.'
  142. end
  143. *nl
  144. if dildo = 1: '<a href="exec:strapnumber = 1 & gt ''stol'', ''stolPar''">Attach</a> your 10cm long dildo.'
  145. if middildo = 1: '<a href="exec:strapnumber = 2 & gt ''stol'', ''stolPar''">Attach</a> your 15cm long dildo.'
  146. if largedildo = 1: '<a href="exec:strapnumber = 3 & gt ''stol'', ''stolPar''">Attach</a> your 20cm long dildo.'
  147. if bigdildo = 1: '<a href="exec:strapnumber = 4 & gt ''stol'', ''stolPar''">Attach</a> your 25cm long dildo.'
  148. if extradildo = 1: '<a href="exec:strapnumber = 5 & gt ''stol'', ''stolPar''">Attach</a> your 30cm long dildo.'
  149. if superdildo = 1: '<a href="exec:strapnumber = 6 & gt ''stol'', ''stolPar''">Attach</a> your 35cm long dildo.'
  150. if maddildo = 1: '<a href="exec:strapnumber = 7 & gt ''stol'', ''stolPar''">Attach</a> your 40cm long dildo.'
  151. end
  152. else
  153. act 'Check out your strapon harness':
  154. 'You don''t have any dildos to attach to your strapon harness'
  155. act 'Put the harness back': gt 'stol', 'stolPar'
  156. end
  157. end
  158. end
  159. }
  160. if siga > 0:
  161. act 'Hide some cigarettes in your drawer':
  162. cla
  163. cigIN = input ("How many cigarettes do you want to hide in your drawer? (Your purse contains <<siga>> cigarettes.)")
  164. if cigIN <= 0 or cigIN > siga:
  165. 'You can''t put this amount into the drawer.'
  166. else
  167. stolcigarettes += cigIN
  168. siga -= cigIN
  169. end
  170. gt 'stol', 'stolPar'
  171. end
  172. end
  173. if stolcigarettes > 0:
  174. act 'Take some cigarettes from your drawer':
  175. cla
  176. cigOUT = input ("How many cigarettes do you want to put in your purse? (There are <<stolcigarettes>> cigarettes here.)")
  177. if cigOUT <= 0 or cigOUT > stolcigarettes:
  178. 'You can''t take this amount from your drawer.'
  179. else
  180. stolcigarettes -= cigOUT
  181. siga += cigOUT
  182. end
  183. gt 'stol', 'stolPar'
  184. end
  185. end
  186. if money > 0:
  187. act 'Hide some money in your drawer':
  188. cla
  189. stolIN = input ("How much money you want to hide in your drawer? (Your purse contains <<money>> <b>₽</b>.)")
  190. if stolIN <= 0 or stolIN > money:
  191. 'You can''t put this amount into the drawer.'
  192. else
  193. stolmoney += stolIN
  194. money -= stolIN
  195. end
  196. gt 'stol', 'stolPar'
  197. end
  198. end
  199. if stolmoney > 0:
  200. act 'Take some money from your drawer':
  201. cla
  202. stolOUT = input ("How much money do you want to put in your purse? (There is <<stolmoney>> <b>₽</b> here.)")
  203. if stolOUT <= 0 or stolOUT > stolmoney:
  204. 'You can''t take this amount from your drawer.'
  205. else
  206. stolmoney -= stolOUT
  207. money += stolOUT
  208. if stolmoney > 0: 'You have <<stolmoney>> <b>₽</b> hiden in your drawer.'
  209. end
  210. gt 'stol', 'stolPar'
  211. end
  212. end
  213. end
  214. if $ARGS[0] = 'bc':
  215. *clr & cla
  216. '<center><h1>Desk</h1></center>'
  217. '<center><img <<$set_imgh>> src="images/shared/home/bedroom/stol.jpg"></center>'
  218. *nl
  219. gs 'stat'
  220. gs 'din_bad'
  221. 'In the drawer of your desk, you store your birth control.'
  222. if prezik + prezikcount + preziksabo > 0:
  223. if preziktype = 2 or preziksabo > 0:
  224. '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>'
  225. elseif preziktype < 2 and preziksabo = 0:
  226. 'You have <<prezik+prezikcount>> <a href="exec:dynamic $din_Table_Condom_Menu"><b>condoms.</b></a>'
  227. end
  228. *nl
  229. else
  230. 'You are out of condoms.'
  231. end
  232. if tabletki > 0 and pillsleft[ptype] > 0:
  233. 'You have <<tabletki>> unopened packages of <a href="exec:dynamic $d_tabletkiedt">birth control pills</a> and <<pillsleft[ptype]>> pills left in your opened package.</b>'
  234. elseif tabletki = 0 and pillsleft[ptype] > 0:
  235. 'You have <<pillsleft[ptype]>> <a href="exec:dynamic $d_tabletkiedt">birth control pills</a> left.</b>'
  236. elseif tabletki > 0 and pillsleft[ptype] = 0:
  237. 'You have <<tabletki>> unopened packages of <a href="exec:dynamic $d_tabletkiedt">birth control pills</a>.'
  238. else
  239. 'You are out of birth control pills.'
  240. end
  241. act 'Close the drawer':gt $loc, $metka
  242. end
  243. --- stol ---------------------------------