Paste #5336: MyScript

Date: 2014/06/17 06:43:13 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


MisteroQuest:
     type: assignment
     interact scripts:
     - 10 MisteroQuestStart

MisteroQuestStart:
     type: interact
     steps:
         1:
             click trigger:
                 script
                 - chat "<player.name> se sei un tipo curioso.. sicuramente vorrai scoprire il segreto di DreamPvP"
                 - wait 1
                 - chat "Una Leggenda narra che il player che scoprirà il segreto riceverà un armatura e una spada senza precedenti!"
                 - wait 1
                 - chat "Io e te riusciremo a risolvere il mistero..."
                 - wait 1
                 - chat "Che ne dici, accetti di avventurarti con me o rifiuti?"
             chat trigger:
                 1:
                     trigger:/Si/
                     script:
                     - chat "Oh, Fantastico! Per cominciare ci servono 2 barche"
                     - wait 1
                     - chat "Torna da me quando le avrai"
                     - zap step:2
                 2:
                     trigger:/No/
                     script:
                     - chat "Peccato... Torna quando puoi."
         2:
             click trigger:
                 script:
                 - chat "Non avevo dubbi che tu tornassi!"
                 - if <player.inventory.contains[BOAT].qty[2]> {
                   - ^take boat qty:2
                   - chat "Perfetto, il nostro viaggio comincia qui!"
                   - wait 1
                   - chat "Ho sentito dire che in relitto sott'acqua qua vicino allo spawn sono state trovate incisioni!"
                   - wait 1
                   - chat "di a teoreds di continuare la missione"
                   } else {
                   - chat "Come dici? non ti ricordi cosa ci serviva?"
                   - wait 1
                   - chat "<player.name> Sei proprio sbadato! Ci servono 2 barche!"