Paste #31250: Edit of P#31245 - Assassination

Date: 2016/03/05 14:00:23 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


assassinationquest:
    type: assignment
    actions:
        on assignment:
        - trigger name:click state:true
    interact scripts:
    - 10 assassinationstart

assassinationstart:
    type: interact
    steps:
        1:
            click trigger:
                script:
                - chat "&e&oHey you!"
                - wait 2
                - chat "&e&oI heard you are pretty strong and don't mind getting your hands dirty"
                - wait 3
                - chat "&e&oThere's been a man flirting with my girl, and I want him taken care of."
                - wait 3
                - chat "&e&oThere's a hefty reward in it for you, what do ya say can you get rid of this fool?"
            chat trigger:
                1:
                    trigger: /Yes/, I can make him... Go away..
                    script:
                    - narrate "Quest Started: The Assassination"
                    - wait 1
                    - chat "&e&oI knew you were the person for the job"
                    - wait 3
                    - chat "&e&oHis name is Geoffrey Chaucer, he's currently staying at the blank bar in room 2"
                    - wait 3
                    - chat "&e&oI stayed there a couple of times, the lock on that door is broke so its gonna be real simple"
                    - wait 3
                    - chat "&e&oThere is one problem however, the guards partrol that bar and if you're seen with a weapon they'll take you out"
                    - wait 3
                    - chat "&e&oYou kill him with my blade unnoticed and you'll get paid 500 gold, now go and kill that fool!" 
                    - wait 3
                    - narrate "You have been given Francis' Drakes blade of illness"
                    - give i@SwordofIllness qty:1
                    - wait 4
                    - narrate "The Assassination: Kill Geoffrey Chaucer with Francis Drakes blade"
                    - narrate "The Assassination: Or..."
                    - narrate "The Assassination: Speak with Geoffrey Chaucer"

                    - listen kill type:npc target:<84> qty:1 script:NPCKilled
                    - zap step:2
                2:
                    trigger: /No/, I wont kill anyone for you.
                    script:
                    - wait 2
                    - chat "&e&oThen get out of my face, come back when you can be useful!"

        2:
            click trigger:
                script:
                - random 3
                - chat "&e&oI don't see his head with you.. Have you killed him yet?!"
                - chat "&e&oHe is still out there flirting with my girl, kill him!"
                - chat "&e&oThat fool better be dead soon"

        3:
            click trigger:
                script:
                - chat "&e&oAh great, this fools head with be a great foot stool in my house!"
                - wait 2
                - chat "&e&oHere is your reward!"
                - give money qty:500
                - wait 2
                - chat "And as a little bonus feel free to keep my blade of illness, I've killed many people with that blade."
                - narrate "Geoffrey Chaucer's Head Removed"
                - narrate "You've been rewarded 500"
                - wait 1
                - narrate "Quest Complete: The Assassination"
                - zap step:4

        4:
            click trigger:
                script:
                - chat "&e&oThank you again for taking care of Geoffrey, I got to lay low for a little while, come back in a day."
                - wait 30
                - zap step:5

        5:
            click trigger:
                script:
                - chat "Hey! &6<player.name.display>!!"
                - wait 2
                - chat "Remember me?"
                - wait 2
                - chat "You took care of that Geoffrey guy for me"
                - wait 3
                - chat "Well I need your help again.. Can you help me?!"
                    chat trigger:
                        1:
                            trigger: /Yes/, what is the problem?
                            script:
                            - narrate "Quest Started: Sealed Lips"
                            - wait 1
                            - chat "Well you see after you killed that Geoffrey guy, my gir- I mean my ex is going to spill the beans."
                            - wait 2
                            - chat "So I need you to take care of her now, and make sure she doesn't tell a soul about what happened."
                            - wait 2
                            - chat "I don't think she's informed anyone yet so if you get to her fast enough then we'll all be good!"
                            - wait 3
                            - chat "Her name is Adelaide Eleanor"
                            - wait 2
                            - chat "You silence her for good and I'll pay you! 500 gold, you know I'm good for it!"
                            - wait 3
                            - narrate "Quest Started: Sealed Lips"
                            - wait 2
                            - narrate "Sealed Lips: Find Adelaide Eleanor and Kill Her"
                            - listen kill type:npc target:<90> qty:1 script:assassinationkillex
                            - zap step:6

                        2:
                            trigger: /No/, I can't right now
                            script:
                            - wait 2
                            - chat "I need you to help me again! Come back when you can!"

        6:
                    click trigger:
                        script:
                        - random 3
                        - chat "You need to hurry before she tells anyone!"
                        - chat "If she tells anyone then we could both be in trouble"
                        - chat "Hurry up and kill her &6<player.name.display>"

        7:
                    click trigger:
                        script:
                        - chat "Aye, she was good girl until that bastard got into her head"
                        - wait 3
                        - chat "&e&oThank you for your work, I think I could use more of your help."
                        - wait 4
                        - chat "&e&oHere is your payment for taking care of her"
                        - narrate "You have recieved 500 gold coins"
                        - wait 3
                        - chat "&e&oCome back to me in 24 hours and I may have a job for you"
                        - give money qty:500
                        - zap step:8     

        8:
                    click trigger:
                        script:
                        - chat "Come back in a bit and I may have a job for you"





NPCKilled:
    type: task
    script:
    - narrate "You have sucessfully killed Geoffrey Chaucer and now carry his head"
    - wait 2
    - narrate "Flee the seen of the crime and return back to Francis"
    - zap step:3 script:assassinationstart

SwordofIllness:
    type: item
    material: iron_sword
    display name: Sword of Illness
    lore:
    - Francis' Sword of Illness
    - Used too kill many people during the great sickness
    enchantments: 
    - KNOCKBACK:1


assassinationkillex:
    type: task
    script:
    - narrate "You have murdered Adelaide Eleanor and have taken her necklace"
    - wait 2
    - narrate "Return back to Francis with Adelaide Eleanor's necklace"
    - zap step:7 script:assassinationstart