Paste #3422: Edit of P#3421 - Zombie Granny

Date: 2014/04/11 17:25:09 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


AtticZombies:
  Type: Interact
  Requirements: 
    Mode: None
    List:
    actions:
    -  on assignment
  Steps:
    1:
      Click Trigger:
        Script:
      - If !<player.flag[OldManHero]>{
        - CHAT "Hey kiddo, mind helping me out with a small problem?"
        - ZAP 2
      }

      Else

      {
      - Chat "Hah, you think I am mad?! CAN'T YOU SMELL THAT ROTTEN FLESH?!"
      - FINISH
      }
    2:
      Chat Trigger:
        1:
          Trigger: /Yes/ I'll help ya!
        Script:
          - CHAT "Great! My wife died two days ago, and she turned into a zombie... But the guards will not listen to me!"
          - CHAT "Kill her... And I will pay you well, I promise..."
          - Narrate "Kill the Zombie Granny, and return to the Old Man for a $500 Dollars Reward!"
          - flag player OldManQuest

AZQuest:
  Type: Interact
  Requirements:
    Mode: None
    List:
  Steps:
    1:
      Click Trigger:
        Script:
      - If !<player.flag[OldManQuest]>
        - spawn e@zombie[custom_name=AuldGranny] <4948,83,-2282>
        - listen kill type:npc target:AuldGranny qty:1
        - ZAP 2

    2:               
      - chat "Thank god She's Dead... Umm, Again..."
      - wait 1
      - chat "Here take this!"
      - give money qty:300
      - zap step:1 script:AZQuestReward

AZQuestReward:
  Type: Interact
  Requirements:
    Mode: None
    List:
  Steps:
    1: flag player OldManHero