Page 1 of 1

Mod Items not Showing in Production or Consumption Graph

Posted: Sat Oct 22, 2022 11:49 am
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.