Energy Category

by MrLumme

Adds an energy tab to the crafting menu.

Utilities
a day ago
2.1
23
Power
Owner:
MrLumme
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
a day ago
Latest Version:
1.0.0 (a day ago)
Factorio version:
2.1
Downloaded by:
23 users

Energy Category

Adds an Energy group to the crafting interface! This is split off from my GasHeatStuff mod and supports a variety of other mods.
The mod orders items in energy logistics subgroups and energy conversion subgroups. For energy conversion items, the output is what is used to categorize them. So, for example, turbines are under electricity, not boiling, as they convert something into electrical power, whereas boiling uses some energy source to boil water into steam.

For mod devs

This essentially just adds a new item group (id: "energy") and a bunch of subgroups that you can add your own stuff to if you want. To do this you add something like this:

if mods["EnergyCategory"] then
    data.raw.item["item_id_you_want_to_add"].subgroup = "energy-heating"
    data.raw.item["item_id_you_want_to_add"].order = "a-b"
end

The subgroups added are:

  • energy-boiling
  • energy-electricity-logistics
  • energy-electricity-storage (Not used unless Accumulator-V2, Space Exploration or snouz-big-accumulator is installed)
  • energy-electricity
  • energy-heating-logistics
  • energy-heating
  • energy-fusion
  • energy-beaming (Not used unless Space Exploration is installed)
  • energy (Factorio's own subgroup; functions as a list for unsorted items)

The 'not used' groups are still present but aren't shown, as no items are added to them. So if you want to use them, you just add your item to them, and they should just work. If you use "energy-electricity-storage", please consider adding the accumulator to it too. It is not in there by default, as it looks silly to have a group with just one item in it :p

Like the mod? Just wanna talk?

Support me on ko-fi! Hit me up on discord!