gdkbibl.qsrc 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  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. pcs_willpwr += 100
  63. blizoruk += 1
  64. grupvalue[3] +=1
  65. gs'stat'
  66. '<center><img <<$set_imgh>> src="images/shared/accessories/books/fiction' + rand(1,2) + '.jpg"></center>'
  67. 'You spend an hour reading an adventure novel, immersing yourself in daring deeds and awesome twists.'
  68. act 'Put the book back':gt 'gdkbibl'
  69. end
  70. act 'Read a fantasy novel (1:00)':
  71. *clr & cla
  72. menu_off = 1
  73. if blizoruk = 100 or glassqw = 1:
  74. glassqw = 1
  75. 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
  76. end
  77. if pcs_nerd > 0:
  78. lastread = totminut
  79. lastreadday = daystart
  80. pcs_nerd += 1
  81. end
  82. minut += 60
  83. pcs_mood = 100
  84. pcs_willpwr += 100
  85. blizoruk += 1
  86. grupvalue[3] +=1
  87. gs'stat'
  88. '<center><img <<$set_imgh>> src="images/shared/accessories/books/fantasy' + rand(1,9) + '.jpg"></center>'
  89. '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.'
  90. act 'Put the book back':gt 'gdkbibl'
  91. end
  92. act 'Read a science fiction novel (1:00)':
  93. *clr & cla
  94. menu_off = 1
  95. if blizoruk = 100 or glassqw = 1:
  96. glassqw = 1
  97. 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
  98. end
  99. if pcs_nerd > 0:
  100. lastread = totminut
  101. lastreadday = daystart
  102. pcs_nerd += 1
  103. end
  104. minut += 60
  105. pcs_mood = 100
  106. pcs_willpwr += 100
  107. blizoruk += 1
  108. grupvalue[3] +=1
  109. gs'stat'
  110. '<center><img <<$set_imgh>> src="images/shared/accessories/books/scifi' + rand(1,6) + '.jpg"></center>'
  111. '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.'
  112. act 'Put the book back':gt 'gdkbibl'
  113. end
  114. act 'Read a romance novel (1:00)':
  115. *clr & cla
  116. menu_off = 1
  117. if blizoruk = 100 or glassqw = 1:
  118. glassqw = 1
  119. 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
  120. end
  121. if pcs_nerd > 0:
  122. lastread = totminut
  123. lastreadday = daystart
  124. pcs_nerd += 1
  125. end
  126. minut += 60
  127. pcs_mood = 100
  128. pcs_willpwr += 100
  129. blizoruk += 1
  130. pcs_horny += 20
  131. gs'stat'
  132. '<center><img <<$set_imgh>> src="images/shared/accessories/books/romance' + rand(1,20) + '.jpg"></center>'
  133. '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.'
  134. act 'Put the book back':gt 'gdkbibl'
  135. end
  136. act 'Study for an hour':
  137. *clr & cla
  138. menu_off = 1
  139. if blizoruk = 100 or glassqw = 1:
  140. glassqw = 1
  141. 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.'
  142. gt 'gdkbibl'
  143. end
  144. if pcs_nerd > 0:
  145. lastread = totminut
  146. lastreadday = daystart
  147. pcs_nerd += 1
  148. end
  149. minut += 60
  150. lern += RAND(1,3)
  151. blizoruk += 1
  152. grupvalue[3] += 2
  153. gs'stat'
  154. '<center><img <<$set_imgh>> src="images/shared/accessories/books/learning' + rand(1,3) + '.jpg"></center>'
  155. 'You read several books that should help you with your school work, you feel that you learned something today.'
  156. act 'Put the book back':gt 'gdkbibl'
  157. end
  158. act 'Read from the collected works of Leo Tolstoy (1:00)':
  159. *clr & cla
  160. menu_off = 1
  161. if blizoruk = 100 or glassqw = 1:
  162. glassqw = 1
  163. 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
  164. end
  165. if pcs_nerd > 0:
  166. lastread = totminut
  167. lastreadday = daystart
  168. pcs_nerd += 1
  169. end
  170. minut += 60
  171. sprt_exp += RAND(3,6)
  172. blizoruk += 1
  173. grupvalue[3] +=2
  174. gs'stat'
  175. '<center><img <<$set_imgh>> src="images/shared/accessories/books/tolstoy.jpg"></center>'
  176. '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.'
  177. act 'Put the book back':gt 'gdkbibl'
  178. end
  179. else
  180. 'The library is closed.'
  181. end
  182. --- gdkbibl ---------------------------------