Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #BetterQuest###
- aliases:
- mall disk = 2261
- written book = 387
- #Finding NPC Numbers###
- on npc right click:
- name of player's tool contains "&5NPC Checker"
- message "&8[&3Quest&8] &7This NPC is numbered &a%event-number%&7."
- command /checknpc:
- trigger:
- give 1 paper named "&5NPC Checker" to player
- #Quest List###
- #Int = A Fine Introduction# #Quest 1#
- #Wood = The Whispering Woods# #Quest 2#
- #Ice = The Frostmane# #Quest 3#
- #Inn = An Innkeeper's Story# #Quest 4#
- #Debt1 = A Goblin's Demise# #Quest 5#
- #Whis = Where's My Whiskey?# #Quest 6#
- #Isl = An Island of Fire# #Quest 7.1#
- #Etc = Entering the City# #Quest 7.2#
- #Quest Command###
- command /quest [<text>] [<player>] [<text>]:
- trigger:
- if arg 1 is not set:
- send "&8[&3Quest&8] &c/quest list [player]: &7Shows the Quest List for the specified player."
- send "&8[&3Quest&8] &c/quest reset [player] [quest]: &7Resets the specified quest for the specified player."
- if arg 1 is "list":
- player arg is not set:
- send "&8[&3Quest&8] &cYou must specify the player!"
- stop
- send "&8[&3Quest&8] &7Showing Quest Progress for &6%player arg%&7."
- wait 10 ticks
- send "&8[&3Quest&8] &7Completed Quests:"
- {questInt.%player arg%} is true:
- send "&8[&3Quest&8] &aA Fine Introduction"
- {questWood.%player arg%} is true:
- send "&8[&3Quest&8] &aThe Whispering Woods"
- {questIce.%player arg%} is true:
- send "&8[&3Quest&8] &aThe Frostmane"
- {questInn.%player arg%} is true:
- send "&8[&3Quest&8] &aAn Innkeeper's Story"
- {questDebt1.%player arg%} is true:
- send "&8[&3Quest&8] &aA Goblin's Demise"
- {questWhis.%player arg%} is true:
- send "&8[&3Quest&8] &aWhere's My Whiskey?"
- send ""
- send "&8[&3Quest&8] &7Started Quests:"
- {questInt.%player arg%} is "Started":
- send "&8[&3Quest&8] &aA Fine Introduction"
- {questWood.%player arg%} is "started":
- send "&8[&3Quest&8] &aThe Whispering Woods"
- {questIce.%player arg%} is "started":
- send "&8[&3Quest&8] &aThe Frostmane"
- {questInn.%player arg%} is "started":
- send "&8[&3Quest&8] &aAn Innkeeper's Story"
- {questDebt1.%player arg%} is "started":
- send "&8[&3Quest&8] &aA Goblin's Demise"
- {questWhis.%player arg%} is "started":
- send "&8[&3Quest&8] &aWhere's My Whiskey?"
- send ""
- send "&8[&3Quest&8] &7Unstarted Quests:"
- {questInt.%player arg%} is not set:
- send "&8[&3Quest&8] &aA Fine Introduction"
- {questWood.%player arg%} is not set:
- send "&8[&3Quest&8] &aThe Whispering Woods"
- {questWood.%player arg%} is false:
- send "&8[&3Quest&8] &aThe Whispering Woods"
- {questIce.%player arg%} is false:
- send "&8[&3Quest&8] &aThe Frostmane"
- {questInn.%player arg%} is false:
- send "&8[&3Quest&8] &aAn Innkeeper's Story"
- {questDebt1.%player arg%} is false:
- send "&8[&3Quest&8] &aA Goblin's Demise"
- {questWhis.%player arg%} is false:
- send "&8[&3Quest&8] &aWhere's My Whiskey?"
- else if arg 1 is "reset":
- player has permission "quest.kukky"
- arg 3 is "wood":
- set {cultist.%player arg%} to 0
- set {culbook.%player arg%} to 0
- clear {questWood.%player arg%}
- message "&8[&3Quest&8] &7Reset '&aThe Whispering Woods&7' for &6%player arg%&7."
- arg 3 is "debt1":
- set {questDebt1.%player arg%} to false
- set {debt1kill.%player arg%} to 0
- set {debt1head.%player arg%} to 0
- set {debt1killer.%player%} to 0
- message "&8[&3Quest&8] &7Reset '&aA Goblin's Demise&7' for &6%player arg%&7."
- arg 3 is "ice":
- set {frostgrunt.%player arg%} to 0
- set {frostalpha.%player arg%} to 0
- set {questIce.%player arg%} to false
- message "&8[&3Quest&8] &7Reset '&aThe Frostmane&7' for &6%player arg%&7."
- arg 3 is "inn":
- set {questInn.%player arg%} to false
- set {innkill.%player arg%} to 0
- set {horusSpawn.%player arg%} to false
- message "&8[&3Quest&8] &7Reset '&aAn Innkeeper's Story&7' for &6%player arg%&7."
- arg 3 is "intro":
- delete {questInt.%player arg%}
- message "&8[&3Quest&8] &7Reset '&aA Fine Introduction&7' for &6%player arg%&7."
- #A Fine Introduction###
- on npc right click:
- event-number is 1215
- {questInt.%player%} is true:
- message "&8[&6Ed Clark&8] &7You already helped me out!"
- stop
- {questInt.%player%} is "Started":
- player has 10 cobblestone:
- play raw sound "mob.villager.idle" at player with pitch 0.1 volume 0.3
- message "&8[&6Ed Clark&8] &7Oh, thank you &a%player's display name%&7!"
- wait 2 seconds
- play raw sound "mob.villager.idle" at player with pitch 0.1 volume 0.3
- message "&8[&6Ed Clark&8] &7Here is your reward."
- remove 10 cobblestone from the player
- wait 1 seconds
- play raw sound "random.levelup" at player with pitch 0.1 volume 0.3
- message "&8[&aA Fine Introduction&8] &3Quest Complete&7: &aA Fine Introduction"
- wait 10 ticks
- message "&8[&aA Fine Introduction&8] &3Quest Rewards&7: &a1x Gold Block"
- give 1 gold block to the player
- set {questInt.%player%} to true
- stop
- message "&8[&aA Fine Introduction&8] &6Objective: &7Find &410 Cobblestone &7and hand it to &6Ed Clark&7."
- stop
- set {questInt.%player%} to "Started"
- play raw sound "mob.villager.idle" at player with pitch 0.1 volume 0.3
- message "&8[&6Ed Clark&8] &7Hello there, traveler! I might require some assistance."
- wait 2 seconds
- play raw sound "mob.villager.idle" at player with pitch 0.1 volume 0.3
- message "&8[&6Ed Clark&8] &7I am building a great port here at Spawn Island, and I need a bit of cobblestone. Mind getting me some?"
- wait 2 seconds
- play raw sound "random.orb" at player with pitch 0.1 volume 0.3
- message "&8[&aA Fine Introduction&8] &6Objective: &7Find &410 Cobblestone &7and hand it to &6Ed Clark&7."
- #The Whispering Woods###
- #Whispering Wood####
- on npc right click:
- event-number is 1216
- {questWood.%player%} is true:
- send "&8[&6Julian Cegone&8] &7Come back soon, I might have another task for you!"
- stop
- {questWood.%player%} is "Started":
- {cultist.%player%} is greater than or equal to 15:
- {culbook.%player%} is greater than or equal to 30
- set {questWood.%player%} to true
- play raw sound "mob.villager.idle" at player with pitch 0.4 volume 0.3
- message "&8[&6Julian&8]: &7My oh my, you collected 30 Spell Tomes and killed 15 Cultists! Nice job!"
- wait 3 seconds
- play raw sound "mob.villager.idle" at player with pitch 0.4 volume 0.3
- message "&8[&6Julian&8]: &7Now, let me tell you a story. There is a ring that was found by the Sunriders."
- wait 3 seconds
- play raw sound "mob.villager.idle" at player with pitch 0.4 volume 0.3
- message "&8[&6Julian&8]: &7This ring was very powerful; It sped up the healing process of the wearer of the ring."
- wait 3 seconds
- play raw sound "mob.villager.idle" at player with pitch 0.4 volume 0.3
- message "&8[&6Julian&8]: &7One day, this ring was stolen by a smuggler. This Smuggler's name was Julian Cegone."
- wait 3 seconds
- play raw sound "mob.villager.idle" at player with pitch 0.4 volume 0.3
- message "&8[&6Julian&8]: &7I want you to have this ring; you will need it for the battles to come. Good Luck."
- give 1 mall disk named "&3Ring of Regeneration" with lore "&6This ring was found by pirates, the Sunriders,||&6long ago, only to be stolen by Julian Cegone.||&6He has given the ring to you as a reward for helping.||&6Automatically &7gives you Regeneration 1.||&6Right Click &7to toggle the Regeneration 1.||&7Ring Owner: &6%player%&9||&7Rarity: &9Rare" to player
- wait 1 second
- play raw sound "random.levelup" at player with pitch 0.1 volume 0.3
- message "&8[&aThe Whispering Woods&8] &3Quest Complete&7: &aThe Whispering Woods"
- wait 10 ticks
- message "&8[&aThe Whispering Woods&8] &3Quest Rewards&7: &a1x Regeneration Ring"
- stop
- send "&8[&aThe Whispering Woods&8] &7Current Progress: &4%{cultist.%player%}%&7/&415 &7Cultists Killed."
- send "&8[&aThe Whispering Woods&8] &7Current Progress: &4%{culbook.%player%}%&7/&430 &7Spell Tomes Recovered."
- stop
- set {questWood.%player%} to "Started"
- set {cultist.%player%} to 0
- set {culbook.%player%} to 0
- play raw sound "mob.villager.idle" at player with pitch 0.4 volume 0.3
- message "&8[&6Julian&8]: &7Ah, glad you are here, &6%player's display name%!"
- wait 3 seconds
- play raw sound "mob.villager.idle" at player with pitch 0.4 volume 0.3
- message "&8[&6Julian&8]: &7It seems that we have a problem with the forest being... infested with whispers."
- wait 3 seconds
- play raw sound "mob.villager.idle" at player with pitch 0.4 volume 0.3
- message "&8[&6Julian&8]: &7Now, you may be thinking, 'Isn't this forest called the Whispering Woods? Whispers are normal, right?'."
- wait 3 seconds
- play raw sound "mob.villager.idle" at player with pitch 0.4 volume 0.3
- message "&8[&6Julian&8]: &7Well, &6%player's display name%&7, they are not normal and need to be dealt with. I have reason to believe the whispers are being caused by a ritual to summon Doombringer the Unworthy."
- wait 3 seconds
- play raw sound "mob.villager.idle" at player with pitch 0.4 volume 0.3
- message "&8[&6Julian&8]: &7Mind going into the forest and stopping the ritual? The Doombringer Cultists are returning to summon their Lord. Those foul creatures..."
- wait 3 seconds
- play raw sound "mob.villager.idle" at player with pitch 0.4 volume 0.3
- message "&8[&6Julian&8]: &7Go kill 15 of those cultists and bring me their Spell Tomes! I can probably study them and figure out a more permanent way to stop the summoning of Doombringer."
- wait 3 seconds
- play raw sound "random.orb" at player with pitch 0.4 volume 0.3
- message "&8[&aThe Whispering Woods&8] &6Objective: &7Kill &415 &7Doombringer Cultists found in the Woods."
- wait 10 ticks
- message "&8[&aThe Whispering Woods&8] &6Objective: &7Collect &430 Spell Tomes&7, Dropped by the Cultists."
- on death:
- boots of victim are diamond boots named "Cultist"
- {questWood.%attacker%} is "Started"
- {cultist.%attacker%} is less than 15:
- add 1 to {cultist.%attacker%}
- message "&8[&aThe Whispering Woods&8] &7Cultist Kills: &4%{cultist.%attacker%}%&7/&415" to attacker
- wait 1 tick
- {cultist.%attacker%} is greater than or equal to 15:
- play raw sound "random.levelup" at attacker with pitch 0.4 volume 0.3
- message "&8[&aThe Whispering Woods&8] &6Objective Completed&7: Kill &415 &7Doombringer Cultists found in the Woods." to attacker
- on pick up:
- wait 1 tick
- loop all items in the player's inventory:
- name of loop-item contains "Spell Tome"
- remove 1 book named "Spell Tome" with lore "Used to summon Doombringer." from the player
- wait 1 tick
- {questWood.%player%} is "Started"
- {culbook.%player%} is 30:
- stop
- add 1 to {culbook.%player%}
- send "&8[&aThe Whispering Woods&8] &7Spell Tomes Recovered: &4%{culbook.%player%}%&7/&430" to player
- wait 1 tick
- {culbook.%player%} is greater than or equal to 30:
- play raw sound "random.levelup" at player with pitch 0.4 volume 0.3
- send "&8[&aThe Whispering Woods&8] &6Objective Completed&7: &7Collect &430 Spell Tomes&7, dropped by the Cultists." to player
- send "&8[&aThe Whispering Woods&8] &7Go back to &6Julian Cegone &7to turn in the quest!" to player
- #Quest Log###
- on left click:
- player has permission "kukky.perms":
- player's tool is a written book
- set player's tool to a written book
- set author of player's tool to "&cJohn Smith"
- set title of player's tool to "&6Quest Log"
- set page 1 of player's tool to "&bQuest - &cAn Island of Fire||"
- set all pages of player's tool to "Once upon a time"
- command /makelog:
- permission: kukky.perms
- trigger:
- send "Set the page."
- set page 1 of player's tool to "Whatever"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement