Paste #21870: Edit of P#21868 - Edit of P#21866 - Edit of P#21864 - Untitled Paste

Date: 2015/10/29 10:34:26 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


#    - flag ({player}/npc/global/<entity>) [<name>([<#>])](:<action>)[:<value>] (duration:<value>)
survival:
    type: world
    debug: false
    events:
        on player exits spawntower:
        - flag <player.name> quest_1
        - wait 2s
        - narrate "<&4>Fwiz<&f>: Hi, <player.name>, my name is Fwiz. You can find me in my office at the Google headquarters building."
        - wait 1s
        - narrate "<&4>Fwiz<&f>: I know this is creepy because we have never met and you can't see me right now, but I have something important I want to share with you."
        - wait 1s
        - narrate "<&4>Fwiz<&f>: This is a private conversation because it is related to our business. There is much money at stake for us."
        - wait 1s
        - narrate "<&4>Fwiz<&f>: This is why I want you to come talk to me directly in my office for further details."
        - wait 1s
        - run open_book def:i@brunosrealmquests

        on player steps on block:
        - if <player.has_flag[quest_1]> && <player.has_flag[pathing].not> {
          - flag player pathing
          - foreach <player.location.find_path[<n@90.location>]> {
            - showfake gold_plate <def[value]>
            - wait 5t }
          - flag player pathing:!
          }

        on player enters googletower:
        - flag <player.name> googletower
        - wait 1s
        - narrate "<&6>Bedazled_Bacon<&f>: Hello, <player.name>, welcome to Google Tower."
        - wait 1s
        - narrate "<&6>HeyItsWonka<&f>: We can help you find the office you are looking for."
        - wait 1s
        - narrate "<&6>Bedazled_Bacon<&f>: Which person or department are you here to see today?"
        - wait 1s
        - inventory open d:in@CUI_enterGoogleTower

        on player enters fwizoffice:
        - flag <player.name> fwizoffice
        - wait 1s
        - narrate "<&4>Fwiz<&f>: Hi, <player.name>, glad you could make it. I wish you had come sooner."
        - wait 1s
        - narrate "<&4>Fwiz<&f>: I respect your time so I will cut right to the chase."
        - wait 1s
        - narrate "<&4>Fwiz<&f>: We have lost contact with one of our researchers out in the field."
        - wait 1s
        - narrate "<&4>Fwiz<&f>: She hasn't checked in with us for 30 days."
        - wait 1s
        - narrate "<&4>Fwiz<&f>: We want you to go to her last known location and find out what is going on."
        - wait 1s
        - narrate "<&4>Fwiz<&f>: The project she is working on is Top Secret."
        - wait 1s
        - narrate "<&4>Fwiz<&f>: Take this airship pass and leave immediately."
        - wait 1s
        - narrate "<&4>Fwiz<&f>: Let me know when you arrive."

        on player exits fwizoffice:
        - narrate "<&4>Fwiz<&f>: Oh and one more thing, <player.name>, there are lots of strange things occuring the further you get away from home here. Things you haven't heard about on the news, so stay sharp."

        on player enters opticjoffice:
        - flag <player.name> opticjoffice
        - wait 1t
        - narrate "OpTicJ: Hi, <player.name>, thanks for coming to visit me at work!"

        on player exits opticjoffice:
        - narrate "OpTicJ: Be safe on your adventure, pal!"