Page 1 of 1

Error Entity ID

Posted: Tue Oct 22, 2013 2:04 pm
by Dysoch
i get this error
Error.png
Error.png (24.92 KiB) Viewed 2599 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 286 times

Re: Error Entity ID

Posted: Tue Oct 22, 2013 3:54 pm
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: })

Re: Error Entity ID

Posted: Tue Oct 22, 2013 4:33 pm
by Dysoch
thx,

its working now. ill have a working mod in 24 hours