sauna.qsrc 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. # sauna
  2. CLOSE ALL
  3. gs 'themes', 'indoors'
  4. if $ARGS[0] = '':
  5. *clr & cla
  6. $loc = 'sauna'
  7. $metka = ''
  8. $menu_loc = 'sauna'
  9. $menu_arg = ''
  10. menu_off = 0
  11. sauna += 1
  12. gs 'stat'
  13. '<center><b>Sauna</b></center>'
  14. '<center><img <<$set_imgh>> src="images/locations/city/residential/sauna/sauna.jpg"></center>'
  15. 'Luxurious high quality public sauna founded long time ago. The sauna houses separate changing rooms and shower facilities for men and women.'
  16. act 'Leave':minut += 10 & gt 'street'
  17. if SaunaWhore > 0:act 'Head to work':gt 'saunawhore', 'saunawork'
  18. if week = 5 and workDisk = 2:
  19. 'There''s a security guard waiting at the entrance for you to arrive.'
  20. act 'Hand over the disk':
  21. cls
  22. minut += 20
  23. workDisk = 3
  24. konvert = 1
  25. gs 'stat'
  26. 'You hand over the disk to him and you are handed back a thick envelope.'
  27. act 'Leave':minut += 10 & gt 'street'
  28. end
  29. end
  30. if hour >= 8 and hour <= 23:act 'Head to the sauna':gt 'sauna', 'sauna2'
  31. end
  32. if $ARGS[0] = 'sauna2':
  33. *clr & cla
  34. $loc = 'sauna'
  35. $metka = 'sauna2'
  36. $menu_loc = 'sauna'
  37. $menu_arg = 'sauna2'
  38. menu_off = 0
  39. $location_type = 'indoors'
  40. minut += 5
  41. gs 'stat'
  42. '<center><b><font color="maroon">Sauna</font></b></center>'
  43. '<center><img <<$set_imgh>> src="images/locations/city/residential/sauna/sauna1.jpg"></center>'
  44. 'One hour visit - 2,000 <b>₽</b>'
  45. act 'Leave':gt 'sauna'
  46. if money >= 2000 and saunaday ! daystart:
  47. act 'Stay (2,000 <b>₽</b>)':
  48. cls
  49. money = money - 2000
  50. minut += 60
  51. fat -= 10
  52. pcs_sweat = rand(0,5)
  53. dynamic $showerdin
  54. saunaday = daystart
  55. pcs_mood = 100
  56. pcs_horny -= 50
  57. if pcs_horny < 0: pcs_horny = 0
  58. pcs_health += healthmax/5
  59. pcs_stam = stammax
  60. if sauna_daystart ! daystart:
  61. sauna_daystart = daystart
  62. pcs_skin += rand(2,4)
  63. pcs_willpwr += 5
  64. end
  65. pcs_mana = (pcs_intel*pcs_magik) + pcs_magik*100 + pcs_vital*10 + rikudo
  66. gs 'stat'
  67. '<center><img <<$set_imgh>> src="images/locations/city/shared/sauna/sau.jpg"></center>'
  68. 'You spend an hour relaxing in the heat of the sauna, having a cool shower and dressing. You feel revitalised.'
  69. act 'Leave':gt 'sauna'
  70. end
  71. end
  72. end
  73. if $ARGS[0] = 'saunaroom':
  74. *clr & cla
  75. $loc = 'sauna'
  76. $metka = 'saunaroom'
  77. $locBroom = 'sauna'
  78. $metkaBroom = 'saunaroom'
  79. $locM = 'sauna'
  80. $metkaM = 'saunaroom'
  81. $menu_loc = 'sauna'
  82. $menu_arg = 'saunaroom'
  83. menu_off = 0
  84. $location_type = 'private'
  85. saunaYouRoom = 1
  86. gs 'stat'
  87. gs 'kit_din'
  88. '<center><b><font color="maroon">Room</font></b></center>'
  89. '<center><img <<$set_imgh>> src="images/locations/city/residential/sauna/saunaroom.jpg"></center>'
  90. *nl
  91. '<br>The room has a thread bare <a href="exec:sec += 30 & gt ''bed2''">bed</a> and a cheap <a href="exec:gt ''wardrobe'', ''start''">wardrobe</a> (where you can choose outfits and organize your clothing).'
  92. *nl
  93. '<br>Hanging on the wall is a dirty <a href="exec:gt ''mirror'', ''start''">mirror</a>. The floor is littered with dozens of porn magazines, and a selection of adult toys are scattered throughout the room. There''s so much crap laying around, there''s barely enough space to do some basic <a href="exec:gt ''sauna'', ''saunafitness''">exercise</a>.'
  94. *nl
  95. 'Your <a href="exec:gt ''budilnik'', ''start''">alarm clock</a> is set to <b>'+iif(timer < 10,'0<<timer>>','<<timer>>')+':'+iif(timerM < 10,'0<<timerM>>','<<timerM>>')+'</b> during the week and <b>'+iif(timerEnd < 10,'0<<timerEnd>>','<<timerEnd>>')+':'+iif(timerEndM < 10,'0<<timerEndM>>','<<timerEndM>>')+'</b> during the weekend. It is currently turned '+iif(budilnikOn = 0, '<a href="exec: budilnikOn = 1 & gt ''sauna'', ''saunaroom''">OFF</a>.', '<a href="exec: budilnikOn = 0 & gt ''sauna'', ''saunaroom''">ON</a>.')
  96. *nl
  97. 'If you run out of personal hygeine or beauty products, you can ask for some more, but at a cost.'
  98. *nl
  99. gs 'saunawhore','debtPay'
  100. if workDolg > 0:'Your debt is <<workDolg>> <b>₽</b>'
  101. act '<b>Exit to the sauna</b>':gt 'saunawhore', 'saunawork'
  102. if workDolg > 0:
  103. act 'Have some food (0:15)':
  104. gs 'food', 'm_meal'
  105. workDolg += 200
  106. end
  107. act 'Drink some water (0:05)': gs 'beverage', 'bev_wat'
  108. if kosmetica = 0:
  109. act 'Ask for some cosmetics':
  110. workDolg += 1200
  111. kosmetica += 20
  112. gt 'sauna', 'saunaroom'
  113. end
  114. end
  115. if shampoo = 0:
  116. act 'Ask for some shampoo':
  117. workDolg += 400
  118. shampoo += 20
  119. gt 'sauna', 'saunaroom'
  120. end
  121. end
  122. if stanok = 0:
  123. act 'Ask for some razors':
  124. workDolg += 700
  125. stanok += 20
  126. gt 'sauna', 'saunaroom'
  127. end
  128. end
  129. if tampon = 0:
  130. act 'Ask for some tampons':
  131. workDolg += 400
  132. tampon += 20
  133. gt 'sauna', 'saunaroom'
  134. end
  135. end
  136. if deodorant = 0:
  137. act 'Ask for some deodorant':
  138. workDolg += 200
  139. deodorant += 20
  140. gt 'sauna', 'saunaroom'
  141. end
  142. end
  143. end
  144. if workDolg <= 0 and SaunaWhore > 0:
  145. if money >= 200:
  146. act 'Buy some food (0:15) (100 <b>₽</b>)':
  147. gs 'food', 'm_meal'
  148. money -= 200
  149. end
  150. end
  151. act 'Drink some water (0:05)': gs 'beverage', 'bev_wat'
  152. dynamic $fatdel
  153. dynamic $lekarstvo
  154. dynamic $vitamin
  155. end
  156. gs 'events', 'read_porn'
  157. if pcs_horny >= 50: act 'Masturbate':gt 'selfplay', 'start'
  158. if pcs_sleep <= 80:
  159. if $clothingworntype = 'nude':
  160. $sleep_txt = 'Go to sleep'
  161. else
  162. $sleep_txt = 'Undress and go to sleep'
  163. end
  164. if succubusQW = 2:
  165. act '<<$sleep_txt>>':
  166. if $clothingworntype ! 'nude': gs 'clothing', 'strip'
  167. gt 'bed2', 'succhoice'
  168. end
  169. else
  170. if workDolg > 0 or money >= 850:
  171. act '<<$sleep_txt>>':
  172. if workDolg > 0:
  173. workDolg += 850
  174. elseif workDolg <= 0:
  175. money -= 850
  176. end
  177. if disable_autosave = 0:
  178. if StoryLine = 0:
  179. savegame 'autosave.sav'
  180. else
  181. savegame 'autosave_alt.sav'
  182. end
  183. end
  184. if $clothingworntype ! 'nude': gs 'clothing', 'strip'
  185. if magf2bdo = 2:
  186. gt 'bed2', 'magbstchoice'
  187. else
  188. gt 'bed2', 'sleep'
  189. end
  190. end
  191. killvar '$sleep_txt'
  192. else
  193. '<br>You don''t have enough money (850 <b>₽</b>) to sleep her tonight.'
  194. end
  195. end
  196. end
  197. end
  198. if $ARGS[0] = 'saunafitness':
  199. $loc = 'sauna'
  200. $metka = 'saunaroom'
  201. $location_type = 'indoors'
  202. cla
  203. *clr
  204. '<center><video autoplay loop src="images/pc/activities/push_naked.mp4"></video></center>'
  205. gs 'exercise', 'tier2', 30, 'stren_exp'
  206. 'You do push-ups for 30 minutes, improving your strength.'
  207. randpushfact = rand(-5,5)
  208. if pcs_energy < 40: randpushfact -= rand(1,10)
  209. pushnum = (pcs_stren * pcs_sleep * pcs_health) / ( 1 * 67 * healthmax) + randpushfact
  210. if pushnum < 1: pushnum = rand(1,5)
  211. KILLVAR 'randpushfact'
  212. '<br>You managed to do <<pushnum>> push-ups. Your previous record is <<pushrecord>>.'
  213. if pushrecord < pushnum:pushrecord = pushnum & 'This is a new record!'
  214. gs 'stat'
  215. act 'Finish': gt $loc, $metka
  216. end
  217. --- sauna ---------------------------------