Paste #129845: Unnamed Denizen Script Paste

Date: 2025/01/10 11:11:28 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
18
19
20
21


kit_sprinter:
    type: task
    script:
        - if <player.inventory.is_full>:
            - narrate 'Empty your inventory'
            - determine cancelled
        - if <player.has_flag[kit.sprinter]>:
            - narrate '<&4>You have this Kit'
            - determine cancelled
        - if <player.has_flag[kit.tank]>:
            - flag <player> kit.tank:!
        - flag <player> kit.sprinter
        # Tools
        - if <player.inventory.contains_item[tank_mace]>:
            - take item:tank_mace quantity:1
        - give clastick quantity:1 slot:1
        - give feather_stick quantity:1 slot:2
        # Brzina
        - adjust <player> speed:0.14
        # Health
        - health <player> 6 heal