1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- # quest_data_a274
- !! NPC 274 Maya Semionova
- if $ARGS[0] = 'init':
- $loc_id = 'quest_data_a274'
- !! init all vars and data
- if ballet['debug'] = 1: debug['code'] = 1
- if qstage ! 0:
- gs $loc_id, 'quest_body', 'stage_<<qstage>>'
- else
- gt $loc_id, 'debug'
- end
- end
- if $ARGS[0] = '':
- gt $loc_id, 'debug'
- end
- if $ARGS[0] = 'quest_body':
- !! create quest body and navigation as required - mandatory fields:
- !! $npc_['quest_body']
- !! $npc_quest['q_back']
- !! $npc_quest['q_next']
- !! Important set q_back or q_next to null when reaching start or finish to ensure navigation works!
- !! Stage 1
- if $ARGS[1] = 'stage_1':
- !! first stage, so set to null to ensure nav works.
- $npc_quest['q_back'] = 'null'
- if mayaqw['path'] >= 1:
- $npc_quest['q_next'] = 'stage_2'
- else
- $npc_quest['q_next'] = 'null'
- end
- $npc_quest['hints'] = 'Attend the Pushken Ballet School and interact with the students.'
- !! Quest body text:
- $npc_quest['body'] = 'Build Maya''s trust: Meet Maya at the Residential Dance School in Pushkin.'
- end
- !! Stage 2
- if $ARGS[1] = 'stage_2':
- $npc_quest['q_back'] = 'stage_1'
- if mayaqw['path'] >= 3:
- $npc_quest['q_next'] = 'stage_3'
- else
- $npc_quest['q_next'] = 'null'
- end
- $npc_quest['q_next'] = 'null'
- $npc_quest['hints'] = 'Accept Maya''s invitation.'
- if mayaqw['grave'] = 0:
- $npc_quest['body'] = 'Build Maya''s trust: Continue to meet and talk to Maya.'
- elseif mayaqw['grave'] = -1:
- $npc_quest['body'] = 'You spent the evening dedicated to studying ballet and ignored Maya''s visit to your room.'
- elseif mayaqw['grave'] = 1:
- $npc_quest['body'] = 'You ignored Maya''s first knock when she came to visit.'
- elseif mayaqw['grave'] = 3:
- $npc_quest['body'] = 'You invited Maya into your room and had a brief heartfelt conversation about her past.'
- elseif mayaqw['grave'] = 4:
- $npc_quest['body'] = 'You went to graveyard and supported Maya in her grief, and had a hearftelt conversation with her afterwards in your room.'
- end
- end
- !! Stage 3
- end
- if $ARGS[0] = 'debug':
- !! creata debug data sheet of all associated variables to be displayed in a pop up
- 'Event init failed, $ARGS not set.'
- end
- --- quest_data_a274 ---------------------------------
|