Paste #2451: Untitled Paste

Date: 2014/03/09 13:54:45 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


daindockquest:
    type: assignment

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

    interact scripts:
    - 10 daindockquestinteract

daindockquestinteract:
    type: interact
    steps:
        1:
            proximity trigger:
                entry:
                    radius: 4
                    script:
                    - random 3
                    - chat "Greetings stranger."
                    - chat "Hello there stranger."
                    - chat "Hello stranger."
                exit:
                    radius: 4
                    script:
                    - chat "Farewell."
            click trigger:
                script:
                - chat "I don't believe I have seen you around these parts before. My name is Dain, I'm the dock keeper. "
                - wait 2
                - chat "At least I used to be, until that thug Carack came to town, and made us all prisoners in our own homes."
                - wait 2
                - chat "When he first arrived, we tried to fight him, but it was no use."
                - wait 2
                - chat "My wife, Amelia, rest her poor soul. She was one of our best archers. "
                - wait 2
                - chat "Before she was killed, she hid some supplies in the dockĀ“s storage cellar."
                - wait 2
                - chat "I have done my best to find them, but to no avail. Plus, my fighting days are long over."
                - wait 2
                - chat "Perhaps a young explorer, will have better luck finding them down there."
                - wait 2
                - chat "You can keep anything of use you find down there."
                - wait 2
                - chat "All I ask, is that you bring back to me anything you find of sentimental value."
                - wait 2
                - chat "Will you help me?"
            chat trigger:
                1:
                    trigger: /Yes/, I will help you.
                    script:
                    - chat "Great, I'll be waiting right here."
                    - chat "Good luck!"

                2:
                    trigger: /No/, I'm too busy right now.
                    script:
                    - chat "Oh, okay. Maybe later then."