Paste #8533: Edit of P#8531 - Edit of P#8529 - AngelMissions.dscript

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

View Raw Paste Download This Paste
Copy Link


AngelMissions:
  type: assignment
  debug: false
  actions:
    on assignment:
    - trigger name:proximity state:true radius:10
  interact scripts:
  - 10 Angel

Angel:
    type: interact
    steps:
        1:
            click trigger:
                script:
                - narrate "Angel- Hey fool, I got a hustle I need yo help with. You down?"
                - narrate "[Stand in front of Angel and reply in chat with either 'yes' or 'no']"
            chat trigger:
                1:
                    trigger: "/yes/, what you need?"
                    script:
                        - zap step:2
                        - narrate "Angel- A'right, knew I cold count on you, fool."
                        - wait 3
                        - narrate "Angel- There's a deal going down jus' round the corner from here."
                        - wait 3
                        - narrate "Angel- Couple of Stingrays got some product I can sell fo' a lot of dough."
                        - wait 3
                        - narrate "Angel- Jus' take the product and bring it back to me, a'right?"
                2:
                    trigger: "/no/, too heavy for me."
                    script:
                        - zap step:1
                        - narrate "Angel- A'right. Guess I was wrong 'bout you. Hit me up soon, fool."
        2: 
            click trigger:
                script:
                - if <player.inventory.contains[SUGAR].qty[1]> {
                  - ^take SUGAR qty:1
                  - narrate "Angel- A'right, good wook fool."
                  - wait 2
                  - narrate "Angel- Here's yo pay check. Hit me up soon, a'right?."
                  - narrate "<player.name> recieves a $500 pay check"
                  - give money qty:500
                  - zap step:3
                  } else {
                  - random 3
                  - narrate "Angel- Hurry up, fool. Stop bothering me. I don't pay you to talk to me."
                  - narrate "Angel- What you still doing here, fool? Get the stuff."
                  - narrate "Angel- Get the stuff, then we'll talk, fool."
                  }
        3:
            click trigger:
                script:
                - narrate "Angel- I havn't got any missions right now, check back later and I may have somthin' for ya."