Advertisement
Saodyk

test

Sep 18th, 2019
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.11 KB | None | 0 0
  1. on any movement:
  2. if target block of player is not stone:6:
  3. if {test2.%player%} is true:
  4. make player see block at location 1 meter above {playerloc2.%player%} as {blocks2.%player%::1}
  5. make player see block at location 2 meters above {playerloc2.%player%} as {blocks2.%player%::2}
  6. make player see block at location 3 meters above {playerloc2.%player%} as {blocks2.%player%::3}
  7. make player see block at location 4 meters above {playerloc2.%player%} as {blocks2.%player%::4}
  8. make player see block at location 1 meters east above {playerloc2.%player%} as {blocks2.%player%::5}
  9. make player see block at location 1 meters west above {playerloc2.%player%} as {blocks2.%player%::6}
  10. make player see block at location 1 up 1 east above {playerloc2.%player%} as {blocks2.%player%::7}
  11. make player see block at location 1 up 1 west above {playerloc2.%player%} as {blocks2.%player%::8}
  12. make player see block at location 2 up 1 east above {playerloc2.%player%} as {blocks2.%player%::9}
  13. make player see block at location 2 up 1 west above {playerloc2.%player%} as {blocks2.%player%::10}
  14. set {playerloc2.%player%} to 0
  15. set {blocks2.%player%::*} to 0
  16. set {test2.%player%} to false
  17. stop
  18. else:
  19. stop
  20. else:
  21. if tool of player is paper named "&bBlueprint &f- &oWall":
  22. if player's facing is north or south:
  23. if distance between the player and the target block < 4:
  24. set {playerloc2.%player%} to location of player's target block
  25. set {test2.%player%} to true
  26.  
  27. if block -1 up 1 north above {playerloc2.%player%} is upside-down double stone slab:
  28. stop
  29. else:
  30. if block up 0, 1 or 2 above {playerloc2.%player%} is not oak wood plank:
  31. set {blocks2.%player%::1} to block above {playerloc2.%player%}
  32. set {blocks2.%player%::2} to block up 1 above {playerloc2.%player%}
  33. set {blocks2.%player%::3} to block up 2 above {playerloc2.%player%}
  34. set {blocks2.%player%::4} to block up 3 above {playerloc2.%player%}
  35. set {blocks2.%player%::5} to block 1 meter east above {playerloc2.%player%}
  36. set {blocks2.%player%::6} to block 1 meter west above {playerloc2.%player%}
  37. set {blocks2.%player%::7} to block 1 up 1 east above {playerloc2.%player%}
  38. set {blocks2.%player%::8} to block 1 up 1 west above {playerloc2.%player%}
  39. set {blocks2.%player%::9} to block 2 up 1 east above {playerloc2.%player%}
  40. set {blocks2.%player%::10} to block 2 up 1 west above {playerloc2.%player%}
  41.  
  42. if block above {playerloc2.%player%} is not air:
  43. make player see block at location 1 meters above {playerloc2.%player%} as red glass block
  44. else:
  45. make player see block at location 1 meters above {playerloc2.%player%} as light blue glass block
  46.  
  47.  
  48. if block 2 east above {playerloc2.%player%} is not oak wood:
  49. make player see block at location 1 meters above {playerloc2.%player%} as red glass block
  50. else:
  51. make player see block at location 1 meters above {playerloc2.%player%} as light blue glass block
  52.  
  53. if block 2 west above {playerloc2.%player%} is not oak wood:
  54. make player see block at location 1 meters above {playerloc2.%player%} as red glass block
  55. else:
  56. make player see block at location 1 meters above {playerloc.%player%} as light blue glass block
  57.  
  58.  
  59.  
  60.  
  61. if block up 1 above {playerloc2.%player%} is not air:
  62. make player see block at location 2 meters above {playerloc2.%player%} as red glass block
  63. else:
  64. make player see block at location 2 meters above {playerloc2.%player%} as light blue glass block
  65.  
  66.  
  67. if block 2 east above {playerloc2.%player%} is not oak wood:
  68. make player see block at location 2 meters above {playerloc2.%player%} as red glass block
  69. else:
  70. make player see block at location 2 meters above {playerloc2.%player%} as light blue glass block
  71.  
  72. if block 2 west above {playerloc2.%player%} is not oak wood:
  73. make player see block at location 2 meters above {playerloc2.%player%} as red glass block
  74. else:
  75. make player see block at location 2 meters above {playerloc.%player%} as light blue glass block
  76.  
  77.  
  78.  
  79.  
  80. if block up 2 above {playerloc2.%player%} is not air:
  81. make player see block at location 3 meters above {playerloc2.%player%} as red glass block
  82. else:
  83. make player see block at location 3 meters above {playerloc2.%player%} as light blue glass block
  84.  
  85.  
  86. if block 2 east above {playerloc2.%player%} is not oak wood:
  87. make player see block at location 3 meters above {playerloc2.%player%} as red glass block
  88. else:
  89. make player see block at location 3 meters above {playerloc2.%player%} as light blue glass block
  90.  
  91. if block 2 west above {playerloc2.%player%} is not oak wood:
  92. make player see block at location 3 meters above {playerloc2.%player%} as red glass block
  93. else:
  94. make player see block at location 3 meters above {playerloc.%player%} as light blue glass block
  95.  
  96.  
  97.  
  98.  
  99. if block 1 east above {playerloc2.%player%} is not air:
  100. make player see block at location 1 east above {playerloc2.%player%} as red glass block
  101. else:
  102. make player see block at location 1 east above {playerloc2.%player%} as light blue glass block
  103.  
  104.  
  105. if block 2 east above {playerloc2.%player%} is not oak wood:
  106. make player see block at location 1 east above {playerloc2.%player%} as red glass block
  107. else:
  108. make player see block at location 1 east above {playerloc2.%player%} as light blue glass block
  109.  
  110. if block 2 west above {playerloc2.%player%} is not oak wood:
  111. make player see block at location 1 east above {playerloc2.%player%} as red glass block
  112. else:
  113. make player see block at location 1 east above {playerloc.%player%} as light blue glass block
  114.  
  115.  
  116.  
  117.  
  118.  
  119. if block 1 west above {playerloc2.%player%} is not air:
  120. make player see block at location 1 meters west above {playerloc2.%player%} as red glass block
  121. else:
  122. make player see block at location 1 meters west above {playerloc2.%player%} as light blue glass block
  123.  
  124.  
  125. if block 2 east above {playerloc2.%player%} is not oak wood:
  126. make player see block at location 1 west above {playerloc2.%player%} as red glass block
  127. else:
  128. make player see block at location 1 west above {playerloc2.%player%} as light blue glass block
  129.  
  130. if block 2 west above {playerloc2.%player%} is not oak wood:
  131. make player see block at location 1 west above {playerloc2.%player%} as red glass block
  132. else:
  133. make player see block at location 1 west above {playerloc.%player%} as light blue glass block
  134.  
  135.  
  136.  
  137.  
  138.  
  139. if block 1 up 1 east above {playerloc2.%player%} is not air:
  140. make player see block at location 1 up 1 east above {playerloc2.%player%} as red glass block
  141. else:
  142. make player see block at location 1 up 1 east above {playerloc2.%player%} as light blue glass block
  143.  
  144.  
  145. if block 2 east above {playerloc2.%player%} is not oak wood:
  146. make player see block at location 1 up 1 east above {playerloc2.%player%} as red glass block
  147. else:
  148. make player see block at location 1 up 1 east above {playerloc2.%player%} as light blue glass block
  149.  
  150. if block 2 west above {playerloc2.%player%} is not oak wood:
  151. make player see block at location 1 up 1 east above {playerloc2.%player%} as red glass block
  152. else:
  153. make player see block at location 1 up 1 east above {playerloc.%player%} as light blue glass block
  154.  
  155.  
  156.  
  157.  
  158. if block 1 up 1 west above {playerloc2.%player%} is not air:
  159. make player see block at location 1 up 1 west above {playerloc2.%player%} as red glass block
  160. else:
  161. make player see block at location 1 up 1 west above {playerloc2.%player%} as light blue glass block
  162.  
  163.  
  164. if block 2 east above {playerloc2.%player%} is not oak wood:
  165. make player see block at location 1 up 1 west above {playerloc2.%player%} as red glass block
  166. else:
  167. make player see block at location 1 up 1 west above {playerloc2.%player%} as light blue glass block
  168.  
  169. if block 2 west above {playerloc2.%player%} is not oak wood:
  170. make player see block at location 1 up 1 west above {playerloc2.%player%} as red glass block
  171. else:
  172. make player see block at location 1 up 1 west above {playerloc.%player%} as light blue glass block
  173.  
  174.  
  175.  
  176. if block 2 up 1 east above {playerloc2.%player%} is not air:
  177. make player see block at location 2 up 1 east above {playerloc2.%player%} as red glass block
  178. else:
  179. make player see block at location 2 up 1 east above {playerloc2.%player%} as light blue glass block
  180.  
  181. if block 2 east above {playerloc2.%player%} is not oak wood:
  182. make player see block at location 2 up 1 east above {playerloc2.%player%} as red glass block
  183. else:
  184. make player see block at location 2 up 1 east above {playerloc2.%player%} as light blue glass block
  185.  
  186. if block 2 west above {playerloc2.%player%} is not oak wood:
  187. make player see block at location 2 up 1 east above {playerloc2.%player%} as red glass block
  188. else:
  189. make player see block at location 2 up 1 east above {playerloc.%player%} as light blue glass block
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196. if block 2 up 1 west above {playerloc2.%player%} is not air:
  197. make player see block at location 2 up 1 west above {playerloc2.%player%} as red glass block
  198. else:
  199. make player see block at location 2 up 1 west above {playerloc2.%player%} as light blue glass block
  200.  
  201. if block 2 east above {playerloc2.%player%} is not oak wood:
  202. make player see block at location 2 up 1 west above {playerloc2.%player%} as red glass block
  203. else:
  204. make player see block at location 2 up 1 west above {playerloc2.%player%} as light blue glass block
  205.  
  206. if block 2 west above {playerloc2.%player%} is not oak wood:
  207. make player see block at location 2 up 1 west above {playerloc2.%player%} as red glass block
  208. else:
  209. make player see block at location 2 up 1 west above {playerloc.%player%} as light blue glass block
  210.  
  211. else:
  212. stop
  213.  
  214.  
  215.  
  216. on any movement:
  217. if target block of player is not stone:6:
  218. if {test3.%player%} is true:
  219. make player see block at location 1 meter above {playerloc3.%player%} as {blocks3.%player%::1}
  220. make player see block at location 2 meters above {playerloc3.%player%} as {blocks3.%player%::2}
  221. make player see block at location 3 meters above {playerloc3.%player%} as {blocks3.%player%::3}
  222. make player see block at location 4 meters above {playerloc3.%player%} as {blocks3.%player%::4}
  223. make player see block at location 1 meters north above {playerloc3.%player%} as {blocks3.%player%::5}
  224. make player see block at location 1 meters south above {playerloc3.%player%} as {blocks3.%player%::6}
  225. make player see block at location 1 up 1 north above {playerloc3.%player%} as {blocks3.%player%::7}
  226. make player see block at location 1 up 1 south above {playerloc3.%player%} as {blocks3.%player%::8}
  227. make player see block at location 2 up 1 north above {playerloc3.%player%} as {blocks3.%player%::9}
  228. make player see block at location 2 up 1 south above {playerloc3.%player%} as {blocks3.%player%::10}
  229. set {playerloc3.%player%} to 0
  230. set {blocks3.%player%::*} to 0
  231. set {test3.%player%} to false
  232. stop
  233. else:
  234. stop
  235. else:
  236. if tool of player is paper named "&bBlueprint &f- &oWall":
  237. if player's facing is east or west:
  238. if distance between the player and the target block < 4:
  239. set {playerloc3.%player%} to location of player's target block
  240. set {test3.%player%} to true
  241.  
  242. if block -1 up 1 north above {playerloc3.%player%} is oak wood plank:
  243. stop
  244.  
  245. if block -1 up 1 south above {playerloc3.%player%} is oak wood plank:
  246. stop
  247.  
  248. else:
  249. if block up 0, 1 or 2 above {playerloc3.%player%} is not oak wood plank:
  250. set {blocks3.%player%::1} to block above {playerloc3.%player%}
  251. set {blocks3.%player%::2} to block up 1 above {playerloc3.%player%}
  252. set {blocks3.%player%::3} to block up 2 above {playerloc3.%player%}
  253. set {blocks3.%player%::4} to block up 3 above {playerloc3.%player%}
  254. set {blocks3.%player%::5} to block 1 meter north above {playerloc3.%player%}
  255. set {blocks3.%player%::6} to block 1 meter south above {playerloc3.%player%}
  256. set {blocks3.%player%::7} to block 1 up 1 north above {playerloc3.%player%}
  257. set {blocks3.%player%::8} to block 1 up 1 south above {playerloc3.%player%}
  258. set {blocks3.%player%::9} to block 2 up 1 north above {playerloc3.%player%}
  259. set {blocks3.%player%::10} to block 2 up 1 south above {playerloc3.%player%}
  260. if block above {playerloc3.%player%} is not air:
  261. make player see block at location 1 meters above {playerloc3.%player%} as red glass block
  262. else:
  263. make player see block at location 1 meters above {playerloc3.%player%} as light blue glass block
  264.  
  265. if block up 1 above {playerloc3.%player%} is not air:
  266. make player see block at location 2 meters above {playerloc3.%player%} as red glass block
  267. else:
  268. make player see block at location 2 meters above {playerloc3.%player%} as light blue glass block
  269.  
  270. if block up 2 above {playerloc3.%player%} is not air:
  271. make player see block at location 3 meters above {playerloc3.%player%} as red glass block
  272. else:
  273. make player see block at location 3 meters above {playerloc3.%player%} as light blue glass block
  274.  
  275.  
  276. if block 1 north above {playerloc3.%player%} is not air:
  277. make player see block at location 1 meters north above {playerloc3.%player%} as red glass block
  278. else:
  279. make player see block at location 1 meters north above {playerloc3.%player%} as light blue glass block
  280.  
  281. if block 1 south above {playerloc3.%player%} is not air:
  282. make player see block at location 1 meters south above {playerloc3.%player%} as red glass block
  283. else:
  284. make player see block at location 1 meters south above {playerloc3.%player%} as light blue glass block
  285.  
  286.  
  287.  
  288. if block 1 up 1 north above {playerloc3.%player%} is not air:
  289. make player see block at location 1 up 1 north above {playerloc3.%player%} as red glass block
  290. else:
  291. make player see block at location 1 up 1 north above {playerloc3.%player%} as light blue glass block
  292.  
  293. if block 1 up 1 south above {playerloc3.%player%} is not air:
  294. make player see block at location 1 up 1 south above {playerloc3.%player%} as red glass block
  295. else:
  296. make player see block at location 1 up 1 south above {playerloc3.%player%} as light blue glass block
  297.  
  298.  
  299.  
  300. if block 2 up 1 north above {playerloc3.%player%} is not air:
  301. make player see block at location 2 up 1 north above {playerloc3.%player%} as red glass block
  302. else:
  303. make player see block at location 2 up 1 north above {playerloc3.%player%} as light blue glass block
  304.  
  305. if block 2 up 1 south above {playerloc3.%player%} is not air:
  306. make player see block at location 2 up 1 south above {playerloc3.%player%} as red glass block
  307. else:
  308. make player see block at location 2 up 1 south above {playerloc3.%player%} as light blue glass block
  309. else:
  310. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement