Paste #19608: Untitled Paste

Date: 2015/08/21 20:03:37 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


morissonisland:
  type: interact
  debug: false
  steps:
    1:
      click trigger:
        script:
        - narrate "<green>Morisson: <White>Moldo sent you? Consider yourself lucky." targets:<player>
        - flag <player> "birthstones:0"
        - wait 4s
        - narrate "<green>Morisson: <White>This is no an ordinary island, one cannot simply leave." targets:<player>
        - wait 4s
        - narrate "<green>Morisson: <White>To return to where you came from, you must complete a task." targets:<player>
        - wait 4s
        - narrate "<green>Morisson: <White>There are four waystones located on the island. You must attune them." targets:<player>
        - wait 4s
        - narrate "<green>Morisson: <White>First, the Astral Stone, my quarters have been built around it." targets:<player>
        - wait 4s
        - narrate "<green>Morisson: <White>Second, the Aquos Stone, it stands tall behind the rocky spire." targets:<player>
        - wait 4s
        - narrate "<green>Morisson: <White>Third, the Arbor Stone, it is planted among the trees." targets:<player>
        - wait 4s
        - narrate "<green>Morisson: <White>Finally, the Ancestor's Stone, it lies in a cave beneath the island." targets:<player>
    2:
      click trigger:
        script:
        - narrate "<green>Morisson: <White>Something is wrong with the stones! Attuning the final stone could be catastrophic!" targets:<player>
        - wait 4s
        - narrate "<green>Morisson: <White>In case we must fight, what do you choose to wield?" targets:<player>
        - wait 4s
        - narrate "<gold>When an interaction asks a question, simply type the gray letter of the option you desire" targets:<player>
        - wait 4s
        - narrate "<green>Morisson: <gray>S<White>word, S<gray>t<White>aff, <gray>B<white>ow, or <gray>A<white>xe?" targets:<player>
        - wait 4s
        - narrate "<gold>For example, to choose 'Staff', type t" targets:<player>
        - zap step:3
    3:
      chat trigger:
        1:
          trigger: /S/word
          script:
          - narrate "<green>Morisson: <white>Good, you look like you know your way around a blade!" targets:<player>
          # give player sword
          - flag <player> "weaponspec:Swordsmanship"
          - narrate "<green>Morisson: <white>Are you sure about your choice? <gray>Y<white>es or <Gray>N<white>no."
          - zap step:4
        2:
          trigger: S/t/aff
          script:
          - narrate "<green>Morisson: <white>A spellcaster? That's obvious just by looking at you." targets:<player>
          # give player staff
          - flag <player> "weaponspec:Sorcery"
          - narrate "<green>Morisson: <white>Are you sure about your choice? <gray>Y<white>es or <Gray>N<white>no."
          - zap step:4
        3:
          trigger: /B/ow
          script:
          - narrate "<green>Morisson: <white>Hmm, there aren't many good bowmen around these days..." targets:<player>
          # give player bow
          - flag <player> "weaponspec:Archery"
          - narrate "<green>Morisson: <white>Are you sure about your choice? <gray>Y<white>es or <Gray>N<white>no."
          - zap step:4
        4:
          trigger: /A/xe
          script:
          - narrate "<green>Morisson: <white>A berserker! No wonder you ended up here." targets:<player>
          # give player axe
          - flag <player> "weaponspec:Bloodthirst"
          - narrate "<green>Morisson: <white>Are you sure about your choice? <gray>Y<white>es or <Gray>N<white>no."
          - zap step:4
    4:
      chat trigger:
        1:
          trigger: /N/o
          script:
          - zap s@morissonisland step:2
        2:
          trigger: /Y/es
          script:
          - narrate "<green>Morisson: <White>Seek out the stone, we must cleanse it's corruption" targets:<player>
          - flag <player> "birthstones:3"  
          - run s@resolvequest "def:<player>|Attune the Waystones"
          - run s@addquest "def<player>|The Corruption of the Ancestors"