sauna.qsrc 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  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. pcs_willpwr = pcs_intel*5 + will*5+1000
  61. pcs_manna = (pcs_intel*pcs_magik) + pcs_magik*100 + pcs_vital*10 + rikudo
  62. gs 'stat'
  63. '<center><img <<$set_imgh>> src="images/locations/city/shared/sauna/sau.jpg"></center>'
  64. 'You spend an hour relaxing in the heat of the sauna, having a cool shower and dressing. You feel revitalised.'
  65. act 'Leave':gt 'sauna'
  66. end
  67. end
  68. end
  69. if $ARGS[0] = 'saunaroom':
  70. *clr & cla
  71. $loc = 'sauna'
  72. $metka = 'saunaroom'
  73. $locBroom = 'sauna'
  74. $metkaBroom = 'saunaroom'
  75. $locM = 'sauna'
  76. $metkaM = 'saunaroom'
  77. $menu_loc = 'sauna'
  78. $menu_arg = 'saunaroom'
  79. menu_off = 0
  80. $location_type = 'private'
  81. saunaYouRoom = 1
  82. gs 'stat'
  83. gs 'kit_din'
  84. '<center><b><font color="maroon">Room</font></b></center>'
  85. '<center><img <<$set_imgh>> src="images/locations/city/residential/sauna/saunaroom.jpg"></center>'
  86. '<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).'
  87. '<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>.'
  88. if budilnikOn = 0:
  89. '<br>Your <a href="exec:gt ''budilnik'', ''start''">alarm clock</a> is set for <<timer>> hours <<timerM>> minutes and currently turned <a href="exec: budilnikOn = 1 & gt ''sauna'', ''saunaroom''">off</a>.'
  90. else
  91. '<br>Your <a href="exec:gt ''budilnik'', ''start''">alarm clock</a> is set for <<timer>> hours <<timerM>> minutes and currently turned <a href="exec: budilnikOn = 0 & gt ''sauna'', ''saunaroom''">on</a>.'
  92. end
  93. if SaunaWhore > 0 and money > 0 and workDolg > 0:
  94. workDolg = dolg_temp
  95. workDolg -= money
  96. money -= dolg_temp
  97. if money < 0: money = 0
  98. if workDolg < 0: workDolg = 0
  99. end
  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 += 100
  106. end
  107. act 'Drink some water (0:05)':
  108. gs 'beverage', 'bev_wat'
  109. end
  110. act 'Borrow cosmetics':
  111. workDolg += 1000
  112. kosmetica += 25
  113. gt 'sauna', 'saunaroom'
  114. end
  115. end
  116. if workDolg <= 0 and SaunaWhore > 0:
  117. if money >= 100:
  118. act 'Buy some food (0:15) (100 <b>₽</b>)':
  119. gs 'food', 'm_meal'
  120. money -= 100
  121. end
  122. end
  123. act 'Drink some water (0:05)':
  124. gs 'beverage', 'bev_wat'
  125. end
  126. dynamic $fatdel
  127. dynamic $lekarstvo
  128. dynamic $vitamin
  129. end
  130. gs 'events', 'read_porn'
  131. if pcs_horny >= 50:
  132. act 'Masturbate':gt 'selfplay', 'start'
  133. end
  134. if pcs_sleep <= 80:
  135. if $clothingworntype = 'nude':
  136. $sleep_txt = 'Go to sleep'
  137. else
  138. $sleep_txt = 'Undress and go to sleep'
  139. end
  140. if succubusQW = 2:
  141. act '<<$sleep_txt>>':
  142. if $clothingworntype ! 'nude': gs 'clothing', 'strip'
  143. gt 'bed2', 'succhoice'
  144. end
  145. else
  146. act '<<$sleep_txt>>':
  147. if SaunaWhore = 0:
  148. workDolg += 850
  149. elseif SaunaWhore > 0:
  150. money -= 850
  151. end
  152. if disable_autosave = 0:
  153. if StoryLine = 0:
  154. savegame 'autosave.sav'
  155. else
  156. savegame 'autosave_alt.sav'
  157. end
  158. end
  159. if $clothingworntype ! 'nude': gs 'clothing', 'strip'
  160. if magf2bdo = 2:
  161. gt 'bed2', 'magbstchoice'
  162. else
  163. gt 'bed2', 'sleep'
  164. end
  165. end
  166. killvar '$sleep_txt'
  167. end
  168. end
  169. end
  170. if $ARGS[0] = 'saunafitness':
  171. $loc = 'sauna'
  172. $metka = 'saunaroom'
  173. $location_type = 'indoors'
  174. cla
  175. *clr
  176. '<center><video autoplay loop src="images/pc/activities/push_naked.mp4"></video></center>'
  177. gs 'exercise', 'tier2', 30, 'stren_exp'
  178. 'You do push-ups for 30 minutes, improving your strength.'
  179. randpushfact = rand(-5,5)
  180. if pcs_energy < 40: randpushfact -= RAND(1,10)
  181. pushnum = (pcs_stren * pcs_sleep * pcs_health) / ( 1 * 67 * healthmax) + randpushfact
  182. if pushnum < 1: pushnum = rand(1,5)
  183. KILLVAR 'randpushfact'
  184. '<br>You managed to do <<pushnum>> push-ups. Your previous record is <<pushrecord>>.'
  185. if pushrecord < pushnum:pushrecord = pushnum & 'This is a new record!'
  186. gs 'stat'
  187. act 'Finish': gt $loc, $metka
  188. end
  189. --- sauna ---------------------------------