Barrel reordering

Place to get help with not working mods / modding interface.
mig5323
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sun Dec 01, 2019 4:02 am
Contact:

Barrel reordering

Post by mig5323 »

Py has too damn many fluid types in barrels, so I'm trying to reorder them to the end of the tab they're in.

I used data-final-fixes to change their subgroup:

Code: Select all

for k, v in pairs(data.raw["item"]) do
  if v.subgroup == "barrel" then
    v.subgroup = 'wrecks'
  end
end
This puts them in the environment tab though. I'd like to just move them later in their existing tab. Any pointers?
braxbro
Long Handed Inserter
Long Handed Inserter
Posts: 53
Joined: Sun Jan 01, 2023 2:54 am
Contact:

Re: Barrel reordering

Post by braxbro »

Change the order property of their subgroup to z.
Post Reply

Return to “Modding help”