Paste #4958: Edit of P#4953 - Edit of P#4944 - Edit of P#4943 - fixed ludwig

Date: 2014/05/31 01:27:02 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


"Ludwick":
  type: assignment
  debug: true
  actions:
    on assignment:
    - trigger name:click toggle:true
    - trigger name:chat toggle:true
  interact scripts:
  - 1 MeetingLudwick

"MeetingLudwick":
  type: interact
  steps:
    Intro*:
       click trigger:
        script:
        - engage
        - chat "Hello there <player.name>! I'm Ludwick, the Keeper of this Castle."
        - wait 2
        - chat "You have stepped through the stone portal, the first in many centuries to come and aid us"
        - wait 2
        - chat "You are the chosen one from the Great Prophecy, we all need you <player.name>!"
        - wait 2
        - chat "To start your journey and save the lands of Eldariel, we have a dragon ready for your use."
        - wait 0.5
        - chat "Take this book as well, it will aid you."
        - scribe give "script:EldarielBook"
        - chat "Good Luck <player.name>. May the Gods be at your side."
        - zap Question

    Question:
      click trigger:
        script:
        - chat "Hello <player.name>! Do you need a replacement Help Book?"
        - wait .5
        - chat "<white>Yes<reset> or <red>No?"

      chat trigger:
        1:
          trigger: /Yes/, I need a replacement book. I lost mine.
          script:
          - if <player.inventory.contains[EldarielBook]> {
            - chat "It appears the book is in your inventory right now! Haha, and i thought i was the one losing sight!"
            - disengage 
            }
            else {
              - chat "Oh dear, lucky i have a spare one. Here you go!"
              - scribe give "script:EldarielBook"
              - disengage
              }

        2:
          trigger: /No/, just saying Hi.
          script:
          - chat "Hello there haha. Good luck on your adventures!"
          - disengage


"EldarielBook":
  type: book
  title: "The Lands of Eldariel"
  author: <npc.name>
  text:
  - Dear <player.name>, I am Ludwick, the keeper of StormStone Keep.
  - You will be journeying across these ancient lands helping towns and people that have been ravaged by the great Beast.
  - Ultimately, your place in the Great Prophecy is to defeat the great Beast and save these lands from its terrible grasp
  - To do this, there will be many questgivers (NPC's) around and majority of them require you to RIGHT click them to begin the quests.
  - However, there will be conversations where you will need to type in an answer - be aware of this.
  - I wish you the best of luck <player.name>, you're the only one who can save us.
  - Sincerely,      Ludwick