gad_church.qsrc 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. # gad_church
  2. !2021/05/04
  3. if $ARGS[0] = 'start':
  4. CLOSE ALL
  5. if sound = 0:
  6. if week = 7:
  7. if hour >= 8 and hour <= 12: PLAY 'sound/street2.mp3',30 & PLAY 'sound/church/ivironKampan01.wav',30
  8. if hour >= 13 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
  9. elseif week = 6:
  10. if hour >= 19 and hour <= 23: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/church/ivironKampan01.wav',30
  11. if hour >= 13 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
  12. else
  13. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/street_leto.mp3',30
  14. if hour >= 0 and hour <= 7:PLAY 'sound/street_night.mp3',30
  15. end
  16. end
  17. $loc = 'gad_church'
  18. $loc_arg = 'start'
  19. $menu_loc = 'gad_church'
  20. $menu_arg = 'start'
  21. $location_type = 'public_indoors'
  22. menu_off = 0
  23. gs 'themes', 'outdoors'
  24. gs 'stat'
  25. '<center><b><font color="maroon">Local Church</font></b></center>'
  26. '<center><img <<$set_imgh>> src="images/locations/gadukino/church/church.jpg"></center>'
  27. 'The local church is small and fairly old, it is not in the best shape, but it appears to be well loved.'
  28. *nl
  29. !!'You can attend confession every weekday between 07:00 and 09:00 or 16:00 and 18:00, and on the weekend between 16:00 and 18:00.'
  30. 'Vigil is held on Saturdays at 19:00.'
  31. 'The Divine Liturgy is on Sundays between 09:00 and 12:00.'
  32. act 'Go to the village square': minut += 3 & gt 'gadukino'
  33. if week = 6 and hour >=19 and hour <= 22 and churchday ! daystart:
  34. act 'Attend vigil': gt 'gad_church', 'vigil'
  35. elseif week = 7 and hour >= 9 and hour < 12 and churchday ! daystart:
  36. act 'Attend Divine Liturgy': gt 'gad_church' , 'liturgy'
  37. else
  38. act 'Enter the church': gt 'gad_church' , 'Narthex'
  39. end
  40. end
  41. if $ARGS[0] = 'Sermon':
  42. cla & *clr
  43. minut += 20
  44. church_moral += 1
  45. gs'stat'
  46. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/church/church'+ rand(1,5) +'.jpg"></center>'
  47. 'The candles are dimmed as the sermon begins. You listen intently to the priest as he preaches the word of God. You study His teachings, feeling enlightened until you reach the end of the sermon.'
  48. act 'Stand up':gt 'gad_church', 'Narthex'
  49. end
  50. if $ARGS[0] = 'vigil':
  51. CLOSE ALL
  52. *clr & cla
  53. menu_off = 1
  54. churchday = daystart
  55. pcs_mood += 10
  56. temprand = rand(0,5)
  57. if rand(0,1) = 1:
  58. pcs_horny += temprand
  59. else
  60. pcs_horny -= temprand
  61. end
  62. minut += 30
  63. gs 'themes', 'indoors'
  64. church_moral += 1
  65. PLAY 'sound/church/Blessing.mp3',30
  66. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/church/church'+ rand(1,5) +'.jpg"></center>'
  67. 'You attend the vigil and reflect on the recent events in your life. The harmonies as the hymns and psalms are sung sweep aside some of the worries in your heart; although you know they will return once you leave this holy place, you still enjoy the rest. The sweet scent of incense tickles your nose.'
  68. gs 'stat'
  69. act 'Return to Narthex': gt 'gad_church', 'Narthex'
  70. act 'Stay for the Rite of Mutual Forgiveness':
  71. *clr & cla
  72. church_moral += 1
  73. pcs_mood += 10
  74. pcs_horny -= 20
  75. minut += 10
  76. gs 'stat'
  77. gs 'gad_church', 'reducevillagerep', 10, -2
  78. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/church/church'+ rand(9,10) +'.jpg"></center>'
  79. 'You decide to stay for the Rite of Mutual Forgiveness and feel much better afterwards.'
  80. act 'Return to Narthex': gt 'gad_church', 'Narthex'
  81. end
  82. end
  83. if $ARGS[0] = 'liturgy':
  84. *clr & cla
  85. CLOSE ALL
  86. churchday = daystart
  87. menu_off = 1
  88. minut += 60
  89. pcs_mood += 20
  90. church_moral += 1
  91. gs 'themes', 'indoors'
  92. PLAY 'sound/church/t' + rand(1,19) + '.mp3',30
  93. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/church/church'+ rand(1,8) +'.jpg"></center>'
  94. 'You join the congregation for the Divine Liturgy. You see mostly older people around, but some people around your age are also present. You participate in the singing, but that''s about it. Your presence seems to go largely unnoticed, and you have the chance to rest. You feel a lot better.'
  95. gs 'exp_gain', 'vokal', rand(0,3)
  96. gs 'stat'
  97. act 'Leave the church': gt 'gad_church' , 'start'
  98. end
  99. if $ARGS[0] = 'reducevillagerep':
  100. villagesextreshold = ARGS[1]
  101. villagesexreduction = ARGS[2]
  102. if fame['village_sex'] > villagesextreshold:
  103. gs 'fame', 'village', 'sex', villagesexreduction
  104. else
  105. gs 'fame', 'village', 'sex', -villagesextreshold
  106. end
  107. if fame['village_prostitute'] > villagesextreshold:
  108. gs 'fame', 'village', 'prostitute', villagesexreduction
  109. else
  110. gs 'fame', 'village', 'prostitute', -villagesextreshold
  111. end
  112. killvar 'villagesextreshold'
  113. killvar 'villagesexreduction'
  114. end
  115. if $ARGS[0] = 'Narthex':
  116. CLOSE ALL
  117. $menu_loc = 'gad_church'
  118. $menu_arg = 'Narthex'
  119. menu_off = 0
  120. *clr & cla
  121. gs 'themes', 'indoors'
  122. gs 'stat'
  123. PLAY 'sound/church/76139__dkustic__090227-01-people-church-concert.wav',30
  124. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/church/enterchurch.jpg"></center>'
  125. 'You enter the church and the scent of incense and beeswax fills your lungs. Your eyes are drawn past the Narthex into the Nave with its walls covered in lovingly painted icons while a thousand points of light dance in joy throughout God''s house from the magnificent chandelier that hangs from the ceiling.'
  126. 'To your left is a counter with many candles, icons and prayer books, a small jar resting next to it with a few rubels and donations for taking a candle.'
  127. act 'Leave the church': gt 'gad_church' , 'start'
  128. !!if ((week <= 5 and hour >= 7 and hour < 9) or (hour >= 16 and hour < 18)) and confessday ! daystart: act 'Go to confession': confessday = daystart & gt 'gad_church2', 'confession'
  129. act 'Light a candle':gt 'gad_church', 'candle'
  130. act 'Donate for a candle':gt 'gad_church', 'candle1'
  131. act 'Pray':gt 'gad_church', 'pray'
  132. !!act 'Talk to the Priest': gt 'gad_church' , 'talk_priest'
  133. !!the stuff commented out is things we can add in later, I didn''t feel like completely making a new priest NPC at this time.
  134. end
  135. if $ARGS[0] = 'candle':
  136. *clr & cla
  137. minut += 10
  138. menu_off = 1
  139. gs 'themes', 'indoors'
  140. gs 'stat'
  141. gs 'gad_church', 'reducevillagerep', 25, -1
  142. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/church/ch_candle.jpg"></center>'
  143. 'You approach the counter and take one of the candles, lighting it without giving a donation.'
  144. act 'Return to Narthex': gt 'gad_church', 'Narthex'
  145. end
  146. if $ARGS[0] = 'candle1':
  147. *clr & cla
  148. minut += 10
  149. menu_off = 1
  150. church_moral += 1
  151. money -= 10
  152. gs 'themes', 'indoors'
  153. gs 'stat'
  154. gs 'gad_church', 'reducevillagerep', 25, -1
  155. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/church/ch_candle.jpg"></center>'
  156. 'You approach the counter and put 10 <b>₽</b> in the jar for a candle. Then, you take one of the candles and light it.'
  157. act 'Return to Narthex': gt 'gad_church', 'Narthex'
  158. end
  159. if $ARGS[0] = 'pray':
  160. *clr & cla
  161. menu_off = 1
  162. minut += 1
  163. gs 'themes', 'indoors'
  164. gs 'stat'
  165. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/church/ch_praying.jpg"></center>'
  166. 'You approach the prayer bench and kneel down to pray.'
  167. act 'Pray':
  168. *clr & cla
  169. menu_off = 1
  170. minut += 10
  171. if fame['village_sex'] > 10: gs 'fame', 'village', 'sex', -1
  172. if fame['village_prostitute'] > 10: gs 'fame', 'village', 'prostitute', -1
  173. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/church/ch_praying.jpg"></center>'
  174. if hour > 6 and hour < 20 and church_moral < 30:
  175. pcs_horny -= 10
  176. pcs_mood += 20
  177. church_moral += 1
  178. 'You decide to pray for a while. You''re not overly religious, but the peace and quiet gives you the time to think.'
  179. elseif hour > 6 and hour < 20 and church_moral >= 30 and church_moral < 60:
  180. pcs_horny -= 20
  181. pcs_mood += 30
  182. church_moral += 1
  183. minut += 15
  184. 'You decide to pray for a while. While you don''t consider yourself deeply religious, you feel a solid connection to God when you look at the icons around you. You allow yourself to look deeply into your soul as you contemplate your life''s direction.'
  185. elseif hour >6 and hour < 20 and church_moral >= 60:
  186. pcs_horny -= 30
  187. pcs_mood += 40
  188. church_moral += 1
  189. minut += rand(30,60)
  190. 'You decide to pray. The beauty and glory of being in the body of God overwhelm you, and you lose yourself in prayer. When you finally become aware of your surroundings again, you''re unsure how much time has passed, but it doesn''t matter as you are at peace with God and the world.'
  191. elseif (hour >= 20 or hour <= 6) and church_moral < 30:
  192. pcs_horny -= 40
  193. pcs_mood += 50
  194. church_moral += 1
  195. minut += rand(30,60)
  196. 'The Nave is lit only with small candles, leaving your surroundings in darkness. You start to get a strange vibe you can''t quite shake. You suddenly get the urge to pray very intensely, and before you know it, an hour has passed, and you feel reborn.'
  197. elseif (hour >= 20 or hour <= 6) and church_moral >= 30 and church_moral < 60:
  198. pcs_horny = 0
  199. pcs_mood += 50
  200. church_moral += 1
  201. minut += rand(30,60)
  202. if nark > 1: nark = nark/2
  203. 'The Nave is lit only with small candles, leaving your surroundings in darkness, but you find it comforting. You get the urge to pray very intensely, and before you know it, an hour has passed, and you feel cleansed.'
  204. else
  205. pcs_horny = 0
  206. pcs_mood = 100
  207. church_moral += 1
  208. minut += 60
  209. if nark > 1: nark = ((nark/4)*3)
  210. 'The Nave is lit only with candles and small presence lights, and the darkness feels very comforting, like being in the womb. You get the urge to pray very intensely, and before you know it, more than an hour has passed, and you feel reborn and cleansed.'
  211. end
  212. gs 'stat'
  213. act 'Return to Narthex': gt 'gad_church', 'Narthex'
  214. end
  215. if exhibitionist_lvl > 0:
  216. act 'Be naughty':
  217. *clr & cla
  218. menu_off = 1
  219. gs 'fame', 'city', 'sex', 2
  220. gs 'flash', 'butt', 'indoors', 2, 1
  221. gs 'stat'
  222. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/church/ch_prayingflash.jpg"></center>'
  223. 'While you''re praying, you get a devious idea. With a sly smile, you expose your ass, giving anyone that looks your way a naughty sight as you lower your head and pray in silence. You occasionally hear whispers behind you, causing you to smile.'
  224. act 'Return to Narthex': gt 'gad_church', 'Narthex'
  225. end
  226. end
  227. end
  228. --- gad_church ---------------------------------