{
  "type" : "youroutpostarchitect",
  "baseType" : "sidestorymerchant",

  "disableWornArmor" : true,

  "damageTeam" : 1,
  "levelVariance" : [0, 0],

  "scripts" : [
    "/npcs/main.lua",
    "/scripts/pathing.lua",
    "/npcs/timers.lua",
    "/scripts/sensors.lua",
    "/scripts/stateMachine.lua",
    "/scripts/actions/merchant.lua",
    "/scripts/util.lua",
    "/scripts/vec2.lua",

    "/npcs/chatState.lua",
    "/npcs/sleepState.lua",
    "/npcs/standingIdleState.lua",
    "/npcs/wanderState.lua",

    "/npcs/meleeAttackState.lua",
    "/npcs/rangedAttackState.lua",

    "/npcs/merchant/merchantState.lua"
  ],

  "scriptConfig" : {

    "merchant" : {
      "waitTime" : 10,
      "storeRadius" : -1,

      "dialog" : {
        "start" : {
          "default" : [
            "Need a little pick-me-up?"
          ],
          "apex" : {
            "default" : [
              "Stay on top of things with my patented stims!",
              "Never fall to the Miniknog again with these handy stims!",
              "I've sold stims to Big Ape himself.",
              "For all your buffing needs.",
              "Be strong like an ape!"
            ]
          },
          "avian" : {
            "default" : [
              "Need a little pick-me-up?",
              "Fly without wings, with my helpful stims!",
              "Become as one with Kluex with my handy stims.",
              "My stims are certified by Thornwing himself. Ahem.",
              "One hundred percent legal stims... I left the paperwork on my ship."
            ]
          },
          "floran" : {
            "default" : [
              "Floran sssell ssstabby medicine!",
              "Greenfinger say Floran ssstims volatile. Volatile mean sssafe.",
              "Floran ssstims best ssstims! Make feel ssstabby!",
              "Floran sssell magic medicine to ssspaceman!",
              "Hope person like Floran ssstims. Floran like Floran ssstims."
            ]
          },
          "glitch" : {
            "default" : [
              "Statement. Stims  for sale.",
              "Twitchy. Stims, lots of stims, buy the stims, quickly.",
              "Elusive. Mysterious stims, I have them.",
              "Confused. We Glitch do not know why these stims are so effective, but they are.",
              "Ecstatic. Buy my stims, join me in joy!"
            ]
          },
          "human" : {
            "default" : [
              "Good evening. Some stims, perhaps?",
              "Perchance you will test out some of my more experimental stims one day.",
              "Soon, my shipment of snake oil will arrive. For now, I have stims.",
              "Quickly, quickly, you look sickly. Buy my stims and... just buy them.",
              "Stims! For your every need."

            ]
          },
          "hylotl" : {
            "default" : [
              "Hylotl stims are unrivalled. Buy some.",
              "Improve yourself the Hylotl way. With stims!",
              "If you need a buff, I've got just the thing.",
              "Hello friend. Stim?",
              "I've got a stim with your name on it. I know, I found it weird too."

            ]
          }
        },
        "end" : {
          "default" : [
            "Just to be clear; I'm not responsible for any side-effects!"
          ],
          "apex" : {
            "default" : [
              "No refunds!",
              "Sorry in advance!",
              "Don't take too many!"
            ]
          },
          "avian" : {
            "default" : [
              "Kluex save you.",
              "Kluex has no faith in medicine.",
              "Fly long, fly free!"
            ]
          },
          "floran" : {
            "default" : [
              "Floran hope you not die too much!",
              "Floran sssee you sssoon. Real sssoon.",
              "Floran hope you want more ssstims!"
            ]
          },
          "glitch" : {
            "default" : [
              "Statement. Stims are not proven to be addictive.",
              "Evasive. Of course there are no side effects.",
              "Concern. Remember to talk to a doctor regularly."
            ]
          },
          "human" : {
            "default" : [
              "Side effects? All part of the fun!",
              "They're perfectly safe, I've been taking them for years.",
              "Come back soon! You can never have too many stims! Don't hold me to that!"
            ]
          },
          "hylotl" : {
            "default" : [
              "Hylotl stims have no reported side effects.",
              "Return to me soon.",
              "May calm wash over you like an ocean."
            ]
          }
        }
      },

      "categories" : [ "youroutpostarchitect" ],
      "buyFactorRange" : [ 1.0, 1.0 ],
      "sellFactorRange" : [ 0.2, 0.2 ],
      "numItems" : 40
    },

    "meleeAttack" : {
      "swingDistance" : 5,
      "swingTime" : 0.4,
      "swingCooldownTime" : 0.6,
      "runThreshold" : 9,
      "searchTime" : 10,
      "backoffDistanceRange" : [8.0, 12.0],
      "repositionCooldownTimeRange" : [2.0, 3.0]
    },

    "rangedAttack" : {
      "minDistance" : 10,
      "maxDistance" : 30,
      "coverYOffset" : -1.5,
      "coverYClearanceOffset" : 0.5,
      "coverDistance" : 2.5,
      "coverHideTimeRange" : [0.5, 1.0],
      "coverFireTimeRange" : [1.0, 3.0],
      "attackerSpacing" : 2.5,
      "searchTime" : 10
    }
  },

  "items" : {
        "default" : [
            [0, [
                {
                    "chest" : [ { "name" : "floranfurnivourchest" } ],
					"legs" : [ { "name" : "floranfurnivourlegs" } ]
                }
            ] ]
        ]
    },

  "statusControllerSettings" : {
    "statusProperties" : {
      "targetMaterialKind" : "organic"
    },

    "appliesEnvironmentStatusEffects" : false,
    "minimumLiquidStatusEffectPercentage" : 0.1,

    "primaryScriptSources" : [
      "/stats/npc_primary.lua",
      "/scripts/vec2.lua"
    ],
    "primaryScriptDelta" : 5,

    "stats" : {
      "maxHealth" : {
        "baseValue" : 100.0
      },
      "maxEnergy" : {
        "baseValue" : 100.0
      },
      "powerMultiplier" : {
        "baseValue" : 1.0
      },
      "protection" : {
        "baseValue" : 1.0
      },
      "healthRegen" : {
        "baseValue" : 0.0
      },
      "energyRegen" : {
        "baseValue" : 5.0
      },
      "shieldSuppressed" : {
        "baseValue" : 0.0
      },
      "invulnerable" : {
        "baseValue" : 0.0
      }
    },

    "resources" : {
      "health" : {
        "maxStat" : "maxHealth",
        "deltaStat" : "healthRegen",
        "defaultPercentage" : 100
      },
      "energy" : {
        "maxStat" : "maxEnergy",
        "deltaStat" : "energyRegen",
        "defaultPercentage" : 100
      }
    }
  }
}
