gdkbibl 6.0 KB

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