Getting error on startup. "Error in assignID"

Place to get help with not working mods / modding interface.
Post Reply
Oke_oku
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon Jun 02, 2014 5:04 am
Contact:

Getting error on startup. "Error in assignID"

Post by Oke_oku »

Im making a mod where it adds boxes that can be transported on belts,

At the moment im getting a error on startup saying 'Error in assignID, 'woodenBox' was not recognized id of entity'.
I think the problem is that i haven't made a entity for the box, but i cant find where the entity data is for the copper item to copy off.

Thanks in advance for the help! :D

User avatar
FreeER
Smart Inserter
Smart Inserter
Posts: 1266
Joined: Mon Feb 18, 2013 4:26 am
Contact:

Re: Getting error on startup. "Error in assignID"

Post by FreeER »

Oke_oku wrote:i haven't made a entity for the box
That would be the logical reason for why Factorio isn't finding one :)
Oke_oku wrote:where the entity data is for the copper item
data/base/prototypes/item/demo-item.lua for the copper-ore item (used in recipes), the copper-ore resource entity (that you mine) will be in data/base/prototypes/entity/demo-resources.lua. However, if you are making a box to store things in you should really look in data/base/prototypes/entity/demo-entities.lua for "wooden-chest" or in the entities.lua file at the other 'container' type entities (different types of entities have different requirements, like inventory_size and autoplace definitions).
<I'm really not active any more so these may not be up to date>
~FreeER=Factorio Modding
- Factorio Wiki
- My Factorio Modding Guide
- Wiki Modding Guide
Feel free to pm me :)
Or drop into #factorio on irc.esper.net

Post Reply

Return to “Modding help”