gdkbibl.qsrc 6.0 KB

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