obroom.qsrc 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. # obroom
  2. if $ARGS[0] = 'start':
  3. $sexloc = 'obroom'
  4. CLOSE ALL
  5. $metka = 'start'
  6. $loc = 'obroom'
  7. $metkaM = 'start'
  8. $locM = 'obroom'
  9. $location_type = 'private'
  10. $menu_loc = 'obroom'
  11. $menu_arg = 'start'
  12. menu_off = 0
  13. cla
  14. *clr
  15. odkomp = 1
  16. gs 'stat'
  17. '<center><b>Your room</b></center>'
  18. '<center><img <<$set_imgh>> src="images/locations/city/island/university/dorm/obroom.jpg"></center>'
  19. 'This is your room which you share with another girl named Vika Zhurova.'
  20. 'At the right of the entrance you find an old <a href="exec:gt ''wardrobe'', ''start''">wardrobe</a> (where you can choose outfits and organize your clothing).'
  21. 'There''s a <a href="exec:gt ''mirror'',''start''">mirror</a> hanging on the wall.'
  22. 'Your <a href="exec:gt ''bed'',''start''">bed</a> is positioned in one of the corners of the room.'
  23. if komp = 1:'There''s a <a href="exec:gt ''Komp'',''start''">laptop</a> laying on your bed.'
  24. gs 'exercise', 'start'
  25. ''
  26. if hour > 14 and hour < 20 and npc_rel['A220']>=60 and birthday = day and birthmonth = month and vikaslut = 1 and bordel = 1 and slutty > 0 and b_vika_present_Day!day:
  27. vika_sleep = 0
  28. '<a href="exec:gt''Vika''">Vika</a> seems excited when she notices you, trying to hide a box behind her back.'
  29. elseif hour > 14 and hour < 20:
  30. vika_sleep = 0
  31. '<a href="exec:gt''Vika''">Vika</a> is laying on her bed.'
  32. end
  33. if hour > 3 and hour < 8 and vikaslut = 0:
  34. vika_sleep = 1
  35. '<a href="exec:gt''Vika''">Vika</a> is sleeping in her bed after being out the whole night.'
  36. end
  37. if hour > 3 and hour < 8 and vikaslut = 1:
  38. vika_sleep = 1
  39. '<a href="exec:gt''Vika''">Vika</a> is sleeping in her bed after working hard in the brothel all night.'
  40. end
  41. act 'Walk out in the corridor':
  42. if $clothingworntype ! 'nude':
  43. odkomp = 0
  44. minut += 5
  45. gt 'dorm', 'korr'
  46. else
  47. 'You need to get dressed.'
  48. end
  49. end
  50. act 'Read the course literature (2:00)':
  51. cla
  52. menu_off = 1
  53. minut += 120
  54. intel_exp += 1 + (mentats_dose - rand(0,mentats_dose))
  55. gs 'stat'
  56. 'You spend two hours reading the course literature. You feel like you''ve picked up some stuff from the book that will come in handy in time for the examination.'
  57. act 'Finish':gt 'obroom', 'start'
  58. end
  59. if student > 0 and kursovik < 100:
  60. act 'Do some coursework (1:00)':
  61. cla
  62. *clr
  63. menu_off = 1
  64. minut += 60
  65. pcs_mood -= 10
  66. kursovik += rand(pcs_intel / 20, pcs_intel / 10)
  67. if kursovik > 100:kursovik = 100
  68. gs 'stat'
  69. '<center><img <<$set_imgh>> src="images/pc/activities/study.jpg"></center>'
  70. 'You sit for an hour and prepare your work for the class. You''ve finish <<kursovik>> percent of the work.'
  71. act 'Finish':gt 'obroom', 'start'
  72. end
  73. end
  74. dynamic $wearpan
  75. dynamic $removepan
  76. end
  77. --- obroom ---------------------------------