Page 1 of 1

[15.10] (modded) issue with module_specification

Posted: Sun May 14, 2017 5:02 am
by CmdrKeen
prototypes (at least mining drills) with module_specification.module_slots = 0 leads to no window showing when you click on the entity when in range.

the code format is:

Code: Select all

	module_specification = 
	{
		module_slots = 0
	},
a copy with the mod in question is provided to help testing.

Re: [15.10] (modded) issue with module_specification

Posted: Sun May 14, 2017 3:55 pm
by Rseding91
That's because you've made it an electric mining drill with no module slots - there's nothing you can do in the GUI so the game doesn't allow you to open it.

Just like how you can't open a container that has an inventory size of 0.