I'm creating my first mod and I'm working my way towards simply getting my item into the game.
When I start Factorio I get the error:
No loader found for "incinerator".
Can't find anything on this, any idea what I did wrong?
No Loader Found
-
- Inserter
- Posts: 22
- Joined: Tue Oct 06, 2015 2:05 pm
- Contact:
-
- Inserter
- Posts: 22
- Joined: Tue Oct 06, 2015 2:05 pm
- Contact:
Re: No Loader Found
Seems to come from here in entity.lua:
The type property is what is causing the issue.
What is this property and what effect does changing it have?
Code: Select all
data:extend({
{
type = "incinerator",
name = "incinerator",
What is this property and what effect does changing it have?
Re: No Loader Found
You can't make completely custom entities. You can only make variations of existing ones, like a faster furnace/new assembler/etc.
In that type property you set what kind of default entitiy (that they implemented in c++) it is supposed to be. If the incinerator is supposed to smelt ore for example, you'd set it to "furnace"
In that type property you set what kind of default entitiy (that they implemented in c++) it is supposed to be. If the incinerator is supposed to smelt ore for example, you'd set it to "furnace"
-
- Inserter
- Posts: 22
- Joined: Tue Oct 06, 2015 2:05 pm
- Contact:
Re: No Loader Found
Thanks matey, that does make sense looking through existing mod files.
So it becomes a game of working out which base item best represents the effect I want to create and going from there.
So it becomes a game of working out which base item best represents the effect I want to create and going from there.
Re: No Loader Found
Yeah. Sometimes people even spawn additional invisible entities to get the effect they want if there's no default entitiy that can do it. But even that doesn't cover all cases...MegaHamster7 wrote:So it becomes a game of working out which base item best represents the effect I want to create and going from there.