Paste #3860: Fishing quest

Date: 2014/04/29 20:54:55 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


Fishing:
    Type: Assignment
    interact scripts:
    - 10 FishingQuest
FishingQuest:
    type: interact
    steps:
        1:
            click trigger:
                script:
                - engage
                - chat "Hello there <player.name>!"
                - wait 1
                - chat "We appreciate all the wheat, but you know what's missin?"
                - wait 1
                - chat "That's right! Meat! Could you help us?"
                - zap step:2
                - disengage
        2:
            chat trigger:
                1:
                    trigger: /Yes/, how can I help?
                    script:
                    - engage
                    - chat "Wonderful! I know a guy, not far from here, who can help!"
                    - wait 1
                    - chat "His name is Master Baiter. Look for him on a small island."
                    - wait 1
                    - chat "Remember, he's not too far from here, so don't get lost!"
                    - listen travel type:tonpc "target:NPC.Master Baiter" radius:5
                    - zap step:3
                    - disengage
                2:
                    trigger: /No/, grab your own meat!
                    script:
                    - chat "Well, ok then..."
        3:
            click trigger:
                script:
                - chat "Where's our meat!?"