execute at @e[tag=quest.enchanter,type=interaction] run stopsound @a[distance=..16] * minecraft:entity.villager.ambient
execute at @e[tag=quest.enchanter,type=interaction] run playsound minecraft:entity.villager.trade neutral @a
tellraw @s {"translate":"quest.enchanter.line.1"}
tellraw @s {"text": "", "extra": [{"translate": "quest.enchanter.answer.1","color":"green", "clickEvent": {"action": "run_command", "value": "/trigger enchantertrigger add 1"}}]}
tellraw @s {"text": "", "extra": [{"translate": "quest.enchanter.answer.2","color":"green", "clickEvent": {"action": "run_command", "value": "/trigger enchantertrigger2 add 1"}}]}
tellraw @s {"text": "", "extra": [{"translate": "quest.enchanter.answer.3","color":"red", "clickEvent": {"action": "run_command", "value": "/trigger enchantertrigger3 add 1"}}]}
scoreboard players enable @s enchantertrigger
scoreboard players enable @s enchantertrigger2
scoreboard players enable @s enchantertrigger3
scoreboard players set @s enchantertrigger 0
scoreboard players set @s enchantertrigger2 0
scoreboard players set @s enchantertrigger3 0