[0.9.4] Error in assignID, 'enemies' was not recognized id o
Posted: Fri Mar 21, 2014 2:20 pm
by cube
Continuing from here: https://forums.factorio.com/forum/vie ... 324#p21317
It looks like the update wasn't fully applied. Did you manually change any files in the base directory before updating?
You can try to replace the file base/prototypes/items/demo-item-groups.lua with the one I'm posting, but probably there will be more incomplete files.
The most reliable way is of cause to download and install the game again.
If it really is because of the incomplete update, then this kind of problems shouldn't happen any more when updating from 0.9.4 further, because of some checks we added.
It looks like the update wasn't fully applied. Did you manually change any files in the base directory before updating?
You can try to replace the file base/prototypes/items/demo-item-groups.lua with the one I'm posting, but probably there will be more incomplete files.
The most reliable way is of cause to download and install the game again.
If it really is because of the incomplete update, then this kind of problems shouldn't happen any more when updating from 0.9.4 further, because of some checks we added.
the file
Code: Select all
data:extend(
{
{
type = "item-group",
name = "other",
icon = "__core__/graphics/questionmark.png",
order = "z",
inventory_order = "z"
},
{
type = "item-subgroup",
name = "other",
group = "other",
order = "z",
},
{
type = "item-group",
name = "environment",
icon = "__core__/graphics/neutral-force-icon.png",
inventory_order = "a",
order = "a"
},
{
type = "item-subgroup",
name = "creatures",
group = "environment",
order = "a",
},
{
type = "item-subgroup",
name = "trees",
group = "environment",
order = "aa",
},
{
type = "item-subgroup",
name = "grass",
group = "environment",
order = "b",
},
{
type = "item-subgroup",
name = "corpses",
group = "environment",
order = "c",
},
{
type = "item-subgroup",
name = "remnants",
group = "environment",
order = "d",
},
{
type = "item-subgroup",
name = "wrecks",
group = "environment",
order = "e",
},
{
type = "item-group",
name = "enemies",
icon = "__core__/graphics/enemy-force-icon.png",
inventory_order = "a",
order = "aa"
},
{
type = "item-subgroup",
name = "enemies",
group = "enemies",
order = "a",
},
{
type = "item-group",
name = "logistics",
order = "aaa",
inventory_order = "c",
icon = "__base__/graphics/technology/logistics.png"
},
{
type = "item-subgroup",
name = "storage",
group = "logistics",
order = "a",
},
{
type = "item-subgroup",
name = "belt",
group = "logistics",
order = "b",
},
{
type = "item-subgroup",
name = "inserter",
group = "logistics",
order = "c",
},
{
type = "item-subgroup",
name = "energy-pipe-distribution",
group = "logistics",
order = "d"
},
{
type = "item-subgroup",
name = "transport",
group = "logistics",
order = "e",
},
{
type = "item-subgroup",
name = "logistic-network",
group = "logistics",
order = "f",
},
{
type = "item-group",
name = "production",
order = "b",
inventory_order = "d",
icon = "__base__/graphics/technology/automation.png"
},
{
type = "item-subgroup",
name = "tool",
group = "production",
order = "a",
},
{
type = "item-subgroup",
name = "energy",
group = "production",
order = "b"
},
{
type = "item-subgroup",
name = "extraction-machine",
group = "production",
order = "c",
},
{
type = "item-subgroup",
name = "smelting-machine",
group = "production",
order = "d",
},
{
type = "item-subgroup",
name = "production-machine",
group = "production",
order = "e",
},
{
type = "item-subgroup",
name = "module",
group = "production",
order = "f",
},
{
type = "item-group",
name = "combat",
order = "d",
inventory_order = "b",
icon = "__base__/graphics/technology/military.png"
},
{
type = "item-subgroup",
name = "gun",
group = "combat",
order = "a"
},
{
type = "item-subgroup",
name = "ammo",
group = "combat",
order = "b"
},
{
type = "item-subgroup",
name = "capsule",
group = "combat",
order = "c"
},
{
type = "item-subgroup",
name = "armor",
group = "combat",
order = "d"
},
{
type = "item-subgroup",
name = "equipment",
group = "combat",
order = "e"
},
{
type = "item-subgroup",
name = "defensive-structure",
group = "combat",
order = "f"
},
{
type = "item-group",
name = "intermediate-products",
order = "c",
inventory_order = "a",
icon = "__base__/graphics/technology/engine.png",
},
{
type = "item-subgroup",
name = "fluid",
group = "intermediate-products",
order = "a"
},
{
type = "item-subgroup",
name = "raw-resource",
group = "intermediate-products",
order = "b"
},
{
type = "item-subgroup",
name = "raw-material",
group = "intermediate-products",
order = "c"
},
{
type = "item-subgroup",
name = "barrel",
group = "intermediate-products",
order = "d"
},
{
type = "item-subgroup",
name = "circuit-network",
group = "intermediate-products",
order = "f"
},
{
type = "item-subgroup",
name = "intermediate-product",
group = "intermediate-products",
order = "e"
},
{
type = "item-subgroup",
name = "science-pack",
group = "intermediate-products",
order = "g"
}
}
)