{
  "interactions": {
    "values": [
      {
        "interactions": [
          {
            "event": "pixelmon:right_click",
            "conditions": {
              "type": "pixelmon:true"
            },
            "results": {
              "value": [
                {
                  "title": "Casino Owner",
                  "message": "Welcome to the Golden Karp Casino!",
                  "type": "pixelmon:open_dialogue"
                }
              ],
              "type": "pixelmon:constant"
            }
          },
          {
            "event": "pixelmon:close_dialogue",
            "conditions": {
              "type": "pixelmon:true"
            },
            "results": {
              "value": [
                {
                  "items": [
					{
                      "item": {
                        "id": "pixelitems:relic_amber",
                        "count": 1
                      },
                      "buyPrice": 0.0,
                      "sellPrice": 5000.0
                    },
					{
                      "item": {
                        "id": "pixelitems:relic_bronze",
                        "count": 1
                      },
                      "buyPrice": 0.0,
                      "sellPrice": 7500.0
                    },
					{
                      "item": {
                        "id": "pixelitems:relic_harlite",
                        "count": 1
                      },
                      "buyPrice": 0.0,
                      "sellPrice": 10000.0
                    },
					{
                      "item": {
                        "id": "pixelitems:relic_argoliem",
                        "count": 1
                      },
                      "buyPrice": 0.0,
                      "sellPrice": 12500.0
                    },
					{
                      "item": {
                        "id": "pixelitems:relic_taninite",
                        "count": 1
                      },
                      "buyPrice": 0.0,
                      "sellPrice": 15000.0
                    },
					{
                      "item": {
                        "id": "pixelitems:relic_strossnium",
                        "count": 1
                      },
                      "buyPrice": 0.0,
                      "sellPrice": 22500.0
                    },
				    {
                      "item": {
                        "id": "pixelitems:relic_brokonium",
                        "count": 1
                      },
                      "buyPrice": 0.0,
                      "sellPrice": 30000.0
                    },
					{
                      "item": {
                        "id": "pixelitems:relic_chronium",
                        "count": 1
                      },
                      "buyPrice": 0.0,
                      "sellPrice": 50000.0
                    },
					{
                      "item": {
                        "id": "kubejs:upgrade_token",
                        "count": 1
                      },
                      "buyPrice": 500000.0,
                      "sellPrice": 0.0
                    },
					{
                      "item": {
                        "id": "kubejs:time_token",
                        "count": 1
                      },
                      "buyPrice": 500000.0,
                      "sellPrice": 0.0
                    }
                  ],
                  "type": "pixelmon:open_shop"
                }
              ],
              "type": "pixelmon:constant"
            }
          },
          {
            "event": "pixelmon:close_shop",
            "conditions": {
              "type": "pixelmon:true"
            },
            "results": {
              "value": [
                {
                  "title": "Shopkeeper",
                  "message": "Good luck! Don't win too much..",
                  "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": "Casino Owner",
        "color": "#FFE642",
        "bold": true,
        "italic": false,
        "underlined": true
      },
      "pushable": false,
      "child": false,
      "invulnerable": true,
      "immovable": true,
      "nameplate": true
    },
    "type": "pixelmon:constant"
  },
  "party": {
    "value": {
      "type": "pixelmon:empty"
    },
    "type": "pixelmon:constant"
  },
  "names": {
    "values": [
      "Highroller"
    ],
    "type": "pixelmon:uniformly_random"
  },
  "models": {
    "values": [
      {
        "slim": true,
        "texture": {
          "resource": {
            "resource": "pixelmon:npcs/christian.png",
            "fallback": "pixelmon:npcs/christian.png"
          },
          "type": "pixelmon:fallback"
        },
        "type": "pixelmon:player"
      },
      {
        "slim": true,
        "texture": {
          "resource": {
            "resource": "pixelmon:npcs/christian.png",
            "fallback": "pixelmon:npcs/christian.png"
          },
          "type": "pixelmon:fallback"
        },
        "type": "pixelmon:player"
      },
      {
        "slim": true,
        "texture": {
          "resource": {
            "resource": "pixelmon:npcs/christian.png",
            "fallback": "pixelmon:npcs/christian.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
        }
      ]
    }
  }
}
