Paste #40208: assignment script nova

Date: 2017/02/22 19:31:26 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


nova:
  type: assignment
  actions:
    on assignment:
    - trigger name:click state:true
    on click:
  interact scripts:
  - 1 nova_interact

nova_interact:
  type: interact
  steps:
      1:
          click trigger:
              script:
              - chat "Well met, <player.name>! I'm Nova. Would you like to know about the <YELLOW>Skylands<GREEN> world?"
          chat trigger:
              1:
                  trigger: /yes/
                  script:
                  - chat "<WHITE>The <YELLOW>Skylands<WHITE> world is a challenge, indeed!"
                  - wait 1
                  - chat "<WHITE>It's a world of tiny islands with limited resources on each."
                  - wait 1
                  - chat "<WHITE>You and your fellow <LIGHT_PURPLE>players<WHITE> will have to use your wits to build a home."
                  - wait 1
                  - chat "<WHITE>This world is reloaded every other Sunday, so see how far you can get in the two weeks time!"
                  - wait 1
                  - chat "Good luck, <player.name>!"
                  - zap 2
              2:
                  trigger: /no/
                  script:
                  - chat "Maybe another time. Goodbye, <player.name>
                  - zap 2
      2:
          click trigger:
              script:
              - chat "Oh! Heh heh! Stop tickling me!"
              = zap 1