city_church.qsrc 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  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 'fame', 'church_reduction', 'city', -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. gs 'fame', 'church_reduction', 'city', -1
  93. PLAY 'sound/church/t' + rand(1,19) + '.mp3',30
  94. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/church/church'+ rand(1,8) +'.jpg"></center>'
  95. '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.'
  96. gs 'exp_gain', 'vokal', rand(0,3)
  97. gs 'stat'
  98. act 'Leave the church': gt 'city_church' , 'start'
  99. end
  100. if $ARGS[0] = 'Narthex':
  101. CLOSE ALL
  102. $menu_loc = 'city_church'
  103. $menu_arg = 'Narthex'
  104. menu_off = 0
  105. *clr & cla
  106. gs 'themes', 'indoors'
  107. gs 'stat'
  108. PLAY 'sound/church/76139__dkustic__090227-01-people-church-concert.mp3',30
  109. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/church/enterchurch.jpg"></center>'
  110. '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.'
  111. '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.'
  112. act 'Leave the church': gt 'city_church' , 'start'
  113. !!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'
  114. act 'Light a candle':gt 'city_church', 'candle'
  115. act 'Pray':gt 'city_church', 'pray'
  116. !!act 'Talk to the Priest': gt 'city_church' , 'talk_priest'
  117. !!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.
  118. end
  119. if $ARGS[0] = 'candle':
  120. *clr & cla
  121. minut += 10
  122. menu_off = 1
  123. church_moral += 1
  124. gs 'themes', 'indoors'
  125. gs 'stat'
  126. gs 'fame', 'church_reduction', 'city', -1
  127. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/church/ch_candle.jpg"></center>'
  128. if money >= 10 and owechurch = 0:
  129. money -= 10
  130. 'You approach the deacon and hand over the 10 <b>₽</b> for a candle.'
  131. elseif money >= 10 and money < 20 and owechurch = 1:
  132. owechurch = 0
  133. money -= 10
  134. pcs_mood -= 10
  135. '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.'
  136. elseif money >= 20 and owechurch = 1:
  137. owechurch = 0
  138. money -= 20
  139. pcs_mood += 5
  140. '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.'
  141. elseif money < 10:
  142. owechurch = 1
  143. '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.'
  144. end
  145. if hour > 6 and hour < 20:
  146. pcs_mood += 10
  147. church_moral += 1
  148. '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.'
  149. else
  150. pcs_horny += 10
  151. pcs_mood += 10
  152. '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.'
  153. end
  154. act 'Return to Narthex': gt 'city_church', 'Narthex'
  155. end
  156. if $ARGS[0] = 'pray':
  157. *clr & cla
  158. menu_off = 1
  159. minut += 1
  160. gs 'themes', 'indoors'
  161. gs 'stat'
  162. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/church/ch_praying.jpg"></center>'
  163. 'You approach the prayer bench and kneel down to pray.'
  164. act 'Pray':
  165. *clr & cla
  166. menu_off = 1
  167. minut += 10
  168. gs 'fame', 'church_reduction', 'city', -1
  169. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/church/ch_praying.jpg"></center>'
  170. if hour > 6 and hour < 20 and church_moral < 30:
  171. pcs_horny -= 10
  172. pcs_mood += 20
  173. church_moral += 1
  174. 'You decide to pray for a while. You''re not overly religious, but the peace and quiet gives you the time to think.'
  175. elseif hour > 6 and hour < 20 and church_moral >= 30 and church_moral < 60:
  176. pcs_horny -= 20
  177. pcs_mood += 30
  178. church_moral += 1
  179. minut += 15
  180. '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.'
  181. elseif hour >6 and hour < 20 and church_moral >= 60:
  182. pcs_horny -= 30
  183. pcs_mood += 40
  184. church_moral += 1
  185. minut += rand(30,60)
  186. '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.'
  187. elseif (hour >= 20 or hour <= 6) and church_moral < 30:
  188. pcs_horny -= 40
  189. pcs_mood += 50
  190. church_moral += 1
  191. minut += rand(30,60)
  192. '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.'
  193. elseif (hour >= 20 or hour <= 6) and church_moral >= 30 and church_moral < 60:
  194. pcs_horny = 0
  195. pcs_mood += 50
  196. church_moral += 1
  197. minut += rand(30,60)
  198. if drugVars['cocaine_system'] > 1: drugVars['cocaine_system'] = drugVars['cocaine_system'] / 2
  199. '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.'
  200. else
  201. pcs_horny = 0
  202. pcs_mood = 100
  203. church_moral += 1
  204. minut += 60
  205. if drugVars['cocaine_system'] > 1: drugVars['cocaine_system'] = 3 * drugVars['cocaine_system'] / 4
  206. '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.'
  207. end
  208. gs 'stat'
  209. act 'Return to Narthex': gt 'city_church', 'Narthex'
  210. end
  211. if exhibitionist_lvl > 0:
  212. act 'Be naughty':
  213. *clr & cla
  214. menu_off = 1
  215. gs 'fame', 'city', 'sex', 2
  216. $flash_image = 'images/locations/pavlovsk/church/ch_prayingflash.jpg'
  217. $flash_text[0] = '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.'
  218. gs 'flash', 'butt', 'indoors', 2, 2
  219. gs 'stat'
  220. act 'Return to Narthex': gt 'city_church', 'Narthex'
  221. end
  222. end
  223. end
  224. --- city_church ---------------------------------