local Data = require("core.Data")

Data.define_prototype("item_material")
Data.add(
   "core.item_material",
   {
      -- TODO
      _heavy = {
         integer_id = 1000,
      },
      -- TODO
      _light = {
         integer_id = 1001,
      },

      vegetable_seed = {
         integer_id = 36,
      },
      fruit_seed = {
         integer_id = 37,
      },
      herb_seed = {
         integer_id = 38,
      },
      unknown_plant_seed = {
         integer_id = 39,
      },
      artifact_seed = {
         integer_id = 40,
      },
      gem_seed = {
         integer_id = 41,
      },
      magical_plant_seed = {
         integer_id = 42,
      },
      sand = {
         integer_id = 0,
         weight = 10,
         value = 80,
         hit_bonus = -5,
         damage_bonus = -5,
         dv = -5,
         pv = -5,
         dice_y = 100,
      },
      raw = {
         integer_id = 35,
         weight = 100,
         value = 50,
         hit_bonus = -5,
         damage_bonus = -5,
         dv = -5,
         pv = -5,
         dice_y = 100,
         tint = 0,
      },
      wood = {
         integer_id = 43,
         weight = 150,
         value = 50,
         hit_bonus = -5,
         damage_bonus = -5,
         dv = -5,
         pv = -5,
         dice_y = 100,
         tint = 0,
      },
      lead = {
         integer_id = 34,
         weight = 300,
         value = 50,
         hit_bonus = 3,
         damage_bonus = 4,
         dv = -3,
         pv = 11,
         dice_y = 100,
         tint = 0,
         fireproof = true,
      },
      bronze = {
         integer_id = 12,
         weight = 200,
         value = 70,
         hit_bonus = 2,
         damage_bonus = 5,
         dv = 1,
         pv = 5,
         dice_y = 100,
         tint = 6,
         enchantments = {
            [20052] = 50,
         },
      },
      mica = {
         integer_id = 21,
         weight = 40,
         value = 150,
         hit_bonus = 10,
         damage_bonus = -2,
         dv = 12,
         pv = 0,
         dice_y = 100,
         tint = 0,
         enchantments = {
            [10019] = 100,
         },
      },
      coral = {
         integer_id = 33,
         weight = 180,
         value = 240,
         hit_bonus = 7,
         damage_bonus = 2,
         dv = 10,
         pv = 7,
         dice_y = 120,
         tint = 5,
         enchantments = {
            [20052] = 100,
         },
      },
      iron = {
         integer_id = 10,
         weight = 280,
         value = 190,
         hit_bonus = 8,
         damage_bonus = 8,
         dv = 3,
         pv = 14,
         dice_y = 130,
         tint = 0,
         enchantments = {
            [20050] = 25,
         },
         acidproof = true,
      },
      silver = {
         integer_id = 25,
         weight = 230,
         value = 250,
         hit_bonus = 10,
         damage_bonus = 7,
         dv = 7,
         pv = 11,
         dice_y = 130,
         tint = 0,
         enchantments = {
            [20053] = 50,
         },
         acidproof = true,
      },
      glass = {
         integer_id = 5,
         weight = 180,
         value = 150,
         hit_bonus = 19,
         damage_bonus = 0,
         dv = 17,
         pv = 0,
         dice_y = 100,
         tint = 4,
         enchantments = {
            [10018] = 150,
         },
         acidproof = true,
      },
      obsidian = {
         integer_id = 20,
         weight = 160,
         value = 350,
         hit_bonus = 16,
         damage_bonus = 10,
         dv = 13,
         pv = 14,
         dice_y = 130,
         tint = 0,
         enchantments = {
            [20059] = 100,
         },
      },
      steel = {
         integer_id = 9,
         weight = 270,
         value = 280,
         hit_bonus = 12,
         damage_bonus = 13,
         dv = 8,
         pv = 18,
         dice_y = 140,
         tint = 0,
         acidproof = true,
      },
      platinum = {
         integer_id = 26,
         weight = 260,
         value = 350,
         hit_bonus = 16,
         damage_bonus = 11,
         dv = 14,
         pv = 17,
         dice_y = 140,
         tint = 0,
         enchantments = {
            [20053] = 100,
         },
         acidproof = true,
      },
      pearl = {
         integer_id = 22,
         weight = 240,
         value = 400,
         hit_bonus = 18,
         damage_bonus = 6,
         dv = 18,
         pv = 12,
         dice_y = 140,
         tint = 10,
         enchantments = {
            [10013] = 100,
         },
      },
      mithril = {
         integer_id = 7,
         weight = 240,
         value = 750,
         hit_bonus = 20,
         damage_bonus = 18,
         dv = 25,
         pv = 17,
         dice_y = 190,
         tint = 2,
         enchantments = {
            [30172] = 100,
         },
         fireproof = true,
         acidproof = true,
      },
      chrome = {
         integer_id = 30,
         weight = 320,
         value = 500,
         hit_bonus = 15,
         damage_bonus = 17,
         dv = 12,
         pv = 22,
         dice_y = 150,
         tint = 0,
      },
      crystal = {
         integer_id = 11,
         weight = 200,
         value = 800,
         hit_bonus = 19,
         damage_bonus = 14,
         dv = 16,
         pv = 19,
         dice_y = 150,
         tint = 12,
         enchantments = {
            [10016] = 100,
         },
      },
      emerald = {
         integer_id = 23,
         weight = 240,
         value = 1050,
         hit_bonus = 22,
         damage_bonus = 23,
         dv = 18,
         pv = 28,
         dice_y = 190,
         tint = 2,
         enchantments = {
            [20058] = 100,
         },
      },
      adamantium = {
         integer_id = 31,
         weight = 360,
         value = 1150,
         hit_bonus = 11,
         damage_bonus = 38,
         dv = 8,
         pv = 42,
         dice_y = 240,
         tint = 10,
         enchantments = {
            [10011] = 100,
         },
         fireproof = true,
         acidproof = true,
      },
      titanium = {
         integer_id = 29,
         weight = 200,
         value = 750,
         hit_bonus = 21,
         damage_bonus = 18,
         dv = 19,
         pv = 22,
         dice_y = 160,
         tint = 0,
         enchantments = {
            [10010] = 100,
         },
         acidproof = true,
      },
      diamond = {
         integer_id = 13,
         weight = 330,
         value = 1100,
         hit_bonus = 19,
         damage_bonus = 27,
         dv = 13,
         pv = 31,
         dice_y = 220,
         tint = 0,
         enchantments = {
            [20052] = 100,
         },
      },
      rubynus = {
         integer_id = 15,
         weight = 250,
         value = 1000,
         hit_bonus = 38,
         damage_bonus = 18,
         dv = 31,
         pv = 24,
         dice_y = 190,
         tint = 3,
         enchantments = {
            [10002] = 125,
         },
         fireproof = true,
         acidproof = true,
      },
      ether = {
         integer_id = 8,
         weight = 80,
         value = 1200,
         hit_bonus = 8,
         damage_bonus = 45,
         dv = 35,
         pv = 8,
         dice_y = 250,
         tint = 4,
         enchantments = {
            [10018] = 200,
         },
         fireproof = true,
         acidproof = true,
      },
      cloth = {
         integer_id = 3,
         weight = 20,
         value = 30,
         hit_bonus = 6,
         damage_bonus = -5,
         dv = 7,
         pv = 2,
         dice_y = 100,
         tint = 10,
      },
      silk = {
         integer_id = 2,
         weight = 40,
         value = 190,
         hit_bonus = 9,
         damage_bonus = -2,
         dv = 10,
         pv = 2,
         dice_y = 100,
         tint = 5,
         enchantments = {
            [20054] = 50,
         },
      },
      paper = {
         integer_id = 16,
         weight = 10,
         value = 20,
         hit_bonus = 15,
         damage_bonus = -10,
         dv = 12,
         pv = 0,
         dice_y = 100,
         tint = 0,
         enchantments = {
            [30173] = 100,
         },
      },
      bone = {
         integer_id = 18,
         weight = 120,
         value = 300,
         hit_bonus = 10,
         damage_bonus = 6,
         dv = 12,
         pv = 11,
         dice_y = 140,
         tint = 0,
         enchantments = {
            [20056] = 100,
         },
         acidproof = true,
      },
      leather = {
         integer_id = 1,
         weight = 100,
         value = 150,
         hit_bonus = 12,
         damage_bonus = 2,
         dv = 13,
         pv = 6,
         dice_y = 100,
         tint = 6,
      },
      scale = {
         integer_id = 4,
         weight = 180,
         value = 250,
         hit_bonus = 14,
         damage_bonus = 6,
         dv = 12,
         pv = 11,
         dice_y = 120,
         tint = 10,
         enchantments = {
            [20050] = 50,
         },
      },
      chain = {
         integer_id = 19,
         weight = 200,
         value = 300,
         hit_bonus = 11,
         damage_bonus = 8,
         dv = 17,
         pv = 14,
         dice_y = 100,
         tint = 0,
         enchantments = {
            [20053] = 50,
         },
         acidproof = true,
      },
      zylon = {
         integer_id = 27,
         weight = 50,
         value = 500,
         hit_bonus = 5,
         damage_bonus = 4,
         dv = 21,
         pv = 16,
         dice_y = 100,
         tint = 4,
         enchantments = {
            [20056] = 50,
         },
      },
      gold = {
         integer_id = 32,
         weight = 300,
         value = 800,
         hit_bonus = 13,
         damage_bonus = 18,
         dv = 14,
         pv = 22,
         dice_y = 140,
         tint = 5,
         enchantments = {
            [10010] = 100,
         },
         acidproof = true,
      },
      spirit_cloth = {
         integer_id = 14,
         weight = 40,
         value = 750,
         hit_bonus = 3,
         damage_bonus = 2,
         dv = 34,
         pv = 6,
         dice_y = 100,
         tint = 4,
         enchantments = {
            [10018] = 200,
         },
         fireproof = true,
      },
      dragon_scale = {
         integer_id = 24,
         weight = 220,
         value = 800,
         hit_bonus = 25,
         damage_bonus = 24,
         dv = 29,
         pv = 24,
         dice_y = 160,
         tint = 2,
         enchantments = {
            [20050] = 50,
            [20051] = 50,
         },
         fireproof = true,
         acidproof = true,
      },
      dawn_cloth = {
         integer_id = 17,
         weight = 45,
         value = 850,
         hit_bonus = 10,
         damage_bonus = 8,
         dv = 35,
         pv = 15,
         dice_y = 100,
         tint = 4,
         enchantments = {
            [10003] = 200,
         },
      },
      griffon_scale = {
         integer_id = 28,
         weight = 70,
         value = 1000,
         hit_bonus = 16,
         damage_bonus = 17,
         dv = 32,
         pv = 24,
         dice_y = 120,
         tint = 2,
         enchantments = {
            [30173] = 100,
         },
      },
   }
)
