Page 1 of 1

Path does not match any mod

Posted: Mon Jun 05, 2017 8:33 pm
by NastyGamer
when I start Factorio, I get the error "Path __Chemfactory__/graphics/icons/reaction-chamber.png does not match any mod, however the patch is correct.

reaction-chamber.lua:

Code: Select all

data:extend({
{
    type = "assembling-machine",
    name = "reaction chamber",
    icon = "__chemfactory__/graphics/icons/reaction-chamber.png",
    flags = {"placeable-neutral","placeable-player", "player-creation"},
    minable = {hardness = 0.2, mining_time = 0.5, result = "reaction chamber"},
    fast_replaceable_group = "electrolyser",
    corpse = "big-remnants",
    collision_box = {{-1.4, -1.4}, {1.4, 1.4}},
    selection_box = {{-1.5, -1.5}, {1.5, 1.5}},
    max_health = 275,
    crafting_categories = {"oil-processing"},
    allowed_effects = {"consumption", "speed", "productivity", "pollution"},
    module_specification =
    {
      module_slots = 5,
    },
    crafting_speed = 2,
    ingredient_count = 6,
    energy_usage = "300kW",
    energy_source =
    {
      type = "electric",
      usage_priority = "secondary-input",
      emissions = 0.01 / 5
    },
    animation =
    {
      north =
      {
        filename = "__Chemfactory__/graphics/icons/reaction-chamber.png",
        width = 108,
        height = 130,
        frame_count = 1,
        shift = {0, -0.28125}
      },
      west =
      {
        filename = "__Chemfactory__/graphics/icons/reaction-chamber.png",
        width = 112,
        height = 120,
        frame_count = 1,
        shift = {0, -0.21875}
      },
      south =
      {
        filename = "__Chemfactory__/graphics/icons/reaction-chamber.png",
        width = 108,
        height = 130,
        frame_count = 1,
        shift = {0, -0.28125}
      },
      east =
      {
        filename = "__Chemfactory__/graphics/icons/reaction-chamber.png",
        width = 112,
        height = 120,
        frame_count = 1,
        shift = {0, -0.21875}
      }
    },
    working_sound =
    {
      sound = {
        {
          filename = "__base__/sound/chemical-plant.ogg",
          volume = 0.8
        }
      },
      idle_sound = { filename = "__base__/sound/idle1.ogg", volume = 0.6 },
      apparent_volume = 1.5,
    },
  }
  })
item.lua:

Code: Select all

data:extend({
{
type = "item",
name = "reaction chamber",
icon = "__Chemfactory__/graphics/icons/reaction-chamber.png",
flags = {"goes-to-quickbar"},
subgroup = "ammo",
place_result = "reaction chamber", 
stack_size = 10 
}
})

Re: Path does not match any mod

Posted: Mon Jun 05, 2017 8:36 pm
by Klonan
The path is case-sensitive

Re: Path does not match any mod

Posted: Mon Jun 05, 2017 8:37 pm
by NastyGamer
Klonan wrote:The path is case-sensitive
So that means what?
(Sorry I'm completely new to modding) :D

Re: Path does not match any mod

Posted: Mon Jun 05, 2017 9:53 pm
by Ranakastrasz
capitalization must match

Re: Path does not match any mod

Posted: Mon Jun 05, 2017 10:11 pm
by Pandemoneus
If your mod is named chemfactory then the path has to start with __chemfactory__ too, and not __Chemfactory__.

Re: Path does not match any mod

Posted: Tue Jun 06, 2017 8:39 am
by NastyGamer
Pandemoneus wrote:If your mod is named chemfactory then the path has to start with __chemfactory__ too, and not __Chemfactory__.
got it thanks