1
0

stol.qsrc 11 KB

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