So then I just need to add that to bioluminescent furnaces? Hmm, but that still doesn't differentiate between burner and electric. Would the order in which Tenebris and Voidcraft load make a difference, ie the prismite smelting recipe gets added after the bioluminescent entities are generated? Hmmm...I'll keep poking at it.
If I've got your ear, Voidcraft makes some assumptions about what folders icons are kept in that other mods don't respect. I've gotten around this by editing the recipe after it comes back from your code, but it'd be a lot easier with a few changes to your code. As it is currently written, if the icon isn't in the graphics/icons
directory for items, or graphics/icons/fluids
directory for fluids, I have to edit the output. It'd be helpful if I could pass in the full path to an image.
In prototypes/voidcrafting.lua
, in the voidcraft_recipe
function, around line 136, it uses xinfo.img
as its first choice over base_item
when naming the recipe id. It should only use the img
string for the image and not also use it in the recipe name. In my case it's a problem because I can't pass in something like "items/neodymium-ore"
because then Factorio gets handed an invalid recipe name with /
in it.