sauna.qsrc 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  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 SaunaWhore > 0 and money > workDolg:
  101. money -= workDolg
  102. workDolg = 0
  103. end
  104. if SaunaWhore > 0 and money < workDolg:
  105. workDolg -= money
  106. money = 0
  107. end
  108. if workDolg > 0:'Your debt is <<workDolg>> <b>₽</b>'
  109. act '<b>Exit to the sauna</b>':gt 'saunawhore', 'saunawork'
  110. if workDolg > 0:
  111. act 'Have some food (0:15)':
  112. gs 'food', 'm_meal'
  113. workDolg += 100
  114. end
  115. act 'Drink some water (0:05)':
  116. gs 'beverage', 'bev_wat'
  117. end
  118. act 'Borrow cosmetics':
  119. workDolg += 1000
  120. kosmetica += 25
  121. gt 'sauna', 'saunaroom'
  122. end
  123. end
  124. if workDolg <= 0 and SaunaWhore > 0:
  125. if money >= 100:
  126. act 'Buy some food (0:15) (100 <b>₽</b>)':
  127. gs 'food', 'm_meal'
  128. money -= 100
  129. end
  130. end
  131. act 'Drink some water (0:05)':
  132. gs 'beverage', 'bev_wat'
  133. end
  134. dynamic $fatdel
  135. dynamic $lekarstvo
  136. dynamic $vitamin
  137. end
  138. gs 'events', 'read_porn'
  139. if pcs_horny >= 50:
  140. act 'Masturbate':gt 'selfplay', 'start'
  141. end
  142. if pcs_sleep <= 80:
  143. if $clothingworntype = 'nude':
  144. $sleep_txt = 'Go to sleep'
  145. else
  146. $sleep_txt = 'Undress and go to sleep'
  147. end
  148. if succubusQW = 2:
  149. act '<<$sleep_txt>>':
  150. if $clothingworntype ! 'nude': gs 'clothing', 'strip'
  151. gt 'bed2', 'succhoice'
  152. end
  153. else
  154. act '<<$sleep_txt>>':
  155. if SaunaWhore = 0:
  156. workDolg += 850
  157. elseif SaunaWhore > 0:
  158. money -= 850
  159. end
  160. if disable_autosave = 0:
  161. if StoryLine = 0:
  162. savegame 'autosave.sav'
  163. else
  164. savegame 'autosave_alt.sav'
  165. end
  166. end
  167. if $clothingworntype ! 'nude': gs 'clothing', 'strip'
  168. if magf2bdo = 2:
  169. gt 'bed2', 'magbstchoice'
  170. else
  171. gt 'bed2', 'sleep'
  172. end
  173. end
  174. killvar '$sleep_txt'
  175. end
  176. end
  177. end
  178. if $ARGS[0] = 'saunafitness':
  179. $loc = 'sauna'
  180. $metka = 'saunaroom'
  181. $location_type = 'indoors'
  182. cla
  183. *clr
  184. '<center><video autoplay loop src="images/pc/activities/push_naked.mp4"></video></center>'
  185. gs 'exercise', 'tier2', 30, 'stren_exp'
  186. 'You do push-ups for 30 minutes, improving your strength.'
  187. randpushfact = rand(-5,5)
  188. if pcs_energy < 40: randpushfact -= RAND(1,10)
  189. pushnum = (pcs_stren * pcs_sleep * pcs_health) / ( 1 * 67 * healthmax) + randpushfact
  190. if pushnum < 1: pushnum = rand(1,5)
  191. KILLVAR 'randpushfact'
  192. '<br>You managed to do <<pushnum>> push-ups. Your previous record is <<pushrecord>>.'
  193. if pushrecord < pushnum:pushrecord = pushnum & 'This is a new record!'
  194. gs 'stat'
  195. act 'Finish': gt $loc, $metka
  196. end
  197. --- sauna ---------------------------------