1
0

pav_library.qsrc 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. # pav_library
  2. $loc_arg = ''
  3. $loc = 'pav_library'
  4. $location_type = 'public_indoors'
  5. $menu_loc = 'pav_library'
  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 'pav_commcenter'
  15. act 'Go to the toilets': gt 'gdktoilet', 'start'
  16. if nerd_game['game_day'] = daystart and hour = 19: act 'Wait for game night to start': minut += 60-minut & gt 'pav_library'
  17. if nerd_game['game_day'] = daystart and hour = 20: act 'Join the <b>nerds</b>': gt 'nerd_game_night', 'game'
  18. if hour >= 8 and hour < 18:
  19. act 'Read a book on science (1:00)':
  20. *clr & cla
  21. menu_off = 1
  22. if blizoruk = 500 or glassqw = 1: glassqw = 1 & 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. if pcs_nerd > 0: lastread = totminut & lastreadday = daystart & pcs_nerd += 1
  24. minut += 60
  25. intel_exp += rand(3,6) + (mentats_dose - rand(0,mentats_dose))
  26. blizoruk += 1
  27. grupvalue[3] +=1
  28. gs'stat'
  29. '<center><img <<$set_imgh>> src="images/shared/accessories/books/science1.jpg"></center>'
  30. 'You spend an hour reading, trying to make sense of all the clever propositions writen inside and to finally understand the subject it describes.'
  31. act 'Put the book back': gt 'pav_library'
  32. end
  33. act 'Read an adventure novel (1:00)':
  34. *clr & cla
  35. menu_off = 1
  36. if blizoruk = 500 or glassqw = 1: glassqw = 1 & 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
  37. if pcs_nerd > 0: lastread = totminut & lastreadday = daystart & pcs_nerd += 1
  38. minut += 60
  39. pcs_mood = 100
  40. blizoruk += 1
  41. grupvalue[3] +=1
  42. gs'stat'
  43. '<center><img <<$set_imgh>> src="images/shared/accessories/books/fiction' + rand(1,2) + '.jpg"></center>'
  44. 'You spend an hour reading an adventure novel, immersing yourself in daring deeds and awesome twists.'
  45. act 'Put the book back': gt 'pav_library'
  46. end
  47. act 'Read a fantasy novel (1:00)':
  48. *clr & cla
  49. menu_off = 1
  50. if blizoruk = 500 or glassqw = 1: glassqw = 1 & 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
  51. if pcs_nerd > 0: lastread = totminut & lastreadday = daystart & pcs_nerd += 1
  52. minut += 60
  53. pcs_mood = 100
  54. blizoruk += 1
  55. grupvalue[3] +=1
  56. gs'stat'
  57. '<center><img <<$set_imgh>> src="images/shared/accessories/books/fantasy' + rand(1,9) + '.jpg"></center>'
  58. '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.'
  59. act 'Put the book back': gt 'pav_library'
  60. end
  61. act 'Read a science fiction novel (1:00)':
  62. *clr & cla
  63. menu_off = 1
  64. if blizoruk = 500 or glassqw = 1: glassqw = 1 & 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
  65. if pcs_nerd > 0: lastread = totminut & lastreadday = daystart & pcs_nerd += 1
  66. minut += 60
  67. pcs_mood = 100
  68. blizoruk += 1
  69. grupvalue[3] +=1
  70. gs'stat'
  71. '<center><img <<$set_imgh>> src="images/shared/accessories/books/scifi' + rand(1,6) + '.jpg"></center>'
  72. '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.'
  73. act 'Put the book back': gt 'pav_library'
  74. end
  75. act 'Read a romance novel (1:00)':
  76. *clr & cla
  77. menu_off = 1
  78. if blizoruk = 500 or glassqw = 1: glassqw = 1 & 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
  79. if pcs_nerd > 0: lastread = totminut & lastreadday = daystart & pcs_nerd += 1
  80. minut += 60
  81. pcs_mood = 100
  82. blizoruk += 1
  83. pcs_horny += 20
  84. gs'stat'
  85. '<center><img <<$set_imgh>> src="images/shared/accessories/books/romance' + rand(1,20) + '.jpg"></center>'
  86. '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.'
  87. act 'Put the book back': gt 'pav_library'
  88. end
  89. act 'Study for an hour':
  90. *clr & cla
  91. menu_off = 1
  92. if blizoruk = 500 or glassqw = 1: glassqw = 1 & 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
  93. if pcs_nerd > 0: lastread = totminut & lastreadday = daystart & pcs_nerd += 1
  94. minut += 60
  95. lern += rand(1,3)
  96. blizoruk += 1
  97. grupvalue[3] += 2
  98. gs'stat'
  99. '<center><img <<$set_imgh>> src="images/shared/accessories/books/learning' + rand(1,3) + '.jpg"></center>'
  100. 'You read several books that should help you with your school work, you feel that you learned something today.'
  101. act 'Put the book back': gt 'pav_library'
  102. end
  103. act 'Read from the collected works of Leo Tolstoy (1:00)':
  104. *clr & cla
  105. menu_off = 1
  106. if blizoruk = 500 or glassqw = 1: glassqw = 1 & 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
  107. if pcs_nerd > 0: lastread = totminut & lastreadday = daystart & pcs_nerd += 1
  108. minut += 60
  109. sprt_exp += rand(3,6)
  110. blizoruk += 1
  111. grupvalue[3] +=2
  112. gs'stat'
  113. '<center><img <<$set_imgh>> src="images/shared/accessories/books/tolstoy.jpg"></center>'
  114. '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.'
  115. act 'Put the book back': gt 'pav_library'
  116. end
  117. else
  118. 'The library is closed.'
  119. end
  120. --- pav_library ---------------------------------