{
  "interactions": {
    "values": [
      {
        "interactions": [
          {
            "event": "pixelmon:right_click",
            "conditions": {
              "type": "pixelmon:true"
            },
            "results": {
              "value": [
                {
                  "title": "Custom Shopkeeper",
                  "message": "Thanks for stopping by!",
                  "type": "pixelmon:open_dialogue"
                }
              ],
              "type": "pixelmon:constant"
            }
          },
          {
            "event": "pixelmon:close_dialogue",
            "conditions": {
              "type": "pixelmon:true"
            },
            "results": {
              "value": [
                {
                  "items": [
                    {
                      "item": {
                        "id": "minecraft:coal",
                        "count": 1
                      },
                      "buyPrice": 100.0,
                      "sellPrice": 10.0
                    },
                    {
                      "item": {
                        "id": "minecraft:copper_ingot",
                        "count": 1
                      },
                      "buyPrice": 225.0,
                      "sellPrice": 15.0
                    },
                    {
                      "item": {
                        "id": "minecraft:iron_ingot",
                        "count": 1
                      },
                      "buyPrice": 310.0,
                      "sellPrice": 25.0
                    },
                    {
                      "item": {
                        "id": "minecraft:gold_ingot",
                        "count": 1
                      },
                      "buyPrice": 425.0,
                      "sellPrice": 50.0
                    },
                    {
                      "item": {
                        "id": "minecraft:diamond",
                        "count": 1
                      },
                      "buyPrice": 700.0,
                      "sellPrice": 100.0
                    },
                    {
                      "item": {
                        "id": "minecraft:netherite_ingot",
                        "count": 1
                      },
                      "buyPrice": 50000.0,
                      "sellPrice": 175.0
                    },
                    {
                      "item": {
                        "id": "moremetals:aluminum_ingot",
                        "count": 1
                      },
                      "buyPrice": 150.0,
                      "sellPrice": 10.0
                    },
                    {
                      "item": {
                        "id": "moremetals:tin_ingot",
                        "count": 1
                      },
                      "buyPrice": 150.0,
                      "sellPrice": 10.0
                    },
                    {
                      "item": {
                        "id": "moremetals:bronze_ingot",
                        "count": 1
                      },
                      "buyPrice": 150.0,
                      "sellPrice": 10.0
                    },
                    {
                      "item": {
                        "id": "moremetals:nickel_ingot",
                        "count": 1
                      },
                      "buyPrice": 200.0,
                      "sellPrice": 25.0
                    },
                    {
                      "item": {
                        "id": "moremetals:silver_ingot",
                        "count": 1
                      },
                      "buyPrice": 200.0,
                      "sellPrice": 25.0
                    },
                    {
                      "item": {
                        "id": "moremetals:lead_ingot",
                        "count": 1
                      },
                      "buyPrice": 200.0,
                      "sellPrice": 25.0
                    },
                    {
                      "item": {
                        "id": "moremetals:zinc_ingot",
                        "count": 1
                      },
                      "buyPrice": 200.0,
                      "sellPrice": 25.0
                    },
                    {
                      "item": {
                        "id": "moremetals:electrum_ingot",
                        "count": 1
                      },
                      "buyPrice": 200.0,
                      "sellPrice": 35.0
                    },
                    {
                      "item": {
                        "id": "moremetals:steel_ingot",
                        "count": 1
                      },
                      "buyPrice": 350.0,
                      "sellPrice": 40.0
                    },
                    {
                      "item": {
                        "id": "justanotheroresmod:chronium_gem",
                        "count": 1
                      },
                      "buyPrice": 400.0,
                      "sellPrice": 40.0
                    },
                    {
                      "item": {
                        "id": "justanotheroresmod:rosium_gem",
                        "count": 1
                      },
                      "buyPrice": 400.0,
                      "sellPrice": 40.0
                    },
                    {
                      "item": {
                        "id": "justanotheroresmod:lucium_gem",
                        "count": 1
                      },
                      "buyPrice": 500.0,
                      "sellPrice": 65.0
                    },
                    {
                      "item": {
                        "id": "justanotheroresmod:mocylite_gem",
                        "count": 1
                      },
                      "buyPrice": 500.0,
                      "sellPrice": 100.0
                    },
                    {
                      "item": {
                        "id": "justanotheroresmod:enderite_gem",
                        "count": 1
                      },
                      "buyPrice": 2500.0,
                      "sellPrice": 500.0
                    },
                    {
                      "item": {
                        "id": "progressionutils:maralite_gem",
                        "count": 1
                      },
                      "buyPrice": 300.0,
                      "sellPrice": 40.0
                    },
                    {
                      "item": {
                        "id": "progressionutils:argoliem_gem",
                        "count": 1
                      },
                      "buyPrice": 300.0,
                      "sellPrice": 40.0
                    },
					{
                      "item": {
                        "id": "progressionutils:taninite_gem",
                        "count": 1
                      },
                      "buyPrice": 450.0,
                      "sellPrice": 65.0
                    },
					{
                      "item": {
                        "id": "progressionutils:strossnium_gem",
                        "count": 1
                      },
                      "buyPrice": 450.0,
                      "sellPrice": 65.0
                    },
					{
                      "item": {
                        "id": "progressionutils:sampsonite_crystal",
                        "count": 1
                      },
                      "buyPrice": 600.0,
                      "sellPrice": 90.0
                    },
					{
                      "item": {
                        "id": "progressionutils:rubium_crystal",
                        "count": 1
                      },
                      "buyPrice": 600.0,
                      "sellPrice": 90.0
                    },
					{
                      "item": {
                        "id": "progressionutils:betium_crystal",
                        "count": 1
                      },
                      "buyPrice": 600.0,
                      "sellPrice": 90.0
                    },
					{
                      "item": {
                        "id": "progressionutils:brokonium",
                        "count": 1
                      },
                      "buyPrice": 2500.0,
                      "sellPrice": 500.0
                    },
					{
                      "item": {
                        "id": "nethermaterials:scorched_metal",
                        "count": 1
                      },
                      "buyPrice": 300.0,
                      "sellPrice": 30.0
                    },
					{
                      "item": {
                        "id": "nethermaterials:burnt_crystal",
                        "count": 1
                      },
                      "buyPrice": 300.0,
                      "sellPrice": 40.0
                    },
					{
                      "item": {
                        "id": "nethermaterials:inferno_gem",
                        "count": 1
                      },
                      "buyPrice": 300.0,
                      "sellPrice": 55.0
                    },
					{
                      "item": {
                        "id": "essentiallyopal:opal",
                        "count": 1
                      },
                      "buyPrice": 250.0,
                      "sellPrice": 40.0
                    },
					{
                      "item": {
                        "id": "essentiallyruby:ruby",
                        "count": 1
                      },
                      "buyPrice": 250.0,
                      "sellPrice": 40.0
                    },
					{
                      "item": {
                        "id": "essentiallysapphire:sapphire",
                        "count": 1
                      },
                      "buyPrice": 250.0,
                      "sellPrice": 40.0
                    },
					{
                      "item": {
                        "id": "royalcrowns:sapphire",
                        "count": 1
                      },
                      "buyPrice": 250.0,
                      "sellPrice": 40.0
                    },
					{
                      "item": {
                        "id": "royalcrowns:ruby",
                        "count": 1
                      },
                      "buyPrice": 250.0,
                      "sellPrice": 40.0
                    },
					{
                      "item": {
                        "id": "royalcrowns:jadestone",
                        "count": 1
                      },
                      "buyPrice": 250.0,
                      "sellPrice": 40.0
                    },
					{
                      "item": {
                        "id": "royalcrowns:rose_gold_ingot",
                        "count": 1
                      },
                      "buyPrice": 250.0,
                      "sellPrice": 25.0
                    },
					{
                      "item": {
                        "id": "royalcrowns:royal_diamond",
                        "count": 1
                      },
                      "buyPrice": 450.0,
                      "sellPrice": 55.0
                    }
                  ],
                  "type": "pixelmon:open_shop"
                }
              ],
              "type": "pixelmon:constant"
            }
          },
          {
            "event": "pixelmon:close_shop",
            "conditions": {
              "type": "pixelmon:true"
            },
            "results": {
              "value": [
                {
                  "title": "Shopkeeper",
                  "message": "pixelmon.npc.dialogue.shopkeeper.pokemart.dragon.curry.1.goodbye",
                  "fire_close_event": false,
                  "type": "pixelmon:open_dialogue"
                }
              ],
              "type": "pixelmon:constant"
            }
          }
        ]
      }
    ],
    "type": "pixelmon:uniformly_random"
  },
  "properties": {
    "value": {
      "health": 20.0,
      "eyeHeight": 1.0,
      "dimensions": {
        "width": 1.0,
        "height": 2.0
      },
      "title": {
        "translate": "Shopkeeper",
        "color": "#2176FF",
        "bold": true,
        "italic": false,
        "underlined": false
      },
      "pushable": false,
      "child": false,
      "invulnerable": false,
      "immovable": false,
      "nameplate": true
    },
    "type": "pixelmon:constant"
  },
  "party": {
    "value": {
      "type": "pixelmon:empty"
    },
    "type": "pixelmon:constant"
  },
  "names": {
    "values": [
      "Mrs. Culligan",
      "Ms. Vernia"
    ],
    "type": "pixelmon:uniformly_random"
  },
  "models": {
    "values": [
      {
        "slim": true,
        "texture": {
          "resource": {
            "resource": "pixelmon:textures/steve/shopgirl.png",
            "fallback": "pixelmon:textures/steve/shopgirl.png"
          },
          "type": "pixelmon:fallback"
        },
        "type": "pixelmon:player"
      },
      {
        "slim": true,
        "texture": {
          "resource": {
            "resource": "pixelmon:textures/steve/youngstergirl.png",
            "fallback": "pixelmon:textures/steve/youngstergirl.png"
          },
          "type": "pixelmon:fallback"
        },
        "type": "pixelmon:player"
      },
      {
        "slim": true,
        "texture": {
          "resource": {
            "resource": "pixelmon:textures/steve/madame.png",
            "fallback": "pixelmon:textures/steve/madame.png"
          },
          "type": "pixelmon:fallback"
        },
        "type": "pixelmon:player"
      }
    ],
    "type": "pixelmon:uniformly_random"
  },
  "goals": {
    "type": "pixelmon:constant",
    "value": {
      "goals": [
        {
          "provider": {
            "type": "pixelmon:look_at_nearby",
            "look_distance": 5.0,
            "probability": 0.9
          },
          "priority": 1
        }
      ]
    }
  }
}
