Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on break of vines:
- if biome at player is "jungle":
- set {_chance} to rounded random number between 1 and 40
- if {_chance} is 2 or 4 or 6 or 8 or 10:
- message "&aYou have been bitten by a snake! You suffer a few seconds of poison"
- poison the player for 5 seconds
- else if {_chance} is 22 or 24 or 26 or 28 or 30:
- message "&aYou have been infected with poison ivy! You suffer a few seconds of poison"
- poison the player for 5 seconds
- on break of cactus:
- set {_chance} to rounded random number between 1 and 5
- if {_chance} is 2 or 4:
- message "&aCareful! Don't get pricked by the needles"
- else if {_chance} is 3:
- message "&aOuch! You got pricked by a needle!"
- subtract 1/2 from the player's health
- on break of flower:
- set {_chance} to rounded random number between 1 and 10
- if {_chance} is 5:
- message "&aOuch! You just touched a thorn!"
- subtract 1/2 from the player's health
- on break of grass:
- set {_chance} to rounded random number between 1 and 20
- if {_chance} is 5 or 10 or 15:
- message "&aThat grass is starting to irritate your skin!"
- #===>> The following doesn't work as there is no way to tell where the lightning strikes <<===
- #on lightning strike:
- # set {_chance} to rounded random number between 1 and 10
- # loop blocks in radius 20 of event-location:
- # if {_chance} is 5:
- # if loop-block is glowstone:
- # add location of loop-block to {_lstrike.glowstone::*}
- # set loop-block to 123
- # if loop-block is 124:
- # add location of loop-block to {_lstrike.rlamps::*}
- # set loop-block to 123
- # message "&aYour power has gone out! OBAM Power Inc. will return your power within 30 seconds to a minute"
- # set {_time} to rounded random number between 30 and 60
- # wait {_time} seconds
- # loop {_lstrike.glowstone::*}:
- # set block at loop-value to glowstone
- # loop {_lstrike.rlamps::*}:
- # set block at loop-value to 124
- # else:
- # if loop-block is glowstone:
- # add location of loop-block to {_lstrike.glowstone::*}
- # set loop-block to 123
- # if loop-block is 124:
- # add location of loop-block to {_lstrike.rlamps::*}
- # set loop-block to 123
- # wait 1 second
- # loop {_lstrike.glowstone::*}:
- # set block at loop-value to glowstone
- # loop {_lstrike.rlamps::*}:
- # set block at loop-value to 124
- # message "&aYour power is flickering!"
Advertisement
Add Comment
Please, Sign In to add comment