Animals

by plexpt

The animal mod has arrived! This mod adds the Chicken, sheep, duck, cow. animals lay eggs, offering a fresh resource for your automation. Start farming today! Other mod authors are also welcome to Depend on this mod and expand more content.

Content
4 months ago
2.0 - 2.1
5.17K

g Error on startup

4 months ago
(updated 4 months ago)

I am playing with only the default space age mods on 2.1, when I try to load only this mod in addition, I get the error:

Failed to load mods: Error while loading entity prototype "chicken" (unit): Product prototype is expected to "item" but nil was given in property tree at ROOT.unit.chicken.loot[0]
Modifications: Animals

Thank you!

13 days ago
(updated 12 days ago)

replaced data.lua lines 75-81 with this:

    animal.loot = {
        {
            type = "item",
            amount_max = 1,
            amount_min = 1,
            name = name .. "-loot",
        }
    }

which is my best guess after looking up https://lua-api.factorio.com/latest/prototypes/EntityWithHealthPrototype.html#loot

now, Factorio at least start again...

EDIT: but see this, too: https://mods.factorio.com/mod/fruit/discussion/6ae7e144c0fb2fb21878aa0e they overwrite the loot properties, which have to be updated to the new 2.1 syntax as well...

New response