obroom.qsrc 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. ''
  25. 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:
  26. vika_sleep = 0
  27. '<a href="exec:gt''Vika''">Vika</a> seems excited when she notices you, trying to hide a box behind her back.'
  28. elseif hour > 14 and hour < 20:
  29. vika_sleep = 0
  30. '<a href="exec:gt''Vika''">Vika</a> is laying on her bed.'
  31. end
  32. if hour > 3 and hour < 8 and vikaslut = 0:
  33. vika_sleep = 1
  34. '<a href="exec:gt''Vika''">Vika</a> is sleeping in her bed after being out the whole night.'
  35. end
  36. if hour > 3 and hour < 8 and vikaslut = 1:
  37. vika_sleep = 1
  38. '<a href="exec:gt''Vika''">Vika</a> is sleeping in her bed after working hard in the brothel all night.'
  39. end
  40. act 'Walk out in the corridor':
  41. if $clothingworntype ! 'nude':
  42. odkomp = 0
  43. minut += 5
  44. gt 'dorm', 'korr'
  45. else
  46. 'You need to get dressed.'
  47. end
  48. end
  49. act 'Read the course literature (2:00)':
  50. cla
  51. menu_off = 1
  52. minut += 120
  53. intel_exp += 1 + (mentats_dose - rand(0,mentats_dose))
  54. gs 'stat'
  55. '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.'
  56. act 'Finish':gt 'obroom', 'start'
  57. end
  58. if student > 0 and kursovik < 100:
  59. act 'Do some coursework (1:00)':
  60. cla
  61. *clr
  62. menu_off = 1
  63. minut += 60
  64. pcs_mood -= 10
  65. kursovik += rand(pcs_intel / 20, pcs_intel / 10)
  66. if kursovik > 100:kursovik = 100
  67. gs 'stat'
  68. '<center><img <<$set_imgh>> src="images/pc/activities/study.jpg"></center>'
  69. 'You sit for an hour and prepare your work for the class. You''ve finish <<kursovik>> percent of the work.'
  70. act 'Finish':gt 'obroom', 'start'
  71. end
  72. end
  73. dynamic $wearpan
  74. dynamic $removepan
  75. end
  76. --- obroom ---------------------------------