Advertisement
WriteEscape

Untitled

Mar 9th, 2015
311
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.52 KB | None | 0 0
  1. # Day One
  2.  
  3. # Balloon start
  4. "Welcome":
  5.   type: assignment
  6.   interact scripts:
  7.  - 10 A Welcome indeed
  8.  
  9.   actions:
  10.     on assignment:
  11.    # This enables interaction with NPC via clicking, chatting, proximity and damage.
  12.     - trigger name:chat toggle:true
  13.     - trigger name:click toggle:true
  14.     - trigger name:proximity toggle:true
  15.     - trigger name:damage toggle:true
  16.     - lookclose state:true
  17.  
  18. "A Welcome indeed":
  19.   type: interact
  20.   steps:
  21.     1:
  22.       proximity trigger:
  23.         entry:
  24.           script:
  25.          - chat "Welcome to the Christmas Journey <player.name>. I<&sq>m here to be your guide."
  26.           - chat "You can ask me the following questions:"
  27.           - chat "[1] Does this map have any <yellow>rules<green>?"
  28.           - chat "[2] How do we <yellow>start<green>?"
  29.       chat trigger:
  30.         'rules':
  31.           Trigger: Does this map have any /rules/?
  32.           script:
  33.          - chat "Yes, it does, sadly every Adventure map needs to have rules"
  34.           - chat "Here is your special copy"
  35.           - scribe give "script:Rule Book"
  36.           - ^flag player rules:1
  37.         'start':
  38.           Trigger: How do we /start/?
  39.           script:
  40.          - if <player.flag[rules]> == 1
  41.             {
  42.               - chat "Would you like to start <player.name>?"
  43.               - chat "[1] <yellow>Yes"
  44.               - chat "[2] <yellow>No. <green>I am quite happy being up here in the sky."
  45.             }
  46.             else {
  47.               - chat "Well <player.name> we can start as soon as you have read the rules"
  48.             }
  49.         'yes':
  50.           Trigger: /Yes/
  51.           Script:
  52.          - Chat "Okay, let me see what i can do!"
  53.           - ^cast blindness power:5 duration:10
  54.           - execute asnpc "tp <player.name> 12 64 -97"
  55.           - ^flag player alignment:1
  56.           - ^flag player day:1
  57.           - execute asnpc "denizen save"
  58.         'no':
  59.           Trigger: /No/. I am quite happy being up here in the sky.
  60.           Script:
  61.          - chat "Fine. be that way!"
  62.           - ^cast blindness power:5 duration:30
  63.           - ^flag player alignment:-1
  64.           - execute asnpc "tp <player.name> 12 64 -97"
  65.           - ^flag player day:1
  66.           - execute asnpc "denizen save"
  67. # Helper Bot
  68. "HelperBot":
  69.   type: assignment
  70.   interact scripts:
  71.  - 10 Helper Bot
  72.  
  73.   actions:
  74.     on assignment:
  75.    # This enables interaction with NPC via clicking, chatting, proximity and damage.
  76.     - trigger name:chat toggle:true
  77.     - trigger name:click toggle:true
  78.     - trigger name:proximity toggle:true
  79.     - trigger name:damage toggle:true
  80.     - lookclose state:true
  81. "Helper Bot":
  82.   type: interact
  83.   steps:
  84.     1:
  85.    proximity trigger:
  86.    entry:
  87.     - if <player.flag[day]> == 1
  88.      {
  89.      - if <player.flag[alignment]> == -1
  90.      {
  91.      - chat "So, You got down from the balloon then <player.name>"
  92.      - wait 3
  93.      - chat "Here, have some food"
  94.      - execute as_npc "give <player.name> minecraft:apple 64"
  95.      - wait 4
  96.      } else
  97.      {
  98.      - chat "Careful, <player.name>, I wouldn<&sq>t want you to take damage"
  99.      - wait 5
  100.      - chat "Heres some food"
  101.      - execute as_npc "give <player.name> minecraft:cooked_mutton 64"
  102.      }
  103.       click trigger:
  104.        script:
  105.       - wait 1
  106.     - chat "So, this map has two possible endings and it depends on whether you are nice or naughty"
  107.     - wait 7
  108.     - chat "If you are nice then there will be fireworks and hints along the way"
  109.     - wait 5
  110.     - chat "if you are not nice, then... well... the puzzles will have less and less hints."
  111.     - wait 4
  112.     - chat "this will mean that the puzzles are harder the more times you are naughty."
  113.     - wait 3
  114.     - if <player.flag[alignment]> == -1
  115.     {
  116.     - chat "And so far you are on the naughty list, better fix that"
  117.     - chat "The Baker in town can help you get on the nice list"
  118.     } else
  119.     {
  120.     - chat "And so far you are on the nice list. Keep it up!"
  121.     - chat "The Baker in Town can give you more food."
  122.     }
  123.     }
  124.  
  125.    
  126. "Rule Book":
  127.    type: book
  128.    author: "Santa Claus"
  129.    title: "<player.name><&sq>s Rule Book"
  130.    text:
  131.   - The Rules are very simple but there are two sets of rules.   One for players who aren't recording and one for those who are
  132.    - For those who are not recording. The rule is simple, do not attempt to cheat what so ever.
  133.    - For those who are recording, you may not show this page to your viewers. There are player heads spread around this map and it is your viewers job to see if they can spot them all.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement