Date: 2020/07/23 10:19:57 UTC-07:00
Type: Denizen Script
gunthershop:
type: world
events:
on player enters 5159 72 2771 5160 70 2773:
- narrate format:guntherformat "I've got many potions to sell. Much stronger than the kind an amateur could brew. The effects last for an hour each, but the potency comes with a high price tag."
- narrate format:warnmat "Click on merchandise in the chat to purchase it."
- execute as_server "tellraw @a[dx=1,dy=-2,dz=2,x=5159,y=72,z=2771] ["",{"text":"Potion of Night Vision c1000","color":"green","clickEvent":{"action":"run_command","value":"/ex run nightvisionpotbuy"}}]"
guntherformat:
type: format
format: "<&6>[<&f>[<&4>NPC<&f>] <&c>Gunther <&6>-> <&c>me<&6>]<&r> <text>"
warnmat:
type: format
format: "<&4><text>"
nightvisionpotbuy:
type: task
script:
- narrate Hello