[Solved] Remove module slots from crafting machine

Place to get help with not working mods / modding interface.
User avatar
Impatient
Filter Inserter
Filter Inserter
Posts: 884
Joined: Sun Mar 20, 2016 2:51 am
Contact:

[Solved] Remove module slots from crafting machine

Post by Impatient »

Hi,

is there a way to remove the module slots from a crafting machine?

Thanks!
Last edited by Impatient on Thu Feb 01, 2018 4:05 pm, edited 1 time in total.
User avatar
Impatient
Filter Inserter
Filter Inserter
Posts: 884
Joined: Sun Mar 20, 2016 2:51 am
Contact:

Re: Remove module slots from crafting machine

Post by Impatient »

I think I can answer my own question.

The prototype definition for eg an electric furnace has the property "module_specification".

Code: Select all

    module_specification =
    {
      module_slots = 2,
      module_info_icon_shift = {0, 0.8}
    }
without testing, I guess, setting

Code: Select all

module_slots = 0,
or removing the property "module_specification" altogether removes any module slots from a crafting machine.
Post Reply

Return to “Modding help”