"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 for 25 bucks?"
- 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"
- take money qty:25
- zap step:1
- wait 3
'2':
trigger: "/No/ thank you."
script:
- chat "See you around."
- zap step:1