gdktoilet.qsrc 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. # gdktoilet
  2. $location_type = 'public_indoors'
  3. $menu_loc = 'gdktoilet'
  4. $loc = 'gdktoilet'
  5. gs 'themes', 'indoors'
  6. if $ARGS[0] = 'start':
  7. $menu_arg = 'start'
  8. $loc_arg = 'start'
  9. killvar '$locclass'
  10. menu_off = 0
  11. gs 'stat'
  12. *clr & cla
  13. minut += 1
  14. ghnow = 0
  15. '<center><b><font color="maroon">Community Center - Restrooms</font></b></center>'
  16. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/bathroom/bathroom_entrance.jpg"></center>'
  17. 'There is a <a href="exec: gt ''food'', ''watercooler''">drinking fountain</a> near the doors to the bathrooms.'
  18. act 'Go outside': gs 'arousal', 'end' & gt 'pav_commcenter'
  19. if hour >= 8 and hour <= 23:
  20. gs 'willpower', 'exhib', 'self'
  21. if will_cost <= pcs_willpwr:
  22. act 'Enter the men''s restroom (<<will_cost>> Willpower)':
  23. gs 'willpower', 'exhib', 'self'
  24. gs 'willpower', 'pay', 'self'
  25. gs 'stat'
  26. gt 'gdktoilet_mens', 'mens_entrance_events'
  27. end
  28. else
  29. act 'Enter the men''s restroom (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  30. end
  31. act 'Enter the women''s restroom': gt 'gdktoilet_womens', 'womens'
  32. end
  33. if hour >=20 and hour <=23 and week >= 5 and week < 7:
  34. if music_on = 1:
  35. $track_loop = 'sound/komb.mp3'
  36. volume = 50
  37. music_loop = 1
  38. pl '<a href="exec: music_on = 0 & gt ''gdktoilet'', ''start''">Turn off the music</a>'
  39. else
  40. music_loop = 0
  41. close all
  42. pl '<a href="exec: music_on = 1 & gt ''gdktoilet'', ''start''">Play music</a>'
  43. end
  44. if gdkincum = daystart and (cumloc[6] = 0 and cumloc[7] = 0) and cumloc[11] = 0:
  45. gdkincum = 0
  46. end
  47. if gdkincum ! daystart:
  48. if pav_disco_in = daystart:
  49. act 'Return to the dance':gt 'pav_disco'
  50. elseif money >= 25:
  51. act 'Go to the dance (25 <b>₽</b>)':
  52. money -= 25
  53. minut += 5
  54. gt 'pav_disco'
  55. end
  56. end
  57. else
  58. *nl
  59. if (cumloc[6] = 1 or cumloc[7] = 1) and cumloc[11] = 1:
  60. 'You should clean the cum off your face and clothes before heading back to the dance.'
  61. elseif cumloc[11] = 1:
  62. 'You should clean the cum off your face before heading back to the dance.'
  63. elseif cumloc[6] = 1 or cumloc[7] = 1:
  64. 'You should clean the cum off your clothes before heading back to the dance.'
  65. end
  66. end
  67. else
  68. music_loop = 0
  69. CLOSE ALL
  70. end
  71. if hour >= 8 and hour < 18: act 'Go to the library': gt 'pav_library'
  72. if hour >= 12 and hour < 20: act 'Go upstairs to the hobby clubs': gt 'pav_commclubs'
  73. if (week < 6 and hour >= 14 and hour < 20) or (week >= 6 and hour >= 9 and hour < 20): act 'Go to the gym': gt 'gdksport', 'start'
  74. act 'Change outfit in the locker room': gt 'wardrobe', 'start'
  75. end
  76. --- gdktoilet ---------------------------------