tyrithiannpc: type: assignment interact scripts: - 30 tyrithian "tyrithian": type: interact steps: 1: click trigger: script: - chat "Hello ." - narrate " nods To Player" 2: click trigger: script: - chat "..." - wait 1 - chat "That sounds familiar. Oh yes! I know who you are." - wait 1 - chat "You are the one that assisted our people to the east are you not?" - wait 2 - narrate " take a good look at you curiously." - wait 1 - chat "You could be a fine addition to our little town, perhaps I shall take you under my wing" - wait 3 - chat "Are you interested?" - ^narrate "Say<&co>" - ^narrate " Yes or No" chat trigger: 'Start Questline': Trigger: /Yes/, please allow me to prove myself. script: - chat "Alright , I want you to bring me a horse on a lead." - wait 2 - chat "Bring it right back to me when you find one." - title stay:3s 'subtitle:<&a>Horse Retrieval Started' - ^zap step:3 'Deny Questline': Trigger: /No/, I can not do that right now. script: - chat "Be well." 'What did you say': trigger: /REGEX:\w+/ script: - chat ", I don<&sq>t what <&sq><&sq> means." - ^narrate "Say<&co>" - ^narrate " [Yes or No]" 3: click trigger: script: - if >= 1 { - foreach { - if <%value%.get_leash_holder> == { - engage - chat "What a beautiful creature!" - wait 2 - chat "Let me get a post in, give me just a second." - wait 1 - animate animation:ARM_SWING - modifyblock m@fence - leash %value% holder:l@-1020,94,-1056,test - wait 1 - chat "Great job , I have one final quest for you to prove yourself." - wait 3 - chat "Take this for your time before continuing your journey." - give i@fish qty:25 - give money qty:2000 - give xp qty:200 - narrate "You have received $2000, 200 xp and 25 fish!" - disengage - ^zap step:4 script:tyrithian - run s@cleanuphorse delay:1m - queue clear } } } - chat "To continue your questline you must bring me a horse." - wait 1 - chat "Now go on , come talk to me when you have a horse." cleanuphorse: type: task script: - remove - modifyblock m@air cleanuphorseworld: type: world events: on server start: - if == m@fence { - modifyblock m@air }