Paste #15791: quest example file

Date: 2015/05/13 17:16:26 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


quests:
  example-kill:
    type:kill
      kill_list:
        zombie:5
      return:true
    trigger:npc
      npc:n@184|n@185
      chat:
        1:'zombies are annoying, right? can you kill some for me?
        1-a:'yes|no'
        2-yes:"kill 5 zombies"
        2-no:"fine, be that way"
    reward:
      gold:5  

  example-gather:
    type:gather
      gather_list:
        oak_wood:5
        birch_wood:5
        apple:1
      return:true
    trigger:quest_sign
      location:200,70,200,world
    reward:
      gold:1
      drpg_xp:5

  example-goto:
    type:goto
      goto:
        location:500,500,world
      return:false
    trigger:npc
      npc:n@170
      chat:
        1:'I send you on a quest to the great city, will you go?'
        1-a:'1-(i will go)|2-(i am not going on your stupid quest)'
        2-1:"you will find it at 500,500"
        2-2:"oh well, i try to help"
    reward:
      drpg_xp:20

  example-kill-auto:
    type:kill
      kill_list:
        n@200
      return:false
    trigger:auto
      previous_quest:example-goto
      wait:20
      chat:
        1:'the dead and their money soon part'
    reward:
      gold:2