Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Options:
- start_block: location at 7049.5, 97.5, 6613.5 of the world "katedra"
- small_coord_bridge: location at 7027.5, 96.5, 6610.5 of the world "katedra"
- big_x: 21
- big_z: 3
- on load:
- clear()
- function clear():
- set {_loc} to {@small_coord_bridge}
- set {_x} to x-coordinates of {_loc}
- set {_y} to y-coordinates of {_loc}
- set {_z} to z-coordinates of {_loc}
- set {_w} to world of {_loc}
- loop {@big_x} times:
- loop {@big_z} times:
- set block at location({_x}, {_y}, {_z}, {_w}) to air
- set block at location({_x}, {_y}-1, {_z}, {_w}) to air
- #on walk on wool:
- # player is in region "rpg_most":
- # send "%player's location%"
- # set {_loc} to {@small_coord_bridge}
- # set {_x} to x-coordinates of {_loc}
- # set {_y} to y-coordinates of {_loc}
- # set {_z} to z-coordinates of {_loc}
- # set {_w} to world of {_loc}
- # set {_b} to type of event-block
- # loop {@big_x} times:
- # loop {@big_z} times:
- # set {_l} to location at ({_x}+ loop-number-1)-1, {_y}, ({_z}+ loop-number-2)-1 of world {_w}
- # if location of event-block is not {_l}:
- # if type of block at {_l} is type of event-block:
- # set block at {_l} to air
- # play mob spawner flames at {_l}
- # wait 1 tick
- # if type of block at {_l} is type of block below player:
- # set block at {_l} to air
- # play mob spawner flames at {_l}
- # wait 1 tick
- on enter region "most_asd1":
- wait 1 ticks
- if block at player is air:
- set {_pl} to location of player
- add 0.5 to x-coordinates of {_pl}
- add 0.5 to z-coordinates of {_pl}
- loop all blocks in radius 0.8 around {_pl}:
- if type of loop-block is not air:
- if distance between player and {_b} is not bigger than distance between player and loop-block:
- "%region at loop-block%" contains "most_asd1":
- set {_b} to loop-block
- else:
- set {_b} to block at player
- if {_b} is not set:
- stop
- wait 1 tick
- push player upwards at speed 1
- set {_loc} to {@small_coord_bridge}
- set {_x} to x-coordinates of {_loc}
- set {_y} to y-coordinates of {_loc}
- set {_z} to z-coordinates of {_loc}
- set {_w} to world of {_loc}
- loop {@big_x} times:
- loop {@big_z} times:
- set {_l} to location at ({_x}+ loop-number-1)-1, {_y}, ({_z}+ loop-number-2)-1 of player's world
- if location of {_b} is not {_l}:
- if type of block at {_l} is type of {_b}:
- set block at {_l} to air
- set block below {_l} to air
- play mob spawner flames at {_l}
- on rightclick on end portal frame:
- set {_beacon} to {@start_block}
- location of event-block is {_beacon}:
- cancel event
- if difference between {rpg.most1.restart} and now is smaller than 20 seconds:
- send "&cJeszcze nie minelo 20 sekund"
- stop
- set {rpg.most.restart} to now
- send "&aStawiam most..."
- set {_loc} to {@small_coord_bridge}
- set {_x} to x-coordinates of {_loc}
- set {_y} to y-coordinates of {_loc}
- set {_z} to z-coordinates of {_loc}
- set {_w} to world of {_loc}
- loop {@big_x} times:
- loop {@big_z} times:
- set {_a} to random integer between 1 and 4
- if {_a} = 1:
- set {_a} to yellow carpet
- set {_b} to yellow wool
- else if {_a} = 2:
- set {_a} to pink carpet
- set {_b} to pink wool
- else if {_a} = 3:
- set {_a} to light blue carpet
- set {_b} to light blue wool
- else if {_a} = 4:
- set {_a} to light green carpet
- set {_b} to light green wool
- else if {_a} = 5:
- set {_a} to spruce wood slab
- else if {_a} = 6:
- set {_a} to 1 of jungle wood slab
- else if {_a} = 7:
- set {_a} to 1 of 182
- set block at location({_x}, {_y}, {_z}, {_w}) to {_a}
- set block at location({_x}, {_y}-1, {_z}, {_w}) to {_b}
- if {_k} is not set:
- if loop-number-2 = 3:
- set {_k} to true
- else:
- add 1 to {_z}
- else:
- if loop-number-2 = 3:
- delete {_k}
- else:
- remove 1 from {_z}
- wait 1 tick
- add 1 to {_x}
- wait 18 seconds
- clear()
Add Comment
Please, Sign In to add comment