Paste #48889: Untitled Paste

Date: 2018/08/07 09:22:14 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


FireWheel:
    type: world
    debug: false
    events:
        on player right clicks with item:
            - if <player.has_flag[element_toggled]> {
                - queue clear
            }
            - if <player.flag[element]> == fire && !<player.location.cursor_on[5].material.name> == air {
                - narrate "circle!"
                - playeffect <l@2,0,0.rotate_around_y[0.08].add[<player.location>]> effect:flame quantity:1 offset:0,0,0
                - playeffect <l@2,0,0.rotate_around_y[0.17].add[<player.location>]> effect:flame quantity:1 offset:0,0,0
                - playeffect <l@2,0,0.rotate_around_y[0.26].add[<player.location>]> effect:flame quantity:1 offset:0,0,0
                - playeffect <l@2,0,0.rotate_around_y[0.34].add[<player.location>]> effect:flame quantity:1 offset:0,0,0
                - playeffect <l@2,0,0.rotate_around_y[0.43].add[<player.location>]> effect:flame quantity:1 offset:0,0,0
                - playeffect <l@2,0,0.rotate_around_y[0.52].add[<player.location>]> effect:flame quantity:1 offset:0,0,0
                - playeffect <l@2,0,0.rotate_around_y[0.61].add[<player.location>]> effect:flame quantity:1 offset:0,0,0
                - playeffect <l@2,0,0.rotate_around_y[0.7].add[<player.location>]> effect:flame quantity:1 offset:0,0,0
                - playeffect <l@2,0,0.rotate_around_y[0.78].add[<player.location>]> effect:flame quantity:1 offset:0,0,0
                - playeffect <l@2,0,0.rotate_around_y[0.87].add[<player.location>]> effect:flame quantity:1 offset:0,0,0
                - playeffect <l@2,0,0.rotate_around_y[0.95].add[<player.location>]> effect:flame quantity:1 offset:0,0,0
                - playeffect <l@2,0,0.rotate_around_y[1.04].add[<player.location>]> effect:flame quantity:1 offset:0,0,0
                - playeffect <l@2,0,0.rotate_around_y[1.13].add[<player.location>]> effect:flame quantity:1 offset:0,0,0
                - playeffect <l@2,0,0.rotate_around_y[1.22].add[<player.location>]> effect:flame quantity:1 offset:0,0,0
                - playeffect <l@2,0,0.rotate_around_y[1.3].add[<player.location>]> effect:flame quantity:1 offset:0,0,0
                - playeffect <l@2,0,0.rotate_around_y[1.4].add[<player.location>]> effect:flame quantity:1 offset:0,0,0
                - playeffect <l@2,0,0.rotate_around_y[1.48].add[<player.location>]> effect:flame quantity:1 offset:0,0,0
            }