sauna.qsrc 5.6 KB

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