Unkown item name error

Place to get help with not working mods / modding interface.
Post Reply
whitecold
Inserter
Inserter
Posts: 46
Joined: Fri May 19, 2017 6:48 am
Contact:

Unkown item name error

Post by whitecold »

I have a mysterious unkown item name error when I try to create a 'item-request-proxy', I assume I got the syntax of modules somehow wrong, but I can't figure out what

Code: Select all

player.surface.create_entity
{
	name = 'item-request-proxy',
        position = entity.position, 
        force = entity.force, 
        target = entity, 
        modules={{item = "productivity-module", count=2}}
        --modules = module_table
}

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3700
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: Unkown item name error

Post by DaveMcW »

Code: Select all

        modules={{name = "productivity-module", count=2}}

Post Reply

Return to “Modding help”