import re

lines = [
			"VoxelType.Grass => new Color(0.3f, 0.7f, 0.2f),",
			"VoxelType.Dirt => new Color(0.5f, 0.3f, 0.2f),",
			"VoxelType.Stone => new Color(0.5f, 0.5f, 0.5f),",
			"VoxelType.Wood => new Color(0.6f, 0.4f, 0.2f),",
			"VoxelType.Leaves => new Color(0.2f, 0.6f, 0.2f),",
			"VoxelType.Sand => new Color(0.9f, 0.8f, 0.5f),",
			"VoxelType.Water => new Color(0.2f, 0.4f, 0.8f, 0.7f),",
			"VoxelType.Apple => new Color(0.8f, 0.2f, 0.2f),",
			"VoxelType.DarkWood => new Color(0.3f, 0.2f, 0.1f),",
			"VoxelType.FlowerRed => new Color(0.9f, 0.2f, 0.2f),",
			"VoxelType.FlowerYellow => new Color(0.9f, 0.9f, 0.2f),",
			"VoxelType.MushroomBrown => new Color(0.6f, 0.4f, 0.3f),",
			"VoxelType.MushroomRed => new Color(0.8f, 0.2f, 0.2f),",
			"VoxelType.TallGrass => new Color(0.4f, 0.7f, 0.3f),",
			"VoxelType.Fern => new Color(0.3f, 0.6f, 0.3f),",
			"VoxelType.CraftingTable => new Color(0.7f, 0.5f, 0.3f),",
			"VoxelType.Furnace => new Color(0.4f, 0.4f, 0.4f),",
			"VoxelType.FurnaceLit => new Color(0.9f, 0.5f, 0.2f),",
			"VoxelType.CoalOre => new Color(0.3f, 0.3f, 0.3f),",
			"VoxelType.IronOre => new Color(0.7f, 0.6f, 0.5f),",
			"VoxelType.GoldOre => new Color(0.9f, 0.8f, 0.3f),",
			"VoxelType.MithrilOre => new Color(0.4f, 0.6f, 0.8f),",
			"VoxelType.AdamantiteOre => new Color(0.3f, 0.8f, 0.4f),",
			"VoxelType.RuniteOre => new Color(0.3f, 0.8f, 0.8f),",
			"VoxelType.IronBlock => new Color(0.8f, 0.8f, 0.8f),",
			"VoxelType.GoldBlock => new Color(1.0f, 0.9f, 0.3f),",
			"VoxelType.MithrilBlock => new Color(0.5f, 0.7f, 1.0f),",
			"VoxelType.AdamantiteBlock => new Color(0.4f, 1.0f, 0.5f),",
			"VoxelType.RuniteBlock => new Color(0.4f, 1.0f, 1.0f),",
			"VoxelType.DiamondBlock => new Color(0.3f, 0.9f, 1.0f),", 
			"VoxelType.PortalA => new Color(0.6f, 0.4f, 1.0f),",
			"VoxelType.PortalB => new Color(1.0f, 0.6f, 0.2f),",
			"VoxelType.HoverBlock => new Color(0.4f, 0.8f, 1.0f),",
			"VoxelType.FishBowl => new Color(0.8f, 0.9f, 1.0f),",
			"VoxelType.Bamboo => new Color(0.5f, 0.8f, 0.3f),",
			"VoxelType.RoseBush => new Color(0.8f, 0.2f, 0.2f),",
			"VoxelType.Wool => new Color(0.95f, 0.95f, 0.95f),",
			"VoxelType.Planks => new Color(0.7f, 0.5f, 0.3f),",
			"VoxelType.StoneBricks => new Color(0.6f, 0.6f, 0.6f),",
			"VoxelType.ChiseledStone => new Color(0.7f, 0.7f, 0.7f),",
			"VoxelType.Cobblestone => new Color(0.55f, 0.55f, 0.55f),",
			"VoxelType.Chest => new Color(0.6f, 0.4f, 0.2f),",",
			"VoxelType.BirchWood => new Color(0.95f, 0.95f, 0.9f),",
			"VoxelType.BirchLeaves => new Color(0.5f, 0.8f, 0.4f),",
			"VoxelType.RedwoodWood => new Color(0.5f, 0.25f, 0.15f),",
			"VoxelType.RedwoodLeaves => new Color(0.2f, 0.5f, 0.2f),",
			"VoxelType.CherryWood => new Color(0.7f, 0.45f, 0.35f),",
			"VoxelType.CherryLeaves => new Color(1.0f, 0.7f, 0.8f),",
			"VoxelType.WillowWood => new Color(0.55f, 0.5f, 0.4f),",
			"VoxelType.WillowLeaves => new Color(0.6f, 0.8f, 0.3f),",
			"VoxelType.MagicWood => new Color(0.6f, 0.4f, 0.9f),",
			"VoxelType.MagicLeaves => new Color(0.4f, 0.9f, 1.0f),",
			"VoxelType.DeadWood => new Color(0.3f, 0.25f, 0.2f),",
			"VoxelType.DeadLeaves => new Color(0.4f, 0.35f, 0.25f),",
			"VoxelType.Snow => new Color(1.0f, 1.0f, 1.0f),",
			"VoxelType.DiamondOre => new Color(0.6f, 0.9f, 0.9f),",      // Cyan diamond ore
			"VoxelType.CopperOre => new Color(0.8f, 0.5f, 0.3f),",       // Copper ore
			"VoxelType.CopperBlock => new Color(0.9f, 0.6f, 0.4f),",     // Copper block
			"VoxelType.Bricks => new Color(0.7f, 0.3f, 0.2f),",          // Red bricks
			"VoxelType.Glass => new Color(0.9f, 0.9f, 1.0f, 0.3f),",     // Glass
			"VoxelType.GlassClear => new Color(0.95f, 0.95f, 1.0f, 0.1f),", // Clear glass
			"VoxelType.Lava => new Color(1.0f, 0.3f, 0.0f),",            // Orange lava
			"VoxelType.IceShard => new Color(0.8f, 0.9f, 1.0f),",        // Light blue ice
			"VoxelType.Cactus => new Color(0.3f, 0.6f, 0.3f),",          // Green cactus
			"VoxelType.Pumpkin => new Color(1.0f, 0.6f, 0.2f),",         // Orange pumpkin
			"VoxelType.TNT => new Color(0.8f, 0.2f, 0.2f),",             // Red TNT
			"VoxelType.Ladder => new Color(0.6f, 0.4f, 0.2f),",          // Brown ladder
			"VoxelType.Door => new Color(0.6f, 0.4f, 0.2f),",            // Brown door
			"VoxelType.Fence => new Color(0.6f, 0.4f, 0.2f),",           // Brown fence
			"VoxelType.Torch => new Color(1.0f, 0.8f, 0.4f),",           // Yellow torch
			"VoxelType.Bookshelf => new Color(0.6f, 0.4f, 0.2f),",       // Brown bookshelf
			"VoxelType.Bed => new Color(0.8f, 0.2f, 0.2f),",             // Red bed
			"VoxelType.Button => new Color(0.5f, 0.5f, 0.5f),",          // Gray button
			"VoxelType.Lever => new Color(0.5f, 0.5f, 0.5f),",           // Gray lever
			"VoxelType.Sandstone => new Color(0.95f, 0.85f, 0.6f),",     // Tan sandstone
			"VoxelType.SmoothStone => new Color(0.6f, 0.6f, 0.6f),",     // Smooth gray
			"VoxelType.MossyCobblestone => new Color(0.4f, 0.6f, 0.4f),", // Mossy gray
			"VoxelType.CrystalBlue => new Color(0.3f, 0.5f, 1.0f),",     // Blue crystal
			"VoxelType.CrystalGreen => new Color(0.3f, 1.0f, 0.3f),",    // Green crystal
			"VoxelType.CrystalRed => new Color(1.0f, 0.3f, 0.3f),",      // Red crystal
			"VoxelType.CrystalPurple => new Color(0.8f, 0.3f, 1.0f),",   // Purple crystal
			"VoxelType.CrystalGold => new Color(1.0f, 0.8f, 0.2f),",     // Gold crystal
			"VoxelType.DesertFlower => new Color(0.9f, 0.7f, 0.5f),",    // Desert flower
			"VoxelType.DesertFlowerOrange => new Color(1.0f, 0.6f, 0.2f),", // Orange desert flower
			"VoxelType.DesertFlowerRed => new Color(0.9f, 0.3f, 0.2f),", // Red desert flower
			"VoxelType.DesertFlowerYellow => new Color(1.0f, 0.9f, 0.3f),", // Yellow desert flower
			"VoxelType.DesertBush => new Color(0.6f, 0.5f, 0.3f),",      // Brown desert bush
			"VoxelType.FlowerBlue => new Color(0.3f, 0.5f, 1.0f),",      // Blue flower
			"VoxelType.Bush => new Color(0.3f, 0.6f, 0.3f),",            // Green bush
			"VoxelType.DeadBush => new Color(0.5f, 0.4f, 0.3f),",        // Brown dead bush
			"VoxelType.Lilypad => new Color(0.4f, 0.7f, 0.4f),",         // Green lilypad
			"VoxelType.Vine => new Color(0.3f, 0.6f, 0.3f),",            // Green vine
			"VoxelType.MossPatch => new Color(0.4f, 0.7f, 0.3f),",       // Green moss
			"VoxelType.OakLeaves => new Color(0.3f, 0.7f, 0.3f),",       // Oak leaves
			"VoxelType.PalmLeaves => new Color(0.4f, 0.8f, 0.3f),",      // Palm leaves
			"VoxelType.PalmWood => new Color(0.7f, 0.5f, 0.3f),",        // Palm wood
			"VoxelType.SpruceLeaves => new Color(0.2f, 0.5f, 0.3f),",    // Dark spruce leaves
			"VoxelType.SpruceLog => new Color(0.5f, 0.3f, 0.2f),",       // Spruce log
			"VoxelType.JungleLeaves => new Color(0.3f, 0.8f, 0.3f),",    // Jungle leaves
			"VoxelType.MossyLog => new Color(0.5f, 0.5f, 0.3f),",        // Mossy log
			"VoxelType.Strawberry => new Color(0.9f, 0.2f, 0.2f),",      // Red strawberry
			"VoxelType.LavaFlow1 => new Color(1.0f, 0.3f, 0.0f),",       // Lava animation
			"VoxelType.LavaFlow2 => new Color(1.0f, 0.4f, 0.0f),",       // Lava animation
			"VoxelType.LavaFlow3 => new Color(1.0f, 0.5f, 0.1f),",       // Lava animation
			"VoxelType.WaterFlow1 => new Color(0.2f, 0.4f, 0.8f, 0.7f),", // Water animation
			"VoxelType.WaterFlow2 => new Color(0.2f, 0.4f, 0.8f, 0.7f),", // Water animation
			"VoxelType.WaterFlow3 => new Color(0.2f, 0.4f, 0.8f, 0.7f),", // Water animation
			"VoxelType.WaterFlow4 => new Color(0.2f, 0.4f, 0.8f, 0.7f),", // Water animation
			"VoxelType.WaterFlow5 => new Color(0.2f, 0.4f, 0.8f, 0.7f),", // Water animation
			"VoxelType.WaterFlow6 => new Color(0.2f, 0.4f, 0.8f, 0.7f),", // Water animation
			"VoxelType.WaterFlow7 => new Color(0.2f, 0.4f, 0.8f, 0.7f),", // Water animation
			"VoxelType.Rail => new Color(0.5f, 0.5f, 0.5f),",            // Gray rail
			"VoxelType.RailBendNE => new Color(0.5f, 0.5f, 0.5f),",      // Gray rail
			"VoxelType.RailBendNW => new Color(0.5f, 0.5f, 0.5f),",      // Gray rail
			"VoxelType.RailBendSE => new Color(0.5f, 0.5f, 0.5f),",      // Gray rail
			"VoxelType.RailBendSW => new Color(0.5f, 0.5f, 0.5f),",      // Gray rail
			"VoxelType.PoweredRail => new Color(0.8f, 0.6f, 0.3f),",     // Gold powered rail
			"VoxelType.PoweredRailOn => new Color(1.0f, 0.3f, 0.2f),",   // Lit powered rail
			"VoxelType.CopperWire => new Color(0.9f, 0.5f, 0.3f),",      // Copper wire (inactive)
			"VoxelType.CopperLamp => new Color(0.8f, 0.5f, 0.3f),",      // Copper lamp
			"VoxelType.CopperLampLit => new Color(1.0f, 0.8f, 0.4f),",   // Lit copper lamp
			"VoxelType.CopperWireLit => new Color(1.0f, 0.9f, 0.2f),",   // Copper wire lit (glowing yellow)
			"VoxelType.CopperTorch => new Color(1.0f, 0.7f, 0.4f),",     // Copper torch
			"VoxelType.SignWall => new Color(0.6f, 0.4f, 0.2f),",        // Wood sign
			"VoxelType.SignStanding => new Color(0.6f, 0.4f, 0.2f),",    // Wood sign
			"VoxelType.Table => new Color(0.6f, 0.4f, 0.2f),",           // Wood table
			"VoxelType.Chair => new Color(0.6f, 0.4f, 0.2f),",           // Wood chair
			"VoxelType.StairsOak => new Color(0.6f, 0.4f, 0.2f),",       // Oak stairs
			"VoxelType.IronScaffolding => new Color(0.7f, 0.7f, 0.7f),", // Iron scaffolding
			"VoxelType.SurfRamp => new Color(0.5f, 0.8f, 1.0f),",        // Blue surf ramp
			"VoxelType.VolcanicRock => new Color(0.3f, 0.2f, 0.2f),",    // Dark volcanic rock
			"VoxelType.GrandExchange => new Color(0.8f, 0.7f, 0.4f),",   // Grand exchange
			"VoxelType.WoolWhite => new Color(1.0f, 1.0f, 1.0f),",       // White wool
			"VoxelType.WoolGray => new Color(0.6f, 0.6f, 0.6f),",        // Gray wool
			"VoxelType.WoolBlack => new Color(0.2f, 0.2f, 0.2f),",       // Black wool
			"VoxelType.WoolBrown => new Color(0.5f, 0.3f, 0.2f),",       // Brown wool
			"VoxelType.WoolRed => new Color(0.9f, 0.2f, 0.2f),",         // Red wool
			"VoxelType.WoolOrange => new Color(1.0f, 0.6f, 0.2f),",      // Orange wool
			"VoxelType.WoolYellow => new Color(1.0f, 1.0f, 0.3f),",      // Yellow wool
			"VoxelType.WoolLime => new Color(0.6f, 1.0f, 0.3f),",        // Lime wool
			"VoxelType.WoolGreen => new Color(0.3f, 0.8f, 0.3f),",       // Green wool
			"VoxelType.WoolCyan => new Color(0.3f, 0.9f, 0.9f),",        // Cyan wool
			"VoxelType.WoolBlue => new Color(0.3f, 0.4f, 1.0f),",        // Blue wool
			"VoxelType.WoolPurple => new Color(0.6f, 0.3f, 1.0f),",      // Purple wool
			"VoxelType.WoolMagenta => new Color(1.0f, 0.3f, 0.9f),",     // Magenta wool
			"VoxelType.WoolPink => new Color(1.0f, 0.7f, 0.8f),",        // Pink wool
			"VoxelType.WarpPortalA => new Color(0.7f, 0.4f, 1.0f),",     // Purple warp portal
			"VoxelType.WarpPortalB => new Color(1.0f, 0.6f, 0.3f),",     // Orange warp portal
			"VoxelType.BedUnique => new Color(0.8f, 0.3f, 0.3f),",       // Unique bed
			"VoxelType.BookshelfUnique => new Color(0.7f, 0.5f, 0.3f),", // Unique bookshelf
			"VoxelType.ChairUnique => new Color(0.7f, 0.5f, 0.3f),",     // Unique chair
			"VoxelType.DoorUnique => new Color(0.7f, 0.5f, 0.3f),",      // Unique door
			"VoxelType.FenceUnique => new Color(0.7f, 0.5f, 0.3f),",     // Unique fence
			"VoxelType.LadderUnique => new Color(0.7f, 0.5f, 0.3f),",    // Unique ladder
			"VoxelType.MossyCobbleUnique => new Color(0.5f, 0.7f, 0.5f),", // Unique mossy cobble
			"VoxelType.TableUnique => new Color(0.7f, 0.5f, 0.3f),",     // Unique table
			"VoxelType.TorchUnique => new Color(1.0f, 0.9f, 0.5f),",     // Unique torch
			"VoxelType.EggAnt => new Color(0.9f, 0.9f, 0.85f),",         // Egg colors
			"VoxelType.EggBear => new Color(0.9f, 0.9f, 0.85f),",
			"VoxelType.EggBeaver => new Color(0.9f, 0.9f, 0.85f),",
			"VoxelType.EggBee => new Color(0.9f, 0.9f, 0.85f),",
			"VoxelType.EggBird => new Color(0.9f, 0.9f, 0.85f),",
			"VoxelType.EggBunny => new Color(0.9f, 0.9f, 0.85f),",
			"VoxelType.EggCat => new Color(0.9f, 0.9f, 0.85f),",
			"VoxelType.EggChipmunk => new Color(0.9f, 0.9f, 0.85f),",
			"VoxelType.EggDingo => new Color(0.9f, 0.9f, 0.85f),",
			"VoxelType.EggDragon => new Color(0.9f, 0.9f, 0.85f),",
			"VoxelType.EggFish => new Color(0.9f, 0.9f, 0.85f),",
			"VoxelType.EggGiantBee => new Color(0.9f, 0.9f, 0.85f),",
			"VoxelType.EggGoat => new Color(0.9f, 0.9f, 0.85f),",
			"VoxelType.EggHorse => new Color(0.9f, 0.9f, 0.85f),",
			"VoxelType.EggKangaroo => new Color(0.9f, 0.9f, 0.85f),",
			"VoxelType.EggPig => new Color(0.9f, 0.9f, 0.85f),",
			"VoxelType.EggShark => new Color(0.9f, 0.9f, 0.85f),",
			"VoxelType.EggSheep => new Color(0.9f, 0.9f, 0.85f),",
			"VoxelType.EggSnowman => new Color(0.9f, 0.9f, 0.85f),",
			"oxelType.EggSquirrel => new Color(0.9f, 0.9f, 0.85f),",
			"VoxelType.Trigger => new Color(0.9f, 0.3f, 0.1f),",         // Orange/red trigger block
			"VoxelType.Computer => new Color(0.2f, 0.2f, 0.2f),",        // Dark gray computer block
			"VoxelType.Placeholder3 => new Color(1.0f, 0.0f, 1.0f),",
			"VoxelType.Placeholder4 => new Color(1.0f, 0.0f, 1.0f),",
			"VoxelType.Placeholder5 => new Color(1.0f, 0.0f, 1.0f),",
			"VoxelType.Placeholder6 => new Color(1.0f, 0.0f, 1.0f),",
			"VoxelType.Placeholder7 => new Color(1.0f, 0.0f, 1.0f),",
			"VoxelType.Placeholder8 => new Color(1.0f, 0.0f, 1.0f),",
			"VoxelType.Placeholder9 => new Color(1.0f, 0.0f, 1.0f),",
]

output = []

for index, line in enumerate(lines, start=1):
    # Extract the voxel name after VoxelType.
    match = re.search(r'VoxelType\.(\w+)', line)
    if not match:
        continue

    voxel_name = match.group(1)

    # convert CamelCase to lowercase_with_underscores
    snake = re.sub(r'(?<!^)([A-Z])', r'_\1', voxel_name).lower()

    # create filename
    filename = f"{snake}.png"

    # build final line
    output_line = f'{index}: ("{filename}", None, None),'
    output.append(output_line)

# print result
for line in output:
    print(line)
