GUI for object

Place to get help with not working mods / modding interface.
Parallel
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Oct 18, 2016 2:39 pm
Contact:

GUI for object

Post by Parallel »

Hello everyone!
Itrying to make lamp, that can work from fuel.

Code: Select all

energy_source =
			{
			type = "burner",
			effectivity = 1,
			emissions = 0.02,
			fuel_inventory_size = 1,
			smoke =
				{
					{
					  name = "smoke",
					  deviation = {0.1, 0.1},
					  frequency = 5,
					  position = {0.0, -0.8},
					  starting_vertical_speed = 0.08,
					  starting_frame_deviation = 60
					}
				}
			},
But in game, when I try to add fuel to it i see this
Image

How can I add burner's interface to it, like biler's interface?
Image
Last edited by daniel34 on Tue Oct 18, 2016 3:26 pm, edited 1 time in total.
Reason: fixed image links
User avatar
aubergine18
Smart Inserter
Smart Inserter
Posts: 1264
Joined: Fri Jul 22, 2016 8:51 pm
Contact:

Re: GUI for object

Post by aubergine18 »

Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.
Parallel
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Oct 18, 2016 2:39 pm
Contact:

Re: GUI for object

Post by Parallel »

Thx. Interesting solution, but there are 3 entities of diferent type and unlimited fuel. I need to get access to object's GUI, so i coud create my own interface. so in future i coud make objects of not standard classes
Rseding91
Factorio Staff
Factorio Staff
Posts: 15997
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: GUI for object

Post by Rseding91 »

Parallel wrote:
Thx. Interesting solution, but there are 3 entities of diferent type and unlimited fuel. I need to get access to object's GUI, so i coud create my own interface. so in future i coud make objects of not standard classes
You can't. We don't support defining custom GUIs for entities.
If you want to get ahold of me I'm almost always on Discord.
Supercheese
Filter Inserter
Filter Inserter
Posts: 841
Joined: Mon Sep 14, 2015 7:40 am
Contact:

Re: GUI for object

Post by Supercheese »

Rseding91 wrote:You can't. We don't support defining custom GUIs for entities.
To follow up, while this is true, there are still workarounds available, as evidenced in the Torch mod et al.
Post Reply

Return to “Modding help”