Paste #9829: Untitled Paste

Date: 2014/09/19 16:13:34 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


BadToTheBonequest:
    type:assignment
    interact scripts:
    - 10 BadToTheBone

BadToTheBone:
    type: interact
    steps:
        1:
            click trigger:
                script:
                - chat "I am <npc.name>"
                - wait 1
                - chat "And this world has come under siege, The darkness is closing in and we must rely on your skills to pull us out of it"
                - wait 1
                - chat "Please wont you help us overcome the darkness traveller?"
            chat trigger:
                1:
                    trigger:/yes/,"I will help you!"
                    script:
                    - chat "The tide of war will change with your help. Claim 7 of there bones to make sure they run in fear..."
                    - wait 1
                    - chat "Come back as soon as you have there bones in your hand!"
                    - zap step:2
                2:
                    trigger:/no/, "I am to busy."
                    script:
                    - chat "The Darkness will come for you to traveller, I hope you reconsider soon..."
        2:
            click trigger:
                script:

                (-if <player.inventory.contains [Bones].qty[7]>
                - ^take bone qty:7
                - chat "This is only the beginning but you should be proud of yourself."
                - give money qty:250
                - zap step:3
                ) else (
                - chat "Have you lost the bones or are they to strong for you..."
                - wait 1
                - narrate "<npc.name> frowns at you.")

        3:
            click trigger:
                script:
                - chat "Thank you for your help, i hope you will help us more in the future."