Paste #19511: Edit of P#19509 - Untitled Paste

Date: 2015/08/18 15:54:34 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


chickenshooter:
    type: assignment

    actions:
        on assignment:
        - trigger  name:chat toggle:true cooldown:1

    interact scripts:
    - 10 chickenshooter interact

'chickenshooter interact':
    type: interact
    steps:
        '1':
            click trigger:
                script:
                - chat "Would you like a ride?"
                - narrate "<&6>[<&4>HINT<&6>]<&d> You can say <&e><&n>Yes<&d> or <&e><&n>No<&e>."
            chat trigger:
                '1':
                    trigger: "/Yes/ Please!"
                    script:
                    - playsound "location:<npc.location>" "sound:ENDERDRAGON_GROWL" volume:3 pitch:3
                    - shoot entity:chicken ride "location:x,y,z,world"
#          outdated/incorrect format^        ^ doesnt exist lol o.0
                    - mount <player>|e@chicken[custom_name=Bobby;custom_name_visibility=true]
                    - zap step:1
                    - wait 3
                '2':
                    trigger: "/No/ thank you."
                    script:
                    - chat "See you around."
                    - zap step:1