{
  "profile": {
    "has_spikes": 0,
    "has_magick": 1,
    "shiny_bauble": 2,
    "cursed_item": 3,
    "$does_physical": 4,
    "$does_magick": 5,
    "$does_damage": 6,
    "$user_cursed": 7,
    "$does_healing": 8,
    "$damage_boost": 9,
    "$large_boost": 10,
    "$is_complete": 11
  },
  "actions": [
    {
      "name": "pierce_type",
      "cost": 100,
      "needs": {
        "has_spikes": true,
        "$is_complete": false
      },
      "effects": {
        "$does_physical": true,
        "$does_damage": true
      }
    },
    {
      "name": "magick_type",
      "cost": 100,
      "needs": {
        "$is_complete": false,
        "has_magick": true
      },
      "effects": {
        "$does_magick": true,
        "$does_damage": true
      }
    },
    {
      "name": "combined",
      "cost": 0,
      "needs": {
        "$does_damage": true
      },
      "effects": {
        "$is_complete": true
      }
    },
    {
      "name": "boost_magick",
      "cost": 0,
      "needs": {
        "shiny_bauble": true,
        "$does_magick": true,
        "$does_damage": true,
        "$is_complete": false,
        "$user_cursed": false
      },
      "effects": {
        "$damage_boost": true
      }
    },
    {
      "name": "boost_damage_large",
      "cost": 0,
      "needs": {
        "$user_cursed": true,
        "$is_complete": false,
        "$does_damage": true
      },
      "effects": {
        "$large_boost": true
      }
    },
    {
      "name": "curses_user",
      "cost": 1000,
      "needs": {
        "$is_complete": false,
        "cursed_item": true
      },
      "effects": {
        "$user_cursed": true
      }
    },
    {
      "name": "heals_user",
      "cost": 0,
      "needs": {
        "cursed_item": true,
        "$does_damage": false
      },
      "effects": {
        "$does_healing": true,
        "$is_complete": true
      }
    }
  ],
  "states": {
    "initial": {
      "shiny_bauble": false,
      "cursed_item": false,
      "has_spikes": false,
      "has_magick": false,
      "$user_cursed": false,
      "$does_damage": false,
      "$is_complete": false,
      "$does_healing": false,
      "$does_magick": false,
      "$does_physical": false,
      "$large_boost": false,
      "$damage_boost": false
    },
    "final": {
      "$user_cursed": true,
      "$does_damage": true,
      "$is_complete": true,
      "$does_healing": true,
      "$does_magick": true,
      "$does_physical": true,
      "$large_boost": true,
      "$damage_boost": true
    }
  },
  "scripts": {
    "actions": [
      "boost_magick",
      "pierce_type",
      "magick_type",
      "heals_user",
      "curses_user",
      "boost_damage_large",
      "combined"
    ]
  }
}
