arkadi_fyodorov_schedule.qsrc 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. # arkadi_fyodorov_schedule
  2. !! 2023-05-26
  3. !! His schedule:
  4. !ArkadiLocCity tells us where Arkadi is located
  5. !locat['A156'] =
  6. !----------------------------------------------
  7. !locat['A156'] = 0 (Arkadi not home Fri and Sat 20:00 for rest of night)
  8. !locat['A156'] = 1 (Arkadi in the hallway)
  9. !locat['A156'] = 2 (Arkadi in Anushka''s room)
  10. !locat['A156'] = 3 (Arkadi in Radomir''s room)
  11. !locat['A156'] = 4 (Arkadi in the kitchen)
  12. !locat['A156'] = 5 (Arkadi in the livingroom)
  13. !locat['A156'] = 6 (Arkadi in his and Valentin''s room)
  14. !locat['A156'] = 7 (Arkadi in the bathroom)
  15. !locat['A156'] = 8 (Arkadi is in the garage with the band Wed 18-23)
  16. !locat['A156'] = 9 (Arkadi is at work, factory Mon-Fri 8 to 17)
  17. !locat['A156'] = 20 Home, sleeping getting up in the morning and walking to school.
  18. !locat['A156'] = 21 At school.
  19. !locat['A156'] = 23 Out at an unspecified location in Pav.
  20. !locat['A156'] = 24 Practicing with the band in the garage.
  21. !locat['A156'] = 25 At the community center disco.
  22. !locat['A156'] = 30 On tour with the band
  23. !---------------------------------------------
  24. !! Todo !!Arkadi is home Mon-Tues and Thurs from 18:00 for rest of night, Sun all day
  25. if yearstart = 1 and (month < 6 or year = 2016):
  26. !! Schedule for the first year of the game until just after school ends
  27. if week < 6:
  28. if hour < 8:
  29. locat['A156'] = 20
  30. elseif hour < 16:
  31. locat['A156'] = 23
  32. elseif hour < 20:
  33. if week = 3:
  34. locat['A156'] = 24
  35. else
  36. locat['A156'] = 23
  37. end
  38. elseif hour < 22:
  39. if week = 3:
  40. locat['A156'] = 24
  41. elseif week = 5:
  42. locat['A156'] = 25
  43. else
  44. locat['A156'] = 23
  45. end
  46. else
  47. if week = 5:
  48. locat['A156'] = 25
  49. else
  50. locat['A156'] = 20
  51. end
  52. end
  53. elseif week = 6:
  54. if hour < 9:
  55. locat['A156'] = 20
  56. elseif hour < 20:
  57. locat['A156'] = 23
  58. else
  59. locat['A156'] = 25
  60. end
  61. else
  62. if hour < 9:
  63. locat['A156'] = 20
  64. elseif hour < 22:
  65. locat['A156'] = 23
  66. else
  67. locat['A156'] = 20
  68. end
  69. end
  70. elseif yearstart = 1 or (yearstart = 2 and month = 8 and day < 10):
  71. !! Schedule for the rest of the first year (and a week of the second) She is on tour with the band.
  72. locat['A156'] = 30
  73. else
  74. if week = 1:
  75. if hour >= 8 and hour < 17:
  76. locat['A156'] = 9
  77. end
  78. elseif week = 2:
  79. if hour >= 8 and hour < 17:
  80. locat['A156'] = 9
  81. end
  82. elseif week = 3:
  83. if hour >= 8 and hour < 17:
  84. locat['A156'] = 9
  85. elseif hour >= 18 and hour < 23:
  86. locat['A156'] = 8
  87. end
  88. elseif week = 4:
  89. if hour >= 8 and hour < 17:
  90. locat['A156'] = 9
  91. end
  92. elseif week = 5:
  93. if hour >= 8 and hour < 17:
  94. locat['A156'] = 9
  95. elseif hour >= 20:
  96. locat['A156'] = 0
  97. end
  98. elseif week = 6:
  99. if hour >= 20:
  100. locat['A156'] = 0
  101. end
  102. elseif week = 7:
  103. end
  104. end
  105. if locat['A156'] > 0 and locat['A156'] < 8:
  106. $ArkadiLocCity = 'home'
  107. else
  108. $ArkadiLocCity = 'notHome'
  109. end
  110. if $ARGS[0] = 'getLocation':
  111. !Set the text for the current NPC ID
  112. if locat['A156'] = 0:
  113. $npcLocation['A156'] = 'Arkadi not home Fri and Sat 20:00 for rest of night.'
  114. elseif locat['A156'] = 1:
  115. $npcLocation['A156'] = 'Arkadi in the hallway.'
  116. elseif locat['A156'] = 2:
  117. $npcLocation['A156'] = 'Arkadi in Anushka''s room.'
  118. elseif locat['A156'] = 3:
  119. $npcLocation['A156'] = 'Arkadi in Radomir''s room.'
  120. elseif locat['A156'] = 4:
  121. $npcLocation['A156'] = 'Arkadi in the kitchen.'
  122. elseif locat['A156'] = 5:
  123. $npcLocation['A156'] = 'Arkadi in the livingroom.'
  124. elseif locat['A156'] = 6:
  125. $npcLocation['A156'] = 'Arkadi in Valentin''s and his room.'
  126. elseif locat['A156'] = 7:
  127. $npcLocation['A156'] = 'Arkadi in the bathroom.'
  128. elseif locat['A156'] = 8:
  129. $npcLocation['A156'] = 'Arkadi is in the garage with the band.'
  130. elseif locat['A156'] = 9:
  131. $npcLocation['A156'] = 'Arkadi is at work, mechanic Mon-Fri 8 to 17.'
  132. elseif locat['A156'] = 10:
  133. $npcLocation['A156'] = 'Arkadi is in the garage working on his bike Mon 17-23.'
  134. end
  135. end
  136. --- arkadi_fyodorov_schedule ---------------------------------