gdkbibl.qsrc 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. # gdkbibl
  2. $metka = ''
  3. $loc = 'gdkbibl'
  4. $location_type = 'public_indoors'
  5. frost = 0
  6. gs 'stat'
  7. gs 'themes', 'indoors'
  8. '<center><b><font color="maroon">Community center library</font></b></center>'
  9. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/library/gdkbibl.jpg"></center>'
  10. 'For such a small town, this library is surprisingly large - containing many interesting books on a wide variety of subjects.'
  11. act 'Leave':gt 'gdk'
  12. act 'Go to the toilets': gt 'gdktoilet', 'start'
  13. if hour >= 8 and hour < 18:
  14. act 'Read a book on science (1:00)':
  15. *clr & cla
  16. if blizoruk = 100 or glassqw = 1:
  17. glassqw = 1
  18. msg'The text blurs across the page, it seems that your eyesight is actually pretty poor. Maybe you should head to the city and visit an ophthalmologist.'&gt $curloc
  19. end
  20. if pcs_nerd > 0:
  21. lastread = totminut
  22. lastreadday = daystart
  23. pcs_nerd += 1
  24. end
  25. minut += 60
  26. intel_exp += RAND(3,6) + (mentats_dose - rand(0,mentats_dose))
  27. blizoruk += 1
  28. grupvalue[3] +=1
  29. gs'stat'
  30. '<center><img <<$set_imgh>> src="images/shared/accessories/books/science1.jpg"></center>'
  31. 'You spend an hour reading, trying to make sense of all the clever propositions writen inside and to finally understand the subject it describes.'
  32. act 'Put the book back':gt 'gdkbibl'
  33. end
  34. act 'Read an adventure novel (1:00)':
  35. *clr & cla
  36. if blizoruk = 100 or glassqw = 1:
  37. glassqw = 1
  38. msg'The text blurs across the page, it seems that your eyesight is actually pretty poor. Maybe you should head to the city and visit an ophthalmologist.'&gt $curloc
  39. end
  40. if pcs_nerd > 0:
  41. lastread = totminut
  42. lastreadday = daystart
  43. pcs_nerd += 1
  44. end
  45. minut += 60
  46. pcs_mood = 100
  47. pcs_willpwr += 100
  48. blizoruk += 1
  49. grupvalue[3] +=1
  50. gs'stat'
  51. '<center><img <<$set_imgh>> src="images/shared/accessories/books/fiction' + rand(1,2) + '.jpg"></center>'
  52. 'You spend an hour reading an adventure novel, immersing yourself in daring deeds and awesome twists.'
  53. act 'Put the book back':gt 'gdkbibl'
  54. end
  55. act 'Read a fantasy novel (1:00)':
  56. *clr & cla
  57. if blizoruk = 100 or glassqw = 1:
  58. glassqw = 1
  59. msg'The text blurs across the page, it seems that your eyesight is actually pretty poor. Maybe you should head to the city and visit an ophthalmologist.'&gt $curloc
  60. end
  61. if pcs_nerd > 0:
  62. lastread = totminut
  63. lastreadday = daystart
  64. pcs_nerd += 1
  65. end
  66. minut += 60
  67. pcs_mood = 100
  68. pcs_willpwr += 100
  69. blizoruk += 1
  70. grupvalue[3] +=1
  71. gs'stat'
  72. '<center><img <<$set_imgh>> src="images/shared/accessories/books/fantasy' + rand(1,9) + '.jpg"></center>'
  73. 'You spend an hour reading a fantasy novel, rescuing damsels from dragons, digging for jewels with dwarves and performing word changing magic alongside elves and druids.'
  74. act 'Put the book back':gt 'gdkbibl'
  75. end
  76. act 'Read a science fiction novel (1:00)':
  77. *clr & cla
  78. if blizoruk = 100 or glassqw = 1:
  79. glassqw = 1
  80. msg'The text blurs across the page - it seems that your eyesight is actually pretty poor. Maybe you should head to the city and visit an ophthalmologist.'&gt $curloc
  81. end
  82. if pcs_nerd > 0:
  83. lastread = totminut
  84. lastreadday = daystart
  85. pcs_nerd += 1
  86. end
  87. minut += 60
  88. pcs_mood = 100
  89. pcs_willpwr += 100
  90. blizoruk += 1
  91. grupvalue[3] +=1
  92. gs'stat'
  93. '<center><img <<$set_imgh>> src="images/shared/accessories/books/scifi' + rand(1,6) + '.jpg"></center>'
  94. 'You spend an hour reading a science fiction novel - flying off into space, travelling though time, running from rogue AI''s and creating monsters with your hunchbacked assistant.'
  95. act 'Put the book back':gt 'gdkbibl'
  96. end
  97. act 'Read a romance novel (1:00)':
  98. *clr & cla
  99. if blizoruk = 100 or glassqw = 1:
  100. glassqw = 1
  101. msg'The text blurs across the page, it seems that your eyesight is actually pretty poor. Maybe you should head to the city and visit an ophthalmologist.'&gt $curloc
  102. end
  103. if pcs_nerd > 0:
  104. lastread = totminut
  105. lastreadday = daystart
  106. pcs_nerd += 1
  107. end
  108. minut += 60
  109. pcs_mood = 100
  110. pcs_willpwr += 100
  111. blizoruk += 1
  112. pcs_horny += 20
  113. gs'stat'
  114. '<center><img <<$set_imgh>> src="images/shared/accessories/books/romance' + rand(1,20) + '.jpg"></center>'
  115. 'You spend a very short hour reading a romance novel - choosing between a vampire or a werewolf, falling in love with an obscenely wealthy Grey...several of the scenes are very steamy and you find yourself getting quite aroused.'
  116. act 'Put the book back':gt 'gdkbibl'
  117. end
  118. act 'Study for an hour':
  119. *clr & cla
  120. if blizoruk = 100 or glassqw = 1:
  121. glassqw = 1
  122. msg'The text blurs across the page, it seems that your eyesight is actually pretty poor. Maybe you should head to the city and visit an ophthalmologist.'
  123. gt 'gdkbibl'
  124. end
  125. if pcs_nerd > 0:
  126. lastread = totminut
  127. lastreadday = daystart
  128. pcs_nerd += 1
  129. end
  130. minut += 60
  131. lern += RAND(1,3)
  132. blizoruk += 1
  133. grupvalue[3] += 2
  134. gs'stat'
  135. '<center><img <<$set_imgh>> src="images/shared/accessories/books/learning' + rand(1,3) + '.jpg"></center>'
  136. 'You read several books that should help you with your school work, you feel that you learned something today.'
  137. act 'Put the book back':gt 'gdkbibl'
  138. end
  139. act 'Read from the collected works of Leo Tolstoy (1:00)':
  140. *clr & cla
  141. if blizoruk = 100 or glassqw = 1:
  142. glassqw = 1
  143. msg'The text blurs across the page, it seems that your eyesight is actually pretty poor. Maybe you should head to the city and visit an ophthalmologist.'&gt $curloc
  144. end
  145. if pcs_nerd > 0:
  146. lastread = totminut
  147. lastreadday = daystart
  148. pcs_nerd += 1
  149. end
  150. minut += 60
  151. sprt_exp += RAND(3,6)
  152. blizoruk += 1
  153. grupvalue[3] +=2
  154. gs'stat'
  155. '<center><img <<$set_imgh>> src="images/shared/accessories/books/tolstoy.jpg"></center>'
  156. 'You read the book for an hour. Tolstoy is certainly a classic writer, no one denies this, but he used a shit-load of words.'
  157. act 'Put the book back':gt 'gdkbibl'
  158. end
  159. else
  160. 'The library is closed.'
  161. end
  162. --- gdkbibl ---------------------------------