Paste #6552: Untitled Paste

Date: 2014/07/08 08:40:17 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


MisteroQuestAssignment:
     type: assignment
     actions:
         on assignment:
         - trigger name:chat toggle:true
     interact scripts:
     - 10 MisteroQuest

AxelMagoAssignment:
     type: assignment
     actions:
         on assignment:
         - trigger name:proximity state:true radius:6
         - trigger name:damage state:true
         - health toggle:true
         - vulnerable state:true
         on enter proximity:
         if <player.inventory.contains[Coordinate]> {
         - narrate "<&c>[<&4>Axel<&c>]<&f>Che ci fai tu qui?!?!?!?!"
         - narrate "<&c>[<&4>Axel<&c>]<&f>Ora ti brucio con i miei incantesimi e la mia <&b>spada<&f>!"
         - ^animate <npc> animation:magic_crit
         - ^animate <npc> animation:magic_crit
         - ^animate <npc> animation:magic_crit
         } else {
         - narrate "<&c>Sei stato salvato dalla principessa <blue>Mistrale"
         - ^narrate "[<blue>Mistrale<white>]<&d>Scappiamo, ci siamo dimenticati il libro stregato!, senza quello non possiamo entrare la dentro, ci serve un oggetto magico di loro proprieta per infiltrarci"
         - ^execute as_server "spawn <player.name>"
         on death:
         - narrate "<&c>[<&4>Axel<&c>]<&f>Sei forte ma non ce la farai anche con la strega suprema!" targets:<npc.location.find.players.within[5]>
         - give <player> i@ChiavePorta
         - give <player> i@CoordinatePorta

MisteroQuest:
     type: interact
     steps:
         1:
             click trigger:
                 script:
                 - narrate "[<blue>Mistrale<white>]<green><player.name> <red>ti prego, aiutami a tornare una principessa!" targets:<player.name>
                 - wait 1
                 - narrate "[<blue>Mistrale<white>]<red>Un gruppo di streghe e stregoni intenzionati a conquistare il mondo di DreamPvP" targets:<player.name>
                 - wait 3
                 - narrate "[<blue>Mistrale<white>]<red>mi hanno rubato i poteri e imprigionata in questo corpo mentre cercavo di fermarli" targets:<player.name>
                 - wait 3
                 - narrate "[<blue>Mistrale<white>]<red>Gli stregoni stanno creando armature di diamante mai viste!" targets:<player.name>
                 - wait 2
                 - narrate "[<blue>Mistrale<white>]<red>Io e te possiamo fermarli, accetti di unirti a me?" targets:<player.name>
                 - wait 2
                 - narrate "[<blue>Mistrale<white>]<green>rispondi Si o No." targets:<player.name>
             chat trigger:
                 "a":
                     trigger: /Si/
                     script:
                     - narrate "[<blue>Mistrale<white>]<green>Oh, Fantastico! Per cominciare ci servono 2 barche" targets:<player.name>
                     - wait 1
                     - narrate "[<blue>Mistrale<white>]<green>Torna da me quando le avrai" targets:<player.name>
                     - zap step:2
                 "b":
                     trigger: /No/
                     script:
                     - narrate "[<blue>Mistrale<white>]<red>Peccato..." targets:<player.name>
         2:
             click trigger:
                 script:
                 - narrate "[<blue>Mistrale<white>]<red>Non avevo dubbi che tu tornassi!" targets:<player.name>
                 - if <player.inventory.contains[BOAT].qty[2]> {
                   - ^take boat qty:2
                   - narrate "[<blue>Mistrale<white>]<red>Perfetto, ora devi aiutarmi ad uscire da qui!" targets:<player.name>
                   - wait 2
                   - narrate "[<blue>Mistrale<white>]<red>Direi che sia necessaria un ascia di ferro." targets:<player.name>
                   - wait 2
                   - narrate "[<blue>Mistrale<white>]<green>Procurami un ascia di ferro e il nostro viaggio avrà inizio!" targets:<player.name>
                   - wait 1
                   - zap step:3
                   } else {
                   - narrate "[<blue>Mistrale<white>]<red>Come dici? non ti ricordi cosa ci serviva?" targets:<player.name>
                   - wait 1
                   - narrate "[<blue>Mistrale<white>]<green><player.name> Sei proprio sbadato! Ci servono 2 barche!" targets:<player.name>
                   }
         3:
             click trigger:
                 script:
                 - narrate "[<blue>Mistrale<white>]<red>Oh, eccoti qui!" targets:<player.name>
                 - if <player.inventory.contains[IRON_AXE].qty[1]> {
                   - ^take IRON_AXE qty:2
                   - narrate "[<blue>Mistrale<white>]<red>ok un colpo qui....... fatto, ho rotto queste sbarre di ferro; possiamo andare!" targets:<player.name>
                   - wait 2
                   - narrate "[<blue>Mistrale<white>]<red>Prima, tieni questo libro, ci sono delle coordinate, in quel luogo troveremo sicuramente degli indizi" targets:<player.name>
                   - wait 3
                   - narrate "[<blue>Mistrale<white>]<red>su dove si trovano le streghe e i maghi!" targets:<player.name>
                   - wait 2
                   - give <player> i@Coordinate
                   - wait 2
                   - narrate "[<blue>Mistrale<white>]<red>pronti? Si parte! <&a&l>Ricordati di portare il libro con te!" targets:<player.name>
                   } else {
                   - narrate "[<blue>Mistrale<white>]<red>Come dici? non ti ricordi cosa mi serviva?" targets:<player.name>
                   - wait 1
                   - narrate "[<blue>Mistrale<white>]<green>Mi serve un ascia di ferro per rompere queste sbarre!" targets:<player.name>

Coordinate:
     type: book
     title: Coordinate
     author: Mago_Axel
     signed: true
     text:
     - <red>GSgdGrsthGRthgw66uyukUkklx <green> x=6719 y=87 z=5687 <red>rgergYUEFhrutkksfTRDFHdhkUIOpIOlijgDhgdsdfdhgjdLITdGBsfYUUYKYUiLFUJnhtHHtyUioPudFsDFHdhkUIOpIOlijgDhgdsdfdhgjdLITdGBsfYUUYKYUiLFUJnhtHHtyUioPudFsDFHdhkUIOpIOlijgDhgdsdfdhgjdLITdGBsfYUUYKYUiLFUJnhtHHtyUioPudFsDFHdhkUIOpIOlijgDhgdsdfdhgjdLITdGBsfYUUYKYUiLFUJnhtHHtyUioPudFsDFHdhkUIOpIOlijgDhgdsdfdhgjdLITdGBsfYUUYKYUiLFUJnhtHHtyUioPudFsDFHdhkUIOpIOlijgDhgdsdfdhgjdLITdGBsfYUUYKYUiLFUJnhtHHtyUioPudFsDFHdhkUIOpIOlijgDhgdsdfdhgjdLITdGBsfYUUYKYUiLFUJnhtHHtyUioPudFsDFHdhkUIOpIOlijgDhgdsdfdhgjdLITdGBsfYUUYKYUiLFUJnhtHHtyUioPudFs
ChiavePorta:
     type: item
     material: blaze_rod
     display name: Chiave stregata
     lore:
     - "Questa chiave serve per aprire la porta della stanza della potentissima <&0&l>Strega Suprema!"
CoordinatePorta:
     type: book
     title: PortaSuprema
     author: Maga_WitchHat
     signed: true
     text:
     - <red>RTHRGFERTTTYJHGFERJTKUTYTERRERTTKYUYHTGWYURTHRGFERTTTYJHGFERJTKUTYTERRERTTKYUYHTGWYU&RTRERERUYIçLLGFEDREGYRTHYRTHRGFERTTTYJHGFERJTKUTYTERRERTTKYUYHTGWYU&RTRERERUYIçLLGFEDREGYRTHYRTHRGFERTTTYJHGFERJTKUTYTERRERTTKYUYHTGWYU&RTRERERUYIçLLGFEDREGYRTHY<green>x y z<red>RTHRGFERTTTYJHGFERJTKUTYTERRERTTKYUYHTGWYU&RTRERERUYIçLLGFEDREGYRTHYRTHRGFERTTTYJHGFERJTKUTYTERRERTTKYUYHTGWYU&RTRERERUYIçLLGFEDREGYRTHYRTHRGFERTTTYJHGFERJTKUTYTERRERTTKYUYHTGWYU&RTRERERUYIçLLGFEDREGYRTHYRTHRGFERTTTYJHGFERJTKUTYTERRERTTKYUYHTGWYU&RTRERERUYIçLLGFEDREGYRTHYRTHRGFERTTTYJHGFERJTKUTYTERRERTTKYUYHTGWYU&RTRERERUYIçLLGFEDREGYRTHYRTHRGFERTTTYJHGFERJTKUTYTERRERTTKYUYHTGWYU&RTRERERUYIçLLGFEDREGYRTHYRTHRGFERTTTYJHGFERJTKUTYTERRERTTKYUYHTGWYU&RTRERERUYIçLLGFEDREGYRTHY