"KnightDavid": type: assignment interact scripts: - 10 necromancerhunt "necromancerhunt": type: interact steps: 1: click trigger: script: - chat " Shhh... there's nothing to see here servent." - narrate " waves you away." 2: proximity trigger: - chat "Come closer..." click trigger: script: - engage - chat "The necromancer... is near.." - wait 2 - chat "Don't go that way, the necromancer is too powerful... I feel my end... is near..." - narrate "You hear a rumble of thunder." - weather thunder - wait 1 - chat "It's in the clearing up there! RUN!" - wait 1 - chat "Do you wish to continue?" - ^narrate "Say<&co>" - ^narrate "[Yes or No]" - disengage chat trigger: 'Start Questline': Trigger: /Yes/, I will continue. script: - spawn n@10 l@5,68,249,world - ^flag Killthenecromancer - narrate "Defeat the necromancer" - ^zap step:3 'Deny Questline': Trigger: /No/, I can't! script: - execute as_player "spawn" - title stay:3s 'subtitle:<&4>Quest Failed' '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: - chat "What are you doing?! The necromancer is still living!!" 4: click trigger: script: - engage - give money qty:3000 - narrate "You have picked up $3000 from defeating the necromancer." - wait 1 - narrate "The necromancer has been defeated..." - wait 1 - narrate "The earth beneath you feels like a cloud, suddenly a surge of energy overwhelms you." - wait 3 - narrate "You hear the whisper of ghosts of the royal children the necromancer had eaten calling you to somewhere..." - teleport l@140.5,81,288.48841,world - ^flag player Killthenecromancer:! - ^zap step:2 script:spiritscript - disengage 5: click trigger: script: - narrate " Stairs off into the distance." Quest_Killthenecromancer_World: type: world events: on NPC killed: - if ! queue clear - run locally delay:1t wCount wCount: - ^flag player Killthenecromancer:++ - ^if == 1 { - zap step:4 "script:necromancerhunt" - queue clear } - ^if > 1 { - narrate "You have killed the necromancer, go check on the valiant Knight." } #