Mod Items not Showing in Production or Consumption Graph

Place to get help with not working mods / modding interface.
erickeeper
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon Jul 20, 2020 7:18 pm
Contact:

Mod Items not Showing in Production or Consumption Graph

Post by erickeeper »

I made a simple mod with recipes for new items and a corresponding recipe to destroy them. I was hoping to measure my production and destruction of these new items via the graphs, but they don't show up and I can't figure out why.

I tried adding hide_from_stats = false but that didn't help.

Code: Select all

    
        {
        type = 'recipe',
        icon = '__black-box__/black.png',
        icon_size = 64,
    	name = 'level_up_0-1',
		energy_required = 7.7,
		result ='level_up_0-1',
		result_count = 1,
		category = 'advanced-crafting',
		ingredients = {
			{'piercing-rounds-magazine', 1},
			{'piercing-shotgun-shell', 2},
		},
	},
    {
        type = 'recipe',
        icon = '__black-box__/black.png',
        icon_size = 64,
        result = 'iron-ore',
        result_count = 0,
    	name = 'level_up_0-1-consumer',
		energy_required = 1,
		category = 'advanced-crafting',
		ingredients = {
			{'level_up_0-1', 1},
		},
	},
If there are better ways for a destruction recipe, I'd be happy to hear those too.
Post Reply

Return to “Modding help”