Paste #34220: prueba

Date: 2016/06/13 00:50:42 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


my_npc:
    type: assignment
    actions:
        on assignment:
        - trigger name:click state:true
        - trigger name:chat state:true
    -interact scripts:
    - 10 my_npc_interact

my_npc_interact:
    type: interact
    steps:
        1:
            click trigger:
                script:
                - narrate "Quieres probar suerte? Apuesta una esmeralda a cara o cruz, pero yo me elijo cara !"
                - narrate "Dime, /si/ o /no/"
            chat trigger:
                1:
                    trigger: /Si/ Veamos qué tal tengo la suerte hoy
                    script:
                    -narrate "Veo que tienes agallas, allá vamos"

                2:
                    trigger: /No/ No me interesa
                    script:
                    - narrate "Pues piérdete !"