gdktoilet.qsrc 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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. $metka = 'start'
  9. menu_off = 0
  10. gs 'stat'
  11. *clr & cla
  12. minut += 1
  13. ghnow = 0
  14. '<center><b><font color="maroon">Community Center - Restrooms</font></b></center>'
  15. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/bathroom/bathroom_entrance.jpg"></center>'
  16. 'There is a <a href="exec: gt ''gdktoilet'', ''watercooler''">drinking fountain</a> near the doors to the bathrooms.'
  17. act 'Go outside': gs 'arousal', 'end' & gt 'pav_commcenter'
  18. if hour >= 8 and hour <= 23:
  19. gs 'willpower', 'exhib', 'self'
  20. if will_cost <= pcs_willpwr:
  21. act 'Enter the men''s restroom (<<will_cost>> Willpower)':
  22. gs 'willpower', 'exhib', 'self'
  23. gs 'willpower', 'pay', 'self'
  24. gs 'stat'
  25. gt 'gdktoilet_mens', 'mens_entrance_events'
  26. end
  27. else
  28. 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>'
  29. end
  30. act 'Enter the women''s restroom': gt 'gdktoilet_womens', 'womens'
  31. end
  32. if hour >=20 and hour <=23 and week >= 5 and week < 7:
  33. if music_on = 1:
  34. $track_loop = 'sound/komb.mp3'
  35. volume = 50
  36. music_loop = 1
  37. pl '<a href="exec: music_on = 0 & gt ''gdktoilet'', ''start''">Turn off the music</a>'
  38. else
  39. music_loop = 0
  40. close all
  41. pl '<a href="exec: music_on = 1 & gt ''gdktoilet'', ''start''">Play music</a>'
  42. end
  43. if gdkincum = daystart and (cumloc[6] = 0 and cumloc[7] = 0) and cumloc[11] = 0:
  44. gdkincum = 0
  45. end
  46. if gdkincum ! daystart:
  47. if gdkin_in = daystart:
  48. act 'Return to the dance':gt 'gdkin'
  49. elseif money >= 25:
  50. act 'Go to the dance (25 <b>₽</b>)':
  51. money -= 25
  52. minut += 5
  53. gt 'gdkin'
  54. end
  55. end
  56. else
  57. *nl
  58. if (cumloc[6] = 1 or cumloc[7] = 1) and cumloc[11] = 1:
  59. 'You should clean the cum off your face and clothes before heading back to the dance.'
  60. elseif cumloc[11] = 1:
  61. 'You should clean the cum off your face before heading back to the dance.'
  62. elseif cumloc[6] = 1 or cumloc[7] = 1:
  63. 'You should clean the cum off your clothes before heading back to the dance.'
  64. end
  65. end
  66. else
  67. music_loop = 0
  68. CLOSE ALL
  69. end
  70. if hour >= 8 and hour <= 18: act 'Go to the library': gt 'pav_library'
  71. if hour >= 12 and hour <= 20: act 'Go upstairs to the hobby clubs': gt 'pav_commclubs'
  72. if hour >= 14 and hour <= 20: act 'Go to the gym': gt 'gdksport', 'start'
  73. end
  74. if $ARGS[0] = 'watercooler':
  75. *clr & cla
  76. minut += 1
  77. $menu_arg = 'watercooler'
  78. $metka = 'watercooler'
  79. gs 'stat'
  80. '<center><b><font color="maroon">Community Center - Restrooms</font></b></center>'
  81. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/bathroom/waterfountain.jpg"></center>'
  82. act 'Leave': gt 'gdktoilet', 'start'
  83. act 'Take a drink':
  84. *clr & cla
  85. frost = 1
  86. if alko > 0: alko -= 1
  87. minut += 2
  88. pcs_health += 10
  89. pcs_energy += 4
  90. if pcs_hydra >= 100:
  91. pcs_hydra += 25
  92. else
  93. pcs_hydra += 50
  94. end
  95. cumspclnt = 2
  96. gs 'cum_cleanup'
  97. gs 'stat'
  98. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/bathroom/waterfountain.jpg"></center>'
  99. 'You drink some water.'
  100. act 'Finish': gt 'gdktoilet', 'start'
  101. end
  102. end
  103. --- gdktoilet ---------------------------------