1
0

gdkbibl.qsrc 6.2 KB

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