quest_data_a274.qsrc 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. # quest_data_a274
  2. !! NPC 274 Maya Semionova
  3. if $ARGS[0] = 'init':
  4. $loc_id = 'quest_data_a274'
  5. !! init all vars and data
  6. if ballet['debug'] = 1: debug['code'] = 1
  7. if qstage ! 0:
  8. gs $loc_id, 'quest_body', 'stage_<<qstage>>'
  9. else
  10. gt $loc_id, 'debug'
  11. end
  12. end
  13. if $ARGS[0] = '':
  14. gt $loc_id, 'debug'
  15. end
  16. if $ARGS[0] = 'quest_body':
  17. !! create quest body and navigation as required - mandatory fields:
  18. !! $npc_['quest_body']
  19. !! $npc_quest['q_back']
  20. !! $npc_quest['q_next']
  21. !! Important set q_back or q_next to null when reaching start or finish to ensure navigation works!
  22. !! Stage 1
  23. if $ARGS[1] = 'stage_1':
  24. !! first stage, so set to null to ensure nav works.
  25. $npc_quest['q_back'] = 'null'
  26. if mayaqw['path'] >= 1:
  27. $npc_quest['q_next'] = 'stage_2'
  28. else
  29. $npc_quest['q_next'] = 'null'
  30. end
  31. $npc_quest['hints'] = 'Attend the Pushken Ballet School and interact with the students.'
  32. !! Quest body text:
  33. $npc_quest['body'] = 'Build Maya''s trust: Meet Maya at the Residential Dance School in Pushkin.'
  34. end
  35. !! Stage 2
  36. if $ARGS[1] = 'stage_2':
  37. $npc_quest['q_back'] = 'stage_1'
  38. if mayaqw['path'] >= 3:
  39. $npc_quest['q_next'] = 'stage_3'
  40. else
  41. $npc_quest['q_next'] = 'null'
  42. end
  43. $npc_quest['q_next'] = 'null'
  44. $npc_quest['hints'] = 'Accept Maya''s invitation.'
  45. if mayaqw['grave'] = 0:
  46. $npc_quest['body'] = 'Build Maya''s trust: Continue to meet and talk to Maya.'
  47. elseif mayaqw['grave'] = -1:
  48. $npc_quest['body'] = 'You spent the evening dedicated to studying ballet and ignored Maya''s visit to your room.'
  49. elseif mayaqw['grave'] = 1:
  50. $npc_quest['body'] = 'You ignored Maya''s first knock when she came to visit.'
  51. elseif mayaqw['grave'] = 3:
  52. $npc_quest['body'] = 'You invited Maya into your room and had a brief heartfelt conversation about her past.'
  53. elseif mayaqw['grave'] = 4:
  54. $npc_quest['body'] = 'You went to graveyard and supported Maya in her grief, and had a hearftelt conversation with her afterwards in your room.'
  55. end
  56. end
  57. !! Stage 3
  58. end
  59. if $ARGS[0] = 'debug':
  60. !! creata debug data sheet of all associated variables to be displayed in a pop up
  61. 'Event init failed, $ARGS not set.'
  62. end
  63. --- quest_data_a274 ---------------------------------