gdkbibl 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  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. if pcs_intel >= 50:
  35. intel_exp += RAND(0,1) + (mentats_dose - rand(0,mentats_dose))
  36. elseif pcs_intel >= 25:
  37. intel_exp += RAND(1,2) + (mentats_dose - rand(0,mentats_dose))
  38. else
  39. intel_exp += RAND(1,3) + (mentats_dose - rand(0,mentats_dose))
  40. end
  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. if blizoruk = 100 or glassqw = 1:
  51. glassqw = 1
  52. 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
  53. end
  54. if pcs_nerd > 0:
  55. lastread = totminut
  56. lastreadday = daystart
  57. pcs_nerd += 1
  58. end
  59. minut += 60
  60. pcs_mood = 100
  61. pcs_willpwr += 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. if blizoruk = 100 or glassqw = 1:
  72. glassqw = 1
  73. 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
  74. end
  75. if pcs_nerd > 0:
  76. lastread = totminut
  77. lastreadday = daystart
  78. pcs_nerd += 1
  79. end
  80. minut += 60
  81. pcs_mood = 100
  82. pcs_willpwr += 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. if blizoruk = 100 or glassqw = 1:
  93. glassqw = 1
  94. 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
  95. end
  96. if pcs_nerd > 0:
  97. lastread = totminut
  98. lastreadday = daystart
  99. pcs_nerd += 1
  100. end
  101. minut += 60
  102. pcs_mood = 100
  103. pcs_willpwr += 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. if blizoruk = 100 or glassqw = 1:
  114. glassqw = 1
  115. 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
  116. end
  117. if pcs_nerd > 0:
  118. lastread = totminut
  119. lastreadday = daystart
  120. pcs_nerd += 1
  121. end
  122. minut += 60
  123. pcs_mood = 100
  124. pcs_willpwr += 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. if blizoruk = 100 or glassqw = 1:
  135. glassqw = 1
  136. 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.'
  137. gt 'gdkbibl'
  138. end
  139. if pcs_nerd > 0:
  140. lastread = totminut
  141. lastreadday = daystart
  142. pcs_nerd += 1
  143. end
  144. minut += 60
  145. lern += RAND(1,3)
  146. blizoruk += 1
  147. grupvalue[3] += 2
  148. gs'stat'
  149. '<center><img <<$set_imgh>> src="images/shared/accessories/books/learning' + rand(1,3) + '.jpg"></center>'
  150. 'You read several books that should help you with your school work, you feel that you learned something today.'
  151. act 'Put the book back':gt 'gdkbibl'
  152. end
  153. act 'Read from the collected works of Leo Tolstoy (1:00)':
  154. *clr & cla
  155. if blizoruk = 100 or glassqw = 1:
  156. glassqw = 1
  157. 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
  158. end
  159. if pcs_nerd > 0:
  160. lastread = totminut
  161. lastreadday = daystart
  162. pcs_nerd += 1
  163. end
  164. minut += 60
  165. if pcs_sprt >= 50:
  166. sprt_exp += RAND(0,1)
  167. elseif pcs_sprt >= 25:
  168. sprt_exp += RAND(1,2)
  169. else
  170. sprt_exp += RAND(1,3)
  171. end
  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 ---------------------------------