Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- every 8 seconds:
- loop all players:
- if loop-player's held item is a torch with name "&cLighter":
- add 0.6 to {temp4::%loop-player's uuid%}
- if {temp4::%loop-player's uuid%} is more than 106:
- if "%region at loop-player%" doesn't contain "hotspring1":
- if {warned::%loop-player%} isn't true:
- set {warned::%loop-player%} to true
- broadcast "%{warned::%loop-player%}%"
- send "&f&lN&1&lB&f >>&c Your lungs are starting to get weak from all the smoke inhalation; put your lighter away until your temperate reaches below 106, or face death." to loop-player
- wait 45 seconds
- if {temp4::%loop-player's uuid%} is more than 106:
- broadcast "[&fNorth&1Bound&f] &9%loop-player%&f has died of excess smoke inhalation."
- kill the loop-player
- set {warned::%loop-player%} to false
- broadcast "set false"
- else:
- set {warned::%loop-player%} to false
- broadcast "set false"
- if {bleeding::%loop-player%::count} is more than 0:
- damage the loop-player by 0.5 hearts
- if loop-player's health is less than 0.5:
- broadcast "[&fNorth&1Bound&f]&9 %loop-player%&f has bled to death."
- set {bleeding::%loop-player%::count} to 0
- loop all blocks in radius 10 of loop-player:
- if loop-block is a campfire or fire:
- if loop-block isn't an unlit campfire:
- set {campfire.%loop-player%} to true
- else:
- set {campfire.%loop-player%} to false
- else:
- set {campfire.%loop-player%} to false
- if time in world "ul_hmnts2" is night:
- set {time} to "night"
- if time in world "ul_hmnts2" is day:
- set {time} to "day"
- if {thirst::%loop-player's uuid%} isn't below 1:
- remove 0.4 from {thirst::%loop-player's uuid%}
- else:
- send "&f&lN&1&lB&f >>&c Your thirst is at 0, you will die in 15 seconds if you do not get water intake." to loop-player
- wait 15 seconds
- if {thirst::%loop-player's uuid%} isn't more than 1:
- kill the loop-player
- broadcast "[&fNorth&1Bound&f] &9%loop-player%&f has died of thirst."
- if "%region at loop-player%" contains "hotspring":
- if block at loop-player is water:
- add 2 to {temp4::%loop-player's uuid%}
- if {temp4::%loop-player's uuid%} is more than 105:
- send "&f&lN&1&lB&f >>&c It's getting way too hot...You have about 20 seconds to exit the hotspring before you burn to death..." to loop-player
- wait 20 seconds
- if block at loop-player is water:
- kill the loop-player
- broadcast "[&fNorth&1Bound&f] &9%loop-player%&f burned to death."
Advertisement
Add Comment
Please, Sign In to add comment