1
0

downlibrary.qsrc 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. # downlibrary
  2. $metka = $ARGS[0]
  3. $loc = $CURLOC
  4. $location_type = 'public_indoors'
  5. frost = 0
  6. gs 'stat'
  7. if night_mode = 1:
  8. fcolor = rgb(255, 255, 255)
  9. bcolor = rgb(0, 0, 0)
  10. lcolor = rgb(106, 90, 205)
  11. elseif night_mode = 2:
  12. fcolor = rgb(255, 255, 255)
  13. bcolor = rgb(20, 20, 20)
  14. lcolor = rgb(106, 90, 205)
  15. else
  16. fcolor = rgb(0, 0, 0)
  17. bcolor = rgb(255, 255, 255)
  18. lcolor = rgb(106, 90, 205)
  19. end
  20. '<center><b><font color="maroon">National Library of Russia</font></b></center>'
  21. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/library/downlibint.jpg"></center>'
  22. 'A huge library with thousands upon thousands of books. You could spend years here and you probably still wouldn''t be able to read it all.'
  23. act 'Leave the library': minut += 5 & gt 'down'
  24. if hour >= 8 and hour <= 18:
  25. act 'Read a science book (1:00)':
  26. cls
  27. if blizoruk = 100 or glassqw = 1:
  28. glassqw = 1
  29. msg'The text blurs across the page, it looks like you have got poor eyesight. It would be suitable to visit an ophthalmologists.'&gt $curloc
  30. end
  31. if pcs_nerd > 0:
  32. lastread = totminut
  33. lastreadday = daystart
  34. pcs_nerd += 1
  35. end
  36. minut += 60
  37. if pcs_intel >= 50:
  38. intel_exp += RAND(0,1) + (mentats_dose - rand(0,mentats_dose))
  39. elseif pcs_intel >= 25:
  40. intel_exp += RAND(1,2) + (mentats_dose - rand(0,mentats_dose))
  41. else
  42. intel_exp += RAND(1,3) + (mentats_dose - rand(0,mentats_dose))
  43. end
  44. blizoruk += 1
  45. gs'stat'
  46. ' You read the book for an hour trying to make sense of all clever propositions and understand the subject of the description.'
  47. act 'Put the book down':gt $curloc
  48. end
  49. act 'Read an entertaining book (1:00)':
  50. cls
  51. if blizoruk = 100 or glassqw = 1:
  52. glassqw = 1
  53. msg'The text blurs across the page, it looks like you have got poor eyesight. It would be suitable to visit an ophthalmologists.'&gt $curloc
  54. end
  55. if pcs_nerd > 0:
  56. lastread = totminut
  57. lastreadday = daystart
  58. pcs_nerd += 1
  59. end
  60. minut += 60
  61. pcs_mood = 100
  62. pcs_willpwr += 100
  63. blizoruk += 1
  64. gs'stat'
  65. ' You read an adventure fiction for an hour.'
  66. act 'Put the book down':gt $curloc
  67. end
  68. act 'Read the collected works of Leo Tolstoy (1:00)':
  69. cls
  70. if blizoruk = 100 or glassqw = 1:
  71. glassqw = 1
  72. msg' The text blurs across the page, it looks like you have got poor eyesight. It would be suitable to visit an ophthalmologists.'&gt $curloc
  73. end
  74. if pcs_nerd > 0:
  75. lastread = totminut
  76. lastreadday = daystart
  77. pcs_nerd += 1
  78. end
  79. minut += 60
  80. if pcs_sprt >= 50:
  81. sprt_exp += RAND(0,1)
  82. elseif pcs_sprt >= 25:
  83. sprt_exp += RAND(1,2)
  84. else
  85. sprt_exp += RAND(1,3)
  86. end
  87. blizoruk += 1
  88. gs'stat'
  89. ' You read the book for an hour. Tolstoy is certainly a classic writer, no one denies this, but he wrote exceptionally wordily.'
  90. act 'Put the book down':gt $curloc
  91. end
  92. if MagicLibrary = 1:
  93. act 'Read in magic books':
  94. cls
  95. if blizoruk = 100 or glassqw = 1:
  96. glassqw = 1
  97. msg' The text blurs across the page, it looks like you have got poor eyesight. It would be suitable to visit an ophthalmologists.'&gt $curloc
  98. end
  99. if pcs_nerd > 0:
  100. lastread = totminut
  101. lastreadday = daystart
  102. pcs_nerd += 1
  103. end
  104. minut += 60
  105. if pcs_splcstng >= 50:
  106. splcstng_exp += RAND(0,1)
  107. elseif pcs_splcstng >= 25:
  108. splcstng_exp += RAND(1,2)
  109. else
  110. splcstng_exp += RAND(1,3)
  111. end
  112. blizoruk += 1
  113. gs'stat'
  114. ' You pick out one of the magic books you can actually read and sit down with it. Not only is the subject matter complex and mostly a mystery to you, but the descriptions and explanations are unnecessarily wordy, as if the writer had something to prove.'
  115. 'After about an hour, you decide to take a break from it and, instead, test your memory. You don''t remember much, but you understand magic a tiny bit better than before nonetheless.'
  116. act 'Put the book down':gt $curloc
  117. end
  118. end
  119. else
  120. ' The library is closed.'
  121. end
  122. --- downlibrary ---------------------------------