Paste #29054: Script re-paste from http://pastebin.com/Nb0VVgLy

Date: 2016/01/24 16:22:05 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


DrakeProximity:
  type: interact
  steps:
    1:
      proximity trigger:
        entry:
          script:
          - chat "<white>Stay awhile and listen"
      click trigger:
        script:
          - run DrakeChatCycle

DrakeChatCycle:
  type: task
  script:
  - if <player>.flag[DrakeCycle] == 0 {
    - chat "<white>Did you know our local blacksmith, Anthony, was once a hero like you?"
    - flag player DrakeCycle:1
  }
  else if <player>.flag[DrakeCycle] == 1 {
    - chat "<white>The good king looks over our parish, and protects us from evil"
    - flag player DrakeCycle:2
  }
  else {
    - chat "<white>Rumor has it that great and unspeakable evils should not be spoken of"
    - flag player DrakeCycle:0
  }