gdkbibl 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. # gdkbibl
  2. $metka = $ARGS[0]
  3. $loc = $CURLOC
  4. $location_type = 'public_indoors'
  5. frost = 0
  6. gs 'stat'
  7. fcolor = rgb(0, 0, 0)
  8. bcolor = rgb(255, 255, 255)
  9. lcolor = rgb(106, 90, 205)
  10. '<center><b><font color="maroon">community center</font></b></center>'
  11. '<center><img src="images/qwest/alter/gdkbibl.jpg"></center>'
  12. 'A small library with lots of interesting books.'
  13. act 'Leave':gt 'gdk'
  14. if hour >= 8 and hour <= 18:
  15. act 'Read science book (1:00)':
  16. cls
  17. if blizoruk = 100 or glassqw = 1:
  18. glassqw = 1
  19. msg'The text on the page spreads, It seems you are spoiled vision. You will need to go to the optometrist.'&gt $curloc
  20. end
  21. if nerdism > 0:
  22. lastread = totminut
  23. lastreadday = daystart
  24. nerdism += 1
  25. end
  26. minut += 60
  27. if intel >= 50:
  28. intel += RAND(0,1) + (mentats_dose - rand(0,mentats_dose))
  29. elseif intel >= 25:
  30. intel += RAND(1,2) + (mentats_dose - rand(0,mentats_dose))
  31. else
  32. intel += RAND(1,3) + (mentats_dose - rand(0,mentats_dose))
  33. end
  34. blizoruk += 1
  35. gs'stat'
  36. 'You are reading a book for an hour trying to figure out all sorts of clever frazochki and understand the subject description.'
  37. act 'Put the book':gt $curloc
  38. end
  39. act 'Read entertaining book (1:00)':
  40. cls
  41. if blizoruk = 100 or glassqw = 1:
  42. glassqw = 1
  43. msg'The text on the page spreads, It seems you are spoiled vision. You will need to go to the optometrist.'&gt $curloc
  44. end
  45. if nerdism > 0:
  46. lastread = totminut
  47. lastreadday = daystart
  48. nerdism += 1
  49. end
  50. minut += 60
  51. manna += 100
  52. willpower += 100
  53. blizoruk += 1
  54. gs'stat'
  55. 'You are within an hour reading a book about the adventures.'
  56. act 'Put the book':gt $curloc
  57. end
  58. act 'Read the collected works of Leo Tolstoy (1:00)':
  59. cls
  60. if blizoruk = 100 or glassqw = 1:
  61. glassqw = 1
  62. msg'The text on the page spreads, It seems you are spoiled vision. You will need to go to the optometrist.'&gt $curloc
  63. end
  64. if nerdism > 0:
  65. lastread = totminut
  66. lastreadday = daystart
  67. nerdism += 1
  68. end
  69. minut += 60
  70. if will >= 50:
  71. will += RAND(0,1)
  72. elseif will >= 25:
  73. will += RAND(1,2)
  74. else
  75. will += RAND(1,3)
  76. end
  77. blizoruk += 1
  78. gs'stat'
  79. 'You are within an hour reading a book. Tolstoy classic course, no one denies, but he wrote a rare tyagomotinu.'
  80. act 'Put the book':gt $curloc
  81. end
  82. else
  83. 'The library is closed.'
  84. end
  85. --- gdkbibl ---------------------------------