Guest User

Strzelec Crafting

a guest
Feb 15th, 2014
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.39 KB | None | 0 0
  1. options:
  2. # Ogolne
  3. tag: &4[ &6Strzelec&4 ]
  4. msg.noperm: &cBrak Uprawnien
  5.  
  6.  
  7. # Czas efektow
  8.  
  9. czas.trutki: 10
  10. czas.oszolomienia: 10
  11. czas.spowlonienia: 10
  12. czas.podpalania: 10
  13.  
  14.  
  15. on script load:
  16. register new shaped recipe for nameditemstack from "bow;&6Podpalajacy;&aLuk" using none, none, none, none, bow, coal, none, none, none
  17. register new shaped recipe for nameditemstack from "bow;&fWybuchajacy;&aLuk" using none, none, none, none, bow, tnt, none, none, none
  18. register new shaped recipe for nameditemstack from "bow;&5Trujacy;&aLuk" using none, none, none, none, bow, rotten flesh, none, none, none
  19. register new shaped recipe for nameditemstack from "bow;&7Spowalniajacy;&aLuk" using none, none, none, none, bow, stone, none, none, none
  20. register new shaped recipe for nameditemstack from "bow;&aOszalamiajacy;&aLuk" using none, none, none, none, bow, redstone, none, none, none
  21. register new shaped recipe for nameditemstack from "bow;&eTeleportujacy;&aLuk" using none, none, none, none, bow, hopper, none, none, none
  22. register new shaped recipe for nameditemstack from "bow;&2Mob;&aLuk" using none, none, none, none, bow, bone, none, none, none
  23. register new shaped recipe for nameditemstack from "bow;&cWyrzucajacy;&aLuk" using none, none, none, none, bow, piston, none, none, none
  24. register new shaped recipe for nameditemstack from "bow;&1Piorun;&aLuk" using none, none, none, none, bow, ghast tear, none, none, none
  25.  
  26.  
  27. command /strzelec [<text>] [<text>]:
  28. trigger:
  29. if arg 1 isn't set:
  30. if player doesn't have permission "strzelec.lista":
  31. stop
  32. send "&4--------------------------------------------"
  33. send " &2&LLista strzal:"
  34. send " ---------------"
  35. send "&6Podpalajaca&f, &fWybuchajaca&f, &9Normalna&f, &5Trujaca&f,"
  36. send "&7Spowalniajaca&f, &aOszalamiajaca&f, &eTeleportujaca"
  37. send "&2Mob&f, &cWyrzucajaca"
  38. send "&4--------------------------------------------"
  39. if arg 1 is "reload":
  40. if player doesn't have permission "strzelec.reload":
  41. send "{@msg.noperm}"
  42. stop
  43. execute player command "sk reload %script%"
  44. send "{@tag} &cPrzeladowano"
  45.  
  46. on damage of player:
  47. attacker is player
  48. projectile is arrow
  49. if name of attacker's tool is "&6Podpalajacy":
  50. ignite the victim for {@czas.podpalania} seconds
  51. stop
  52. if name of attacker's tool is "&6Trujacy":
  53. apply Nausea of tier 10 to the victim for {@czas.oszolomienia} seconds
  54. apply Blindness 1 to the victim for {@czas.oszolomienia} seconds
  55. stop
  56. if name of attacker's tool is "&7Spowalniajacy":
  57. apply slowness 3 to the victim for {@czas.spowlonienia} seconds
  58. stop
  59. if name of attacker's tool is "&aOszalamiajacy":
  60. apply Nausea of tier 10 to the victim for {@czas.oszolomienia} seconds
  61. apply Blindness 1 to the victim for {@czas.oszolomienia} seconds
  62. stop
  63. if name of attacker's tool is "&cWyrzucajacy":
  64. push the victim upwards at speed 0.9
  65. stop
  66.  
  67.  
  68. on projectile hit:
  69. shooter is player
  70. projectile is arrow
  71. if name of shooter's tool is "&fWybuchajacy":
  72. create an explosion of force 2 at projectile
  73. stop
  74. if name of shooter's tool is "&eTeleportujacy":
  75. teleport shooter to projectile
  76. stop
  77. if name of shooter's tool is "&2Mob":
  78. spawn a zombie or creeper or skeleton or spider or silverfish or slime or ghast at projectile
  79. stop
  80. if name of shooter's tool is "&1Piorun":
  81. strike lightning at projectile
  82. stop
Add Comment
Please, Sign In to add comment