cchat: type: format format:"<&b><&f><&co><&a>" shadowassignment: type: assignment actions: on assignment: - trigger name:proximity state:true - trigger name:click state:true - run masterpath npc: def<^npc> interact scripts: - 10 shadowquest shadowquest: type: interact steps: 1: click trigger: script: - narrate format:cchat "please do not touch me i am in a hurry. the kingdom is in a state of emergency." proximity trigger: exit: script: - narrate format:cchat "Wait!!! You there. Your name is I have heard tales of you. You might be able to save the kingdom." - ^create player "Ender Knight" save: "Ender Knight" - ^adjust hide_entity: - ^adjust ]> hide_entity: - ^run quest npc: def:<^npc> - ^run questtalk npc: - zap 2 questtalk: type: task definition: masternpc script: - ^while { - walk } - narrate format:cchat "please listen to what i have to say. there is a dangerous creature that has moved into the sewers and has been amasing a monster army. will you help masterpath: type: task definition: masternpc script: - walk auto_range - wait 10 - walk auto_range - wait 10 - walk auto_range - wait 10 - walk auto_range - wait 10 - walk auto_range - wait 10 - walk auto_range - wait 10 - walk auto_range - wait 10 - walk auto_range - wait 10 - walk auto_range - wait 10 quest: type: interact definition: masternpc steps: 1: chat trigger: 1: trigger: /yes/"i will help you. this evil cannot go unpunished." script: - run enderkightpath npc: def: 2: trigger: /no/"i will not put my life at risk for you." script: - narrate format:cchat "well than i will have to find somone else." - walk auto-range - remove - adjust show_entity: - zap 1 script:shadowquest 2: enderknightpath: type: task definitions: masternpc script: - ^flag step:1 - ~walk auto_range - inject pause - ^flag step:2 - ~walk auto_range - inject pause - wait 1 - ^flag step:3 - ~walk auto_range - inject pause - remove - adjust show_entity: - zap 1 script:shadowquest pause: type: task script: - ^while ].is[or_more].than[5]{ - narrate format:cchat "try to keep up. i cant go loosing you now." - wait 5 } enderkighttalk: type: task script: - narrate format:cchat "I am afraid i have under sold the difficulty of this creature. it is viciously intelegent. and has an army of creatures at its disposal. you must be very carefull of its magic. all of the soldiars i have sent down there have not come back. " - wait 3 - narrate format:cchat "the sewers are also like a labrynth. no one knows all the pathways. not even me. i will try to meet you at the exit if i am able." - while { - wait 1 } - narrate format:cchat "well here we are at the entrancee. good luck to you. i have left some supplies in this chest. if you survive your welcome to them. good luck "