Paste #2420: Godintro

Date: 2014/03/05 10:30:03 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


GodQuest:
    type: assignment
    interact scripts:
    - 10 GodConvo
    actions:
        on assignment:
        - trigger name:click toggle:true
        - trigger name:proximity toggle:true
        - trigger name:chat toggle:true
        - lookclose state:true
        - chat "Succesfully assigned GodQuest to this NPC"

GodConvo:
    type: interact
    steps:
        1:
            click trigger:
                script:
                if <player.group[nomad1]> {
                    - chat "<red>So, you are a deceased adventurer huh?"
                    - wait 1
                    - chat "<red>This place is pretty boring, so I will propose a trade."
                    - wait 2
                    - chat "<red>I will bring you back to life, on the shore where you shipwrecked."
                    - wait 1
                    - chat "<red>I'll even trow in a map, a handy book, and some food."
                    - wait 2
                    - chat "<red>In return, you will promise to do many interesting things, things worthy of a true adventurer."
                    - wait 2
                    - chat "<red>That should help relieve some of my boredom."
                    - wait 1
                    - chat "<red>Talk to me again when you are ready to be resurrected."
                    - zap step:2
                    } else {
                    - chat "<red>You are not supposed to be here, go away."
                    }
        2:
            click trigger:
                script:
                    - chat "<red>Ok, there we go! Remember to read the book, it contains information crucial to your survival."
                    - wait 2
                    - chat "<red>Oh, and don't sail any more ships. You are a horrible sailor."
                    - wait 1
                    - give BREAD qty:6
                    - execute as_server "Enter the book, map and tp command here without a slash"
                    - zap step:3
        3:
            click trigger:
                script:
                    - chat "<red>You are not supposed to be here, go away."