ReshiStar

Untitled

Feb 7th, 2020
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. materialcheckerandbuilder:
  2. type: procedure
  3. script:
  4.  
  5. - narrate "Successfully ran script"
  6. - define localone <l@9,4,-9,newworld>
  7.  
  8. - narrate "<def[localone]>"
  9. - repeat 10:
  10. - define x <def[value].sub[1]>
  11. - repeat 10:
  12. - define z <def[value].sub[1]>
  13. - define localone <location[<def[x]>,4,<def[z]>,newworld]>
  14. - choose <def[localone].material>:
  15. - case m@white_wool:
  16. - run builder def:<location[<def[x].mul[10]>,4,<def[z].mul[10]>,newworld].add[0,0,112]>
  17. - case m@red_wool:
  18. - run makeredbuilding def:<location[<def[x].mul[10]>,4,<def[z].mul[10]>,newworld].add[0,0,112]>
  19. - default:
  20. - narrate "air"
Add Comment
Please, Sign In to add comment