{
  "format": "pixelforge-fluid",
  "version": 1,
  "name": "potion",
  "width": 32,
  "height": 40,
  "palette": {
    "G": "#1f6a3f",
    "g": "#3fa34d",
    "l": "#8be36a",
    "w": "#e6ffc9",
    "k": "#1b1a26",
    "h": "#8fa3b8",
    "H": "#e4f0ff"
  },
  "symbols": {
    "flask": [
      "................................",
      "................................",
      "...........kkkkkkkkkk...........",
      "...........hhhhhhhhhh...........",
      "............kh....hk............",
      "............kh....hk............",
      "............kh....hk............",
      "............kh....hk............",
      "............kh....hk............",
      "............kh....hk............",
      "............kh....hk............",
      "............kh....hk............",
      "............kh....hk............",
      "............kh....hk............",
      "............kh....hk............",
      "...........kkh....hkk...........",
      ".........kkHkh....hkhkk.........",
      "........kkHH........hhkk........",
      ".......kHH............hhk.......",
      "......kHH..............hhk......",
      ".....kkH................hkk.....",
      ".....kH..................hk.....",
      "....kHH..................hhk....",
      "....kH....................hk....",
      "....kH....................hk....",
      "....kH....................hk....",
      "....kH....................hk....",
      "....kh....................hk....",
      "....kh....................hk....",
      "....kh....................hk....",
      "....kh....................hk....",
      "....khh..................hhk....",
      ".....kh..................hk.....",
      ".....kkh................hkk.....",
      "......khh..............hhk......",
      ".......khh............hhk.......",
      "........kkhh........hhkk........",
      ".........kkhhhhhhhhhhkk.........",
      "...........kkkkkkkkkk...........",
      "................................"
    ]
  },
  "effects": {
    "potion": {
      "kind": "liquid",
      "frames": 24,
      "duration": 70,
      "loop": true,
      "seed": 8,
      "walls": ["bottom"],
      "gravity": [0, 0.25],
      "flip": 0.8,
      "drag": 0.04,
      "obstacles": [{ "symbol": "flask", "x": 0, "y": 0 }],
      "fill": [{ "at": [15.5, 26.5], "radius": 10.5, "x": 0, "y": 22, "w": 32, "h": 18 }],
      "emitters": [
        {
          "name": "heat",
          "at": [15.5, 34],
          "area": [8, 2],
          "rate": 1,
          "density": 0,
          "velocity": [0, -2],
          "pulse": { "amplitude": 1, "period": 12 }
        },
        { "name": "boil", "at": [15.5, 24], "area": [18, 4], "rate": 1, "density": 0, "noise": 0.2 },
        {
          "name": "bubbles",
          "at": [15.5, 33.5],
          "area": [14, 3],
          "rate": 1,
          "density": 0,
          "sparks": {
            "count": 0.3,
            "life": [24, 32],
            "colors": ["w"],
            "size": 2,
            "angle": 270,
            "speed": 0.8,
            "gravity": [0, -0.1],
            "drag": 0.05,
            "follow": 0.2,
            "pop": true
          }
        },
        {
          "name": "rock-1",
          "at": [10, 26],
          "area": [6, 6],
          "rate": 1,
          "density": 0,
          "velocity": [0.4, -0.2],
          "pulse": { "amplitude": 1, "period": 24 }
        },
        {
          "name": "rock-2",
          "at": [21, 26],
          "area": [6, 6],
          "rate": 1,
          "density": 0,
          "velocity": [-0.4, -0.2],
          "pulse": { "amplitude": 1, "period": 24, "phase": 180 }
        }
      ],
      "look": [
        { "field": "density", "colors": ["g"], "thresholds": [0.5], "dither": 0 },
        { "field": "depth", "colors": ["w", "l", "g", "G"], "thresholds": [1, 2, 4, 9], "dither": 0 }
      ],
      "cleanup": { "strays": true }
    }
  }
}
