1
0

sauna.qsrc 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. # sauna
  2. CLOSE ALL
  3. if night_mode = 1:
  4. fcolor = rgb(255, 255, 255)
  5. bcolor = rgb(0, 0, 0)
  6. lcolor = rgb(106, 90, 205)
  7. elseif night_mode = 2:
  8. fcolor = rgb(255, 255, 255)
  9. bcolor = rgb(20, 20, 20)
  10. lcolor = rgb(106, 90, 205)
  11. else
  12. fcolor = rgb(0, 0, 0)
  13. bcolor = rgb(255, 255, 255)
  14. lcolor = rgb(106, 90, 205)
  15. end
  16. if $ARGS[0] = '':
  17. *clr & cla
  18. $loc = 'sauna'
  19. $metka = ''
  20. sauna += 1
  21. gs 'stat'
  22. '<center><b>Sauna</b></center>'
  23. '<center><img <<$set_imgh>> src="images/locations/city/residential/sauna/sauna.jpg"></center>'
  24. 'Luxurious high quality public sauna founded long time ago. The sauna houses separate changing rooms and shower facilities for men and women.'
  25. act 'Leave':minut += 10 & gt 'street'
  26. if SaunaWhore > 0:act 'Head to work':gt 'saunawhore', 'saunawork'
  27. if week = 5 and workDisk = 2:
  28. 'There''s a security guard waiting at the entrance for you to arrive.'
  29. act 'Hand over the disk':
  30. cls
  31. minut += 20
  32. workDisk = 3
  33. konvert = 1
  34. gs 'stat'
  35. 'You hand over the disk to him and you are handed back a thick envelope.'
  36. act 'Leave':minut += 10 & gt 'street'
  37. end
  38. end
  39. if hour >= 8 and hour <= 23:act 'Head to the sauna':gt 'sauna', 'sauna2'
  40. end
  41. if $ARGS[0] = 'sauna2':
  42. *clr & cla
  43. $loc = 'sauna'
  44. $metka = 'sauna2'
  45. $location_type = 'indoors'
  46. minut += 5
  47. gs 'stat'
  48. '<center><b><font color="maroon">Sauna</font></b></center>'
  49. '<center><img <<$set_imgh>> src="images/locations/city/residential/sauna/sauna1.jpg"></center>'
  50. 'One hour visit - 2,000 <b>₽</b>'
  51. act 'Leave':gt 'sauna'
  52. if money >= 2000 and saunaday ! daystart:
  53. act 'Stay (2,000 <b>₽</b>)':
  54. cls
  55. money = money - 2000
  56. minut += 60
  57. fat -= 10
  58. pcs_sweat = rand(0,5)
  59. dynamic $showerdin
  60. saunaday = daystart
  61. pcs_mood = 100
  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. $location_type = 'private'
  78. saunaYouRoom = 1
  79. gs 'stat'
  80. gs 'kit_din'
  81. '<center><b><font color="maroon">Room</font></b></center>'
  82. '<center><img <<$set_imgh>> src="images/locations/city/residential/sauna/saunaroom.jpg"></center>'
  83. '<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).'
  84. '<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>.'
  85. if budilnikOn = 0:
  86. '<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>.'
  87. else
  88. '<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>.'
  89. end
  90. if SaunaWhore > 0 and money > 0 and workDolg > 0:
  91. workDolg = dolg_temp
  92. workDolg -= money
  93. money -= dolg_temp
  94. if money < 0: money = 0
  95. if workDolg < 0: workDolg = 0
  96. end
  97. if workDolg > 0:'Your debt is <<workDolg>> <b>₽</b>'
  98. act '<b>Exit to the sauna</b>':gt 'saunawhore', 'saunawork'
  99. if workDolg > 0:
  100. act 'Have some food (0:15)':
  101. gs 'food', 'm_meal'
  102. workDolg += 100
  103. end
  104. act 'Drink some water (0:05)':
  105. gs 'beverage', 'bev_wat'
  106. end
  107. act 'Borrow cosmetics':
  108. workDolg += 1000
  109. kosmetica += 25
  110. gt 'sauna', 'saunaroom'
  111. end
  112. end
  113. if workDolg <= 0 and SaunaWhore > 0:
  114. if money >= 100:
  115. act 'Buy some food (0:15) (100 <b>₽</b>)':
  116. gs 'food', 'm_meal'
  117. money -= 100
  118. end
  119. end
  120. act 'Drink some water (0:05)':
  121. gs 'beverage', 'bev_wat'
  122. end
  123. dynamic $fatdel
  124. dynamic $lekarstvo
  125. dynamic $vitamin
  126. end
  127. gs 'events', 'read_porn'
  128. if pcs_horny >= 50:
  129. act 'Masturbate':gt 'selfplay', 'start'
  130. end
  131. if pcs_sleep <= 80:
  132. if $clothingworntype = 'nude':
  133. $sleep_txt = 'Go to sleep'
  134. else
  135. $sleep_txt = 'Undress and go to sleep'
  136. end
  137. if succubusQW = 2:
  138. act '<<$sleep_txt>>':
  139. if $clothingworntype ! 'nude': gs 'clothing', 'strip'
  140. gt 'bed2', 'succhoice'
  141. end
  142. else
  143. act '<<$sleep_txt>>':
  144. if SaunaWhore = 0:
  145. workDolg += 850
  146. elseif SaunaWhore > 0:
  147. money -= 850
  148. end
  149. if disable_autosave = 0:
  150. if StoryLine = 0:
  151. savegame 'autosave.sav'
  152. else
  153. savegame 'autosave_alt.sav'
  154. end
  155. end
  156. if $clothingworntype ! 'nude': gs 'clothing', 'strip'
  157. if magf2bdo = 2:
  158. gt 'bed2', 'magbstchoice'
  159. else
  160. gt 'bed2', 'sleep'
  161. end
  162. end
  163. killvar '$sleep_txt'
  164. end
  165. end
  166. end
  167. if $ARGS[0] = 'saunafitness':
  168. $loc = 'sauna'
  169. $metka = 'saunaroom'
  170. $location_type = 'indoors'
  171. cla
  172. *clr
  173. '<center><video autoplay loop src="images/pc/activities/push_naked.mp4"></video></center>'
  174. gs 'exercise', 'tier2', 30, 'stren_exp'
  175. 'You do push-ups for 30 minutes, improving your strength.'
  176. randpushfact = rand(-5,5)
  177. if pcs_energy < 40: randpushfact -= RAND(1,10)
  178. pushnum = (pcs_stren * pcs_sleep * pcs_health) / ( 1 * 67 * healthmax) + randpushfact
  179. if pushnum < 1: pushnum = rand(1,5)
  180. KILLVAR 'randpushfact'
  181. '<br>You managed to do <<pushnum>> push-ups. Your previous record is <<pushrecord>>.'
  182. if pushrecord < pushnum:pushrecord = pushnum & 'This is a new record!'
  183. gs 'stat'
  184. act 'Finish': gt $loc, $metka
  185. end
  186. --- sauna ---------------------------------