Hunter quests


Author: BearFather
Created: 2012-09-16T14:53:52-0400
Edited: 2012-09-16T15:01:00-0400
Denizen Version: 0.76
Views: 268
Downloads: 1008
Likes: 1


WGET
Description: This is a couple simple quest's that is first req string then find a bad guys lair and kill his spiders. One of my first script's I wrote and learned locations with this one.


This quest will require 6 location bookmarks, 1 NPC, and to toggle location trigger on the NPC


-- assignments.yml --


- 0 hunter
- 1 hunter checkfail1
- 2 huntercheckall
- 3 hunter2
- 4 ^skullcavefound
- 5 ^skullsecretfound
- 6 hunter2check


-- BookMarks --


spiderspawn1
spiderspawn2
spiderspawn3
spiderhandlerspawn
SkullCaves
skullsecretfound

'hunter':
  Type: Trigger
  Requirements:
    Mode: ALL
    List:
    - -FINISHED hunter
  Steps:
    '1':
      Click Trigger:
        Script:
        - LOOK AT
        - CHAT "Hey I have a job for you if you are up for it."
        - CHAT "Can you go get me some string I'll pay you for them."
        - HINT short
      Chat Trigger:
        '1':
          Trigger: /Yes/ I'll get you some string.
          Script:
          - CHAT "Good bring me 25 string."
          - CHAT "Wait before you go you might need these."
          - GIVE 272 QTY:1
          - GIVE 299 QTY:1
          - FINISH
        '2':
          Trigger: /No/ Get your own string.
          Script:
          - CHAT "Then fuck off runt."
          - FAIL
'hunter checkfail1':
  Type: Trigger
  Requirements:
    Mode: ALL
    List:
    - FINISHED hunter
    - -FINISHED hunter checkall
    - -ITEM 287 25
  Steps:
    '1':
      Click Trigger:
        Script:
        - CHAT "When you have the 25 string come back talk to me, quit wasting my time peasant."
'huntercheckall':
  Type: Trigger
  Requirements:
    Mode: ALL
    List:
    - FINISHED hunter
    - -FINISHED huntercheckall
    - ITEM 287 25
  Steps:
    '1':
      Click Trigger:
        Script:
        - ENGAGE
        - TAKE 287 25
        - CHAT "Ahh yes, thank you my friend. Take this as payment for your time."
        - GIVE MONEY QTY:25
        - FINISH
        - DISENGAGE
'hunter2':
  Type: Trigger
  Requirements:
    Mode: ALL
    List:
    - FINISHED huntercheckall
    - -FINISHED hunter2
  Steps:
    '1':
      Click Trigger:
        Script:
        - CHAT "You have provin your self well my friend."
        - CHAT "I have a another job for you if your interested."
        - HINT short
      Chat Trigger:
        '1':
          Trigger: /Yes/ what is it this time?
          Script:
          - CHAT "Goto the east and deal with the issue that has arise in the skull caves."
          - FINISH
        '2':
          Trigger: /No/ you do it.
          Script:
          - CHAT "Then fuck off, I thought you were better then that."
          - FAIL
'skullcavefound':
  Type: Trigger
  Requirements:
    Mode: All
    List:
    - -FINISHED skullcavefound
    - FINISHED hunter2
  Steps:
    '1':
      Location Trigger:
        '1':
          Trigger: SkullCaves
          Script:
          - NARRATE "You have found the caves. Now kill the spiders and find the spiderhandlers secret."
          - SPAWN QTY:2 spider spiderspawn1
          - SPAWN QTY:2 spider spiderspawn2
          - SPAWN QTY:2 spider spiderspawn3
          - SPAWN QTY:2 cavespider spiderhandlerspawn
          - SPAWN QTY:3 spider spiderhandlerspawn
          - FINISH

'skullsecretfound':
  Type: Trigger
  Requirements:
    Mode: All
    List:
    - -FINISHED skullsecretfound
    - FINISHED skullcavefound
  Steps:
    '1':
      Location Trigger:
        '1':
          Trigger: skullsecretfound
          Script:
          - NARRATE "You have found the the Spider Handler's books.  Bring them back to Captain Jack."
          - FINISH
'hunter2check':
  Type: Trigger
  Requirements:
    Mode: All
    List:
    - FINISHED skullsecretfound
  Steps:
    '1':
      Click Trigger:
        Script:
        - ENGAGE
        - NARRATE "You hand Jack the books and tell him about the spiders."
        - CHAT "Hmm Interesting I will have the mage look at these..."
        - CHAT "I thank you very much Take these as a thank you of these kingdom."
        - GIVE 283 qty:2
        - GIVE HEROESEXP QTY:150
        - FINISH
        - DISENGAGE
 




Comments
2013-01-15 08:00:32 - mythan:

Does the Location Trigger work on Denizen 0.76-FINAL V4? I used the script as is, created the location bookmarks and keep on getting: 20:58:13 [INFO] +- Parsing proximity trigger: Test/john -+ 20:58:13 [INFO] | Getting current step: 20:58:13 [INFO] | ...current step not found, assuming '1'. 20:58:13 [INFO] | ERROR! Could not find script at: 20:58:13 [INFO] | skullcavefound.Steps.1.Proximity Trigger.Script 20:58:13 [INFO] | Check YML spacing, or is something spelled wrong in your scrip t?
2013-01-15 08:03:47 - mythan:

Oh no... found my problem. Should have done "/denizen trigger toggle location". I only knew about "/denizen trigger toggle proximity".