city_sauna.qsrc 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  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. func('alarmclock', 'base_alarmclock_text')
  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 mc_inventory['cosmetics'] = 0:
  114. act 'Ask for some cosmetics':
  115. workDolg += 1200
  116. mc_inventory['cosmetics'] += 20
  117. gt 'city_sauna', 'saunaroom'
  118. end
  119. end
  120. if mc_inventory['shampoo'] = 0:
  121. act 'Ask for some shampoo':
  122. workDolg += 400
  123. mc_inventory['shampoo'] += 20
  124. gt 'city_sauna', 'saunaroom'
  125. end
  126. end
  127. if mc_inventory['razor'] = 0:
  128. act 'Ask for some razors':
  129. workDolg += 700
  130. mc_inventory['razor'] += 20
  131. gt 'city_sauna', 'saunaroom'
  132. end
  133. end
  134. if mc_inventory['tampons'] = 0:
  135. act 'Ask for some tampons':
  136. workDolg += 400
  137. mc_inventory['tampons'] += 20
  138. gt 'city_sauna', 'saunaroom'
  139. end
  140. end
  141. if mc_inventory['deodorant'] = 0:
  142. act 'Ask for some deodorant':
  143. workDolg += 200
  144. mc_inventory['deodorant'] += 20
  145. gt 'city_sauna', 'saunaroom'
  146. end
  147. end
  148. if mc_inventory['vitamins'] = 0:
  149. act 'Ask for some vitamins':
  150. workDolg += 150
  151. mc_inventory['vitamins'] += 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 'library_functions', 'set_read_porn_act'
  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. gt 'pre_sleep', 'start'
  179. end
  180. else
  181. if workDolg > 0 or money >= 850:
  182. act '<<$sleep_txt>>':
  183. gs 'shortgs', 'autosave'
  184. if workDolg > 0:
  185. workDolg += 850
  186. elseif workDolg <= 0:
  187. money -= 850
  188. end
  189. gt 'pre_sleep_events', 'start'
  190. end
  191. else
  192. '<br>You don''t have enough money to sleep here tonight.'
  193. end
  194. end
  195. killvar '$sleep_txt'
  196. end
  197. end
  198. if $ARGS[0] = 'saunafitness':
  199. $loc = 'city_sauna'
  200. $loc_arg = 'saunafitness'
  201. $menu_loc = 'city_sauna'
  202. $menu_arg = 'saunafitness'
  203. $location_type = 'indoors'
  204. cla
  205. *clr
  206. '<center><video autoplay loop src="images/pc/activities/exercises/push_nude.mp4"></video></center>'
  207. gs 'exercise', 'tier2', 30, 'stren'
  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, $loc_arg
  218. end
  219. --- city_sauna ---------------------------------