Error Entity ID

Place to get help with not working mods / modding interface.
Post Reply
User avatar
Dysoch
Filter Inserter
Filter Inserter
Posts: 445
Joined: Fri Oct 18, 2013 2:27 pm
Contact:

Error Entity ID

Post by Dysoch »

i get this error
Error.png
Error.png (24.92 KiB) Viewed 2337 times
i am trying to make an base mod extension (extending the base files to have more tiers, more drills, boilers, steam engines, etc.)

i studied the base folder, and other mods. i think i have everything. but it shows this error.

attached is my mod for checking my files
DyTech.rar
(2.43 MiB) Downloaded 266 times
Creator of:
- DyTech
- DyWorld
- DyWorld-Dynamics
- DyWorld-Dynamics 2
Active since Factorio 0.6

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

Re: Error Entity ID

Post by FreeER »

In entity.lua you've given data.extend a table when it expects a nested table, so Factorio fails to load the basic-mining-drill-mk2 entity (thus the error saying it's not a recognized entity)

Code: Select all

data:extend(
should be

Code: Select all

data:extend({
obviously with a matching curly brace at the end as well like so: })
<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

User avatar
Dysoch
Filter Inserter
Filter Inserter
Posts: 445
Joined: Fri Oct 18, 2013 2:27 pm
Contact:

Re: Error Entity ID

Post by Dysoch »

thx,

its working now. ill have a working mod in 24 hours
Creator of:
- DyTech
- DyWorld
- DyWorld-Dynamics
- DyWorld-Dynamics 2
Active since Factorio 0.6

Post Reply

Return to “Modding help”