Paste #14538: Guide won't pick up step 3

Date: 2015/03/16 09:13:47 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


TutorialGuide_interact:
  type: interact
  steps:
    1:
      click trigger:
        script:
        - narrate "<blue>You wave at the simple man standing on his porch."
        - wait 1
        - narrate "You -> <npc.name>: <yellow><&dq>Hello there.<&dq>"
        - wait 1
        - narrate "<blue>The man waves back and seems super excited for some reason."
        - wait 1
        - narrate "<npc.name>: <green><&dq>Howdy stranger, I'm so glad you came to visit me!<&dq>"
        - wait 1
        - narrate "<npc.name>: <green><&dq>I bet you have a lot of questions.<&dq>"
        - wait 1
        - narrate "<npc.name>: <green><&dq>Will you stay a while and listen?<&dq>"
        - ^narrate "<gray>tip: (<dark_green>yes<white>/<red>no<gray>)"
      chat trigger:
        1:
          trigger: <yellow>/Yes/, I really would like to learn about this place.
          script:
          - wait 1
          - narrate "<blue>As you said that, <npc.name>'s eyes sparkled with joy"
          - wait 1
          - narrate "<npc.name>: <green><&dq>Well that's just marvelous!<&dq>"
          - zap step:3
        2:
          trigger: <yellow>/No/, I just came to visit.
          script:
          - wait 1
          - narrate "<blue>Even though he tried hard not to show it, <npc.name> expected another answer."
          - wait 1
          - narrate "<npc.name>: <green><&dq>That's alright, maybe you can come back when you have some questions.<&dq>"
          - zap step:2
    2:
      click trigger:
        script:
        - narrate "<blue><npc.name> looks like he can't wait for you to change your mind."
        - wait 1
        - narrate "<npc.name>: <green><&dq>Did you come back to learn?<&dq>"
        - narrate "<gray>tip: (<dark_green>yes<white>/<red>no<gray>)"
      chat trigger:
        1:
          trigger: <yellow>/Yes/, I really would like to learn about this place.
          script:
          - wait 1
          - narrate "<blue>As you said that, <npc.name>'s eyes sparkled with joy"
          - wait 1
          - narrate "<npc.name>: <green><&dq>Well that's just marvelous!<&dq>"
          - zap step:3
        2:
          trigger: <yellow>/No/, not just yet.
          script:
          - wait 1
          - narrate "<blue>Even though he tried hard not to show it, <npc.name> expected another answer."
          - narrate "<npc.name>: <green><&dq>That's alright, maybe you can come back when you have some questions.<&dq>"
          - zap step:2
    3:
      script:
      - wait 1
      - narrate "<npc.name>: <green><&dq>What would you like to learn about?<&dq>"