{
  "type" : "undergroundbard",
  "baseType" : "base",
  
  "persistent" : true,

  "levelVariance" : [-0.5, -0.5],

  "dropPools" : [ "basicMonsterTreasure" ],

  "scripts" : [
    "/npcs/bmain.lua"
  ],
  "initialScriptDelta" : 5,
  "scriptConfig" : {
    "behavior" : "merchant",

    "reactions" : {
      "spontaneous" : [
        [5.0, "sleep", { "timeRange" : [0.7, 0.9] }],
        [1.0, "sit", { "timeRange" : [0.6,0.2]}],
        [1.0, "wander", { "timeRange" : [0.2, 0.6] }]
      ]
    },

    "merchant" : {
      "poolsFile" : "/npcs/sidestorypools.config",
      "categories" : {
        "default" : ["bardinstruments" ],
        "avian" : ["bardinstruments" ],
        "apex" : ["bardinstruments" ],
        "floran" : ["bardinstruments" ],
        "human" : ["bardinstruments" ],
        "novakid" : ["bardinstruments" ],
        "glitch" : ["bardinstruments" ],
        "hylotl" : ["bardinstruments" ]
      },
      "buyFactorRange" : [ 1.0, 1.0 ],
      "sellFactorRange" : [ 0.2, 0.2 ],
      "numItems" : 5
    },
    "dialog" : {
      "merchant" : {
        "start" : "/dialog/merchant.config:merchantStart",
        "end" : "/dialog/merchant.config:merchantEnd",
        "follow" : "/dialog/merchant.config:follow",
        "welcome" : "/dialog/merchant.config:welcome",
        "tout" : "/dialog/merchant.config:tout"
      },
      "flee" : {
        "helpme" : "/dialog/merchant.config:helpme",
        "helpthem" : "/dialog/merchant.config:helpthem",
        "encourage" : "/dialog/merchant.config:encourage",
        "safe" : "/dialog/merchant.config:safe"
      },
      "tenant" : {
        "grumbles" : {
          "tagCriteria" : "/dialog/merchant.config:tagCriteria",
          "enclosedArea" : "/dialog/merchant.config:enclosedArea",
          "otherDeed" : "/dialog/merchant.config:otherDeed",
          "severe" : "/dialog/merchant.config:severe",
          "final" : "/dialog/merchant.config:final"
        },
        "arrivedHome" : {
          "beacon" : "/dialog/merchant.config:beacon",
          "rent" : "/dialog/merchant.config:rent"
        }
      }
    }
  },

  "items" : {
    "human" : [
      [0, [
          {
                    "chest" : [ { "name" : "bettychest" } ],
					"legs" : [ { "name" : "bettylegs" } ]
            
          } ]
      ]
    ],
    "avian" : [
      [0, [
          {
                    "chest" : [ { "name" : "bettychest" } ],
					"legs" : [ { "name" : "bettylegs" } ]
            
          } ]
      ]
    ],
    "apex" : [
      [0, [
          {
                    "chest" : [ { "name" : "bettychest" } ],
					"legs" : [ { "name" : "bettylegs" } ]
            
          } ]
      ]
    ],
    "floran" : [
      [0, [
          {
                    "chest" : [ { "name" : "bettychest" } ],
					"legs" : [ { "name" : "bettylegs" } ]
            
          } ]
      ]
    ],
    "glitch" : [
      [0, [
          {
                    "chest" : [ { "name" : "bettychest" } ],
					"legs" : [ { "name" : "bettylegs" } ]
            
          } ]
      ]
    ],
    "hylotl" : [
      [0, [
          {
                    "chest" : [ { "name" : "bettychest" } ],
					"legs" : [ { "name" : "bettylegs" } ]
            
          } ]
      ]
    ]
  }
}
