pav_library.qsrc 6.1 KB

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