1
0

anushka_konstantinov_schedule.qsrc 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385
  1. # anushka_konstantinov_schedule
  2. !! 2023-05-26
  3. !! Her schedule:
  4. !AnushkaLocCity tells us where Anvushka is located
  5. !! Todo make a text array to hold these values and use like AnushkaLocCityDes[locat['A144']] = String
  6. !----------------------------------------------
  7. !locat['A144'] = 0 (Anushka not home Fri and Sat 20:00 for rest of night)
  8. !locat['A144'] = 1 (Anushka in the hallway)
  9. !locat['A144'] = 2 (Anushka in her room)
  10. !locat['A144'] = 3 (Anushka in Radomir''s room)
  11. !locat['A144'] = 4 (Anushka in the kitchen)
  12. !locat['A144'] = 5 (Anushka in the livingroom)
  13. !locat['A144'] = 6 (Anushka in Valentin and Arkadi''s room)
  14. !locat['A144'] = 7 (Anushka in the bathroom)
  15. !locat['A144'] = 8 (Anushka is in the garage with the band Wed 18-23)
  16. !locat['A144'] = 9 (Anushka is at the Coffee Hole working (week = 2 or week = 4 or week = 7) and hour >= 18) or (week = 5 and hour >= 10 and hour < 16))
  17. !locat['A144'] = 10 (Anushka is at the University classes 09:00 to 15:00)
  18. !locat['A144'] = 11 (Anushka is at the modeling studio First Sat of each month 8 to 16:00)
  19. !locat['A144'] = 12 (Anushka is at the University Library Mon and Wed from 15:00 till 18:00)
  20. !locat['A144'] = 20 Home, sleeping getting up in the morning and walking to school.
  21. !locat['A144'] = 21 At school.
  22. !locat['A144'] = 22 Hanging out near the school.
  23. !locat['A144'] = 22 Home, accepting visitors or hanging out near the Five Eight Estate.
  24. !locat['A144'] = 23 Out at an unspecified location in Pav.
  25. !locat['A144'] = 24 Practicing with the band in the garage.
  26. !locat['A144'] = 25 At the community center disco.
  27. !locat['A144'] = 26 Travelling to or from the city to Pav.
  28. !locat['A144'] = 30 On tour with the band
  29. !---------------------------------------------
  30. ! City schedule
  31. ! Standard location is not at home which should be set at init
  32. !locat['A144'] = 0
  33. !!Anushka is home Mon from 18:00 for rest of night, Tues and Thurs from 15:00 till 18:00, Fri from 16:00 till 20:00, Sat from 08:00 till 20:00 (first Sat each month from 16:00 till 20:00), Sun from 08:00 till 17:00
  34. !! Home is located in her bedroom (2)
  35. ! TODO: randomize the location inside home?
  36. if yearstart = 1 and (month < 6 or year = 2016):
  37. !! Schedule for the first year of the game until just after school ends
  38. if week < 6:
  39. if hour < 8:
  40. locat['A144'] = 20
  41. elseif hour < 14:
  42. locat['A144'] = 21
  43. elseif hour < 15:
  44. locat['A144'] = 22
  45. elseif hour < 16:
  46. if locat['A144_rand1'] ! daystart:
  47. if rand(0,4) = 0:
  48. locat['A144'] = 23
  49. else
  50. locat['A144'] = 22
  51. end
  52. locat['144_rand1'] = daystart
  53. locat['144_save1'] = locat['144']
  54. else
  55. locat['144'] = locat['144_save1']
  56. end
  57. elseif hour < 18:
  58. if week =3:
  59. locat['A144'] = 24
  60. else
  61. if locat['A144_rand2'] ! daystart:
  62. if rand(0,1) = 0:
  63. locat['A144'] = 23
  64. else
  65. locat['A144'] = 22
  66. end
  67. locat['144_rand2'] = daystart
  68. locat['144_save2'] = locat['144']
  69. else
  70. locat['144'] = locat['144_save2']
  71. end
  72. end
  73. elseif hour < 20:
  74. if week = 3:
  75. locat['A144'] = 24
  76. else
  77. if locat['A144_rand3'] ! daystart:
  78. if rand(0,3) = 0:
  79. locat['A144'] = 23
  80. else
  81. locat['A144'] = 22
  82. end
  83. locat['144_rand3'] = daystart
  84. locat['144_save3'] = locat['144']
  85. else
  86. locat['144'] = locat['144_save3']
  87. end
  88. end
  89. elseif hour < 22:
  90. if week = 3:
  91. locat['A144'] = 24
  92. elseif week = 5:
  93. locat['A144'] = 25
  94. else
  95. if locat['A144_rand4'] ! daystart:
  96. if rand(0,3) = 0:
  97. locat['A144'] = 23
  98. else
  99. locat['A144'] = 22
  100. end
  101. locat['144_rand4'] = daystart
  102. locat['144_save4'] = locat['144']
  103. else
  104. locat['144'] = locat['144_save4']
  105. end
  106. end
  107. else
  108. if week = 5:
  109. locat['A144'] = 25
  110. else
  111. locat['A144'] = 20
  112. end
  113. end
  114. elseif week = 6:
  115. if hour < 9:
  116. locat['A144'] = 20
  117. elseif hour< 13:
  118. if day < 8:
  119. locat['A144'] = 11
  120. else
  121. if locat['A144_rand1'] ! daystart:
  122. if rand(0,3) = 0:
  123. locat['A144'] = 23
  124. else
  125. locat['A144'] = 22
  126. end
  127. locat['144_rand1'] = daystart
  128. locat['144_save1'] = locat['144']
  129. else
  130. locat['144'] = locat['144_save1']
  131. end
  132. end
  133. elseif hour < 16:
  134. if day < 8:
  135. locat['A144'] = 11
  136. else
  137. if locat['A144_rand2'] ! daystart:
  138. if rand(0,1) = 0:
  139. locat['A144'] = 23
  140. else
  141. locat['A144'] = 22
  142. end
  143. locat['144_rand2'] = daystart
  144. locat['144_save2'] = locat['144']
  145. else
  146. locat['144'] = locat['144_save2']
  147. end
  148. end
  149. elseif hour < 18:
  150. if day < 8:
  151. locat['A144'] = 23
  152. else
  153. if locat['A144_rand3'] ! daystart:
  154. if rand(0,1) = 0:
  155. locat['A144'] = 23
  156. else
  157. locat['A144'] = 22
  158. end
  159. locat['144_rand3'] = daystart
  160. locat['144_save3'] = locat['144']
  161. else
  162. locat['144'] = locat['144_save3']
  163. end
  164. end
  165. elseif hour < 20:
  166. if locat['A144_rand4'] ! daystart:
  167. if rand(0,3) = 0:
  168. locat['A144'] = 23
  169. else
  170. locat['A144'] = 22
  171. end
  172. locat['144_rand4'] = daystart
  173. locat['144_save4'] = locat['144']
  174. else
  175. locat['144'] = locat['144_save4']
  176. end
  177. else
  178. locat['A144'] = 25
  179. end
  180. else
  181. if hour < 9:
  182. locat['A144'] = 20
  183. elseif hour < 13:
  184. if locat['A144_rand1'] ! daystart:
  185. if rand(0,3) = 0:
  186. locat['A144'] = 23
  187. else
  188. locat['A144'] = 22
  189. end
  190. locat['144_rand1'] = daystart
  191. locat['144_save1'] = locat['144']
  192. else
  193. locat['144'] = locat['144_save1']
  194. end
  195. elseif hour < 17:
  196. if locat['A144_rand2'] ! daystart:
  197. if rand(0,1) = 0:
  198. locat['A144'] = 23
  199. else
  200. locat['A144'] = 22
  201. end
  202. locat['144_rand2'] = daystart
  203. locat['144_save2'] = locat['144']
  204. else
  205. locat['144'] = locat['144_save2']
  206. end
  207. elseif hour < 20:
  208. if locat['A144_rand3'] ! daystart:
  209. if rand(0,1) = 0:
  210. locat['A144'] = 23
  211. else
  212. locat['A144'] = 22
  213. end
  214. locat['144_rand3'] = daystart
  215. locat['144_save3'] = locat['144']
  216. else
  217. locat['144'] = locat['144_save3']
  218. end
  219. elseif hour < 22:
  220. if locat['A144_rand4'] ! daystart:
  221. if rand(0,3) = 0:
  222. locat['A144'] = 23
  223. else
  224. locat['A144'] = 22
  225. end
  226. locat['144_rand4'] = daystart
  227. locat['144_save4'] = locat['144']
  228. else
  229. locat['144'] = locat['144_save4']
  230. end
  231. else
  232. locat['A144'] = 20
  233. end
  234. end
  235. elseif yearstart = 1 or (yearstart = 2 and month = 8 and day < 10):
  236. !! Schedule for the rest of the first year (and a week of the second) She is on tour with the band.
  237. locat['A144'] = 30
  238. else
  239. !! Schedule for later uni years.
  240. if week = 1:
  241. ! Monday
  242. if hour >= 9 and hour < 15:
  243. ! Need an additional check: is the university open?
  244. locat['A144'] = 10
  245. elseif hour >= 15 and hour < 18:
  246. locat['A144'] = 12
  247. elseif hour >= 18 and hour <= 23:
  248. locat['A144'] = 2
  249. else
  250. locat['A144'] = 0
  251. end
  252. elseif week = 2:
  253. if hour >= 9 and hour < 15:
  254. locat['A144'] = 10
  255. elseif hour >= 15 and hour < 18:
  256. locat['A144'] = 2
  257. elseif hour >= 18 and hour <23:
  258. locat['A144'] = 9
  259. else
  260. locat['A144'] = 0
  261. end
  262. elseif week = 3:
  263. if hour >= 9 and hour < 15:
  264. locat['A144'] = 10
  265. elseif hour >= 15 and hour < 18:
  266. locat['A144'] = 12
  267. elseif hour >= 18 and hour < 23:
  268. locat['A144'] = 8
  269. else
  270. locat['A144'] = 0
  271. end
  272. elseif week = 4:
  273. if hour >= 9 and hour < 15:
  274. locat['A144'] = 10
  275. elseif hour >= 18 and hour <23:
  276. locat['A144'] = 9
  277. else
  278. locat['A144'] = 0
  279. end
  280. elseif week = 5:
  281. if hour < 9:
  282. locat['A144'] = 0
  283. elseif hour < 10:
  284. locat['A144'] = 10
  285. elseif hour < 16:
  286. locat['A144'] = 9
  287. elseif hour < 20:
  288. locat['A144'] = 2
  289. else
  290. locat['A144'] = 0
  291. end
  292. elseif week = 6:
  293. !(first Sat each month from 16:00 till 20:00)
  294. if day <= 7:
  295. if hour >= 8 and hour < 16:
  296. locat['A144'] = 11
  297. elseif hour >= 16 and hour < 20:
  298. locat['A144'] = 2
  299. else
  300. locat['A144'] = 0
  301. end
  302. else
  303. if hour <= 8 and hour < 20:
  304. locat['A144'] = 2
  305. else
  306. locat['A144'] = 0
  307. end
  308. end
  309. else
  310. if hour >= 18 and hour <23:
  311. locat['A144'] = 9
  312. else
  313. locat['A144'] = 0
  314. end
  315. end
  316. end
  317. if locat['A144'] > 0 and locat['A144'] < 8:
  318. $AnushkaLocCity = 'home'
  319. else
  320. $AnushkaLocCity = 'notHome'
  321. end
  322. ! Use this in the calendar app on Sveta''s phone Loop over an array there that holds NPC IDs she is allowed to see there, and for each ID call this function.
  323. if $ARGS[0] = 'getLocation':
  324. !Set the text for the current NPC ID
  325. if locat['A144'] = 0:
  326. $npcLocation['A144'] = 'Anushka not home Fri and Sat 20:00 for rest of night'
  327. elseif locat['A144'] = 1:
  328. $npcLocation['A144'] = 'Anushka in the hallway at her city apartment'
  329. elseif locat['A144'] = 2:
  330. $npcLocation['A144'] = 'Anushka in her room at her city apartment'
  331. elseif locat['A144'] = 3:
  332. $npcLocation['A144'] = 'Anushka in Radomir''s room at her city apartment'
  333. elseif locat['A144'] = 4:
  334. $npcLocation['A144'] = 'Anushka in the kitchen at her city apartment'
  335. elseif locat['A144'] = 5:
  336. $npcLocation['A144'] = 'Anushka in the livingroom at her city apartment'
  337. elseif locat['A144'] = 6:
  338. $npcLocation['A144'] = 'Anushka in Valentin and Arkadi''s room'
  339. elseif locat['A144'] = 7:
  340. $npcLocation['A144'] = 'Anushka in the bathroom'
  341. elseif locat['A144'] = 8:
  342. $npcLocation['A144'] = 'Anushka is in the garage with the band Wed 18-23'
  343. elseif locat['A144'] = 9:
  344. $npcLocation['A144'] = 'Anushka is at her job at the The Coffee Hole'
  345. elseif locat['A144'] = 10:
  346. $npcLocation['A144'] = 'Anushka is at the University classes 09:00 to 15:00'
  347. elseif locat['A144'] = 11:
  348. $npcLocation['A144'] = 'Anushka is at the modeling studio First Sat of each month 8:00 to 16:00'
  349. elseif locat['A144'] = 12:
  350. $npcLocation['A144'] = 'Anushka is at the University Library Mon and Wed from 15:00 till 18:00'
  351. end
  352. end
  353. !! Get the current description for a journal entry
  354. !! This function will create a text, already formatted, showing the current instruction to progress for this character. That means we can store all scheduling info here and there is no need to edit other files.
  355. if $ARGS[0] = 'journal':
  356. ! City quest
  357. if anushkaCityQW['first_visit'] = 0:
  358. 'You don''t know where she lives but you likely know her as you went to school with her.'
  359. elseif anushkaCityQW['first_visit'] = 1:
  360. 'She told you where her apartment in they city is but you have not been there with her.'
  361. elseif anushkaCityQW['first_visit'] >= 2:
  362. 'You have visited her at her apartment, you should visit her again.'
  363. end
  364. !anushka_konstantinov_schedule_journal & *nl
  365. if anushkaQW['kiss'] <= 5:
  366. 'I think Anushka is really pretty and I would like to be more than just friends with her. Hopefully she will do more if we have done enough kissing.'
  367. elseif anushkaQW['kiss'] > 5:
  368. 'Anushka is really pretty, I think I definitely want to go further than just kissing.'
  369. end
  370. end
  371. --- anushka_konstantinov_schedule ---------------------------------