Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def piramidaKonstruktor():
- pozycja=positions.add(player.position(), pos(10, 0, 0))
- x=pozycja.get_value(Axis.X)
- y=pozycja.get_value(Axis.Y)
- z=pozycja.get_value(Axis.Z)
- #tworzenie piramidy
- blocks.fill(TNT, world(x, y, z), world(x+10, y, z+10))
- loops.pause(500)
- blocks.fill(TNT, world(x+1, y+1, z+1), world(x+9, y+1, z+9))
- loops.pause(500)
- blocks.fill(TNT, world(x+2, y+2, z+2), world(x+8, y+2, z+8))
- loops.pause(500)
- blocks.fill(TNT, world(x+3, y+3, z+3), world(x+7, y+3, z+7))
- loops.pause(500)
- blocks.fill(TNT, world(x+4, y+4, z+4), world(x+6, y+4, z+6))
- loops.pause(500)
- blocks.fill(TNT, world(x+5, y+5, z+5), world(x+5, y+5, z+5))
- #odwrócona piramida
- blocks.fill(TNT, world(x+5, y+7, z+5), world(x+5, y+7, z+5))
- loops.pause(500)
- blocks.fill(TNT, world(x+4, y+8, z+4), world(x+6, y+8, z+6))
- loops.pause(500)
- blocks.fill(TNT, world(x+3, y+9, z+3), world(x+7, y+9, z+7))
- loops.pause(500)
- blocks.fill(TNT, world(x+2, y+10, z+2), world(x+8, y+10, z+8))
- loops.pause(500)
- blocks.fill(TNT, world(x+1, y+11, z+1), world(x+9, y+11, z+9))
- blocks.fill(TNT, world(x, y+12, z), world(x+10, y+12, z+10))
- player.on_chat("piramida",piramidaKonstruktor)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement