gdkbibl.qsrc 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. # gdkbibl
  2. $metka = ''
  3. $loc = 'gdkbibl'
  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">Community center library</font></b></center>'
  21. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/library/gdkbibl.jpg"></center>'
  22. 'For such a small town, this library is surprisingly large - containing many interesting books on a wide variety of subjects.'
  23. act 'Leave':gt 'gdk'
  24. act 'Go to the toilets': gt 'gdktoilet', 'start'
  25. if hour >= 8 and hour < 18:
  26. act 'Read a book on science (1:00)':
  27. *clr & cla
  28. if blizoruk = 100 or glassqw = 1:
  29. glassqw = 1
  30. 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
  31. end
  32. if pcs_nerd > 0:
  33. lastread = totminut
  34. lastreadday = daystart
  35. pcs_nerd += 1
  36. end
  37. minut += 60
  38. intel_exp += RAND(3,6) + (mentats_dose - rand(0,mentats_dose))
  39. blizoruk += 1
  40. grupvalue[3] +=1
  41. gs'stat'
  42. '<center><img <<$set_imgh>> src="images/shared/accessories/books/science1.jpg"></center>'
  43. 'You spend an hour reading, trying to make sense of all the clever propositions writen inside and to finally understand the subject it describes.'
  44. act 'Put the book back':gt 'gdkbibl'
  45. end
  46. act 'Read an adventure novel (1:00)':
  47. *clr & cla
  48. if blizoruk = 100 or glassqw = 1:
  49. glassqw = 1
  50. 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
  51. end
  52. if pcs_nerd > 0:
  53. lastread = totminut
  54. lastreadday = daystart
  55. pcs_nerd += 1
  56. end
  57. minut += 60
  58. pcs_mood = 100
  59. pcs_willpwr += 100
  60. blizoruk += 1
  61. grupvalue[3] +=1
  62. gs'stat'
  63. '<center><img <<$set_imgh>> src="images/shared/accessories/books/fiction' + rand(1,2) + '.jpg"></center>'
  64. 'You spend an hour reading an adventure novel, immersing yourself in daring deeds and awesome twists.'
  65. act 'Put the book back':gt 'gdkbibl'
  66. end
  67. act 'Read a fantasy novel (1:00)':
  68. *clr & cla
  69. if blizoruk = 100 or glassqw = 1:
  70. glassqw = 1
  71. 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
  72. end
  73. if pcs_nerd > 0:
  74. lastread = totminut
  75. lastreadday = daystart
  76. pcs_nerd += 1
  77. end
  78. minut += 60
  79. pcs_mood = 100
  80. pcs_willpwr += 100
  81. blizoruk += 1
  82. grupvalue[3] +=1
  83. gs'stat'
  84. '<center><img <<$set_imgh>> src="images/shared/accessories/books/fantasy' + rand(1,9) + '.jpg"></center>'
  85. '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.'
  86. act 'Put the book back':gt 'gdkbibl'
  87. end
  88. act 'Read a science fiction novel (1:00)':
  89. *clr & cla
  90. if blizoruk = 100 or glassqw = 1:
  91. glassqw = 1
  92. 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
  93. end
  94. if pcs_nerd > 0:
  95. lastread = totminut
  96. lastreadday = daystart
  97. pcs_nerd += 1
  98. end
  99. minut += 60
  100. pcs_mood = 100
  101. pcs_willpwr += 100
  102. blizoruk += 1
  103. grupvalue[3] +=1
  104. gs'stat'
  105. '<center><img <<$set_imgh>> src="images/shared/accessories/books/scifi' + rand(1,6) + '.jpg"></center>'
  106. '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.'
  107. act 'Put the book back':gt 'gdkbibl'
  108. end
  109. act 'Read a romance novel (1:00)':
  110. *clr & cla
  111. if blizoruk = 100 or glassqw = 1:
  112. glassqw = 1
  113. 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
  114. end
  115. if pcs_nerd > 0:
  116. lastread = totminut
  117. lastreadday = daystart
  118. pcs_nerd += 1
  119. end
  120. minut += 60
  121. pcs_mood = 100
  122. pcs_willpwr += 100
  123. blizoruk += 1
  124. pcs_horny += 20
  125. gs'stat'
  126. '<center><img <<$set_imgh>> src="images/shared/accessories/books/romance' + rand(1,20) + '.jpg"></center>'
  127. '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.'
  128. act 'Put the book back':gt 'gdkbibl'
  129. end
  130. act 'Study for an hour':
  131. *clr & cla
  132. if blizoruk = 100 or glassqw = 1:
  133. glassqw = 1
  134. 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.'
  135. gt 'gdkbibl'
  136. end
  137. if pcs_nerd > 0:
  138. lastread = totminut
  139. lastreadday = daystart
  140. pcs_nerd += 1
  141. end
  142. minut += 60
  143. lern += RAND(1,3)
  144. blizoruk += 1
  145. grupvalue[3] += 2
  146. gs'stat'
  147. '<center><img <<$set_imgh>> src="images/shared/accessories/books/learning' + rand(1,3) + '.jpg"></center>'
  148. 'You read several books that should help you with your school work, you feel that you learned something today.'
  149. act 'Put the book back':gt 'gdkbibl'
  150. end
  151. act 'Read from the collected works of Leo Tolstoy (1:00)':
  152. *clr & cla
  153. if blizoruk = 100 or glassqw = 1:
  154. glassqw = 1
  155. 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
  156. end
  157. if pcs_nerd > 0:
  158. lastread = totminut
  159. lastreadday = daystart
  160. pcs_nerd += 1
  161. end
  162. minut += 60
  163. sprt_exp += RAND(3,6)
  164. blizoruk += 1
  165. grupvalue[3] +=2
  166. gs'stat'
  167. '<center><img <<$set_imgh>> src="images/shared/accessories/books/tolstoy.jpg"></center>'
  168. '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.'
  169. act 'Put the book back':gt 'gdkbibl'
  170. end
  171. else
  172. 'The library is closed.'
  173. end
  174. --- gdkbibl ---------------------------------