Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Day One
- # Balloon start
- "Welcome":
- type: assignment
- interact scripts:
- - 10 A Welcome indeed
- actions:
- on assignment:
- # This enables interaction with NPC via clicking, chatting, proximity and damage.
- - trigger name:chat toggle:true
- - trigger name:click toggle:true
- - trigger name:proximity toggle:true
- - trigger name:damage toggle:true
- - lookclose state:true
- "A Welcome indeed":
- type: interact
- steps:
- 1:
- proximity trigger:
- entry:
- script:
- - chat "Welcome to the Christmas Journey <player.name>. I<&sq>m here to be your guide."
- - chat "You can ask me the following questions:"
- - chat "[1] Does this map have any <yellow>rules<green>?"
- - chat "[2] How do we <yellow>start<green>?"
- chat trigger:
- 'rules':
- Trigger: Does this map have any /rules/?
- script:
- - chat "Yes, it does, sadly every Adventure map needs to have rules"
- - chat "Here is your special copy"
- - scribe give "script:Rule Book"
- - ^flag player rules:1
- 'start':
- Trigger: How do we /start/?
- script:
- - if <player.flag[rules]> == 1
- {
- - chat "Would you like to start <player.name>?"
- - chat "[1] <yellow>Yes"
- - chat "[2] <yellow>No. <green>I am quite happy being up here in the sky."
- }
- else {
- - chat "Well <player.name> we can start as soon as you have read the rules"
- }
- 'yes':
- Trigger: /Yes/
- Script:
- - Chat "Okay, let me see what i can do!"
- - ^cast blindness power:5 duration:10
- - execute asnpc "tp <player.name> 12 64 -97"
- - ^flag player alignment:1
- - ^flag player day:1
- - execute asnpc "denizen save"
- 'no':
- Trigger: /No/. I am quite happy being up here in the sky.
- Script:
- - chat "Fine. be that way!"
- - ^cast blindness power:5 duration:30
- - ^flag player alignment:-1
- - execute asnpc "tp <player.name> 12 64 -97"
- - ^flag player day:1
- - execute asnpc "denizen save"
- # Helper Bot
- "HelperBot":
- type: assignment
- interact scripts:
- - 10 Helper Bot
- actions:
- on assignment:
- # This enables interaction with NPC via clicking, chatting, proximity and damage.
- - trigger name:chat toggle:true
- - trigger name:click toggle:true
- - trigger name:proximity toggle:true
- - trigger name:damage toggle:true
- - lookclose state:true
- "Helper Bot":
- type: interact
- steps:
- 1:
- proximity trigger:
- entry:
- - if <player.flag[day]> == 1
- {
- - if <player.flag[alignment]> == -1
- {
- - chat "So, You got down from the balloon then <player.name>"
- - wait 3
- - chat "Here, have some food"
- - execute as_npc "give <player.name> minecraft:apple 64"
- - wait 4
- } else
- {
- - chat "Careful, <player.name>, I wouldn<&sq>t want you to take damage"
- - wait 5
- - chat "Heres some food"
- - execute as_npc "give <player.name> minecraft:cooked_mutton 64"
- }
- click trigger:
- script:
- - wait 1
- - chat "So, this map has two possible endings and it depends on whether you are nice or naughty"
- - wait 7
- - chat "If you are nice then there will be fireworks and hints along the way"
- - wait 5
- - chat "if you are not nice, then... well... the puzzles will have less and less hints."
- - wait 4
- - chat "this will mean that the puzzles are harder the more times you are naughty."
- - wait 3
- - if <player.flag[alignment]> == -1
- {
- - chat "And so far you are on the naughty list, better fix that"
- - chat "The Baker in town can help you get on the nice list"
- } else
- {
- - chat "And so far you are on the nice list. Keep it up!"
- - chat "The Baker in Town can give you more food."
- }
- }
- "Rule Book":
- type: book
- author: "Santa Claus"
- title: "<player.name><&sq>s Rule Book"
- text:
- - 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
- - For those who are not recording. The rule is simple, do not attempt to cheat what so ever.
- - 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