Guest User

Denizen Quest

a guest
Jun 30th, 2013
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.18 KB | None | 0 0
  1. BlackSmithQuest:
  2.   type: assignment
  3.   interact scripts:
  4.   - 20 QuestCompleted
  5.    - 10 HasItems
  6.    - 10 DoesNotHaveItems
  7.    - 0 BlackSmith
  8.  
  9. BlackSmith:
  10.   Type: Interact
  11.   Requirements:
  12.     Mode: All
  13.     List:
  14.    - -FLAGGED "BlackSmith Quest Started"
  15.     - -FLAGGED "BlackSmith Quest Finished"
  16.   Steps:
  17.       1:
  18.         Click Trigger:
  19.           Script:
  20.          - CHAT "I need your help!"
  21.           - CHAT "Will you help me?"
  22.           - WAIT 1
  23.           - ZAP 2
  24.       2:
  25.         Chat Trigger:
  26.           1:
  27.             Trigger: /Yes/, I would like to help you.
  28.             Script:
  29.            - CHAT "Great, I need You to make some Stone Swords for me."
  30.             - WAIT 1
  31.             - CHAT "Come back to me when you have made 5 swords"
  32.             - FLAG "BlackSmith Quest Started"
  33.             - ZAP 1
  34.           2:
  35.             Trigger: /No/, I do not have time to do that
  36.             Script:
  37.            - CHAT "Well, oke then"
  38.             - ZAP 1
  39.        
  40. HasItems:
  41.   Type: Interact
  42.   Requirements:
  43.     Mode: All
  44.     List:
  45.    - FLAGGED "BlackSmith Quest Started"
  46.     - -FLAGGED "BlackSmith Quest Finished"
  47.     - item 272 'qty:5'
  48.   Steps:
  49.       1:
  50.         Click Trigger:
  51.           Script:
  52.          - CHAT "You have got the Swords"
  53.           - TAKE 'ITEM:Stone_Sword' 'qty:5'
  54.           - NARRATE "You gave the Swords to the BlackSmith"
  55.           - WAIT 1
  56.           - CHAT "Here is your reward"
  57.           - GIVE 'ITEM:Iron_Sword'  'qty:1'
  58.           - FLAG "BlackSmith Quest Finished"
  59.           - execute as_player "me has completed the BlackSmith Quest"
  60.      
  61. DoesNotHaveItems:
  62.   Type: Interact
  63.   Requirements:
  64.     Mode: All
  65.     List:
  66.    - FLAGGED "BlackSmith Quest Started"
  67.     - -FLAGGED "BlackSmith Quest Finished"
  68.     - -item 272 'qty:5'
  69.   Steps:
  70.       1:
  71.         Click Trigger:
  72.           Script:
  73.          - CHAT "You do not have the Swords"
  74.           - CHAT "Come back when you have the Swords"
  75.      
  76. QuestCompleted:
  77.   Type: Interact
  78.   Requirements:
  79.     Mode: All
  80.     List:
  81.    - Flagged "BlackSmith Quest Finished"
  82.   Steps:
  83.       1:
  84.         Click Trigger:
  85.           Script:
  86.          - CHAT "Now go to the HeadMaster for your training"
Advertisement
Add Comment
Please, Sign In to add comment