Simple Greeter


Author: fritzbuild3r
Created: 2014-02-20T11:40:00-0500
Edited: 2014-02-20T11:40:00-0500
Denizen Version: 0.9.4
Views: 5
Downloads: 792
Likes: 0


WGET
Description: I needed a very simple NPC script to edit and run on my server for multiple simple NPC's. This script creates a simple greeter NPC that has random sayings when getting close and on clicking. Edit the sayings for that custom approach! The example is for a meat shop greeter. http://www.youtube.com/watch?v=mmMXosxkbrk

"greeter":
    type: assignment

    actions:
      on assignment:
      - trigger name:click toggle:true 
      - trigger name:proximity toggle:true

      on enter proximity: 
      - random 4
      - chat "Hi you look hungry! I just LOOOVE beef don't you!"
      - chat "Interested in some Fancy Meat??"
      - chat "Meat is best served with a side of art gallery!"
      - chat "Don't go starving on squid!  Eat some turf!"

      on click:
      - random 4
      - chat "Welcome to Fancy Meats.  The Fanciest Meat Shop this side of Build3r! <p>  Personally, I love the raw steaks.  But I don't go for any of the other white meat."
      - chat "I've been working out.  What do you think?"
      - chat "I don't trust that Rinzler feller.  No matter if he is the town sherrif."
      - chat "Fritzbuild3r personally hung our paintings!"




Comments
No one has posted a comment! Post one below: