LuaItemGroup order should be accessible

User avatar
theRustyKnife
Filter Inserter
Filter Inserter
Posts: 260
Joined: Thu Feb 26, 2015 9:26 pm
Contact:

LuaItemGroup order should be accessible

Post by theRustyKnife »

For sorting purposes it would be nice to be able to read the order of a group. Also, it would make sense since LuaItemPrototype and the like have this possibility.
Thanks TRK
User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1525
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: LuaItemGroup order should be accessible

Post by binbinhfr »

And its localised_name too,
and maybe a LuaGroup.recipes that returns a dictionnary of sorted recipes,
and a LuaGroup.items that returns a dictionnary of sorted item protos.
These functions must be available somewhere in Factorio code to buikd the recipes browser and items browser you have ingame.
http://lua-api.factorio.com/latest/LuaGroup.html
My mods on the Factorio Mod Portal :geek:
Rseding91
Factorio Staff
Factorio Staff
Posts: 15997
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: LuaItemGroup order should be accessible

Post by Rseding91 »

Done for 0.13.11.
If you want to get ahold of me I'm almost always on Discord.
User avatar
theRustyKnife
Filter Inserter
Filter Inserter
Posts: 260
Joined: Thu Feb 26, 2015 9:26 pm
Contact:

Re: LuaItemGroup order should be accessible

Post by theRustyKnife »

Rseding91 wrote:Done for 0.13.11.
Wow that was quick :D
Thanks!
User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1525
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: LuaItemGroup order should be accessible

Post by binbinhfr »

What is done ?
order ? localised_name ? more ? :shock:
My mods on the Factorio Mod Portal :geek:
Post Reply

Return to “Implemented mod requests”