Advertisement
Kukky

Quest

Jul 25th, 2016
367
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. variables:
  2.     {horusClicked.%player%} = false
  3.     {cultist.%player%} = 0
  4.     {culbook.%player%} = 0
  5.     {regen.%player%} = false
  6.     {frostgrunt.%player%} = 0
  7.     {frostalpha.%player%} = 0
  8.     {debt1killer.%player%} = 0
  9.     {innkill.%player%} = 0
  10.  
  11. aliases:
  12.     mall disk = 2261
  13.     iron shovel = 256
  14.     endportal = 120
  15.     lapisblock = 22
  16.  
  17.  
  18. #Key to Room 6####
  19.  
  20. on right click:
  21.     target block is iron door:
  22.         set {_region} to "%region at location of clicked block%"
  23.         if {_region} contains "horusdoor":
  24.             if player is holding 1 blaze rod named "&5Room ##6 Key":
  25.                 send "&8[&3Quest&8] &7You silently open the door and enter the room..."
  26.                 play raw sound "random.door_open" at player with pitch 0.1 volume 0.3
  27.                 execute console command "/warp horus %player%"
  28.                 stop
  29.             else:
  30.                 send "&8[&3Quest&8] &7You need the &5Room ##6 Key &7to open this door!"
  31.                 send "&8[&3Quest&8] &7Get it from the Innkeeper by starting '&aAn Innkeeper's Story&7'."
  32.                 stop
  33.         else if {_region} contains "innkeeperdoor":
  34.             if player is holding 1 blaze rod named "&5Room ##6 Key":
  35.                 send "&8[&3Quest&8] &7You silently open the door and leave the room..."
  36.                 play raw sound "random.door_close" at player with pitch 0.1 volume 0.3
  37.                 execute console command "/warp inn %player%"
  38.                 stop
  39.             else:
  40.                 send "&8[&3Quest&8] &7You need the &5Room ##6 Key &7to open this door!"
  41.                 send "&8[&3Quest&8] &7Get it from the Innkeeper by starting '&aAn Innkeeper's Story&7'."
  42.                 stop
  43.  
  44.                                        
  45. every 30 seconds in "world2.5":
  46.     loop all players:
  47.         if loop-player has mall disk:
  48.             loop all items in the loop-player's inventory:
  49.                 name of loop-item contains "&3Ring of Regeneration":
  50.                     if {regen.%loop-player%} is true:
  51.                         apply regeneration 1 to loop-player for 999 days
  52.                     else if {regen.%loop-player%} is false:
  53.                         remove regeneration from loop-player  
  54.         else:
  55.             {regen.%loop-player%} is true:
  56.                 remove regeneration from loop-player  
  57.  
  58. on right click:
  59.     name of player's tool contains "&3Ring of Regeneration":
  60.         if {regen.%player%} is false:
  61.             send "&8[&5Ring&8] &7Passive Regeneration is now &aEnabled." to player
  62.             set {regen.%player%} to true
  63.             stop
  64.         else if {regen.%player%} is true:
  65.             send "&8[&5Ring&8] &7Passive Regeneration is now &4Disabled." to player
  66.             set {regen.%player%} to false
  67.             stop
  68.  
  69. #Frostmane Quest###
  70.  
  71. on right click:
  72.     name of player's tool contains "&aThe Frostmane":
  73.         if {questIce.%player%} is true:
  74.             send "&8[&aThe Frostmane&8] &7You already completed this quest!" to player
  75.         else if {questIce.%player%} is "Started":
  76.             send "&8[&aThe Frostmane&8] &7Current Progress: &4%{frostgrunt.%player%}%&7/&420 Grunts Killed."
  77.             send "&8[&aThe Frostmane&8] &7Current Progress: &4%{frostalpha.%player%}%&7/&41 Alphas Killed."
  78.         else if {questIce.%player%} is false:
  79.             set {frostgrunt.%player%} to 0
  80.             set {frostalpha.%player%} to 0
  81.             set {questIce.%player%} to "Started"
  82.             play raw sound "mob.villager.idle" at player with pitch 0.4 volume 0.3
  83.             send "&8[&3Chilly&8]: &7Ah, did ye really make it all the way out he -- Hold that thought, I have to conserve heat, standing out here all day. Let's cut right to the point."
  84.             wait 4 seconds
  85.             play raw sound "mob.villager.idle" at player with pitch 0.4 volume 0.3
  86.             send "&8[&3Chilly&8]: &7This cave down here? Used to be me home. I dug it with my bare hands! You are staring at the Great Chilly -- Hold that thought, need to conserve heat. Did I say that already?"
  87.             wait 4 seconds
  88.             play raw sound "mob.villager.idle" at player with pitch 0.4 volume 0.3
  89.             send "&8[&3Chilly&8]: &7Bloody Hell it's cold out here. Can you just go in there and clear 'em for me? I would be eternally grateful! Now get in there! Break a -- Hold that thought..."
  90.  
  91. on damage of Zombie:
  92.     {questIce.%attacker%} is "Started":
  93.         {frostgrunt.%attacker%} is less than 20:
  94.             boots of victim are diamond boots named "Grunt":
  95.                 wait 2 ticks
  96.                 victim is dead:
  97.                     add 1 to {frostgrunt.%attacker%}
  98.                     send "&8[&aThe Frostmane&8] &7Frostmane Kills: &4%{frostgrunt.%attacker%}%&7/&420" to attacker
  99.                 {frostgrunt.%attacker%} is greater than or equal to 20:
  100.                     play raw sound "random.levelup" at attacker with pitch 0.4 volume 0.3
  101.                     send "&8[&aThe Frostmane&8] &6Objective Completed&7: Kill &420 &7Frostmane Grunts found in the Cave." to attacker
  102.                     {frostalpha.%attacker%} is greater than or equal to 1:
  103.                         wait 3 ticks
  104.                         execute console command "/warp chillydude %attacker%"
  105.                         play raw sound "mob.villager.idle" at attacker with pitch 0.4 volume 0.3
  106.                         send "&8[&3Chilly&8]: &7Oi, you back? You killed 'em all?" to attacker
  107.                         wait 3 seconds
  108.                         play raw sound "mob.villager.idle" at attacker with pitch 0.4 volume 0.3
  109.                         send "&8[&3Chilly&8]: &7Excellent job, mate! You are the greatest gent to ever live. Shame you didn't get the head though. That would have looked nice on my wall!" to attacker
  110.                         wait 3 seconds
  111.                         play raw sound "mob.villager.idle" at attacker with pitch 0.4 volume 0.3
  112.                         send "&8[&3Chilly&8]: &7Tell you what, I'll let you in on a little secret: I didn't actually dig that cave out with my bare hands..." to attacker
  113.                         wait 3 seconds
  114.                         play raw sound "mob.villager.idle" at attacker with pitch 0.4 volume 0.3
  115.                         send "&8[&3Chilly&8]: &7I used this &3Snow Plower 6000 &7and carved out a home. You can have it now, as well as my pet wolf token as a reward. Thank you, and good lu -- Hold that thought! I need to get warm inside..." to attacker
  116.                         remove 1 paper named "&aThe Frostmane" with lore "&7Objective: Kill &420 &7Frostmane Grunts found in the Cave.||&7Objective: Kill the &4Frostmane Alpha&7, and bring their head.||&5Questline - 'The Frostmane'||&8Given by Wanderer Chilly||&9Right Click to Start the Quest.||&9Right Click to Check Your Progress." from the attacker
  117.                         give 1 iron shovel with name "&3Snow Plower 6000" with lore "&6Need to plow some snow? Look no further than the||&6Snow Plower 6000! This beauty is equipped with some||&6top-of-the-line Smite 5 and Efficiency 5 Enchants.||&7Rarity: &9Rare" to the attacker
  118.                         give 1 paper with name "&6Pet Wolf Token" with lore "&7Give to Pet Master Jenny to unlock the Wolf Pet!||&7Rarity: &cSpecial" to the attacker
  119.                         set {questIce.%attacker%} to true
  120.  
  121.  
  122. on damage of Zombie:
  123.     {questIce.%attacker%} is "Started":
  124.         {frostalpha.%attacker%} is less than 1:
  125.             boots of victim are diamond boots named "Alpha":
  126.                 wait 2 ticks
  127.                 victim is dead:
  128.                     add 1 to {frostalpha.%attacker%}
  129.                     send "&8[&aThe Frostmane&8] &7Frostmane Alphas Killed: &4%{frostalpha.%attacker%}%&7/&41" to attacker
  130.                     {frostalpha.%attacker%} is greater than or equal to 1:
  131.                         play raw sound "random.levelup" at attacker with pitch 0.4 volume 0.3
  132.                         send "&8[&aThe Frostmane&8] &6Objective Completed&7: &7Kill the &4Frostmane Alpha&7, and bring their head." to attacker
  133.                         {frostgrunt.%attacker%} is greater than or equal to 20:
  134.                             wait 3 ticks
  135.                             execute console command "/warp chillydude %attacker%"
  136.                             play raw sound "mob.villager.idle" at attacker with pitch 0.4 volume 0.3
  137.                             send "&8[&3Chilly&8]: &7Oi, you back? You killed 'em all?" to attacker
  138.                             wait 4 seconds
  139.                             play raw sound "mob.villager.idle" at attacker with pitch 0.4 volume 0.3
  140.                             send "&8[&3Chilly&8]: &7Excellent job, mate! You are the greatest gent to ever live. Shame you didn't get the head though. That would have looked nice on my wall!" to attacker
  141.                             wait 4 seconds
  142.                             play raw sound "mob.villager.idle" at attacker with pitch 0.4 volume 0.3
  143.                             send "&8[&3Chilly&8]: &7Tell you what, I'll let you in on a little secret: I didn't actually dig that cave out with my bare hands..." to attacker
  144.                             wait 4 seconds
  145.                             play raw sound "mob.villager.idle" at attacker with pitch 0.4 volume 0.3
  146.                             send "&8[&3Chilly&8]: &7I used this &3Snow Plower 6000 &7and carved out a home. You can have it now, as well as my pet wolf token as a reward. Thank you, and good lu -- Hold that thought! I need to get warm inside..." to attacker
  147.                             remove 1 paper named "&aThe Frostmane" with lore "&7Objective: Kill &420 &7Frostmane Grunts found in the Cave.||&7Objective: Kill the &4Frostmane Alpha&7, and bring their head.||&5Questline - 'The Frostmane'||&8Given by Wanderer Chilly||&9Right Click to Start the Quest.||&9Right Click to Check Your Progress." from the attacker
  148.                             give 1 iron shovel with name "&3Snow Plower 6000" with lore "&6Need to plow some snow? Look no further than the||&6Snow Plower 6000! This beauty is equipped with some||&6top-of-the-line Smite 5 and Efficiency 5 Enchants.||&9Right Click to add the Enchants.||&7Rarity: &9Rare" to the attacker
  149.                             give 1 paper with name "&6Pet Wolf Token" with lore "&7Give to Pet Master Jenny to unlock the Wolf Pet!||&7Rarity: &cSpecial" to the attacker
  150.                             set {questIce.%attacker%} to true
  151.  
  152.  
  153. on right click:
  154.     name of player's tool contains "&3Snow Plower 6000":
  155.         enchant the player's tool with efficiency 5
  156.         enchant the player's tool with smite 5
  157.         enchant the player's tool with unbreaking 5
  158.  
  159. on right click:
  160.     name of player's tool contains "&aA Goblin's Demise":
  161.         if {questDebt1.%player%} is true:
  162.             send "&8[&aA Goblin's Demise&8] &7You already completed this quest!" to player
  163.         else if {questDebt1.%player%} is "Started":
  164.             send "&8[&aA Goblin's Demise&8] &7Current Progress: &4%{debt1kill.%player%}%&7/&41 Hirum the Goblin Killed."
  165.             send "&8[&aA Goblin's Demise&8] &7Current Progress: &4%{debt1head.%player%}%&7/&41 Head Delivered."
  166.         else if {questDebt1.%player%} is false:
  167.             set {debt1head.%player%} to 0
  168.             set {debt1kill.%player%} to 0
  169.             set {questDebt1.%player%} to "Started"
  170.             play raw sound "mob.villager.idle" at player with pitch 0.4 volume 0.3
  171.             send "&8[&5Bank Head Phil&8]: &7You there. Want to earn some quick cash?"
  172.             wait 3 seconds
  173.             play raw sound "mob.villager.idle" at player with pitch 0.4 volume 0.3
  174.             send "&8[&5Bank Head Phil&8]: &7Well too bad, we don't give out cash. What we give out though is items for collecting debt for us."
  175.             wait 4 seconds
  176.             play raw sound "mob.villager.idle" at player with pitch 0.4 volume 0.3
  177.             send "&8[&5Bank Head Phil&8]: &7So there's a dwarf ""goblin"" that lives in the house to the right. Go kill him and bring his head. He owed us money for far too long."
  178.  
  179. on death:
  180.     boots of victim are diamond boots with lore "Goblin" named "Hirum":
  181.         {questDebt1.%attacker%} is "Started"
  182.         {debt1kill.%attacker%} is 0
  183.         send "&8[&aA Goblin's Demise&8]: &6Objective Completed&7: &7Kill &4Hirum the Goblin&7." to attacker
  184.         give 1 player head named "&5Hirum's Head" to attacker
  185.         add 1 to {debt1kill.%attacker%}
  186.  
  187. on walk on lapisblock:
  188.     set {_region} to "%region at location of event-block%"
  189.     if {_region} contains "debt_collect":
  190.         loop all players:
  191.             if loop-player has player head:
  192.                 loop all items in the loop-player's inventory:
  193.                     name of loop-item contains "&5Hirum's Head":
  194.                         {debt1kill.%player%} is greater than or equal to 1
  195.                         {debt1head.%player%} is 0
  196.                         wait 1 tick
  197.                         add 1 to {debt1head.%player%}
  198.                         send "&8[&aA Goblin's Demise&8]: &6Objective Completed&7: &7Give &4Hirum's Head &7to the Bank Head."
  199.                         set {questDebt1.%player%} to true
  200.                         play raw sound "mob.villager.idle" at player with pitch 0.4 volume 0.3
  201.                         send "&8[&5Bank Head Phil&8]: &7Oh, you killed him! Excellent, Excellent. Can I get the head, please?"
  202.                         remove 1 player head named "&5Hirum's Head" from the player
  203.                         wait 3 seconds
  204.                         play raw sound "mob.villager.idle" at player with pitch 0.4 volume 0.3
  205.                         send "&8[&5Bank Head Phil&8]: &7As a reward, we will give you a complimentary ATM Card. The ATM has a lot of cool features that enhance your experience overall."
  206.                         give 1 paper named "&3ATM Keycard" with lore "&6For use with ATMs." to player
  207.                         wait 3 seconds
  208.                         play raw sound "mob.villager.idle" at player with pitch 0.4 volume 0.3
  209.                         send "&8[&5Bank Head Phil&8]: &7And since you are such an amazing Debt Collector, can I ask that you come back again? We need more people to help us collect debt..."
  210.  
  211. on right click:
  212.     target block is stone button
  213.     set {_region} to "%region at location of clicked block%"
  214.     if {_region} contains "debt1_start":
  215.         {questDebt1.%player%} is false:
  216.             cancel event
  217.             send "&8[&4Hirum the Goblin&8]: &7I'm not home! Come later!"
  218.             stop  
  219.         {questDebt1.%player%} is true:
  220.             cancel event
  221.             send "&8[&4Hirum the Goblin&8]: &7You already killed me! Come on now!"
  222.             stop
  223.         play raw sound "mob.villager.idle" at player with pitch 0.4 volume 0.3
  224.         send "&8[&4Hirum the Goblin&8]: &7How did you get in to my house? Huh? The Door was open? Whatever."
  225.         wait 2 seconds
  226.         play raw sound "mob.villager.idle" at player with pitch 0.4 volume 0.3
  227.         send "&8[&4Hirum the Goblin&8]: &7Well, if you are here to collect debt, you will die. Sorry buddy."
  228.  
  229. #An Innkeeper's Story###
  230.  
  231. on right click:
  232.     target block is cracked stone brick:
  233.         set {_region} to "%region at location of clicked block%"
  234.         {_region} contains "horusroom":
  235.             if {questInn.%player%} is "Started":
  236.                 {horusSpawn.%player%} is true:
  237.                     send "&8[&eHorus the Awful&8] &7is already around!"
  238.                     stop
  239.                 set {horusSpawn.%player%} to true
  240.                 execute console command "/summon Zombie -2898 73 276 {IsVillager:1,Attributes:[{Name:""generic.maxHealth"",Base:100},{Name:""generic.followRange"",Base:27},{Name:""generic.knockbackResistance"",Base:0.5f},{Name:""generic.movementSpeed"",Base:0.3f},{Name:""generic.attackDamage"",Base:40}],Silent:1,Equipment:[{id:""minecraft:diamond_sword"",tag:{ench:[{id:16,lvl:8}]}},{tag:{display:{Name:Horus}},id:""minecraft:diamond_boots""},{tag:{ench:[{id:0,lvl:4}]},id:""minecraft:diamond_leggings""},{tag:{ench:[{id:0,lvl:4}]},id:""minecraft:diamond_chestplate""},{id:""minecraft:golden_helmet"",tag:{display:{Name:""The Golden Squid"",Lore:[""A helmet worn by Sunrider Members... Why did Horus have it?""]},ench:[{id:0,lvl:4}]},Count:1}],DropChances:[0F,0F,0F,0F,2F]}"
  241.                 send "&8[&eHorus the Awful&8] &7Don't move, or you will lose your head."
  242.                 play raw sound "mob.villager.idle" at the location (-2898, 73, 276) with pitch 0.1 volume 0.3
  243.                 wait 2 seconds
  244.                 send "&8[&eHorus the Awful&8] &7What the hell are you doing in my room?"
  245.                 wait 1 second
  246.                 play raw sound "mob.villager.idle" at the location (-2898, 73, 276) with pitch 0.1 volume 0.3
  247.                 execute console command "/tellraw %player% ["""",{""text"":""["",""color"":""dark_gray"",""clickEvent"":{""action"":""run_command"",""value"":""/horusyes 1""}},{""text"":""Choice"",""color"":""yellow"",""clickEvent"":{""action"":""run_command"",""value"":""/horusyes 1""}},{""text"":""] "",""color"":""dark_gray"",""clickEvent"":{""action"":""run_command"",""value"":""/horusyes 1""}},{""text"":""I thought this was my room... Sorry."",""color"":""dark_green"",""clickEvent"":{""action"":""run_command"",""value"":""/horusyes 1""}}]"
  248.                 execute console command "/tellraw %player% ["""",{""text"":""["",""color"":""dark_gray"",""clickEvent"":{""action"":""run_command"",""value"":""/horusno 1""}},{""text"":""Choice"",""color"":""yellow"",""clickEvent"":{""action"":""run_command"",""value"":""/horusno 1""}},{""text"":""] "",""color"":""dark_gray"",""clickEvent"":{""action"":""run_command"",""value"":""/horusno 1""}},{""text"":""The Innkeeper sent me up here."",""color"":""red"",""clickEvent"":{""action"":""run_command"",""value"":""/horusno 1""}}]"
  249.                 set {horusClicked.%player%} to false
  250.                 set {horusClicked1.%player%} to false
  251.             else:
  252.                 stop
  253.  
  254. command /horusyes <text>:
  255.     trigger:
  256.         if {horusClicked.%player%} is true:
  257.             send "&8[&3Quest&8] &7You can't do that right now!"
  258.             stop
  259.         else if {horusClicked.%player%} is false:
  260.             arg 1 is "1":
  261.                 {horusClicked1.%player%} is true:
  262.                     send "&8[&3Quest&8] &7You already picked from one of these options!"
  263.                     stop
  264.                 set {horusClicked.%player%} to true
  265.                 set {horusClicked1.%player%} to true
  266.                 send "&8[&eHorus the Awful&8] &7Oh, are you so sure about that? I sense you are here for something else..."
  267.                 play raw sound "mob.villager.idle" at the location (-2898, 73, 276) with pitch 0.1 volume 0.3
  268.                 wait 2 seconds
  269.                 send "&8[&eHorus the Awful&8] &7No matter. I have business to tend to. If you would be so kind as to go on your way.."
  270.                 play raw sound "mob.villager.idle" at the location (-2898, 73, 276) with pitch 0.1 volume 0.3
  271.                 wait 2 seconds
  272.                 send "&8[&eHorus the Awful&8] &7I would be grateful. Now get out."
  273.                 play raw sound "mob.villager.idle" at the location (-2898, 73, 276) with pitch 0.1 volume 0.3
  274.                 wait 1 second
  275.                 execute console command "/tellraw %player% ["""",{""text"":""["",""color"":""dark_gray"",""clickEvent"":{""action"":""run_command"",""value"":""/horusyes 2""}},{""text"":""Choice"",""color"":""yellow"",""clickEvent"":{""action"":""run_command"",""value"":""/horusyes 2""}},{""text"":""] "",""color"":""dark_gray"",""clickEvent"":{""action"":""run_command"",""value"":""/horusyes 2""}},{""text"":""Alright Alright, sheesh. I just have a few questions though..."",""color"":""dark_green"",""clickEvent"":{""action"":""run_command"",""value"":""/horusyes 2""}}]"
  276.                 execute console command "/tellraw %player% ["""",{""text"":""["",""color"":""dark_gray"",""clickEvent"":{""action"":""run_command"",""value"":""/horusno 2""}},{""text"":""Choice"",""color"":""yellow"",""clickEvent"":{""action"":""run_command"",""value"":""/horusno 2""}},{""text"":""] "",""color"":""dark_gray"",""clickEvent"":{""action"":""run_command"",""value"":""/horusno 2""}},{""text"":""No, I think you need to get out. You are acting very suspicious."",""color"":""red"",""clickEvent"":{""action"":""run_command"",""value"":""/horusno 2""}}]"
  277.                 set {horusClicked.%player%} to false
  278.                 set {horusClicked2.%player%} to false
  279.             arg 1 is "2":
  280.                 {horusClicked2.%player%} is true:
  281.                     send "&8[&3Quest&8] &7You already picked from one of these options!"
  282.                     stop
  283.                 set {horusClicked.%player%} to true
  284.                 set {horusClicked2.%player%} to true
  285.                 send "&8[&eHorus the Awful&8] &7Questions, huh? Fine, go on then. Only one, though!"
  286.                 play raw sound "mob.villager.idle" at the location (-2898, 73, 276) with pitch 0.1 volume 0.3
  287.                 wait 1 second
  288.                 execute console command "/tellraw %player% ["""",{""text"":""["",""color"":""dark_gray"",""clickEvent"":{""action"":""run_command"",""value"":""/horusyes 3""}},{""text"":""Choice"",""color"":""yellow"",""clickEvent"":{""action"":""run_command"",""value"":""/horusyes 3""}},{""text"":""] "",""color"":""dark_gray"",""clickEvent"":{""action"":""run_command"",""value"":""/horusyes 3""}},{""text"":""Why are there cracks in this wall?"",""color"":""dark_green"",""clickEvent"":{""action"":""run_command"",""value"":""/horusyes 3""}}]"
  289.                 execute console command "/tellraw %player% ["""",{""text"":""["",""color"":""dark_gray"",""clickEvent"":{""action"":""run_command"",""value"":""/horusno 3""}},{""text"":""Choice"",""color"":""yellow"",""clickEvent"":{""action"":""run_command"",""value"":""/horusno 3""}},{""text"":""] "",""color"":""dark_gray"",""clickEvent"":{""action"":""run_command"",""value"":""/horusno 3""}},{""text"":""Why is the Recruiter asking for you?"",""color"":""red"",""clickEvent"":{""action"":""run_command"",""value"":""/horusno 3""}}]"
  290.                 set {horusClicked.%player%} to false
  291.                 set {horusClicked3.%player%} to false
  292.             arg 1 is "3":
  293.                 {horusClicked3.%player%} is true:
  294.                     send "&8[&3Quest&8] &7You already picked from one of these options!"
  295.                     stop
  296.                 set {horusClicked.%player%} to true
  297.                 set {horusClicked3.%player%} to true
  298.                 send "&8[&eHorus the Awful&8] &7The Crack in the wall? That's just the Innkeeper's terrible job at upkeeping."
  299.                 play raw sound "mob.villager.idle" at the location (-2898, 73, 276) with pitch 0.1 volume 0.3
  300.                 wait 3 seconds
  301.                 send "&8[&eHorus the Awful&8] &7Anywho, I'll be on my way now. I need to get the hell away from this place.. It's not safe for me here."
  302.                 play raw sound "mob.villager.idle" at the location (-2898, 73, 276) with pitch 0.1 volume 0.3
  303.                 wait 3 seconds
  304.                 send "&8[&eHorus the Awful&8] &7Tell you what, kid. Here's a little something for your travels. It's an Innstone."
  305.                 play raw sound "mob.villager.idle" at the location (-2898, 73, 276) with pitch 0.1 volume 0.3
  306.                 wait 3 seconds
  307.                 send "&8[&eHorus the Awful&8] &7It will let you teleport to any Inn you discover."
  308.                 play raw sound "mob.villager.idle" at the location (-2898, 73, 276) with pitch 0.1 volume 0.3
  309.                 wait 3 seconds
  310.                 send "&8[&eHorus the Awful&8] &7Take care, kid."
  311.                 play raw sound "mob.villager.idle" at the location (-2898, 73, 276) with pitch 0.1 volume 0.3
  312.                 give 1 eye of ender named "&9Innstone" with lore "&7Ability: &6Opens a Menu to teleport to various Inns.||&7Rarity: &cSpecial" to player
  313.                 remove 1 blaze rod named "&5Room ##6 Key" from the player
  314.                 loop all entities:
  315.                     boots of loop-entity are diamond boots named "Horus":
  316.                         delete loop-entity
  317.                 set {horusSpawn.%player%} to false
  318.                 send "&8[&aAn Innkeeper's Story&8] &6Objective Complete: &7Kill or Defuse the situation with &4Horus the Awful&7."
  319.                 execute console command "/warp innkeeper %player%"
  320.                 remove 1 blaze rod named "&5Room ##6 Key" from player
  321.                 set {questInn.%player%} to true
  322.                 send "&8[&aAn Innkeeper's Story&8] &7You look to the Innkeeper and nod with a smile on your face. He throws you an Iron Coin. You don't know what it is, but it may be important for the future."
  323.                 give 1 ghast tear named "&7Iron Coin" with lore "&7This is &6%player%'s &7Iron Coin." to player
  324.  
  325. command /horusno <text>:
  326.     trigger:
  327.         if {horusClicked.%player%} is true:
  328.             send "&8[&3Quest&8] &7You can't do that right now!"
  329.             stop
  330.         else if {horusClicked.%player%} is false:
  331.             arg 1 is "1":
  332.                 {horusClicked1.%player%} is true:
  333.                     send "&8[&3Quest&8] &7You already picked from one of these options!"
  334.                     stop
  335.                 set {horusClicked.%player%} to true
  336.                 set {horusClicked1.%player%} to true
  337.                 send "&8[&eHorus the Awful&8] &7Why did the Innkeeper send you up here? Couldn't he just come up here on his own..."
  338.                 play raw sound "mob.villager.idle" at the location (-2898, 73, 276) with pitch 0.1 volume 0.3
  339.                 wait 3 seconds
  340.                 send "&8[&eHorus the Awful&8] &7Tell me, do you need anything? Do you have any questions or something? How can I help you?"
  341.                 play raw sound "mob.villager.idle" at the location (-2898, 73, 276) with pitch 0.1 volume 0.3
  342.                 execute console command "/tellraw %player% ["""",{""text"":""["",""color"":""dark_gray"",""clickEvent"":{""action"":""run_command"",""value"":""/horusyes 3""}},{""text"":""Choice"",""color"":""yellow"",""clickEvent"":{""action"":""run_command"",""value"":""/horusyes 3""}},{""text"":""] "",""color"":""dark_gray"",""clickEvent"":{""action"":""run_command"",""value"":""/horusyes 3""}},{""text"":""Why are there cracks in this wall?"",""color"":""dark_green"",""clickEvent"":{""action"":""run_command"",""value"":""/horusyes 3""}}]"
  343.                 execute console command "/tellraw %player% ["""",{""text"":""["",""color"":""dark_gray"",""clickEvent"":{""action"":""run_command"",""value"":""/horusno 3""}},{""text"":""Choice"",""color"":""yellow"",""clickEvent"":{""action"":""run_command"",""value"":""/horusno 3""}},{""text"":""] "",""color"":""dark_gray"",""clickEvent"":{""action"":""run_command"",""value"":""/horusno 3""}},{""text"":""Why is the Recruiter asking for you?"",""color"":""red"",""clickEvent"":{""action"":""run_command"",""value"":""/horusno 3""}}]"
  344.                 set {horusClicked.%player%} to false
  345.                 set {horusClicked3.%player%} to false
  346.             arg 1 is "2":
  347.                 {horusClicked2.%player%} is true:
  348.                     send "&8[&3Quest&8] &7You already picked from one of these options!"
  349.                     stop
  350.                 set {horusClicked.%player%} to true
  351.                 set {horusClicked2.%player%} to true
  352.                 send "&8[&eHorus the Awful&8] &7Oh, now you asked for it kid."
  353.                 play raw sound "mob.villager.idle" at the location (-2898, 73, 276) with pitch 0.1 volume 0.3
  354.                 wait 3 seconds
  355.                 send "&8[&eHorus the Awful&8] &7I'm not the one breaking into people's rooms without permission!"
  356.                 play raw sound "mob.villager.idle" at the location (-2898, 73, 276) with pitch 0.1 volume 0.3
  357.                 wait 3 seconds
  358.                 send "&8[&eHorus the Awful&8] &7Wait, you must be with that damn recruiter! The Innkeeper is too!"
  359.                 play raw sound "mob.villager.idle" at the location (-2898, 73, 276) with pitch 0.1 volume 0.3
  360.                 wait 3 seconds
  361.                 send "&8[&eHorus the Awful&8] &cI won't go back! You can't make me! Back off!"
  362.                 play raw sound "mob.zombie.say" at the location (-2898, 73, 276) with pitch 0.1 volume 0.3
  363.                 loop all entities:
  364.                     boots of loop-entity are diamond boots named "Horus":
  365.                         teleport loop-entity to the location (-2895, 73, 278)
  366.                 set {horusSpawn.%player%} to false
  367.             arg 1 is "3":
  368.                 {horusClicked3.%player%} is true:
  369.                     send "&8[&3Quest&8] &7You already picked from one of these options!"
  370.                     stop
  371.                 set {horusClicked.%player%} to true
  372.                 set {horusClicked3.%player%} to true
  373.                 send "&8[&eHorus the Awful&8] &7What, the Recruiter is here? Wait, you are not here because you didn't know where your room was..."
  374.                 play raw sound "mob.villager.idle" at the location (-2898, 73, 276) with pitch 0.1 volume 0.3
  375.                 wait 3 seconds
  376.                 send "&8[&eHorus the Awful&8] &7That damn recruiter is looking for me! And the Innkeeper is in cahoots with him!"
  377.                 play raw sound "mob.villager.idle" at the location (-2898, 73, 276) with pitch 0.1 volume 0.3
  378.                 wait 3 seconds
  379.                 send "&8[&eHorus the Awful&8] &7I'm not going back! Those damn people are monsters! They don't do anything for anyone else but the Kraken!"
  380.                 play raw sound "mob.villager.idle" at the location (-2898, 73, 276) with pitch 0.1 volume 0.3
  381.                 wait 3 seconds
  382.                 send "&8[&eHorus the Awful&8] &cI WON'T GO BACK! NEVER!"
  383.                 play raw sound "mob.zombie.say" at the location (-2898, 73, 276) with pitch 0.1 volume 0.3
  384.                 loop all entities:
  385.                     boots of loop-entity are diamond boots named "Horus":
  386.                         teleport loop-entity to the location (-2895, 73, 278)
  387.                 set {horusSpawn.%player%} to false
  388.  
  389. on rightclick:
  390.     name of player's tool contains "&aAn Innkeeper's Story"
  391.     {questInn.%player%} is true:
  392.         send "&8[&aAn Innkeeper's Story&8] &7You already completed this quest!"
  393.         stop
  394.     {questInn.%player%} is "Started":
  395.         send "&8[&aAn Innkeeper's Story&8] &7Current Progress: &4%{innkill.%player%}%&7/&41 Horus the Awful dealt with."
  396.         stop
  397.     {questInn.%player%} is false:
  398.         set {questInn.%player%} to "Started"
  399.         play raw sound "mob.villager.idle" at player with pitch 0.4 volume 0.3
  400.         send "&8[&5Innkeeper Albert&8]: &7Hey, you there! I saw you hanging around here. You a sunrider?"
  401.         wait 3 seconds
  402.         play raw sound "mob.villager.idle" at player with pitch 0.4 volume 0.3
  403.         send "&8[&5Innkeeper Albert&8]: &7No? Good, I need you to do some.. spying for me. There is a man in Room ##6 I need you to check on. Here's the spare key to his room."
  404.         wait 4 seconds
  405.         play raw sound "mob.villager.idle" at player with pitch 0.4 volume 0.3
  406.         send "&8[&5Innkeeper Albert&8]: &7You have permission to use violence against him if he does so first. Good luck."
  407.         give 1 blaze rod named "&5Room ##6 Key" to player
  408.  
  409. on death:
  410.     boots of victim are diamond boots named "Horus":
  411.         add 1 to {innkill.%attacker%}
  412.         send "&8[&aAn Innkeeper's Story&8] &6Objective Complete: &7Kill or Defuse the situation with &4Horus the Awful&7." to attacker
  413.         wait 3 second
  414.         remove 1 blaze rod named "&5Room ##6 Key" from the attacker
  415.         send "&8[&aAn Innkeeper's Story&8] &7As you scavenge the body, you find his Innstone. You take it, and it glows in your hand." to attacker
  416.         give 1 eye of ender named "&9Innstone" with lore "&7Ability: &6Opens a Menu to teleport to various Inns.||&7Rarity: &cSpecial" to attacker
  417.         wait 3 second
  418.         send "&8[&aAn Innkeeper's Story&8] &7You start to make your way to the innkeeper to report on this incident." to attacker
  419.         wait 1 second
  420.         execute console command "/warp innkeeper %attacker%"
  421.         wait 2 seconds    
  422.         send "&8[&aAn Innkeeper's Story&8] &7You nod to the Innkeeper, and he tosses you an Iron Coin. You don't know what this does, but it's probably important for the future." to attacker
  423.         give 1 ghast tear named "&7Iron Coin" with lore "&7This is &6%attacker%'s &7Iron Coin." to attacker
  424.         set {questInn.%attacker%} to true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement