Paste #19461: zuga

Date: 2015/08/16 15:43:04 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


"zuga_loco1":
  Type: Assignment
  Interact Scripts:
  - 3 ZugaLocoCompletada1
  - 2 ZugaLocoItems1
  - 1 ZugaLoco1

ZugaLoco1:
  Type: Interact
  Requirements:
    Mode: Any 1
    List:
    - -script finished 'script:ZugaLoco1'
  Steps:
      1:
        Chat Trigger:
            1:
              Trigger: /Regex:Hola|hola|ola|Ola|ey/, que haces aquí?
              Script:
              - narrate "<green>Loco<dark_gray><&co> <WHITE>¡Ahhh!"
              - attack <player>
              - wait 1
              - attack stop
              - narrate "<green>Loco<dark_gray><&co> <WHITE>Ho... Hola <GREEN><player.name><WHITE>... Perdón, creí... creí que eras..."
              - wait 5
              - narrate "<green>Loco<dark_gray><&co> <WHITE>¿También te has quedado encerrado?..."
              - wait 5
              - narrate "<green>Loco<dark_gray><&co> <WHITE>Cuando nos tiramos por el pozo escondiéndonos de la bruja no imaginamos que esto estaría lleno de monstruos."
              - wait 4
              - narrate "<green>Loco<dark_gray><&co> <WHITE>Y peor aún, que los planos de este lugar no mencionaban unas <gold>llaves<white>." 
              - wait 6
              - narrate "<green>Loco<dark_gray><&co> <WHITE>Sabemos que en algún muro de esta sala se esconde una puerta. Jorge lo sabía..."
              - wait 5
              - narrate "<green>Loco<dark_gray><&co> <WHITE>Él fue a buscarlas, pe... pero nunca regresó... Sus gritos retumbaban por todas las paredes."
              - wait 5
              - narrate "<green>Loco<dark_gray><&co> <WHITE>Creo que me estoy volviendo loco... No me atrevo a salir de aquí... No me atrevo a encontrarme con Jorge."
              - wait 5
              - narrate "<green>Loco<dark_gray><&co> <WHITE>¿I... irías tú? Las <gold>llaves<white> activan un mecanismo que abrirá el muro. O eso creo..."
              - zap step:2
      2:
        Chat Trigger:
            1:
              Trigger: /Regex:Claro|claro|Si|si|Sí|sí/.
              Script:
              - narrate "<green>Loco<dark_gray><&co> <WHITE>¿Sí? ¡Sí! Bien, bien... no  cuánto tiempo llevo esperando esto..."
              - wait 2
              - narrate "<green>Loco<dark_gray><&co> <WHITE>No  donde están, pero creo que son dos..."
              - wait 2
              - narrate "<green>Loco<dark_gray><&co> <WHITE>Ten cuidado ahí fuera, ¿vale? Iría contigo pero no... no puedo."
              - finish
            2:
              Trigger: /Regex:No|no/.
              Script:
              - chat "<WHITE>¿No? Vale, bueno... Descansa un poco y hablaremos de nuevo más tarde."
              - wait 4
              - narrate "<green>Loco<dark_gray><&co> <yellow>*susurrando*<white> No sabe lo que hace... no, no tiene ni idea..."
              - zap step:1

ZugaLocoItems1:
  Type: Interact
  Requirements:
    Mode: All
    List:
    - script finished 'script:ZugaLoco1'
    - -script finished 'script:ZugaLocoItems1'
  Steps:
    1:
      Chat Trigger:
        1:
          Trigger:/Regex:Hola|hola|ola|Ola|ey/
          Script:
          - narrate "<green>Loco<dark_gray><&co> <WHITE>¿¡Qué estás haciendo aquí!? ¡Ve a por todas las llaves!..."
          - wait 2
          - narrate "<green>Loco<dark_gray><&co> <WHITE>Por... por favor."
        2:
          Trigger: /Regex:|toma|Toma|ten|Ten|Tienes|tienes/
          Script:
          - if !<player.inventory.contains[ZugaLlaveA]> { - queue clear }
          - if !<player.inventory.contains[ZugaLlaveB]> { - queue clear }
          - take i@ZugaLlaveA1 'qty:1'
          - take i@ZugaLlaveB1 'qty:1'
          - narrate "<green>Loco<dark_gray><&co> <WHITE>¡Sí, las tienes! ¡Por fin saldré... saldremos de aquí!"
          - wait 3
          - narrate "<green>Loco<dark_gray><&co> <WHITE>Ahora sólo tengo que ponerlas aquí..."
          - switch location:6804,50,1142,mcers7 state:on duration:120
          - switch location:6793,66,1179,mcers7 state:on duration:300
          - wait 3
          - narrate "<green>Loco<dark_gray><&co> <WHITE>Date prisa en salir, la puerta no seguirá abierta durante mucho más tiempo..."
          - wait 3
          - narrate "<green>Loco<dark_gray><&co> <WHITE>Yo... yo voy a esperar a Jorge... <yellow>*susurrando*<white> Sigue vivo... claro que sigue vivo, ¿cómo va a morir?..."
          - finish

ZugaLocoCompletada1:
  Type: Interact
  Requirements:
    Mode: All
    List:
    - script finished 'script:ZugaLoco1'
    - script finished 'script:ZugaLocoItems1'
  Steps:
    1:
      Chat Trigger:
        1:
          Trigger: /Regex:Hola|hola|ola|Ola|ey/!
          Script:
          - narrate "<green>Loco<dark_gray><&co> <WHITE>Hola otra vez <GREEN><player.name><WHITE>..."
          - wait 2
          - narrate "<green>Loco<dark_gray><&co> <WHITE>Vete antes de que se cierre la puerta... yo esperaré un poco más."
          - wait 2
          - narrate "<green>Loco<dark_gray><&co> <yellow>*susurrando*<white> No puedo dejarle..."

ZugaLlaveA1:
  type: item
  material: name_tag
  no_id: true
  Display name: <&6>Llave A
  Lore:
  - <&8>¿Qué abrirá?

ZugaLlaveB1:
  type: item
  material: name_tag
  no_id: true
  Display name: <&6>Llave B
  Lore:
  - <&8>¿Qué abrirá?