Paste #107051: Unnamed Denizen Script Paste

Date: 2023/03/08 14:27:53 UTC-08: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
15
16
17


momentum:
    debug: false
    type: world
    events:
        after player starts sprinting:
            - while <player.is_sprinting>:
                - if <player.speed> <= 0.29:
                    - wait 0.1s
                    - adjust <player> speed:<player.speed.add[0.002]>
        on player stops sprinting:
            - adjust <player> speed:0.11
jumpity:
    type: world
    events:
        on player jumps:
            - adjust <player> velocity:<player.velocity.add[0,0.1,0]>
            - narrate <player.velocity>