sauna.qsrc 5.3 KB

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