1
0

sauna.qsrc 5.7 KB

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