Food Industry (2.0 beta)

by Oceanel

[Warning (!): Mod is still under development, and is not intended for a long game] This mod adds hunger and ways to produce foods and drinks. From grown foods can be obtained effect capsules.

Content
3 years ago
0.16 - 1.1
1.25K
Fluids Manufacturing

g appears to be incompatible with The Ruins

2 years ago

The mod The Ruins Mod (1.1.6) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event AbandonedRuins::on_tick (ID 0)
The mod Food Industry 2 (beta) (1.8.151) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event FoodIndustry::script_raised_built (ID 79)
FoodIndustry/calculate.lua:395: attempt to index field 'created_entity' (a nil value)
stack traceback:
FoodIndustry/calculate.lua:395: in function 'handler'
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>
stack traceback:
[C]: in function 'create_entity'
AbandonedRuins/spawning.lua:45: in function 'spawn_entity'
AbandonedRuins/spawning.lua:94: in function 'spawn_entities'
AbandonedRuins/spawning.lua:172: in function 'spawn_ruin'
AbandonedRuins/spawning.lua:184: in function 'spawn_random_ruin'
AbandonedRuins/control.lua:58: in function <AbandonedRuins/control.lua:53>

2 years ago

the same error, for another mod "BurnerOffshorePumpUpdate"

The mod Burner Offshore Pump for Factorio 1.1 (1.1.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event BurnerOffshorePumpUpdate::on_built_entity (ID 6)
The mod Food Industry 2 (beta) (1.8.151) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event FoodIndustry::script_raised_built (ID 79)
FoodIndustry/calculate.lua:395: attempt to index field 'created_entity' (a nil value)
stack traceback:
FoodIndustry/calculate.lua:395: in function 'handler'
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>
stack traceback:
[C]: in function 'create_entity'
BurnerOffshorePumpUpdate/control.lua:17: in function <BurnerOffshorePumpUpdate/control.lua:8>

2 years ago
(updated 2 years ago)

Terraformer from BioIndustry has same problem. And Repair_Turret. And many other objects, I guess. I counted at least four bugreports here.

Solution: just add the standard if not event.created_entity then return end to the begining of function on_built_entity from the file FoodIndustry/calculate.lua.

1 year, 11 months ago
(updated 1 year, 11 months ago)

Yep same for me, its both mods aren't working together.
any solution?
I bet it has something to do with the spawn itself...
Cause both mods are spawning stuff in... SO my bet is there is something not working together..

New response