city_church.qsrc 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. # city_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 = 'city_church'
  18. $loc_arg = 'start'
  19. $menu_loc = 'city_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">Kazan Cathedral</font></b></center>'
  26. '<center><img <<$set_imgh>> src="images/locations/city/residential/church/kazan.jpg"></center>'
  27. 'Kazan Cathedral, also known as the Cathedral of Our Lady of Kazan. It''s old and huge, it is well maintained by the worshipers of the parish.'
  28. ''
  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 'Return to the city':minut += 5 & gt 'city_center'
  33. if week = 6 and hour >=19 and hour <= 22 and churchday ! daystart:
  34. act 'Attend vigil': gt 'city_church', 'vigil'
  35. elseif week = 7 and hour >= 9 and hour < 12 and churchday ! daystart:
  36. act 'Attend Divine Liturgy': gt 'city_church' , 'liturgy'
  37. else
  38. act 'Enter the church': gt 'city_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 dim 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 'city_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 'city_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 'city_church', 'reducecityrep', 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 'city_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 there are some people around your age present as well. 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 'city_church' , 'start'
  98. end
  99. if $ARGS[0] = 'reducecityrep':
  100. citysextreshold = ARGS[1]
  101. citysexreduction = ARGS[2]
  102. if fame['city_sex'] > citysextreshold:
  103. gs 'fame', 'city', 'sex', citysexreduction
  104. else
  105. gs 'fame', 'city', 'sex', -citysextreshold
  106. end
  107. if fame['city_prostitute'] > citysextreshold:
  108. gs 'fame', 'city', 'prostitute', citysexreduction
  109. else
  110. gs 'fame', 'city', 'prostitute', -citysextreshold
  111. end
  112. killvar 'citysextreshold'
  113. killvar 'citysexreduction'
  114. end
  115. if $ARGS[0] = 'Narthex':
  116. CLOSE ALL
  117. $menu_loc = 'city_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 where a deacon sells candles, icons and prayer books. He smiles and nods at you absently, acknowledging your presence without really seeing you.'
  127. act 'Leave the church': gt 'city_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 'city_church2', 'confession'
  129. act 'Light a candle':gt 'city_church', 'candle'
  130. act 'Pray':gt 'city_church', 'pray'
  131. !!act 'Talk to the Priest': gt 'city_church' , 'talk_priest'
  132. !!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.
  133. end
  134. if $ARGS[0] = 'candle':
  135. *clr & cla
  136. minut += 10
  137. menu_off = 1
  138. church_moral += 1
  139. gs 'themes', 'indoors'
  140. gs 'stat'
  141. gs 'city_church', 'reducecityrep', 25, -1
  142. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/church/ch_candle.jpg"></center>'
  143. if money >= 10 and owechurch = 0:
  144. money -= 10
  145. 'You approach the deacon and hand over the 10 <b>₽</b> for a candle.'
  146. elseif money >= 10 and money < 20 and owechurch = 1:
  147. owechurch = 0
  148. money -= 10
  149. pcs_mood -= 10
  150. 'You approach the deacon and hope that he doesn''t recognize you since you couldn''t pay for your last candle. You give him 10 <b>₽</b> and he hands you a candle. You hustle away from the counter while guilt gnaws at you.'
  151. elseif money >= 20 and owechurch = 1:
  152. owechurch = 0
  153. money -= 20
  154. pcs_mood += 5
  155. 'You approach the deacon. He is confused when you hand him 20 <b>₽</b> before smiling in understanding. You feel relieved that the debt is paid.'
  156. elseif money < 10:
  157. owechurch = 1
  158. 'You approach the deacon and indicate that you would like a candle, but when you look in your purse to pay, you realize that you have no money. The deacon sighs and hands you the candle anyway. You promise yourself to pay double next time.'
  159. end
  160. if hour > 6 and hour < 20:
  161. pcs_mood += 10
  162. church_moral += 1
  163. 'You approach the iconostasis and light your candle. It gives you a nice feeling and you say a prayer while looking at the image of Christ the Savior.'
  164. else
  165. pcs_horny += 10
  166. pcs_mood += 10
  167. 'You approach the iconostasis and light your candle in the dark church and start praying. The darkness, combined with the pleasant sight of fire, makes you feel warm inside.'
  168. end
  169. act 'Return to Narthex': gt 'city_church', 'Narthex'
  170. end
  171. if $ARGS[0] = 'pray':
  172. *clr & cla
  173. menu_off = 1
  174. minut += 1
  175. gs 'themes', 'indoors'
  176. gs 'stat'
  177. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/church/ch_praying.jpg"></center>'
  178. 'You approach the prayer bench and kneel down to pray.'
  179. act 'Pray':
  180. *clr & cla
  181. menu_off = 1
  182. minut += 10
  183. if fame['city_sex'] > 10: gs 'fame', 'city', 'sex', -1
  184. if fame['city_prostitute'] > 10: gs 'fame', 'city', 'prostitute', -1
  185. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/church/ch_praying.jpg"></center>'
  186. if hour > 6 and hour < 20 and church_moral < 30:
  187. pcs_horny -= 10
  188. pcs_mood += 20
  189. church_moral += 1
  190. 'You decide to pray for a while. You''re not overly religious, but the peace and quiet gives you the time to think.'
  191. elseif hour > 6 and hour < 20 and church_moral >= 30 and church_moral < 60:
  192. pcs_horny -= 20
  193. pcs_mood += 30
  194. church_moral += 1
  195. minut += 15
  196. 'You decide to pray for a while. While you don''t consider yourself to be deeply religious, you do feel a strong connection to God when you look at the icons around you. You allow yourself to look deeply into your soul as you contemplate the direction your life is going.'
  197. elseif hour >6 and hour < 20 and church_moral >= 60:
  198. pcs_horny -= 30
  199. pcs_mood += 40
  200. church_moral += 1
  201. minut += rand(30,60)
  202. 'You decide to pray. The beauty and glory of being in the body of God overwhelms you and you lose yourself in prayer. You''re unsure how much time has passed when you finally become aware of your surroundings again, but it doesn''t matter as you are at peace with God and the world.'
  203. elseif (hour >= 20 or hour <= 6) and church_moral < 30:
  204. pcs_horny -= 40
  205. pcs_mood += 50
  206. church_moral += 1
  207. minut += rand(30,60)
  208. 'The Nave is lit only with small candles, leaving your surroundings in darkness. You start to get a strange vibe, one 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.'
  209. elseif (hour >= 20 or hour <= 6) and church_moral >= 30 and church_moral < 60:
  210. pcs_horny = 0
  211. pcs_mood += 50
  212. church_moral += 1
  213. minut += rand(30,60)
  214. if nark > 1: nark = nark/2
  215. '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.'
  216. else
  217. pcs_horny = 0
  218. pcs_mood = 100
  219. church_moral += 1
  220. minut += 60
  221. if nark > 1: nark = ((nark/4)*3)
  222. '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.'
  223. end
  224. gs 'stat'
  225. act 'Return to Narthex': gt 'city_church', 'Narthex'
  226. end
  227. if exhibitionist_lvl > 0:
  228. act 'Be naughty':
  229. *clr & cla
  230. menu_off = 1
  231. gs 'fame', 'city', 'sex', 2
  232. gs 'flash', 'butt', 'indoors', 2, 1
  233. gs 'stat'
  234. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/church/ch_prayingflash.jpg"></center>'
  235. '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.'
  236. act 'Return to Narthex': gt 'city_church', 'Narthex'
  237. end
  238. end
  239. end
  240. --- city_church ---------------------------------