#Priest simple quest (maybe) #I created this script to practice what I had learned by watching the tutorial vidoes at #http://mcmonkey.org/denizen/vids #The priest in this script will give the quest #The "dead npc" will give the completion flag #this NPC on completion will give a reward #This is for The Chapel Perilous that supports various priests of different orders #Last edit - 2 Dec 2015 #Rev 0.2b # # First Erisian Priest #chat format cchat: type: format format: "<&b><&f> <&co> <&a>" # #Now the assignment scripts ErisianPriestQuest: type: assignment interact scripts: - 10 HailEris actions: on assignment: #Here we go ahead and turn on the triggers and set the range of the proximity trigger. #but wait we turned OFF the click triger!?!?!? Why? Well do you want random people just coming #up and fondling you? Well neither does the priest, talk to them a bit even offer to help then try to click them - trigger name:click state:false - trigger name:chat state:true - trigger name:proximity state:true radius:8 #Now we equip our priest with some gear. - ^equip head:i@air chest:i@ErisianTunic legs:i@ErisianLeggings boots:i@ErisianBoots # #Item scripts ErisianTunic: type: item material: leather_chestplate color: PURPLE display name: Robes of an Erisian Priest lore: - The Purple Tunic of an Erisian Priest enchantments: - PROTECTION_PROJECTILE ErisianLeggings: type: item material: leather_leggings color: PURPLE display name: Leggings of an Erisian lore: - The Purple Leggings of an Erisian Priest ErisianBoots: type: item material: leather_boots color: PURPLE display name: Boots of an Erisian lore: - The Purple Boots of an Erisian Priest enchantments: - PROTECTION_FALL PrincipiaDiscordia: type: book title: Principia Discordia author: Malaclypse the Younger text: - Hail Eris!All Hail Kallisti!A proper greeting,Don't forget!

In the begining there was chaos,and the Gods stroveto impose order. # #Interaction scripts. lets use all the triggers just for fun, and a chat trigger that is #hidden but hinted at in the PrincipiaDiscordia #this will be important for future tie in quests but will trigger it here also with a reward) HailEris: type: interact steps: 1: proximity trigger: entry: script: - lookclose state:true - chat "Hail Eris! My friend. I am a travelling priest" - chat "of the Erisian Order. I have /news/ of the world if you are interested." - chat "I need your /help/ if you are interested in a quest." exit: script: - chat "Farewell friend!" - lookclose state:false 2: chat trigger: 1: trigger: /News/ of the world script: - narrate "Things have gotten bad here in the world." - narrate "the Illuminati is sending out monks and we do" - narrate "not know the purpose of thier missions. If" - narrate "learn anything be sure and let one of the" - narrate "priests of the Erisian Order know." 2: trigger: /All/ Hail Kallisti! script: - narrate "Hail Eris!! Another Initiate of the Order!" - flag Intiate:true - if { - give diamond_pickaxe quantity:1 - give money 100 -flag Erisgift:true - zap step:1 script:HailEris player: } - 3: trigger: "/Help/ you if I can" script: - narrate "Great! I appreciate that !" - narrate "Just give me a click and we will begin" - trigger name:click state:true - zap step:3 script:s@HailEris player: #this step explains the quest and 3: click trigger: script: - if && { - zap step:1 script:QuestComplete player: } - narrate "I have recently discovered that one of the Order" - narrate "had been taken and killed. Among his belongings was a staff." - narrate "Bring it back and click me and I will reward you well." - narrate "What say you? /Yes/ or /No/" 4: chat trigger: 1: trigger: /Yes/ I accept this quest script: #here we need to set some quest flags on the player to check later when the item is found and brought back. #something like if has and then reward #our dead NPC will "give" them the item (and toggle the flag)when he is clicked on. maybe a nasty suprise.. can i spawn some mythic mobs?!?!?. - flag StaffQuestBegun:true - flag StaffQuestItem:false - narrate "I am glad for your help !" - narrate "Not far from here to the are the remains" - narrate "of Brother Jim. He fought hard against his enemies." - narrate "And they know not the power of his Staff" - narrate "You will find them in a cave marked with purple stained glass near the entrance" - narrate "I am told he is not far from the entrance" 2: trigger: /No/ it sounds too dangerous for me script: - narrate " I am sorry to hear that." - narrate "If you change your mind please let me know." QuestComplete: type: task script: - narrate "Great your have brought brother Jims staff back!" -