[15.10] (modded) issue with module_specification

Bugs that are actually features.
CmdrKeen
Long Handed Inserter
Long Handed Inserter
Posts: 98
Joined: Tue Sep 29, 2015 9:03 pm
Contact:

[15.10] (modded) issue with module_specification

Post 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.
Attachments
rare-unlimited-ore_0.0.4.zip
(5.28 KiB) Downloaded 87 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 15984
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [15.10] (modded) issue with module_specification

Post 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.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Not a bug”