RecipeItemSorter


You’re going to like this. This change makes the ammunition recipes tab much more organized. For instance, items like machine guns, shotguns, cannons, and rockets are no longer lined up side-by-side in a single row; instead, they are arranged into sub-rows to reduce eye strain. Additionally, nuclear energy components have been placed in a dedicated row (new rows, not new groups). Compatibility with various mods is also supported.

2 months ago
2.0 - 2.1
649

i FTL Ships support

1 year, 2 months ago

Hi, can you add FTL Ships support please?
Funny enough their AAI programmable versions are already in the proper transport tab :D

1 year, 2 months ago

What makes my mod great is that it separates the ammunition (weapon ammo, rockets, and heavy artillery). It puts each on a separate line. It's not funny; AAI used to keep these in the logistics tab and the top tab within the transport tab. I moved the AAI versions to the bottom line in the transport tab. (I haven't played for a while, so I don't know if they fixed it after I left.)

I don't maintain the mod. But the process you mentioned is easy; you can do it yourself. Go to the prototypes section in the mod file.

Open entity.lua with notepad.
Change the subgroup line. Press F5 in the game to see which items are in which subgroup. Then save it in the subgroup section of Notepad wherever you want to place it, and change it.

subgroup = "ftl_transport", line 65.

The entire relevant section:

type = "item-with-entity-data",
name = "ftl_ships_" .. name,
icon = icons .. name .. ".png",
icon_size = 64,
subgroup = "ftl_transport",
order = order,

Just replace "ftl_transport" in the subgroup field with the subgroup name of your choice.

1 year, 2 months ago
(updated 1 year, 2 months ago)

Hi, thanks for the hint, however I had in mind making additions to your data-final-fixes.lua

   {
   type = "item-subgroup",
   name = "ftl_ships",
   group = "transport",
   order = "d-a",
   },
if mods ["FTL-Ships"] then
   data.raw.recipe["ftl_ships_Auto_Assault"].subgroup = "ftl_ships"
   data.raw.recipe["ftl_ships_Auto_Scout"].subgroup = "ftl_ships"
   data.raw.recipe["ftl_ships_Bomber"].subgroup = "ftl_ships"
   data.raw.recipe["ftl_ships_Fed_Scout"].subgroup = "ftl_ships"
   data.raw.recipe["ftl_ships_Fed_Cruiser"].subgroup = "ftl_ships"
   data.raw.recipe["ftl_ships_Fighter"].subgroup = "ftl_ships"
   data.raw.recipe["ftl_ships_Flagship"].subgroup = "ftl_ships"
   data.raw.recipe["ftl_ships_Kestrel"].subgroup = "ftl_ships"
   data.raw.recipe["ftl_ships_Rigger"].subgroup = "ftl_ships"
   data.raw.recipe["ftl_ships_Stealth"].subgroup = "ftl_ships"
end

Here's what we see with FTL-Ships, SchallTransportGroup, aai-programmable-vehicles and RegularRecipeList-Compatible_with_AAI.


Proper category unification of same-type recipes.

1 year, 2 months ago

You can update, change and share the mod.

New response