downlibrary.qsrc 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. # downlibrary
  2. $metka = $ARGS[0]
  3. $loc = $CURLOC
  4. $location_type = 'public_indoors'
  5. frost = 0
  6. gs 'stat'
  7. gs 'themes', 'indoors'
  8. '<center><b><font color="maroon">National Library of Russia</font></b></center>'
  9. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/library/downlibint.jpg"></center>'
  10. '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.'
  11. act 'Leave the library': minut += 5 & gt 'down'
  12. if hour >= 8 and hour <= 18:
  13. act 'Read a science book (1:00)':
  14. cls
  15. if blizoruk = 100 or glassqw = 1:
  16. glassqw = 1
  17. 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
  18. end
  19. if pcs_nerd > 0:
  20. lastread = totminut
  21. lastreadday = daystart
  22. pcs_nerd += 1
  23. end
  24. minut += 60
  25. if pcs_intel >= 50:
  26. intel_exp += RAND(0,1) + (mentats_dose - rand(0,mentats_dose))
  27. elseif pcs_intel >= 25:
  28. intel_exp += RAND(1,2) + (mentats_dose - rand(0,mentats_dose))
  29. else
  30. intel_exp += RAND(1,3) + (mentats_dose - rand(0,mentats_dose))
  31. end
  32. blizoruk += 1
  33. gs'stat'
  34. ' You read the book for an hour trying to make sense of all clever propositions and understand the subject of the description.'
  35. act 'Put the book down':gt $curloc
  36. end
  37. act 'Read an entertaining book (1:00)':
  38. cls
  39. if blizoruk = 100 or glassqw = 1:
  40. glassqw = 1
  41. 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
  42. end
  43. if pcs_nerd > 0:
  44. lastread = totminut
  45. lastreadday = daystart
  46. pcs_nerd += 1
  47. end
  48. minut += 60
  49. pcs_mood = 100
  50. pcs_willpwr += 100
  51. blizoruk += 1
  52. gs'stat'
  53. ' You read an adventure fiction for an hour.'
  54. act 'Put the book down':gt $curloc
  55. end
  56. act 'Read the collected works of Leo Tolstoy (1:00)':
  57. cls
  58. if blizoruk = 100 or glassqw = 1:
  59. glassqw = 1
  60. 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
  61. end
  62. if pcs_nerd > 0:
  63. lastread = totminut
  64. lastreadday = daystart
  65. pcs_nerd += 1
  66. end
  67. minut += 60
  68. if pcs_sprt >= 50:
  69. sprt_exp += RAND(0,1)
  70. elseif pcs_sprt >= 25:
  71. sprt_exp += RAND(1,2)
  72. else
  73. sprt_exp += RAND(1,3)
  74. end
  75. blizoruk += 1
  76. gs'stat'
  77. ' You read the book for an hour. Tolstoy is certainly a classic writer, no one denies this, but he wrote exceptionally wordily.'
  78. act 'Put the book down':gt $curloc
  79. end
  80. if MagicLibrary = 1:
  81. act 'Read in magic books':
  82. cls
  83. if blizoruk = 100 or glassqw = 1:
  84. glassqw = 1
  85. 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
  86. end
  87. if pcs_nerd > 0:
  88. lastread = totminut
  89. lastreadday = daystart
  90. pcs_nerd += 1
  91. end
  92. minut += 60
  93. if pcs_splcstng >= 50:
  94. splcstng_exp += RAND(0,1)
  95. elseif pcs_splcstng >= 25:
  96. splcstng_exp += RAND(1,2)
  97. else
  98. splcstng_exp += RAND(1,3)
  99. end
  100. blizoruk += 1
  101. gs'stat'
  102. ' 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.'
  103. '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.'
  104. act 'Put the book down':gt $curloc
  105. end
  106. end
  107. else
  108. ' The library is closed.'
  109. end
  110. --- downlibrary ---------------------------------