Date: 2023/09/18 00:00:19 UTC-07:00
Type: Denizen Script
thirst_system:
type: world
events:
after player join:
- flag <player> thirst:20
on delta time minutely:
- if <player.flag[thirst]> = true:
- flag <player> thirst:--
- narrate "You thirst is <player.flag[thirst]>" targets:<player>
on delta time secondly:
- if <player.flag[thirst]> == 0:
- cast JUMP amplifier:244 duration:1 no_ambient no_icon hide_particles #disablejump
- hurt 1 player
- cast SLOW amplifier:3 duration:1