Date: 2017/03/05 18:38:23 UTC-08:00
Type: Denizen Script
"shopkeep":
type: assignment
debug: false
actions:
on assignment:
- trigger name:chat toggle:true
- trigger name:proximity toggle:true radius:10
interact scripts:
- 1 Shop Greetings
- 1 Open Shop
'Shop Greeting':
type: interact
steps:
1:
proximity trigger:
entry:
radius: 5
script:
- narrate '<&a>[Shop Keep] -> Welcome to the shop!!'
'Open Shop':
type: interact
steps:
1:
click trigger:
script:
- narrate '<&a>[Shop Keep] -> Here is what I got!'
- execute as_player "shop"