Entity Prototype error

Place to get help with not working mods / modding interface.
kingsleyevergreen
Manual Inserter
Manual Inserter
Posts: 2
Joined: Mon Aug 29, 2016 9:18 pm
Contact:

Entity Prototype error

Post by kingsleyevergreen »

Hello, I have the following error upon startup of factorio durring the building of prototypes while using my mod (really more of a test) and need a bit of help.

Error while running setup for entity prototype
"advanced-chemical-plant" (assembling-machine): No order string
defined and there is no item to place it.
Modifications: Advanced_Chemical_Plant

Any help would be appreciated.
Supercheese
Filter Inserter
Filter Inserter
Posts: 841
Joined: Mon Sep 14, 2015 7:40 am
Contact:

Re: Entity Prototype error

Post by Supercheese »

You need to make an "advanced-chemical-plant" item and make sure that it places the entity named "advanced-chemical-plant", just as the error text describes; every entity you want the player to be able to place needs an associated item.
devilwarriors
Filter Inserter
Filter Inserter
Posts: 311
Joined: Sat Jan 09, 2016 1:11 am
Contact:

Re: Entity Prototype error

Post by devilwarriors »

Code: Select all

data:extend(
{
  {
    type = "item",
    name = "advanced-chemical-plant",
    icon = "__base__/graphics/icons/chemical-plant.png",
    flags = {"goes-to-quickbar"},
    subgroup = "production-machine",
    order = "e[advanced-chemical-plant]",
    place_result = "advanced-chemical-plant",
    stack_size = 10
  }
}
)

kingsleyevergreen
Manual Inserter
Manual Inserter
Posts: 2
Joined: Mon Aug 29, 2016 9:18 pm
Contact:

Re: Entity Prototype error

Post by kingsleyevergreen »

Thanks! I had not entirely changed the item.lua. This solved the problem.
Post Reply

Return to “Modding help”