city_sauna.qsrc 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. # city_sauna
  2. !2021/05/08
  3. CLOSE ALL
  4. gs 'themes', 'indoors'
  5. if $ARGS[0] = '':
  6. *clr & cla
  7. $loc = 'city_sauna'
  8. $loc_arg = ''
  9. $menu_loc = 'city_sauna'
  10. $menu_arg = ''
  11. menu_off = 0
  12. sauna += 1
  13. gs 'stat'
  14. '<center><b>Sauna</b></center>'
  15. '<center><img <<$set_imgh>> src="images/locations/city/residential/sauna/sauna.jpg"></center>'
  16. 'A luxurious high quality public sauna built a long time ago. The sauna houses separate changing rooms and shower facilities for men and women.'
  17. act 'Leave':minut += 10 & gt 'city_residential'
  18. if SaunaWhore > 0:act 'Go to work':gt 'city_saunawhore', 'saunawork'
  19. if week = 5 and workDisk = 2:
  20. 'There''s a security guard waiting at the entrance for you to arrive.'
  21. act 'Hand over the disk':
  22. cls
  23. minut += 20
  24. workDisk = 3
  25. konvert = 1
  26. gs 'stat'
  27. 'You hand over the disk and are given a thick envelope in return.'
  28. act 'Leave':minut += 10 & gt 'city_residential'
  29. end
  30. end
  31. if hour >= 8 and hour <= 23:act 'Head to the sauna':gt 'city_sauna', 'sauna2'
  32. end
  33. if $ARGS[0] = 'sauna2':
  34. *clr & cla
  35. $loc = 'city_sauna'
  36. $loc_arg = 'sauna2'
  37. $menu_loc = 'city_sauna'
  38. $menu_arg = 'sauna2'
  39. menu_off = 0
  40. $location_type = 'indoors'
  41. minut += 5
  42. gs 'stat'
  43. '<center><b><font color="maroon">Sauna</font></b></center>'
  44. '<center><img <<$set_imgh>> src="images/locations/city/residential/sauna/sauna1.jpg"></center>'
  45. 'A one hour session costs 2000 <b>₽</b>.'
  46. act 'Leave':gt 'city_sauna'
  47. if money >= 2000 and saunaday ! daystart:
  48. act 'Stay':
  49. cls
  50. money = money - 2000
  51. minut += 60
  52. fat -= 10
  53. pcs_sweat = rand(0,5)
  54. dynamic $showerdin
  55. saunaday = daystart
  56. pcs_mood = 100
  57. pcs_horny -= 50
  58. if pcs_horny < 0: pcs_horny = 0
  59. pcs_health += healthmax/5
  60. pcs_stam = stammax
  61. if sauna_daystart ! daystart:
  62. sauna_daystart = daystart
  63. pcs_skin += rand(2,4)
  64. pcs_willpwr += 5
  65. end
  66. pcs_mana = (pcs_intel*pcs_magik) + pcs_magik*100 + pcs_vital*10 + rikudo
  67. gs 'stat'
  68. '<center><img <<$set_imgh>> src="images/locations/city/shared/sauna/sau.jpg"></center>'
  69. 'You spend an hour relaxing in the heat of the sauna before having a cool shower and dressing. You feel revitalised.'
  70. act 'Leave':gt 'city_sauna'
  71. end
  72. end
  73. end
  74. if $ARGS[0] = 'saunaroom':
  75. *clr & cla
  76. $loc = 'city_sauna'
  77. $loc_arg = 'saunaroom'
  78. $locBroom = 'city_sauna'
  79. $metkaBroom = 'saunaroom'
  80. $locM = 'city_sauna'
  81. $locM_arg = 'saunaroom'
  82. $menu_loc = 'city_sauna'
  83. $menu_arg = 'saunaroom'
  84. menu_off = 0
  85. $location_type = 'private'
  86. saunaYouRoom = 1
  87. gs 'stat'
  88. gs 'kit_din'
  89. '<center><b><font color="maroon">Room</font></b></center>'
  90. '<center><img <<$set_imgh>> src="images/locations/city/residential/sauna/saunaroom.jpg"></center>'
  91. *nl
  92. '<br>The room has a thread bare <a href="exec:minut += 1 & gt ''bed2''">bed</a> and a cheap <a href="exec:gt ''wardrobe'', ''start''">wardrobe</a> where you can choose outfits and organize your clothing.'
  93. *nl
  94. if pcs_energy >= 10:
  95. '<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 sex toys are scattered throughout the room. There''s so much stuff lying around, there''s barely enough space to do some basic <a href="exec:gt ''city_sauna'', ''saunafitness''">exercise</a>.'
  96. else
  97. '<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 sex toys are scattered throughout the room. There''s so much stuff lying around, there''s barely enough space for some basic exercises but you feel to hungry to any.'
  98. end
  99. *nl
  100. '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>.')
  101. *nl
  102. 'If you run out of personal hygeine or beauty products, you can ask for more at a cost.'
  103. *nl
  104. gs 'city_saunawhore','debtPay'
  105. if workDolg > 0:'Your debt is <<workDolg>> <b>₽</b>'
  106. act '<b>Exit to the sauna</b>':gt 'city_saunawhore', 'saunawork'
  107. if workDolg > 0:
  108. act 'Have some food (0:30)':
  109. gs 'food', 'm_meal'
  110. workDolg += 200
  111. end
  112. act 'Drink some water (0:05)': gs 'beverage', 'bev_wat'
  113. if kosmetica = 0:
  114. act 'Ask for some cosmetics':
  115. workDolg += 1200
  116. kosmetica += 20
  117. gt 'city_sauna', 'saunaroom'
  118. end
  119. end
  120. if shampoo = 0:
  121. act 'Ask for some shampoo':
  122. workDolg += 400
  123. shampoo += 20
  124. gt 'city_sauna', 'saunaroom'
  125. end
  126. end
  127. if stanok = 0:
  128. act 'Ask for some razors':
  129. workDolg += 700
  130. stanok += 20
  131. gt 'city_sauna', 'saunaroom'
  132. end
  133. end
  134. if tampon = 0:
  135. act 'Ask for some tampons':
  136. workDolg += 400
  137. tampon += 20
  138. gt 'city_sauna', 'saunaroom'
  139. end
  140. end
  141. if deodorant = 0:
  142. act 'Ask for some deodorant':
  143. workDolg += 200
  144. deodorant += 20
  145. gt 'city_sauna', 'saunaroom'
  146. end
  147. end
  148. if vitamin = 0:
  149. act 'Ask for some vitamins':
  150. workDolg += 150
  151. vitamin += 30
  152. gt 'city_sauna', 'saunaroom'
  153. end
  154. end
  155. end
  156. if workDolg <= 0 and SaunaWhore > 0:
  157. if money >= 200:
  158. act 'Buy some food (0:30) (200 <b>₽</b>)':
  159. gs 'food', 'm_meal'
  160. money -= 200
  161. end
  162. end
  163. act 'Drink some water (0:05)': gs 'beverage', 'bev_wat'
  164. dynamic $fatdel
  165. dynamic $lekarstvo
  166. dynamic $vitamin
  167. end
  168. gs 'events', 'read_porn'
  169. if pcs_horny >= 50: act 'Masturbate':gt 'selfplay', 'start'
  170. if pcs_sleep <= 80:
  171. if $clothingworntype = 'nude':
  172. $sleep_txt = 'Go to sleep'
  173. else
  174. $sleep_txt = 'Undress and go to sleep'
  175. end
  176. if succubusQW = 2:
  177. act '<<$sleep_txt>>':
  178. $lastwornclothingtype['bed'] = $clothingworntype
  179. lastwornclothingnumber['bed'] = clothingwornnumber
  180. $lastwornpantytype['bed'] = $pantyworntype
  181. lastwornpantynumber['bed'] = pantywornnumber
  182. $lastwornbratype['bed'] = $braworntype
  183. lastwornbranumber['bed'] = brawornnumber
  184. if $clothingworntype ! 'nude': gs 'clothing', 'strip'
  185. gt 'bed2', 'succhoice'
  186. end
  187. else
  188. if workDolg > 0 or money >= 850:
  189. act '<<$sleep_txt>>':
  190. $lastwornclothingtype['bed'] = $clothingworntype
  191. lastwornclothingnumber['bed'] = clothingwornnumber
  192. $lastwornpantytype['bed'] = $pantyworntype
  193. lastwornpantynumber['bed'] = pantywornnumber
  194. $lastwornbratype['bed'] = $braworntype
  195. lastwornbranumber['bed'] = brawornnumber
  196. if workDolg > 0:
  197. workDolg += 850
  198. elseif workDolg <= 0:
  199. money -= 850
  200. end
  201. if disable_autosave = 0:
  202. if mid($start_type,1,4) = 'city':
  203. savegame 'autosave_city.sav'
  204. elseif mid($start_type,1,3) = 'uni':
  205. savegame 'autosave_uni.sav'
  206. else
  207. savegame 'autosave_sg.sav'
  208. end
  209. end
  210. if $clothingworntype ! 'nude': gs 'clothing', 'strip'
  211. if magf2bdo = 2:
  212. gt 'bed2', 'magbstchoice'
  213. else
  214. gt 'bed2', 'sleep'
  215. end
  216. end
  217. killvar '$sleep_txt'
  218. else
  219. '<br>You don''t have enough money to sleep here tonight.'
  220. end
  221. end
  222. end
  223. end
  224. if $ARGS[0] = 'saunafitness':
  225. $loc = 'city_sauna'
  226. $loc_arg = 'saunaroom'
  227. $location_type = 'indoors'
  228. cla
  229. *clr
  230. '<center><video autoplay loop src="images/pc/activities/exercises/push_nude.mp4"></video></center>'
  231. gs 'exercise', 'tier2', 30, 'stren'
  232. 'You do push-ups for 30 minutes, improving your strength.'
  233. randpushfact = rand(-5,5)
  234. if pcs_energy < 40: randpushfact -= rand(1,10)
  235. pushnum = (pcs_stren * pcs_sleep * pcs_health) / ( 1 * 67 * healthmax) + randpushfact
  236. if pushnum < 1: pushnum = rand(1,5)
  237. KILLVAR 'randpushfact'
  238. '<br>You managed to do <<pushnum>> push-ups. Your previous record is <<pushrecord>>.'
  239. if pushrecord < pushnum:pushrecord = pushnum & 'This is a new record!'
  240. gs 'stat'
  241. act 'Finish': gt $loc, $loc_arg
  242. end
  243. --- city_sauna ---------------------------------