CusT

Untitled

Jul 9th, 2014
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.49 KB | None | 0 0
  1. #======================================#
  2. # #
  3. # Skrypt stworzony #
  4. # Przez #
  5. # ::.Mayard.:: #
  6. #======================================#
  7.  
  8. variables:
  9. {Zadanie1.%player%} = false
  10. {Zadanie2.%player%} = false
  11. {Zadanie3.%player%} = false
  12. {Zadanie4.%player%} = false
  13. {Zadanie5.%player%} = false
  14. {Zadanie6.%player%} = false
  15. {Zadanie7.%player%} = false
  16. {Zadanie8.%player%} = false
  17. {Zadanie9.%player%} = false
  18. {Zadanie10.%player%} = false
  19. {Zadanie.%player%} = false
  20.  
  21. on spawn:
  22. entity is villager:
  23. set name of entity to "&aQuester"
  24.  
  25. on damage:
  26. victim is villager:
  27. name of victim is "&aQuester":
  28. cancel event
  29.  
  30. on rightclick on villager:
  31. name of villager is "&aQuester":
  32. cancel event
  33. if {Zadanie1.%player%} is false:
  34. if {Zadanie.%player%} is false:
  35. send "&6* &7Witaj %player% mam pewna prosbe do Ciebie, czy móglbys przyniesc mi 20 dirtu ?"
  36. send " "
  37. send "&aZadanie 1 zaakceptowane"
  38. send "&aCel: Przynies 20 dirtu"
  39. set {Zadanie.%player%} to true
  40. stop
  41. if {Zadanie.%player%} is true:
  42. player has 20 dirt:
  43. remove 20 dirt from the player
  44. send "&6* &7OO jest !, wlasnie tego mi bylo trzeba, bardzo ci dziekuje !"
  45. send "&aZadanie 1 wykonane"
  46. send "&aNagroda: Zlota Sztabka x2"
  47. set {Zadanie.%player%} to false
  48. add 2 gold ingot to the player
  49. set {Zadanie1.%player%} to true
  50. stop
  51. else:
  52. send "&6* &cNie posiadasz 20 dirt'a (Ziemi)"
  53. if {Zadanie1.%player%} is true:
  54. if {Zadanie2.%player%} is false:
  55. if {Zadanie.%player%} is false:
  56. send "&6* &7Witaj %player% Ostatnio zabrakli mi 30 cobblestone aby zbudowac nowy dom, przyniesiesz je dla mnie ?"
  57. send " "
  58. send "&aZadanie 2 zaakceptowane"
  59. send "&aCel: Przynies 30 cobblestone"
  60. set {Zadanie.%player%} to true
  61. stop
  62. if {Zadanie.%player%} is true:
  63. player has 20 cobblestone:
  64. send "&6* &7Bardzo ci dziekuje, teraz moge skonczyc budowe mojego domu"
  65. send "&aZadanie 2 wykonane"
  66. remove 30 cobblestone from the player
  67. add 2 iron ingot to the player
  68. send "&aNagroda: Sztabka zelaza x2"
  69. set {Zadanie2.%player%} to true
  70. set {Zadanie.%player%} to false
  71. stop
  72. else:
  73. send "&cNie posiadasz 20 cobblestone (Kamienia)"
  74. if {Zadanie1.%player%} is true:
  75. if {Zadanie2.%player%} is true:
  76. if {Zadanie3.%player%} is false:
  77. if {Zadanie.%player%} is false:
  78. send "&6* &7Witaj ponownie %player% jak najszybciej musze zdobyc 2 staki drewna, da sie zrobic ?"
  79. send " "
  80. send "&aZadanie 3 zaakceptowane"
  81. send "&aCel: Przynies 128 (2Stacki) drewna (Oak Wood)"
  82. set {Zadanie.%player%} to true
  83. stop
  84. if {Zadanie.%player%} is true:
  85. player has 128 oak wood:
  86. send "&6* &7Dziekuje, nie wiem co bym bez Ciebie zrobil"
  87. send "&aZadanie 3 wykonane"
  88. send "&aNagroda: Sztabka zlota x4"
  89. set {Zadanie3.%player%} to true
  90. remove 128 oak wood from the player
  91. set {Zadanie.%player%} to false
  92. add 4 gold ingot to the player
  93. stop
  94. else:
  95. send "&cNie posiadasz 128 drewna (OakWood)"
  96. if {Zadanie1.%player%} is true:
  97. if {Zadanie2.%player%} is true:
  98. if {Zadanie3.%player%} is true:
  99. if {Zadanie4.%player%} is false:
  100. if {Zadanie.%player%} is false:
  101. send "&6* &7Dobrze ze cie widze, potrzebuje 10 stone !"
  102. send " "
  103. send "&aZadanie 4 zaakceptowane"
  104. send "&aCel: Przynies 10 stone"
  105. set {Zadanie.%player%} to true
  106. stop
  107. if {Zadanie.%player%} is true:
  108. player has 10 stone:
  109. send "&6* &7Bardzo ale to bardzo ci dziekuje ! "
  110. send "&aZadanie 4 wykonane"
  111. send "&aNagroda: Sztabka zelaza x4"
  112. set {Zadanie4.%player%} to true
  113. set {Zadanie.%player%} to false
  114. remove 10 stone from the player
  115. add 4 iron ingot to the player
  116. stop
  117. else:
  118. send "&cNie posiadasz 10 stone"
  119. if {Zadanie1.%player%} is true:
  120. if {Zadanie2.%player%} is true:
  121. if {Zadanie3.%player%} is true:
  122. if {Zadanie4.%player%} is true:
  123. if {Zadanie5.%player%} is false:
  124. if {Zadanie.%player%} is false:
  125. send "&6* &7Siema ! zdobedziesz dla mnie 30 lisci ?"
  126. send " "
  127. send "&aZadanie 5 zaakceptowane"
  128. send "&aCel: Przynies 30 lisci (Oak Leaves)"
  129. set {Zadanie.%player%} to true
  130. stop
  131. if {Zadanie.%player%} is true:
  132. player has 30 oak leaves:
  133. send "&6* &7Bardzo ci dziekuje za przyniesienie tych lisci !"
  134. send "&aZadanie 5 wykonane"
  135. send "&aNagroda: Sztabka zlota x6"
  136. set {Zadanie5.%player%} to true
  137. remove 30 oak leaves from the player
  138. set {Zadanie.%player%} to false
  139. add 6 gold ingot to the player
  140. stop
  141. else:
  142. send "&cNie posiadasz 30 lisci (Oak Leaves)"
  143. if {Zadanie1.%player%} is true:
  144. if {Zadanie2.%player%} is true:
  145. if {Zadanie3.%player%} is true:
  146. if {Zadanie4.%player%} is true:
  147. if {Zadanie5.%player%} is true:
  148. if {Zadanie6.%player%} is false:
  149. if {Zadanie.%player%} is false:
  150. send "&6* &7Dobrze ze cie widze, potrzebuje 50 stone "
  151. send " "
  152. send "&aZadanie 6 zaakceptowane"
  153. send "&aCel: Przynies 50 stone"
  154. set {Zadanie.%player%} to true
  155. stop
  156. if {Zadanie.%player%} is true:
  157. player has 50 stone:
  158. send "&6* &7Dzieki stary !"
  159. remove 50 stone from the player
  160. send "&aZadanie 6 wykonane"
  161. send "&aNagroda: Sztabka Zlota x10"
  162. add 10 gold ingot to the player
  163. set {Zadanie.%player%} to false
  164. set {Zadanie6.%player%} to true
  165. stop
  166. else:
  167. send "&cNie posiadasz 50 stone !"
  168. if {Zadanie1.%player%} is true:
  169. if {Zadanie2.%player%} is true:
  170. if {Zadanie3.%player%} is true:
  171. if {Zadanie4.%player%} is true:
  172. if {Zadanie5.%player%} is true:
  173. if {Zadanie6.%player%} is true:
  174. if {Zadanie7.%player%} is false:
  175. if {Zadanie.%player%} is false:
  176. send "&6* &7Kogo ja tu widze ! Toz to %player% we wlasnej osobie ! Potrzebuje abys dostarczyl mi 2 stacki dirtu"
  177. send " "
  178. send "&aZadanie 7 zaakceptowane"
  179. send "&aCel: Przynies 128 dirtu"
  180. set {Zadanie.%player%} to true
  181. stop
  182. if {Zadanie.%player%} is true:
  183. player has 128 dirt:
  184. send "&6* &7Dzieki ci wielkie bro !"
  185. remove 128 dirt from the player
  186. send "&aZadanie 7 wykonane"
  187. send "&aNagorda: Sztabka zelaza x10"
  188. add 10 iron ingot to the player
  189. set {Zadanie.%player%} to false
  190. set {Zadanie7.%player%} to true
  191. stop
  192. else:
  193. send "&cNie posiadasz 128 dirtu"
  194. if {Zadanie1.%player%} is true:
  195. if {Zadanie2.%player%} is true:
  196. if {Zadanie3.%player%} is true:
  197. if {Zadanie4.%player%} is true:
  198. if {Zadanie5.%player%} is true:
  199. if {Zadanie6.%player%} is true:
  200. if {Zadanie7.%player%} is true:
  201. if {Zadanie8.%player%} is false:
  202. if {Zadanie.%player%} is false:
  203. send "&6* &7Dobrze ze cie widze, potrzebuje na szybko 30 craftingow !"
  204. send " "
  205. send "&aZadanie 8 zaakceptowane"
  206. send "&aCel: Przynies 30 crafting table"
  207. set {Zadanie.%player%} to true
  208. stop
  209. if {Zadanie.%player%} is true:
  210. player has 30 crafting table:
  211. send "&6* &7Dziekuje !"
  212. remove 30 crafting table from the player
  213. send "&aZadanie 8 wykonane"
  214. send "&aNagroda: Sztabka zlota x15"
  215. add 15 gold ingot to the player
  216. set {Zadanie.%player%} to false
  217. set {Zadanie8.%player%} to true
  218. stop
  219. else:
  220. send "&cNie posiadasz 30 crafting table !"
  221. if {Zadanie1.%player%} is true:
  222. if {Zadanie2.%player%} is true:
  223. if {Zadanie3.%player%} is true:
  224. if {Zadanie4.%player%} is true:
  225. if {Zadanie5.%player%} is true:
  226. if {Zadanie6.%player%} is true:
  227. if {Zadanie7.%player%} is true:
  228. if {Zadanie8.%player%} is true:
  229. if {Zadanie9.%player%} is false:
  230. if {Zadanie.%player%} is false:
  231. send "&6* &7Siemka, widze ze nie masz co ze soba zrobic, przynies mi no tutaj 384 cobblestone"
  232. send " "
  233. send "&aZaakceptowano zadanie 9"
  234. send "&aCel: Przynies 384 cobblestone (6 stakow)"
  235. set {Zadanie.%player%} to true
  236. stop
  237. if {Zadanie.%player%} is true:
  238. player has 384 cobblestone:
  239. send "&6* &7Dziekuje ze tak szybko i dokladnie wykonujesz moje zlecenia !"
  240. remove 384 cobblestone from the player
  241. set {Zadanie.%player%} to false
  242. set {Zadanie9.%player%} to true
  243. send "&aZadanie 9 wykonane"
  244. send "&aNagroda: Sztabka Zelaza x15"
  245. add 15 iron ingot to the player
  246. stop
  247. else:
  248. send "&cNie posiadasz 384 cobblestone"
  249. if {Zadanie1.%player%} is true:
  250. if {Zadanie2.%player%} is true:
  251. if {Zadanie3.%player%} is true:
  252. if {Zadanie4.%player%} is true:
  253. if {Zadanie5.%player%} is true:
  254. if {Zadanie6.%player%} is true:
  255. if {Zadanie7.%player%} is true:
  256. if {Zadanie8.%player%} is true:
  257. if {Zadanie9.%player%} is true:
  258. if {Zadanie10.%player%} is false:
  259. if {Zadanie.%player%} is false:
  260. send "&6* &7Siemka, widze ze nie masz co ze soba zrobic, przynies mi no tutaj 384 dirtu"
  261. send " "
  262. send "&aZaakceptowano zadanie 10"
  263. send "&aCel: Przynies 384 dirtu (6 stakow)"
  264. set {Zadanie.%player%} to true
  265. stop
  266. if {Zadanie.%player%} is true:
  267. player has 384 dirt:
  268. send "&6* &7Dziekuje ze tak szybko i dokladnie wykonujesz moje zlecenia !"
  269. remove 384 dirt from the player
  270. set {Zadanie.%player%} to false
  271. set {Zadanie10.%player%} to true
  272. send "&aZadanie 10 wykonane"
  273. send "&aNagroda: Sztabka Zlota x20"
  274. add 20 gold ingot to the player
  275. stop
  276. else:
  277. send "&cNie posiadasz 384 dirtu"
Advertisement
Add Comment
Please, Sign In to add comment