jan_kk

Sklep dla Skajcraft

Jan 30th, 2015
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.89 KB | None | 0 0
  1. options:
  2. waluta : zl
  3. on sign change:
  4. if line 1 is "&a Sklep":
  5. if player is not an op:
  6. send "&4Nie mozesz stawiac sklepu!"
  7. set event-block to air
  8. drop 1 sign
  9. stop
  10. on rightclick on sign:
  11. if line 1 is "&a Sklep":
  12. line 2 is "Diament":
  13. if player's balance is higher than 2400:
  14. give player 1 diamond
  15. remove 2400 from player's balance
  16. send "&a Zakupiles diament za 2400 {@waluta}!"
  17. stop
  18. else:
  19. send "&c Nie posiadasz wystarczająco duzo kasy!"
  20. stop
  21. line 2 is "Zloto":
  22. if player's balance is higher than 600:
  23. give player 1 gold ingot
  24. remove 600 from player's balance
  25. send "&a Zakupiles zloto za 600 {@waluta}!"
  26. stop
  27. else:
  28. send "&c Nie posiadasz wystarczająco duzo kasy!"
  29. stop
  30. line 2 is "Zelazo":
  31. if player's balance is higher than 200:
  32. give player 1 iron ingot
  33. remove 200 from player's balance
  34. send "&a Zakupiles zelazo za 200 {@waluta}!"
  35. stop
  36. else:
  37. send "&c Nie posiadasz wystarczająco duzo kasy!"
  38. stop
  39. line 2 is "Jablko":
  40. if player's balance is higher than 100:
  41. give player 1 apple
  42. remove 100 from player's balance
  43. send "&a Zakupiles Jablko za 100 {@waluta}!"
  44. stop
  45. else:
  46. send "&c Nie posiadasz wystarczająco duzo kasy!"
  47. stop
  48. line 2 is "Krem":
  49. if player's balance is higher than 300:
  50. give player 1 Magma cream
  51. remove 300 from player's balance
  52. send "&a Zakupiles magmowy krem za 300 {@waluta}!"
  53. stop
  54. else:
  55. send "&c Nie posiadasz wystarczająco duzo kasy!"
  56. stop
  57. line 2 is "Bruk":
  58. if player's balance is higher than 100:
  59. give player 1 cobblestone
  60. remove 100 from player's balance
  61. send "&a Zakupiles bruk za 100 {@waluta}!"
  62. stop
  63. else:
  64. send "&c Nie posiadasz wystarczająco duzo kasy!"
  65. stop
  66. line 2 is "S-Arbuz":
  67. if player's balance is higher than 300:
  68. give player 1 382
  69. remove 300 from player's balance
  70. send "&a Zakupiles slniacy arbuz za 300 {@waluta}!"
  71. stop
  72. else:
  73. send "&c Nie posiadasz wystarczająco duzo kasy!"
  74. stop
  75. line 2 is "Ksiazka":
  76. if player's balance is higher than 500:
  77. give player 1 book
  78. remove 500 from player's balance
  79. send "&a Zakupiles ksiazke za 500 {@waluta}!"
  80. stop
  81. else:
  82. send "&c Nie posiadasz wystarczająco duzo kasy!"
  83. stop
  84. line 2 is "Lza":
  85. if player's balance is higher than 300:
  86. give player 1 Ghast Tear
  87. remove 300 from player's balance
  88. send "&a Zakupiles lze ghasta za 300 {@waluta}!"
  89. stop
  90. else:
  91. send "&c Nie posiadasz wystarczająco duzo kasy!"
  92. stop
  93. line 2 is "Oko":
  94. if player's balance is higher than 300:
  95. give player 1 376
  96. remove 300 from player's balance
  97. send "&a Zakupiles sfermentowane oko pajaka za 300 {@waluta}!"
  98. stop
  99. else:
  100. send "&c Nie posiadasz wystarczająco duzo kasy!"
  101. stop
  102. line 2 is "Proszek":
  103. if player's balance is higher than 300:
  104. give player 1 Blaze powder
  105. remove 300 from player's balance
  106. send "&a Zakupiles plomienny proszek za 300 {@waluta}!"
  107. stop
  108. else:
  109. send "&c Nie posiadasz wystarczająco duzo kasy!"
  110. stop
  111. line 2 is "Wegiel":
  112. if player's balance is higher than 50:
  113. give player 1 coal
  114. remove 50 from player's balance
  115. send "&a Zakupiles wegiel za 50 {@waluta}!"
  116. stop
  117. else:
  118. send "&c Nie posiadasz wystarczająco duzo kasy!"
  119. stop
  120.  
  121. line 2 is "Lapis":
  122. if player's balance is higher than 50:
  123. give player 1 351:4
  124. remove 50 from player's balance
  125. send "&a Zakupiles lapis za 50 {@waluta}!"
  126. stop
  127. else:
  128. send "&c Nie posiadasz wystarczająco duzo kasy!"
  129. stop
  130.  
  131. line 2 is "Strzala":
  132. if player's balance is higher than 25:
  133. give player 1 arrow
  134. remove 25 from player's balance
  135. send "&a Zakupiles strzale za 25 {@waluta}!"
  136. stop
  137. else:
  138. send "&c Nie posiadasz wystarczająco duzo kasy!"
  139. stop
  140.  
  141.  
  142. if line 1 is "&aSklep &6VIP":
  143. if line 2 is "Diament":
  144. if player's balance is higher than 600:
  145. give player 1 diamond
  146. remove 600 from player's balance
  147. send "&a Zakupiles diament za 600 {@waluta}!"
  148. stop
  149. else:
  150. send "&c Nie posiadasz wystarczająco duzo kasy!"
  151. stop
  152. if line 2 is "Refil":
  153. if player's balance is higher than 300:
  154. give player 1 322
  155. remove 300 from player's balance
  156. send "&a Zakupiles refil za 300 {@waluta}!"
  157. stop
  158. else:
  159. send "&c Nie posiadasz wystarczająco duzo kasy!"
  160. stop
  161. if line 2 is "KOX":
  162. if player's balance is higher than 1200:
  163. give player 1 322:1
  164. remove 1200 from player's balance
  165. send "&a Zakupiles koxa za 1200 {@waluta}!"
  166. stop
  167. else:
  168. send "&c Nie posiadasz wystarczająco duzo kasy!"
  169. stop
  170. if line 1 is "&aSklep &eSVIP":
  171. if line 2 is "Diament":
  172. if player's balance is higher than 300:
  173. give player 1 diamond
  174. remove 300 from player's balance
  175. send "&a Zakupiles diament za 300 {@waluta}!"
  176. stop
  177. else:
  178. send "&c Nie posiadasz wystarczająco duzo kasy!"
  179. stop
  180. if line 2 is "Refil":
  181. if player's balance is higher than 150:
  182. give player 1 322
  183. remove 150 from player's balance
  184. send "&a Zakupiles refil za 150 {@waluta}!"
  185. stop
  186. else:
  187. send "&c Nie posiadasz wystarczająco duzo kasy!"
  188. stop
  189. if line 2 is "KOX":
  190. if player's balance is higher than 600:
  191. give player 1 322:1
  192. remove 600 from player's balance
  193. send "&a Zakupiles koxa za 600 {@waluta}!"
  194. stop
  195. else:
  196. send "&c Nie posiadasz wystarczająco duzo kasy!"
  197. stop
  198. on leftclick on sign:
  199. if line 1 is "&a Sklep":
  200. line 2 is "Diament":
  201. if player has 1 diamond:
  202. remove 1 diamond from player
  203. add 600 to player's balance
  204. send "&a Sprzedales diament za 600 {@waluta}!"
  205. stop
  206. else:
  207. send "&c Nie posiadasz diaksow!"
  208. stop
  209. line 2 is "Zloto":
  210. if player has 1 gold ingot:
  211. remove 1 gold ingot from player
  212. add 100 to player's balance
  213. send "&a Sprzedales zloto za 100 {@waluta}!"
  214. stop
  215. else:
  216. send "&c Nie posiadasz zlota!"
  217. stop
  218. line 2 is "Zelazo":
  219. if player has 1 iron ingot:
  220. remove 1 iron ingot from player
  221. add 20 to player's balance
  222. send "&a Sprzedales zelazo za 20 {@waluta}!"
  223. stop
  224. else:
  225. send "&c Nie posiadasz zelaza!"
  226. stop
  227. line 2 is "Jablko":
  228. if player has 1 apple:
  229. remove 1 apple from player
  230. add 10 to player's balance
  231. send "&a Sprzedales jablko za 10 {@waluta}!"
  232. stop
  233. else:
  234. send "&c Nie posiadasz jablek!"
  235. stop
  236. line 2 is "Krem":
  237. if player has 1 Magma Cream:
  238. remove 1 Magma Cream from player
  239. add 30 to player's balance
  240. send "&a Sprzedales magmowy krem za 30 {@waluta}!"
  241. stop
  242. else:
  243. send "&c Nie posiadasz magmowego kremu!"
  244. stop
  245. line 2 is "Bruk":
  246. if player has 1 cobblestone:
  247. remove 1 cobblestone from player
  248. add 10 to player's balance
  249. send "&a Sprzedales bruk za 10 {@waluta}!"
  250. stop
  251. else:
  252. send "&c Nie posiadasz bruku!"
  253. stop
  254. line 2 is "S-Arbuz":
  255. if player has 1 382:
  256. remove 1 382 from player
  257. add 30 to player's balance
  258. send "&a Sprzedales Slniacy Arbuz za 30 {@waluta}!"
  259. stop
  260. else:
  261. send "&c Nie posiadasz slniacego arbuza!"
  262. stop
  263. line 2 is "Ksiazka":
  264. if player has 1 book:
  265. remove 1 book from player
  266. add 50 to player's balance
  267. send "&a Sprzedales ksiazke za 50 {@waluta}!"
  268. stop
  269. else:
  270. send "&c Nie posiadasz ksiazek!"
  271. stop
  272. line 2 is "Lza":
  273. if player has 1 Ghast Tear:
  274. remove 1 Ghast Tear from player
  275. add 30 to player's balance
  276. send "&a Sprzedales Lze ghasta za 30 {@waluta}!"
  277. stop
  278. else:
  279. send "&c Nie posiadasz lez ghasta!"
  280. stop
  281. line 2 is "Oko":
  282. if player has 1 376:
  283. remove 1 376 from player
  284. add 30 to player's balance
  285. send "&a Sprzedales Sfermentowane oko za 30 {@waluta}!"
  286. stop
  287. else:
  288. send "&c Nie posiadasz sfermentowanych oczu!"
  289. stop
  290. line 2 is "Proszek":
  291. if player has 1 blaze powder:
  292. remove 1 blaze powder from player
  293. add 30 to player's balance
  294. send "&a Sprzedales Plomienny proszek za 30 {@waluta}!"
  295. stop
  296. else:
  297. send "&c Nie posiadasz plomiennego proszku!"
  298. stop
  299. line 2 is "Wegiel":
  300. if player has 1 coal:
  301. remove 1 coal from player
  302. add 5 to player's balance
  303. send "&aSprzedales wegiel za 5 {@waluta}!"
  304. stop
  305. else:
  306. send "&c Nie posiadasz wegla!"
  307. stop
  308.  
  309. line 2 is "Lapis":
  310. if player has 1 351:4:
  311. remove 1 351:4 from player
  312. add 5 to player's balance
  313. send "&aSprzedales lapis za 5 {@waluta}!"
  314. stop
  315. else:
  316. send "&c Nie posiadasz lapisu!"
  317. stop
  318.  
  319. line 2 is "Strzala":
  320. if player has 1 arrow:
  321. remove 1 arrow from player
  322. add 2 to player's balance
  323. send "&a Sprzedales strzale za 2 {@waluta}!"
  324. stop
  325. else:
  326. send "&c Nie posiadasz strzal!"
  327. stop
Advertisement
Add Comment
Please, Sign In to add comment