Paste #115335: Unnamed Denizen Script Paste

Date: 2023/09/18 00:00:19 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14


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