Paste #46314: Untitled Paste

Date: 2018/01/14 18:38:34 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


IronBoots:
    type: item
    material: Iron_Boots
    display name: "<blue>Iron Boots"
    lore:
    - Heavy Boots made of iron that allow
    - you to sink to the bottom of water!
    - A specialty of the Zora Tribe!
    enchantments:
    - depth_strider:10
    recipe:
    - air|air|air
    - iron_block|Iron_Boots|iron_block
    - air|i@ZoraBlueprints|air

Zora_Blueprints:
    type: item
    material: paper
    display name: "<blue>Zora Blueprints"
    lore:
    - Old blueprints that appear to be
    - written by a Zora. What secrets
    - do they hold?

Iron_Boots_Effects:
    type: world
    events:
        on player equips boots:
            - if <player.equipment.boots> == i@IronBoots
            {
                - while <player.equipment.boots> == i@IronBoots
                {
                    - if <player.on_ground> == true
                    {
                        - cast <player> slowness d:1 p:5 hide_particles
                    }
                    else
                    {
                        - adjust <player> velocity:<0>,<-2>,<0>
                    }
                }
            }