Delete assembling machine recipe

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

Delete assembling machine recipe

Post by DaveMcW »

I tried to delete an assembling machine recipe with the existing API, but it does not seem possible.

entity.recipe = nil
Cannot execute command. bad argument #-1 to '__newindex' (string expected, got nil)

entity.recipe = ""
Cannot execute command. Unknown recipe:

Rseding91
Factorio Staff
Factorio Staff
Posts: 13240
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Delete assembling machine recipe

Post by Rseding91 »

Good point. I'll add that option: entity.recipe = nil
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Implemented mod requests”