Wheemangga

[Skript] Collect-Deliver Item Quest 1.0.3

May 28th, 2014 (edited)
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.76 KB | None | 0 0
  1. Options:
  2.     L: &8[&6Q&8] &7Jack Sparrow &3&l>&f
  3. On rightclick on entity:
  4.     Loop entities in radius 5 of player:
  5.         loop-entity's name contains "Jack_Sparrow":
  6.             {Quis.%player%} is not set:
  7.                 set {Quis.%player%} to false
  8.                 send "{@L} Hai! Aku butuh bantuanmu!"
  9.                 send "{@L} Aku membutuhkan &a3 Brick&f untuk membuat kapalku, Maukah kau membantuku?"
  10.                 send "{@L} Quest : &aJack's Brick"
  11.                 send "{@L} &aYes &6/ &cNo"
  12.                 Stop
  13.             {Quis.%player%} is false:
  14.                 send "{@L} Hai! Aku butuh bantuanmu!"
  15.                 send "{@L} Aku membutuhkan &a3 Brick&f untuk membuat kapalku, Maukah kau membantuku?"
  16.                 send "{@L} Quest : &aJack's Brick"
  17.                 send "{@L} &aYes &6/ &cNo"
  18.             {Quis.notdone.%player%} is false:
  19.                 send "{@L} Kau sudah mendapatkan 3 Brick yang kumau?"
  20.             {Quis.notdone.%player%} is true:
  21.                 send "{@L} Terimakasih telah Membantuku!"
  22. On rightclick on Entity:
  23.     Loop entities in radius 5 of player:
  24.         loop-entity's name contains "Jack_Sparrow":
  25.             player is holding 3 brick:
  26.                 {Quis.%player%} is true:
  27.                     {Quis.notdone.%player%} is false:
  28.                         remove 3 brick from player's inventory
  29.                         send "{@L} &aTerimakasih! Aku sekarang bisa membuat kapalku!"
  30.                         add 1200 to player's money
  31.                         set {Quis.notdone.%player%} to true
  32. On chat:
  33.     message is "Yes":
  34.         {Quis.%player%} is false:
  35.             send "{@L} Terimakasih!"
  36.             send "&7[&6Quest&7] &aQuest Started"
  37.             send "&aJack's Brick"
  38.             set {Quis.%player%} to true
  39.             set {Quis.notdone.%player%} to false
  40.             cancel event
  41.             stop
  42.     message is "NO":
  43.         {Quis.%player%} is false:
  44.             send "&7[&6Quest&7] &cQuest Canceled."
  45.             cancel event
  46.             stop
  47.     else:
  48.         send "&7[&6Quest&7] &c Kamu harus menjawab pertanyaannya!"
  49.         cancel event
  50.         stop
  51. Command /aweawe:
  52.     trigger:
  53.         set {Quis.%player%} to false
  54.         send "Pong!"
Advertisement
Add Comment
Please, Sign In to add comment