1
0

city_sauna.qsrc 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. # city_sauna
  2. CLOSE ALL
  3. gs 'themes', 'indoors'
  4. if $ARGS[0] = '':
  5. *clr & cla
  6. $loc = 'city_sauna'
  7. $metka = ''
  8. $menu_loc = 'city_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 'city_residential'
  17. if SaunaWhore > 0:act 'Head to work':gt 'city_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 'city_residential'
  28. end
  29. end
  30. if hour >= 8 and hour <= 23:act 'Head to the sauna':gt 'city_sauna', 'sauna2'
  31. end
  32. if $ARGS[0] = 'sauna2':
  33. *clr & cla
  34. $loc = 'city_sauna'
  35. $metka = 'sauna2'
  36. $menu_loc = 'city_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 'city_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. pcs_horny -= 50
  57. if pcs_horny < 0: pcs_horny = 0
  58. pcs_health += healthmax/5
  59. pcs_stam = stammax
  60. if sauna_daystart ! daystart:
  61. sauna_daystart = daystart
  62. pcs_skin += rand(2,4)
  63. pcs_willpwr += 5
  64. end
  65. pcs_mana = (pcs_intel*pcs_magik) + pcs_magik*100 + pcs_vital*10 + rikudo
  66. gs 'stat'
  67. '<center><img <<$set_imgh>> src="images/locations/city/shared/sauna/sau.jpg"></center>'
  68. 'You spend an hour relaxing in the heat of the sauna, having a cool shower and dressing. You feel revitalised.'
  69. act 'Leave':gt 'city_sauna'
  70. end
  71. end
  72. end
  73. if $ARGS[0] = 'saunaroom':
  74. *clr & cla
  75. $loc = 'city_sauna'
  76. $metka = 'saunaroom'
  77. $locBroom = 'city_sauna'
  78. $metkaBroom = 'saunaroom'
  79. $locM = 'city_sauna'
  80. $metkaM = 'saunaroom'
  81. $menu_loc = 'city_sauna'
  82. $menu_arg = 'saunaroom'
  83. menu_off = 0
  84. $location_type = 'private'
  85. saunaYouRoom = 1
  86. gs 'stat'
  87. gs 'kit_din'
  88. '<center><b><font color="maroon">Room</font></b></center>'
  89. '<center><img <<$set_imgh>> src="images/locations/city/residential/sauna/saunaroom.jpg"></center>'
  90. *nl
  91. '<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).'
  92. *nl
  93. '<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 ''city_sauna'', ''saunafitness''">exercise</a>.'
  94. *nl
  95. 'Your <a href="exec:gt ''budilnik'', ''start''">alarm clock</a> is set to <b>'+iif(timer < 10,'0<<timer>>','<<timer>>')+':'+iif(timerM < 10,'0<<timerM>>','<<timerM>>')+'</b> during the week and <b>'+iif(timerEnd < 10,'0<<timerEnd>>','<<timerEnd>>')+':'+iif(timerEndM < 10,'0<<timerEndM>>','<<timerEndM>>')+'</b> during the weekend. It is currently turned '+iif(budilnikOn = 0, '<a href="exec: budilnikOn = 1 & gt ''city_sauna'', ''saunaroom''">OFF</a>.', '<a href="exec: budilnikOn = 0 & gt ''city_sauna'', ''saunaroom''">ON</a>.')
  96. *nl
  97. 'If you run out of personal hygeine or beauty products, you can ask for some more, but at a cost.'
  98. *nl
  99. 'You can access your <a href="exec: quick_dress = 1 & gt ''wardrobe'', ''default''">default clothing</a> options directly.'
  100. *nl
  101. gs 'city_saunawhore','debtPay'
  102. if workDolg > 0:'Your debt is <<workDolg>> <b>₽</b>'
  103. act '<b>Exit to the sauna</b>':gt 'city_saunawhore', 'saunawork'
  104. if workDolg > 0:
  105. act 'Have some food (0:15)':
  106. gs 'food', 'm_meal'
  107. workDolg += 200
  108. end
  109. act 'Drink some water (0:05)': gs 'beverage', 'bev_wat'
  110. if kosmetica = 0:
  111. act 'Ask for some cosmetics':
  112. workDolg += 1200
  113. kosmetica += 20
  114. gt 'city_sauna', 'saunaroom'
  115. end
  116. end
  117. if shampoo = 0:
  118. act 'Ask for some shampoo':
  119. workDolg += 400
  120. shampoo += 20
  121. gt 'city_sauna', 'saunaroom'
  122. end
  123. end
  124. if stanok = 0:
  125. act 'Ask for some razors':
  126. workDolg += 700
  127. stanok += 20
  128. gt 'city_sauna', 'saunaroom'
  129. end
  130. end
  131. if tampon = 0:
  132. act 'Ask for some tampons':
  133. workDolg += 400
  134. tampon += 20
  135. gt 'city_sauna', 'saunaroom'
  136. end
  137. end
  138. if deodorant = 0:
  139. act 'Ask for some deodorant':
  140. workDolg += 200
  141. deodorant += 20
  142. gt 'city_sauna', 'saunaroom'
  143. end
  144. end
  145. end
  146. if workDolg <= 0 and SaunaWhore > 0:
  147. if money >= 200:
  148. act 'Buy some food (0:15) (100 <b>₽</b>)':
  149. gs 'food', 'm_meal'
  150. money -= 200
  151. end
  152. end
  153. act 'Drink some water (0:05)': gs 'beverage', 'bev_wat'
  154. dynamic $fatdel
  155. dynamic $lekarstvo
  156. dynamic $vitamin
  157. end
  158. gs 'events', 'read_porn'
  159. if pcs_horny >= 50: act 'Masturbate':gt 'selfplay', 'start'
  160. if pcs_sleep <= 80:
  161. if $clothingworntype = 'nude':
  162. $sleep_txt = 'Go to sleep'
  163. else
  164. $sleep_txt = 'Undress and go to sleep'
  165. end
  166. if succubusQW = 2:
  167. act '<<$sleep_txt>>':
  168. if $clothingworntype ! 'nude': gs 'clothing', 'strip'
  169. gt 'bed2', 'succhoice'
  170. end
  171. else
  172. if workDolg > 0 or money >= 850:
  173. act '<<$sleep_txt>>':
  174. if workDolg > 0:
  175. workDolg += 850
  176. elseif workDolg <= 0:
  177. money -= 850
  178. end
  179. if disable_autosave = 0:
  180. if StoryLine = 0:
  181. savegame 'autosave.sav'
  182. else
  183. savegame 'autosave_alt.sav'
  184. end
  185. end
  186. if $clothingworntype ! 'nude': gs 'clothing', 'strip'
  187. if magf2bdo = 2:
  188. gt 'bed2', 'magbstchoice'
  189. else
  190. gt 'bed2', 'sleep'
  191. end
  192. end
  193. killvar '$sleep_txt'
  194. else
  195. '<br>You don''t have enough money (850 <b>₽</b>) to sleep her tonight.'
  196. end
  197. end
  198. end
  199. end
  200. if $ARGS[0] = 'saunafitness':
  201. $loc = 'city_sauna'
  202. $metka = 'saunaroom'
  203. $location_type = 'indoors'
  204. cla
  205. *clr
  206. '<center><video autoplay loop src="images/pc/activities/push_naked.mp4"></video></center>'
  207. gs 'exercise', 'tier2', 30, 'stren_exp'
  208. 'You do push-ups for 30 minutes, improving your strength.'
  209. randpushfact = rand(-5,5)
  210. if pcs_energy < 40: randpushfact -= rand(1,10)
  211. pushnum = (pcs_stren * pcs_sleep * pcs_health) / ( 1 * 67 * healthmax) + randpushfact
  212. if pushnum < 1: pushnum = rand(1,5)
  213. KILLVAR 'randpushfact'
  214. '<br>You managed to do <<pushnum>> push-ups. Your previous record is <<pushrecord>>.'
  215. if pushrecord < pushnum:pushrecord = pushnum & 'This is a new record!'
  216. gs 'stat'
  217. act 'Finish': gt $loc, $metka
  218. end
  219. --- city_sauna ---------------------------------