Paste #15528: Boom

Date: 2015/05/03 20:09:28 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


Gentu:
    type: assignment
    interact scripts:
    - 10 Gentu_script

T:
    type: format
    format: "<gold>[<npc.name>]: <&a><text>" 

Gentu_script:
    type: interact
    steps:
        1:
            click trigger:
                script:
                - narrate format:T "Welcome to Quest Craft!"
                - wait 2
                - narrate format:T "My name is Gentu and survival in these parts are very unlikely"
                - wait 3.2
                - narrate format:T "That's why I'm here, to help you out on your first night"
                - wait 3
                - narrate format:T "They're some essential items that you're going to need to pick up if you're going to get anywhere."
                - wait 4.5
                - narrate format:T "However, my help doesn't come free, return this book to the librarian for me."
                - give i@gentubook
                - wait 3.4
                - narrate format:T "Go down this path here and take a right. Return to me once you have that done."
                - narrate "<&4>[<&6>Quest Accepted<&4>]"
                - flag player gentu_quest1
                - zap step:2

        2:
            click trigger:
                script:
                - narrate format:T "Why do you still have that book? Go and return it!"
                if <player.has_flag[libquest]> {
                 - narrate format:T "Great! Thanks for that. I didn't feel like dealing with him..."
                 - wait 3
                 - narrate format:T "Oh, he gave you a compass too, that's nice of him."
                 - wait 2.5
                 - narrate format:T "Here, take this for doing my dirty work"
                 - give money qty:50
                 - narrate "<&4>[<&6>You recived 50 coins!<&4>]"
                 - wait 3
                 - narrate format:T "Go ahead and go to that black smith over there, and buy a sword."
                 - wait 3
                 - narrate format:T "You'll need it."
                 }

GentuBook:
    type: book
    title: <&5>Rose in the Bush
    author: <&c>Dean Koonzt
    signed: true
    text:
    - Hello<&n>
    - This page is nothing. Compared to the next one, son.
    - Go to the next page
    - Huh?<p>Does this work?<n>I don't even know bro.<n>Text is real here.<n> You don't know how hard it was to make this book.
    - Page 5? Please work