sauna.qsrc 5.4 KB

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